From c66293598b57102e6073c054fa5530dc2b06bf0b Mon Sep 17 00:00:00 2001 From: Filip Date: Tue, 9 Apr 2024 12:45:59 -0400 Subject: [PATCH 1/5] chore: add sepolia deploy script + helpers --- .env.example | 1 + contracts/scripts/Deploy.sol | 14 ++++++++++++++ package.json | 3 ++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 3d1bbcb..63c2665 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,5 @@ GOERLI_RPC_PROVIDER_URL= +SEPOLIA_RPC_PROVIDER_URL= MAINNET_RPC_PROVIDER_URL= SENDER_ADDRESS= ETHERSCAN_API_KEY= \ No newline at end of file diff --git a/contracts/scripts/Deploy.sol b/contracts/scripts/Deploy.sol index 426c069..84436db 100644 --- a/contracts/scripts/Deploy.sol +++ b/contracts/scripts/Deploy.sol @@ -8,6 +8,20 @@ import '@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol'; import '../JBProjectHandles.sol'; +contract DeploySepolia is Test { + IJBOperatorStore _operatorStore = IJBOperatorStore(0x8f63c744c0280ef4b32af1f821c65e0fd4150ab3); + IJBProjects _projects = IJBProjects(0x43CB8FCe4F0d61579044342A5d5A027aB7aE4D63); + IJBProjectHandles _oldHandle = IJBProjectHandles(0x0000000000000000000000000000000000000000); + + JBProjectHandles jbProjectHandles; + + function run() external { + vm.startBroadcast(); + + jbProjectHandles = new JBProjectHandles(_projects, _operatorStore, _oldHandle); + } +} + contract DeployGoerli is Test { IJBOperatorStore _operatorStore = IJBOperatorStore(0x99dB6b517683237dE9C494bbd17861f3608F3585); IJBProjects _projects = IJBProjects(0x21263a042aFE4bAE34F08Bb318056C181bD96D3b); diff --git a/package.json b/package.json index 9edfa93..36ff8c2 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,10 @@ "scripts": { "pretty": "prettier --write \"./**/*.{js,jsx,json,sol}\"", "deploy-goerli": "source .env && forge script DeployGoerli --rpc-url $GOERLI_RPC_PROVIDER_URL --broadcast --mnemonic-paths mnemonic.txt --verify --etherscan-api-key $ETHERSCAN_API_KEY --sender $SENDER_ADDRESS", + "deploy-sepolia": "source .env && forge script DeploySepolia --rpc-url $SEPOLIA_RPC_PROVIDER_URL --broadcast --mnemonic-paths mnemonic.txt --verify --etherscan-api-key $ETHERSCAN_API_KEY --sender $SENDER_ADDRESS", "deploy-mainnet": "source .env && forge script DeployMainnet --rpc-url $MAINNET_RPC_PROVIDER_URL --broadcast --mnemonic-paths mnemonic.txt --verify --etherscan-api-key $ETHERSCAN_API_KEY --sender $SENDER_ADDRESS" }, "dependencies": { "@jbx-protocol/juice-contracts-v3": "^2.0.0" } -} \ No newline at end of file +} From d5d7a151d742a29fd9785e77fceb771188ee693f Mon Sep 17 00:00:00 2001 From: Filip Date: Tue, 9 Apr 2024 13:01:28 -0400 Subject: [PATCH 2/5] checksum --- contracts/scripts/Deploy.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/scripts/Deploy.sol b/contracts/scripts/Deploy.sol index 84436db..c4771da 100644 --- a/contracts/scripts/Deploy.sol +++ b/contracts/scripts/Deploy.sol @@ -9,7 +9,7 @@ import '@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol'; import '../JBProjectHandles.sol'; contract DeploySepolia is Test { - IJBOperatorStore _operatorStore = IJBOperatorStore(0x8f63c744c0280ef4b32af1f821c65e0fd4150ab3); + IJBOperatorStore _operatorStore = IJBOperatorStore(0x8f63C744C0280Ef4b32AF1F821c65E0fd4150ab3); IJBProjects _projects = IJBProjects(0x43CB8FCe4F0d61579044342A5d5A027aB7aE4D63); IJBProjectHandles _oldHandle = IJBProjectHandles(0x0000000000000000000000000000000000000000); From e5835ef79f788a7c983a3680f6f9b5b5495a1b40 Mon Sep 17 00:00:00 2001 From: Filip Date: Tue, 9 Apr 2024 16:36:04 -0400 Subject: [PATCH 3/5] self-reference using create in sepolia script --- contracts/scripts/Deploy.sol | 96 ++++++++++++++++++++++++------------ 1 file changed, 64 insertions(+), 32 deletions(-) diff --git a/contracts/scripts/Deploy.sol b/contracts/scripts/Deploy.sol index c4771da..38faf47 100644 --- a/contracts/scripts/Deploy.sol +++ b/contracts/scripts/Deploy.sol @@ -1,52 +1,84 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.16; -import 'forge-std/Test.sol'; +import "forge-std/Test.sol"; -import '@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol'; -import '@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol'; +import "@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol"; +import "@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol"; -import '../JBProjectHandles.sol'; +import "../JBProjectHandles.sol"; contract DeploySepolia is Test { - IJBOperatorStore _operatorStore = IJBOperatorStore(0x8f63C744C0280Ef4b32AF1F821c65E0fd4150ab3); - IJBProjects _projects = IJBProjects(0x43CB8FCe4F0d61579044342A5d5A027aB7aE4D63); - IJBProjectHandles _oldHandle = IJBProjectHandles(0x0000000000000000000000000000000000000000); - - JBProjectHandles jbProjectHandles; - - function run() external { - vm.startBroadcast(); - - jbProjectHandles = new JBProjectHandles(_projects, _operatorStore, _oldHandle); - } + IJBOperatorStore _operatorStore = IJBOperatorStore(0x8f63C744C0280Ef4b32AF1F821c65E0fd4150ab3); + IJBProjects _projects = IJBProjects(0x43CB8FCe4F0d61579044342A5d5A027aB7aE4D63); + + // Have to use its own address as the `_oldHandle`. + // TODO: UPDATE THIS EACH TIME YOU DEPLOY. + address willBeDeployedAt = _addressFrom(0xfAb4c9E48EB050E8f51555Ef949a7ef1b8fb263B, 0); + // console.log("Expected address: ", willBeDeployedAt); + + IJBProjectHandles _oldHandle = IJBProjectHandles(willBeDeployedAt); + + JBProjectHandles jbProjectHandles; + + function run() external { + vm.startBroadcast(); + + jbProjectHandles = new JBProjectHandles(_projects, _operatorStore, _oldHandle); + } + + /// @notice Compute the address of a contract deployed using `create` based on the deployer's address and nonce. + /// @dev Taken from https://ethereum.stackexchange.com/a/87840/68134 - this won't work for nonces > 2**32. If + /// you reach that nonce please: 1) ping us, because wow 2) use another deployer. + /// @param origin The deployer's address. + /// @param nonce The nonce used to deploy the contract. + function _addressFrom(address origin, uint256 nonce) internal pure returns (address addr) { + bytes memory data; + if (nonce == 0x00) { + data = abi.encodePacked(bytes1(0xd6), bytes1(0x94), origin, bytes1(0x80)); + } else if (nonce <= 0x7f) { + data = abi.encodePacked(bytes1(0xd6), bytes1(0x94), origin, uint8(nonce)); + } else if (nonce <= 0xff) { + data = abi.encodePacked(bytes1(0xd7), bytes1(0x94), origin, bytes1(0x81), uint8(nonce)); + } else if (nonce <= 0xffff) { + data = abi.encodePacked(bytes1(0xd8), bytes1(0x94), origin, bytes1(0x82), uint16(nonce)); + } else if (nonce <= 0xffffff) { + data = abi.encodePacked(bytes1(0xd9), bytes1(0x94), origin, bytes1(0x83), uint24(nonce)); + } else { + data = abi.encodePacked(bytes1(0xda), bytes1(0x94), origin, bytes1(0x84), uint32(nonce)); + } + bytes32 hash = keccak256(data); + assembly { + mstore(0, hash) + addr := mload(0) + } + } } contract DeployGoerli is Test { - IJBOperatorStore _operatorStore = IJBOperatorStore(0x99dB6b517683237dE9C494bbd17861f3608F3585); - IJBProjects _projects = IJBProjects(0x21263a042aFE4bAE34F08Bb318056C181bD96D3b); - IJBProjectHandles _oldHandle = IJBProjectHandles(0x41126eC99F8A989fEB503ac7bB4c5e5D40E06FA4); - + IJBOperatorStore _operatorStore = IJBOperatorStore(0x99dB6b517683237dE9C494bbd17861f3608F3585); + IJBProjects _projects = IJBProjects(0x21263a042aFE4bAE34F08Bb318056C181bD96D3b); + IJBProjectHandles _oldHandle = IJBProjectHandles(0x41126eC99F8A989fEB503ac7bB4c5e5D40E06FA4); - JBProjectHandles jbProjectHandles; + JBProjectHandles jbProjectHandles; - function run() external { - vm.startBroadcast(); + function run() external { + vm.startBroadcast(); - jbProjectHandles = new JBProjectHandles(_projects, _operatorStore, _oldHandle); - } + jbProjectHandles = new JBProjectHandles(_projects, _operatorStore, _oldHandle); + } } contract DeployMainnet is Test { - IJBOperatorStore _operatorStore = IJBOperatorStore(0x6F3C5afCa0c9eDf3926eF2dDF17c8ae6391afEfb); - IJBProjects _projects = IJBProjects(0xD8B4359143eda5B2d763E127Ed27c77addBc47d3); - IJBProjectHandles _oldHandle = IJBProjectHandles(0xE3c01E9Fd2a1dCC6edF0b1058B5757138EF9FfB6); + IJBOperatorStore _operatorStore = IJBOperatorStore(0x6F3C5afCa0c9eDf3926eF2dDF17c8ae6391afEfb); + IJBProjects _projects = IJBProjects(0xD8B4359143eda5B2d763E127Ed27c77addBc47d3); + IJBProjectHandles _oldHandle = IJBProjectHandles(0xE3c01E9Fd2a1dCC6edF0b1058B5757138EF9FfB6); - JBProjectHandles jbProjectHandles; + JBProjectHandles jbProjectHandles; - function run() external { - vm.startBroadcast(); + function run() external { + vm.startBroadcast(); - jbProjectHandles = new JBProjectHandles(_projects, _operatorStore, _oldHandle); - } + jbProjectHandles = new JBProjectHandles(_projects, _operatorStore, _oldHandle); + } } From bcff6ec16a5c0f0603c0b4cd6d9170de3df9204c Mon Sep 17 00:00:00 2001 From: Filip Date: Tue, 9 Apr 2024 16:45:00 -0400 Subject: [PATCH 4/5] deploy: sepolia --- .../Deploy.sol/11155111/run-1712695419.json | 51 +++++++++++++++++++ broadcast/Deploy.sol/11155111/run-latest.json | 51 +++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 broadcast/Deploy.sol/11155111/run-1712695419.json create mode 100644 broadcast/Deploy.sol/11155111/run-latest.json diff --git a/broadcast/Deploy.sol/11155111/run-1712695419.json b/broadcast/Deploy.sol/11155111/run-1712695419.json new file mode 100644 index 0000000..8080a4f --- /dev/null +++ b/broadcast/Deploy.sol/11155111/run-1712695419.json @@ -0,0 +1,51 @@ +{ + "transactions": [ + { + "hash": "0x005d96eeb050a49dc17dc5987dfd385f3509fcd4d5455c411cc7888bf77b053b", + "transactionType": "CREATE", + "contractName": "JBProjectHandles", + "contractAddress": "0xF041486C260A8b0023b7D5efF8A30906d10bFD7b", + "function": null, + "arguments": [ + "0x43CB8FCe4F0d61579044342A5d5A027aB7aE4D63", + "0x8f63C744C0280Ef4b32AF1F821c65E0fd4150ab3", + "0xF041486C260A8b0023b7D5efF8A30906d10bFD7b" + ], + "transaction": { + "type": "0x02", + "from": "0xfab4c9e48eb050e8f51555ef949a7ef1b8fb263b", + "gas": "0x15e298", + "value": "0x0", + "data": "0x60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c6343000817003300000000000000000000000043cb8fce4f0d61579044342a5d5a027ab7ae4d630000000000000000000000008f63c744c0280ef4b32af1f821c65e0fd4150ab3000000000000000000000000f041486c260a8b0023b7d5eff8a30906d10bfd7b", + "nonce": "0x0", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x005d96eeb050a49dc17dc5987dfd385f3509fcd4d5455c411cc7888bf77b053b", + "transactionIndex": "0x6", + "blockHash": "0x9a007cef425ec3d1818d786a6ee58cb227ce4f45bc9f16e92479dc2ee9516485", + "blockNumber": "0x566b23", + "from": "0xfAb4c9E48EB050E8f51555Ef949a7ef1b8fb263B", + "to": null, + "cumulativeGasUsed": "0x13db43", + "gasUsed": "0x10d6f6", + "contractAddress": "0xF041486C260A8b0023b7D5efF8A30906d10bFD7b", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d8ba44" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1712695419, + "chain": 11155111, + "commit": "e5835ef" +} \ No newline at end of file diff --git a/broadcast/Deploy.sol/11155111/run-latest.json b/broadcast/Deploy.sol/11155111/run-latest.json new file mode 100644 index 0000000..8080a4f --- /dev/null +++ b/broadcast/Deploy.sol/11155111/run-latest.json @@ -0,0 +1,51 @@ +{ + "transactions": [ + { + "hash": "0x005d96eeb050a49dc17dc5987dfd385f3509fcd4d5455c411cc7888bf77b053b", + "transactionType": "CREATE", + "contractName": "JBProjectHandles", + "contractAddress": "0xF041486C260A8b0023b7D5efF8A30906d10bFD7b", + "function": null, + "arguments": [ + "0x43CB8FCe4F0d61579044342A5d5A027aB7aE4D63", + "0x8f63C744C0280Ef4b32AF1F821c65E0fd4150ab3", + "0xF041486C260A8b0023b7D5efF8A30906d10bFD7b" + ], + "transaction": { + "type": "0x02", + "from": "0xfab4c9e48eb050e8f51555ef949a7ef1b8fb263b", + "gas": "0x15e298", + "value": "0x0", + "data": "0x60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c6343000817003300000000000000000000000043cb8fce4f0d61579044342a5d5a027ab7ae4d630000000000000000000000008f63c744c0280ef4b32af1f821c65e0fd4150ab3000000000000000000000000f041486c260a8b0023b7d5eff8a30906d10bfd7b", + "nonce": "0x0", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x005d96eeb050a49dc17dc5987dfd385f3509fcd4d5455c411cc7888bf77b053b", + "transactionIndex": "0x6", + "blockHash": "0x9a007cef425ec3d1818d786a6ee58cb227ce4f45bc9f16e92479dc2ee9516485", + "blockNumber": "0x566b23", + "from": "0xfAb4c9E48EB050E8f51555Ef949a7ef1b8fb263B", + "to": null, + "cumulativeGasUsed": "0x13db43", + "gasUsed": "0x10d6f6", + "contractAddress": "0xF041486C260A8b0023b7D5efF8A30906d10bFD7b", + "logs": [], + "status": "0x1", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d8ba44" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1712695419, + "chain": 11155111, + "commit": "e5835ef" +} \ No newline at end of file From 5703ca7b118dac425d75b2036afd3ad0ae4f83fc Mon Sep 17 00:00:00 2001 From: Filip Date: Tue, 9 Apr 2024 16:45:12 -0400 Subject: [PATCH 5/5] update out --- contracts/scripts/Deploy.sol | 1 - out/Address.sol/Address.json | 4054 +- out/Checkpoints.sol/Checkpoints.json | 3139 +- out/Context.sol/Context.json | 308 +- out/Counters.sol/Counters.json | 913 +- out/Deploy.sol/DeployGoerli.json | 2393 +- out/Deploy.sol/DeployMainnet.json | 2393 +- out/Deploy.sol/DeploySepolia.json | 1 + out/ECDSA.sol/ECDSA.json | 5665 +- out/ENS.sol/ENS.json | 2498 +- out/ERC165.sol/ERC165.json | 410 +- out/ERC721.sol/ERC721.json | 12212 +- out/IERC165.sol/IERC165.json | 254 +- out/IERC721.sol/IERC721.json | 2036 +- out/IERC721Metadata.sol/IERC721Metadata.json | 1093 +- out/IERC721Receiver.sol/IERC721Receiver.json | 367 +- out/IJBOperatable.sol/IJBOperatable.json | 242 +- .../IJBOperatorStore.json | 1316 +- .../IJBProjectHandles.json | 960 +- out/IJBProjects.sol/IJBProjects.json | 2122 +- .../IJBTokenUriResolver.json | 238 +- out/ITextResolver.sol/ITextResolver.json | 445 +- out/IVotes.sol/IVotes.json | 1371 +- out/JBOperatable.sol/JBOperatable.json | 2031 +- out/JBOperations.sol/JBOperations.json | 1394 +- out/JBOperations2.sol/JBOperations2.json | 187 +- out/JBOperatorStore.sol/JBOperatorStore.json | 3885 +- .../JBProjectHandles.json | 5388 +- out/JBProjectHandles.t.sol/ContractTest.json | 26193 +--- out/JBProjects.sol/JBProjects.json | 5005 +- out/Math.sol/Math.json | 1154 +- out/Ownable.sol/Ownable.json | 1446 +- out/SafeCast.sol/SafeCast.json | 5258 +- out/Script.sol/Script.json | 4097 +- out/StdJson.sol/stdJson.json | 4899 +- out/Strings.sol/Strings.json | 2625 +- out/Test.sol/Test.json | 52430 +------ out/Test.sol/stdError.json | 51864 +------ out/Test.sol/stdMath.json | 51591 +------ out/Test.sol/stdStorage.json | 51743 +------ out/Vm.sol/Vm.json | 12807 +- out/Votes.sol/Votes.json | 6304 +- out/console.sol/console.json | 110872 +-------------- out/console2.sol/console2.json | 110871 +------------- out/draft-EIP712.sol/EIP712.json | 2081 +- out/draft-ERC721Votes.sol/ERC721Votes.json | 2023 +- out/test.sol/DSTest.json | 23718 +-- 47 files changed, 46 insertions(+), 584251 deletions(-) create mode 100644 out/Deploy.sol/DeploySepolia.json diff --git a/contracts/scripts/Deploy.sol b/contracts/scripts/Deploy.sol index 38faf47..28cc01b 100644 --- a/contracts/scripts/Deploy.sol +++ b/contracts/scripts/Deploy.sol @@ -15,7 +15,6 @@ contract DeploySepolia is Test { // Have to use its own address as the `_oldHandle`. // TODO: UPDATE THIS EACH TIME YOU DEPLOY. address willBeDeployedAt = _addressFrom(0xfAb4c9E48EB050E8f51555Ef949a7ef1b8fb263B, 0); - // console.log("Expected address: ", willBeDeployedAt); IJBProjectHandles _oldHandle = IJBProjectHandles(willBeDeployedAt); diff --git a/out/Address.sol/Address.json b/out/Address.sol/Address.json index 0b8660c..61d135b 100644 --- a/out/Address.sol/Address.json +++ b/out/Address.sol/Address.json @@ -1,4053 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ac96744e2f1fddd94580ffe3e6b893be58aad5932496486f01dab0ba258aa28c64736f6c63430008100033", - "sourceMap": "194:8061:31:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;194:8061:31;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ac96744e2f1fddd94580ffe3e6b893be58aad5932496486f01dab0ba258aa28c64736f6c63430008100033", - "sourceMap": "194:8061:31:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Address.sol": "Address" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "keccak256": "0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87", - "urls": [ - "bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58", - "dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Address.sol", - "id": 26602, - "exportedSymbols": { - "Address": [ - 26601 - ] - }, - "nodeType": "SourceUnit", - "src": "101:8155:31", - "nodes": [ - { - "id": 26308, - "nodeType": "PragmaDirective", - "src": "101:23:31", - "literals": [ - "solidity", - "^", - "0.8", - ".1" - ] - }, - { - "id": 26601, - "nodeType": "ContractDefinition", - "src": "194:8061:31", - "nodes": [ - { - "id": 26324, - "nodeType": "FunctionDefinition", - "src": "1175:320:31", - "body": { - "id": 26323, - "nodeType": "Block", - "src": "1241:254:31", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "expression": { - "id": 26317, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26312, - "src": "1465:7:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1473:4:31", - "memberName": "code", - "nodeType": "MemberAccess", - "src": "1465:12:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 26319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1478:6:31", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1465:19:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 26320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1487:1:31", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1465:23:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 26316, - "id": 26322, - "nodeType": "Return", - "src": "1458:30:31" - } - ] - }, - "documentation": { - "id": 26310, - "nodeType": "StructuredDocumentation", - "src": "216:954:31", - "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:31", - "parameters": { - "id": 26313, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26312, - "mutability": "mutable", - "name": "account", - "nameLocation": "1203:7:31", - "nodeType": "VariableDeclaration", - "scope": 26324, - "src": "1195:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26311, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1195:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1194:17:31" - }, - "returnParameters": { - "id": 26316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26315, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26324, - "src": "1235:4:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26314, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1235:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1234:6:31" - }, - "scope": 26601, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26358, - "nodeType": "FunctionDefinition", - "src": "2412:312:31", - "body": { - "id": 26357, - "nodeType": "Block", - "src": "2483:241:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26339, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 26335, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2509:4:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$26601", - "typeString": "library Address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Address_$26601", - "typeString": "library Address" - } - ], - "id": 26334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2501:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26333, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2501:7:31", - "typeDescriptions": {} - } - }, - "id": 26336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2501:13:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2515:7:31", - "memberName": "balance", - "nodeType": "MemberAccess", - "src": "2501:21:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 26338, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26329, - "src": "2526:6:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2501:31:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 26340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2534:31:31", - "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": 26332, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2493:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2493:73:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26342, - "nodeType": "ExpressionStatement", - "src": "2493:73:31" - }, - { - "assignments": [ - 26344, - null - ], - "declarations": [ - { - "constant": false, - "id": 26344, - "mutability": "mutable", - "name": "success", - "nameLocation": "2583:7:31", - "nodeType": "VariableDeclaration", - "scope": 26357, - "src": "2578:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26343, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2578:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - null - ], - "id": 26351, - "initialValue": { - "arguments": [ - { - "hexValue": "", - "id": 26349, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2626:2:31", - "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": 26345, - "name": "recipient", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26327, - "src": "2596:9:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 26346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2606:4:31", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "2596:14:31", - "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": 26348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "id": 26347, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26329, - "src": "2618:6:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "2596:29:31", - "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": 26350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2596:33:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2577:52:31" - }, - { - "expression": { - "arguments": [ - { - "id": 26353, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26344, - "src": "2647:7:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 26354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2656:60:31", - "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": 26352, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2639:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2639:78:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26356, - "nodeType": "ExpressionStatement", - "src": "2639:78:31" - } - ] - }, - "documentation": { - "id": 26325, - "nodeType": "StructuredDocumentation", - "src": "1501:906:31", - "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:31", - "parameters": { - "id": 26330, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26327, - "mutability": "mutable", - "name": "recipient", - "nameLocation": "2447:9:31", - "nodeType": "VariableDeclaration", - "scope": 26358, - "src": "2431:25:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 26326, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2431:15:31", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26329, - "mutability": "mutable", - "name": "amount", - "nameLocation": "2466:6:31", - "nodeType": "VariableDeclaration", - "scope": 26358, - "src": "2458:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26328, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2458:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2430:43:31" - }, - "returnParameters": { - "id": 26331, - "nodeType": "ParameterList", - "parameters": [], - "src": "2483:0:31" - }, - "scope": 26601, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26375, - "nodeType": "FunctionDefinition", - "src": "3466:173:31", - "body": { - "id": 26374, - "nodeType": "Block", - "src": "3555:84:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26369, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26361, - "src": "3585:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26370, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26363, - "src": "3593:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 26371, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3599:32:31", - "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_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", - "typeString": "literal_string \"Address: low-level call failed\"" - } - ], - "id": 26368, - "name": "functionCall", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26375, - 26395 - ], - "referencedDeclaration": 26395, - "src": "3572:12:31", - "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": 26372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3572:60:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26367, - "id": 26373, - "nodeType": "Return", - "src": "3565:67:31" - } - ] - }, - "documentation": { - "id": 26359, - "nodeType": "StructuredDocumentation", - "src": "2730:731:31", - "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:31", - "parameters": { - "id": 26364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26361, - "mutability": "mutable", - "name": "target", - "nameLocation": "3496:6:31", - "nodeType": "VariableDeclaration", - "scope": 26375, - "src": "3488:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26360, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3488:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26363, - "mutability": "mutable", - "name": "data", - "nameLocation": "3517:4:31", - "nodeType": "VariableDeclaration", - "scope": 26375, - "src": "3504:17:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26362, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3504:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3487:35:31" - }, - "returnParameters": { - "id": 26367, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26366, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26375, - "src": "3541:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26365, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3541:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3540:14:31" - }, - "scope": 26601, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26395, - "nodeType": "FunctionDefinition", - "src": "3861:223:31", - "body": { - "id": 26394, - "nodeType": "Block", - "src": "4008:76:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26388, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26378, - "src": "4047:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26389, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26380, - "src": "4055:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "hexValue": "30", - "id": 26390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4061:1:31", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "id": 26391, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26382, - "src": "4064:12:31", - "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": 26387, - "name": "functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26415, - 26465 - ], - "referencedDeclaration": 26465, - "src": "4025:21:31", - "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": 26392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4025:52:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26386, - "id": 26393, - "nodeType": "Return", - "src": "4018:59:31" - } - ] - }, - "documentation": { - "id": 26376, - "nodeType": "StructuredDocumentation", - "src": "3645:211:31", - "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": "3870:12:31", - "parameters": { - "id": 26383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26378, - "mutability": "mutable", - "name": "target", - "nameLocation": "3900:6:31", - "nodeType": "VariableDeclaration", - "scope": 26395, - "src": "3892:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26377, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3892:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26380, - "mutability": "mutable", - "name": "data", - "nameLocation": "3929:4:31", - "nodeType": "VariableDeclaration", - "scope": 26395, - "src": "3916:17:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26379, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3916:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26382, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "3957:12:31", - "nodeType": "VariableDeclaration", - "scope": 26395, - "src": "3943:26:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26381, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3943:6:31", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3882:93:31" - }, - "returnParameters": { - "id": 26386, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26385, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26395, - "src": "3994:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26384, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3994:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3993:14:31" - }, - "scope": 26601, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26415, - "nodeType": "FunctionDefinition", - "src": "4446:254:31", - "body": { - "id": 26414, - "nodeType": "Block", - "src": "4589:111:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26408, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26398, - "src": "4628:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26409, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26400, - "src": "4636:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 26410, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26402, - "src": "4642:5:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 26411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4649:43:31", - "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": 26407, - "name": "functionCallWithValue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26415, - 26465 - ], - "referencedDeclaration": 26465, - "src": "4606:21:31", - "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": 26412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4606:87:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26406, - "id": 26413, - "nodeType": "Return", - "src": "4599:94:31" - } - ] - }, - "documentation": { - "id": 26396, - "nodeType": "StructuredDocumentation", - "src": "4090:351:31", - "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": "4455:21:31", - "parameters": { - "id": 26403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26398, - "mutability": "mutable", - "name": "target", - "nameLocation": "4494:6:31", - "nodeType": "VariableDeclaration", - "scope": 26415, - "src": "4486:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26397, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4486:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26400, - "mutability": "mutable", - "name": "data", - "nameLocation": "4523:4:31", - "nodeType": "VariableDeclaration", - "scope": 26415, - "src": "4510:17:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26399, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4510:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26402, - "mutability": "mutable", - "name": "value", - "nameLocation": "4545:5:31", - "nodeType": "VariableDeclaration", - "scope": 26415, - "src": "4537:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4537:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4476:80:31" - }, - "returnParameters": { - "id": 26406, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26405, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26415, - "src": "4575:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26404, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4575:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4574:14:31" - }, - "scope": 26601, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26465, - "nodeType": "FunctionDefinition", - "src": "4948:499:31", - "body": { - "id": 26464, - "nodeType": "Block", - "src": "5127:320:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 26432, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "5153:4:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$26601", - "typeString": "library Address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Address_$26601", - "typeString": "library Address" - } - ], - "id": 26431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5145:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 26430, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5145:7:31", - "typeDescriptions": {} - } - }, - "id": 26433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5145:13:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5159:7:31", - "memberName": "balance", - "nodeType": "MemberAccess", - "src": "5145:21:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 26435, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26422, - "src": "5170:5:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5145:30:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 26437, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5177:40:31", - "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": 26429, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5137:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5137:81:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26439, - "nodeType": "ExpressionStatement", - "src": "5137:81:31" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 26442, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26418, - "src": "5247:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 26441, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26324, - "src": "5236:10:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 26443, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5236:18:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 26444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5256:31:31", - "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": 26440, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5228:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5228:60:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26446, - "nodeType": "ExpressionStatement", - "src": "5228:60:31" - }, - { - "assignments": [ - 26448, - 26450 - ], - "declarations": [ - { - "constant": false, - "id": 26448, - "mutability": "mutable", - "name": "success", - "nameLocation": "5305:7:31", - "nodeType": "VariableDeclaration", - "scope": 26464, - "src": "5300:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26447, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5300:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26450, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "5327:10:31", - "nodeType": "VariableDeclaration", - "scope": 26464, - "src": "5314:23:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26449, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5314:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 26457, - "initialValue": { - "arguments": [ - { - "id": 26455, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26420, - "src": "5367:4:31", - "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": 26451, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26418, - "src": "5341:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5348:4:31", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "5341:11:31", - "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": 26454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "names": [ - "value" - ], - "nodeType": "FunctionCallOptions", - "options": [ - { - "id": 26453, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26422, - "src": "5360:5:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "src": "5341:25:31", - "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": 26456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5341:31:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5299:73:31" - }, - { - "expression": { - "arguments": [ - { - "id": 26459, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26448, - "src": "5406:7:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 26460, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26450, - "src": "5415:10:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 26461, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26424, - "src": "5427:12:31", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 26458, - "name": "verifyCallResult", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26600, - "src": "5389:16:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" - } - }, - "id": 26462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5389:51:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26428, - "id": 26463, - "nodeType": "Return", - "src": "5382:58:31" - } - ] - }, - "documentation": { - "id": 26416, - "nodeType": "StructuredDocumentation", - "src": "4706:237:31", - "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": "4957:21:31", - "parameters": { - "id": 26425, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26418, - "mutability": "mutable", - "name": "target", - "nameLocation": "4996:6:31", - "nodeType": "VariableDeclaration", - "scope": 26465, - "src": "4988:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26417, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4988:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26420, - "mutability": "mutable", - "name": "data", - "nameLocation": "5025:4:31", - "nodeType": "VariableDeclaration", - "scope": 26465, - "src": "5012:17:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26419, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5012:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26422, - "mutability": "mutable", - "name": "value", - "nameLocation": "5047:5:31", - "nodeType": "VariableDeclaration", - "scope": 26465, - "src": "5039:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26421, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5039:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26424, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "5076:12:31", - "nodeType": "VariableDeclaration", - "scope": 26465, - "src": "5062:26:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26423, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5062:6:31", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4978:116:31" - }, - "returnParameters": { - "id": 26428, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26427, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26465, - "src": "5113:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26426, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5113:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5112:14:31" - }, - "scope": 26601, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26482, - "nodeType": "FunctionDefinition", - "src": "5624:197:31", - "body": { - "id": 26481, - "nodeType": "Block", - "src": "5724:97:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26476, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26468, - "src": "5760:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26477, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26470, - "src": "5768:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 26478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5774:39:31", - "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": 26475, - "name": "functionStaticCall", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26482, - 26517 - ], - "referencedDeclaration": 26517, - "src": "5741:18:31", - "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": 26479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5741:73:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26474, - "id": 26480, - "nodeType": "Return", - "src": "5734:80:31" - } - ] - }, - "documentation": { - "id": 26466, - "nodeType": "StructuredDocumentation", - "src": "5453:166:31", - "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": "5633:18:31", - "parameters": { - "id": 26471, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26468, - "mutability": "mutable", - "name": "target", - "nameLocation": "5660:6:31", - "nodeType": "VariableDeclaration", - "scope": 26482, - "src": "5652:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26467, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5652:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26470, - "mutability": "mutable", - "name": "data", - "nameLocation": "5681:4:31", - "nodeType": "VariableDeclaration", - "scope": 26482, - "src": "5668:17:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26469, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5668:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5651:35:31" - }, - "returnParameters": { - "id": 26474, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26473, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26482, - "src": "5710:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26472, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5710:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5709:14:31" - }, - "scope": 26601, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26517, - "nodeType": "FunctionDefinition", - "src": "6005:386:31", - "body": { - "id": 26516, - "nodeType": "Block", - "src": "6163:228:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 26496, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26485, - "src": "6192:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 26495, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26324, - "src": "6181:10:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 26497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6181:18:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 26498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6201:38:31", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", - "typeString": "literal_string \"Address: static call to non-contract\"" - }, - "value": "Address: static call to non-contract" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", - "typeString": "literal_string \"Address: static call to non-contract\"" - } - ], - "id": 26494, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6173:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6173:67:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26500, - "nodeType": "ExpressionStatement", - "src": "6173:67:31" - }, - { - "assignments": [ - 26502, - 26504 - ], - "declarations": [ - { - "constant": false, - "id": 26502, - "mutability": "mutable", - "name": "success", - "nameLocation": "6257:7:31", - "nodeType": "VariableDeclaration", - "scope": 26516, - "src": "6252:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26501, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6252:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26504, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "6279:10:31", - "nodeType": "VariableDeclaration", - "scope": 26516, - "src": "6266:23:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26503, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6266:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 26509, - "initialValue": { - "arguments": [ - { - "id": 26507, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26487, - "src": "6311:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 26505, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26485, - "src": "6293:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6300:10:31", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "6293:17:31", - "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": 26508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6293:23:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6251:65:31" - }, - { - "expression": { - "arguments": [ - { - "id": 26511, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26502, - "src": "6350:7:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 26512, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26504, - "src": "6359:10:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 26513, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26489, - "src": "6371:12:31", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 26510, - "name": "verifyCallResult", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26600, - "src": "6333:16:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" - } - }, - "id": 26514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6333:51:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26493, - "id": 26515, - "nodeType": "Return", - "src": "6326:58:31" - } - ] - }, - "documentation": { - "id": 26483, - "nodeType": "StructuredDocumentation", - "src": "5827:173:31", - "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": "6014:18:31", - "parameters": { - "id": 26490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26485, - "mutability": "mutable", - "name": "target", - "nameLocation": "6050:6:31", - "nodeType": "VariableDeclaration", - "scope": 26517, - "src": "6042:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26484, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6042:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26487, - "mutability": "mutable", - "name": "data", - "nameLocation": "6079:4:31", - "nodeType": "VariableDeclaration", - "scope": 26517, - "src": "6066:17:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26486, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6066:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26489, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "6107:12:31", - "nodeType": "VariableDeclaration", - "scope": 26517, - "src": "6093:26:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26488, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6093:6:31", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6032:93:31" - }, - "returnParameters": { - "id": 26493, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26492, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26517, - "src": "6149:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26491, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6149:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6148:14:31" - }, - "scope": 26601, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26534, - "nodeType": "FunctionDefinition", - "src": "6570:198:31", - "body": { - "id": 26533, - "nodeType": "Block", - "src": "6667:101:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26528, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26520, - "src": "6705:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26529, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26522, - "src": "6713:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 26530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6719:41:31", - "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": 26527, - "name": "functionDelegateCall", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26534, - 26569 - ], - "referencedDeclaration": 26569, - "src": "6684:20:31", - "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": 26531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6684:77:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26526, - "id": 26532, - "nodeType": "Return", - "src": "6677:84:31" - } - ] - }, - "documentation": { - "id": 26518, - "nodeType": "StructuredDocumentation", - "src": "6397:168:31", - "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": "6579:20:31", - "parameters": { - "id": 26523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26520, - "mutability": "mutable", - "name": "target", - "nameLocation": "6608:6:31", - "nodeType": "VariableDeclaration", - "scope": 26534, - "src": "6600:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6600:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26522, - "mutability": "mutable", - "name": "data", - "nameLocation": "6629:4:31", - "nodeType": "VariableDeclaration", - "scope": 26534, - "src": "6616:17:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26521, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6616:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6599:35:31" - }, - "returnParameters": { - "id": 26526, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26525, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26534, - "src": "6653:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26524, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6653:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6652:14:31" - }, - "scope": 26601, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26569, - "nodeType": "FunctionDefinition", - "src": "6954:387:31", - "body": { - "id": 26568, - "nodeType": "Block", - "src": "7109:232:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 26548, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26537, - "src": "7138:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 26547, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26324, - "src": "7127:10:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 26549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7127:18:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 26550, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7147:40:31", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", - "typeString": "literal_string \"Address: delegate call to non-contract\"" - }, - "value": "Address: delegate call to non-contract" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", - "typeString": "literal_string \"Address: delegate call to non-contract\"" - } - ], - "id": 26546, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7119:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7119:69:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26552, - "nodeType": "ExpressionStatement", - "src": "7119:69:31" - }, - { - "assignments": [ - 26554, - 26556 - ], - "declarations": [ - { - "constant": false, - "id": 26554, - "mutability": "mutable", - "name": "success", - "nameLocation": "7205:7:31", - "nodeType": "VariableDeclaration", - "scope": 26568, - "src": "7200:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26553, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7200:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26556, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "7227:10:31", - "nodeType": "VariableDeclaration", - "scope": 26568, - "src": "7214:23:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26555, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7214:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 26561, - "initialValue": { - "arguments": [ - { - "id": 26559, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26539, - "src": "7261:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 26557, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26537, - "src": "7241:6:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26558, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7248:12:31", - "memberName": "delegatecall", - "nodeType": "MemberAccess", - "src": "7241:19:31", - "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": 26560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7241:25:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7199:67:31" - }, - { - "expression": { - "arguments": [ - { - "id": 26563, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26554, - "src": "7300:7:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 26564, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26556, - "src": "7309:10:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 26565, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26541, - "src": "7321:12:31", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 26562, - "name": "verifyCallResult", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26600, - "src": "7283:16:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" - } - }, - "id": 26566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7283:51:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26545, - "id": 26567, - "nodeType": "Return", - "src": "7276:58:31" - } - ] - }, - "documentation": { - "id": 26535, - "nodeType": "StructuredDocumentation", - "src": "6774:175:31", - "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": "6963:20:31", - "parameters": { - "id": 26542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26537, - "mutability": "mutable", - "name": "target", - "nameLocation": "7001:6:31", - "nodeType": "VariableDeclaration", - "scope": 26569, - "src": "6993:14:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6993:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26539, - "mutability": "mutable", - "name": "data", - "nameLocation": "7030:4:31", - "nodeType": "VariableDeclaration", - "scope": 26569, - "src": "7017:17:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26538, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7017:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26541, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "7058:12:31", - "nodeType": "VariableDeclaration", - "scope": 26569, - "src": "7044:26:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7044:6:31", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6983:93:31" - }, - "returnParameters": { - "id": 26545, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26544, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26569, - "src": "7095:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26543, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7095:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "7094:14:31" - }, - "scope": 26601, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26600, - "nodeType": "FunctionDefinition", - "src": "7561:692:31", - "body": { - "id": 26599, - "nodeType": "Block", - "src": "7721:532:31", - "statements": [ - { - "condition": { - "id": 26581, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26572, - "src": "7735:7:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 26597, - "nodeType": "Block", - "src": "7792:455:31", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 26585, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26574, - "src": "7876:10:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 26586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7887:6:31", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7876:17:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 26587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7896:1:31", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7876:21:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 26595, - "nodeType": "Block", - "src": "8184:53:31", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26592, - "name": "errorMessage", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26576, - "src": "8209:12:31", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 26591, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "8202:6:31", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 26593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8202:20:31", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26594, - "nodeType": "ExpressionStatement", - "src": "8202:20:31" - } - ] - }, - "id": 26596, - "nodeType": "IfStatement", - "src": "7872:365:31", - "trueBody": { - "id": 26590, - "nodeType": "Block", - "src": "7899:279:31", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "8019:145:31", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "8041:40:31", - "value": { - "arguments": [ - { - "name": "returndata", - "nodeType": "YulIdentifier", - "src": "8070:10:31" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "8064:5:31" - }, - "nodeType": "YulFunctionCall", - "src": "8064:17:31" - }, - "variables": [ - { - "name": "returndata_size", - "nodeType": "YulTypedName", - "src": "8045:15:31", - "type": "" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "8113:2:31", - "type": "", - "value": "32" - }, - { - "name": "returndata", - "nodeType": "YulIdentifier", - "src": "8117:10:31" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "8109:3:31" - }, - "nodeType": "YulFunctionCall", - "src": "8109:19:31" - }, - { - "name": "returndata_size", - "nodeType": "YulIdentifier", - "src": "8130:15:31" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "8102:6:31" - }, - "nodeType": "YulFunctionCall", - "src": "8102:44:31" - }, - "nodeType": "YulExpressionStatement", - "src": "8102:44:31" - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 26574, - "isOffset": false, - "isSlot": false, - "src": "8070:10:31", - "valueSize": 1 - }, - { - "declaration": 26574, - "isOffset": false, - "isSlot": false, - "src": "8117:10:31", - "valueSize": 1 - } - ], - "id": 26589, - "nodeType": "InlineAssembly", - "src": "8010:154:31" - } - ] - } - } - ] - }, - "id": 26598, - "nodeType": "IfStatement", - "src": "7731:516:31", - "trueBody": { - "id": 26584, - "nodeType": "Block", - "src": "7744:42:31", - "statements": [ - { - "expression": { - "id": 26582, - "name": "returndata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26574, - "src": "7765:10:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 26580, - "id": 26583, - "nodeType": "Return", - "src": "7758:17:31" - } - ] - } - } - ] - }, - "documentation": { - "id": 26570, - "nodeType": "StructuredDocumentation", - "src": "7347:209:31", - "text": " @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason using the provided one.\n _Available since v4.3._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "verifyCallResult", - "nameLocation": "7570:16:31", - "parameters": { - "id": 26577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26572, - "mutability": "mutable", - "name": "success", - "nameLocation": "7601:7:31", - "nodeType": "VariableDeclaration", - "scope": 26600, - "src": "7596:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26571, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7596:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26574, - "mutability": "mutable", - "name": "returndata", - "nameLocation": "7631:10:31", - "nodeType": "VariableDeclaration", - "scope": 26600, - "src": "7618:23:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26573, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7618:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26576, - "mutability": "mutable", - "name": "errorMessage", - "nameLocation": "7665:12:31", - "nodeType": "VariableDeclaration", - "scope": 26600, - "src": "7651:26:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26575, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7651:6:31", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7586:97:31" - }, - "returnParameters": { - "id": 26580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26579, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26600, - "src": "7707:12:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26578, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7707:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "7706:14:31" - }, - "scope": 26601, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Address", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 26309, - "nodeType": "StructuredDocumentation", - "src": "126:67:31", - "text": " @dev Collection of functions related to the address type" - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 26601 - ], - "name": "Address", - "nameLocation": "202:7:31", - "scope": 26602, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 31 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122055f22a1b6a42b8fc8340155ae24afb1a1922c6955a59004b87576b772daf605564736f6c63430008170033","sourceMap":"194:8061:32:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;194:8061:32;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122055f22a1b6a42b8fc8340155ae24afb1a1922c6955a59004b87576b772daf605564736f6c63430008170033","sourceMap":"194:8061:32:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/Address.sol":"Address"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87","urls":["bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58","dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV"],"license":"MIT"}},"version":1},"id":32} \ No newline at end of file diff --git a/out/Checkpoints.sol/Checkpoints.json b/out/Checkpoints.sol/Checkpoints.json index 409ef55..bd71125 100644 --- a/out/Checkpoints.sol/Checkpoints.json +++ b/out/Checkpoints.sol/Checkpoints.json @@ -1,3138 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c5c12fc50ecab557fd45c8c1365203bd68e0390fbe28fb33b88b44e9153ab75b64736f6c63430008100033", - "sourceMap": "619:2435:32:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;619:2435:32;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c5c12fc50ecab557fd45c8c1365203bd68e0390fbe28fb33b88b44e9153ab75b64736f6c63430008100033", - "sourceMap": "619:2435:32:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"This library defines the `History` struct, for checkpointing values as they change at different points in time, and later looking up past values by block number. See {Votes} as an example. To create a history of checkpoints define a variable type `Checkpoints.History` in your contract, and store a new checkpoint for the current transaction block using the {push} function. _Available since v4.5._\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":\"Checkpoints\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Checkpoints.sol": "Checkpoints" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Checkpoints.sol": { - "keccak256": "0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c", - "urls": [ - "bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb", - "dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2", - "urls": [ - "bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6", - "dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": { - "keccak256": "0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7", - "urls": [ - "bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1", - "dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Checkpoints.sol", - "id": 26836, - "exportedSymbols": { - "Checkpoints": [ - 26835 - ], - "Math": [ - 27819 - ], - "SafeCast": [ - 28212 - ] - }, - "nodeType": "SourceUnit", - "src": "104:2951:32", - "nodes": [ - { - "id": 26603, - "nodeType": "PragmaDirective", - "src": "104:23:32", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26604, - "nodeType": "ImportDirective", - "src": "129:25:32", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/math/Math.sol", - "file": "./math/Math.sol", - "nameLocation": "-1:-1:-1", - "scope": 26836, - "sourceUnit": 27820, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26605, - "nodeType": "ImportDirective", - "src": "155:29:32", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol", - "file": "./math/SafeCast.sol", - "nameLocation": "-1:-1:-1", - "scope": 26836, - "sourceUnit": 28213, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26835, - "nodeType": "ContractDefinition", - "src": "619:2435:32", - "nodes": [ - { - "id": 26611, - "nodeType": "StructDefinition", - "src": "645:78:32", - "canonicalName": "Checkpoints.Checkpoint", - "members": [ - { - "constant": false, - "id": 26608, - "mutability": "mutable", - "name": "_blockNumber", - "nameLocation": "680:12:32", - "nodeType": "VariableDeclaration", - "scope": 26611, - "src": "673:19:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 26607, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "673:6:32", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26610, - "mutability": "mutable", - "name": "_value", - "nameLocation": "710:6:32", - "nodeType": "VariableDeclaration", - "scope": 26611, - "src": "702:14:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - }, - "typeName": { - "id": 26609, - "name": "uint224", - "nodeType": "ElementaryTypeName", - "src": "702:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "visibility": "internal" - } - ], - "name": "Checkpoint", - "nameLocation": "652:10:32", - "scope": 26835, - "visibility": "public" - }, - { - "id": 26616, - "nodeType": "StructDefinition", - "src": "729:57:32", - "canonicalName": "Checkpoints.History", - "members": [ - { - "constant": false, - "id": 26615, - "mutability": "mutable", - "name": "_checkpoints", - "nameLocation": "767:12:32", - "nodeType": "VariableDeclaration", - "scope": 26616, - "src": "754:25:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage_ptr", - "typeString": "struct Checkpoints.Checkpoint[]" - }, - "typeName": { - "baseType": { - "id": 26613, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26612, - "name": "Checkpoint", - "nameLocations": [ - "754:10:32" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26611, - "src": "754:10:32" - }, - "referencedDeclaration": 26611, - "src": "754:10:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$26611_storage_ptr", - "typeString": "struct Checkpoints.Checkpoint" - } - }, - "id": 26614, - "nodeType": "ArrayTypeName", - "src": "754:12:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage_ptr", - "typeString": "struct Checkpoints.Checkpoint[]" - } - }, - "visibility": "internal" - } - ], - "name": "History", - "nameLocation": "736:7:32", - "scope": 26835, - "visibility": "public" - }, - { - "id": 26645, - "nodeType": "FunctionDefinition", - "src": "901:190:32", - "body": { - "id": 26644, - "nodeType": "Block", - "src": "971:120:32", - "statements": [ - { - "assignments": [ - 26626 - ], - "declarations": [ - { - "constant": false, - "id": 26626, - "mutability": "mutable", - "name": "pos", - "nameLocation": "989:3:32", - "nodeType": "VariableDeclaration", - "scope": 26644, - "src": "981:11:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26625, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "981:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26630, - "initialValue": { - "expression": { - "expression": { - "id": 26627, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26620, - "src": "995:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26628, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1000:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "995:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1013:6:32", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "995:24:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "981:38:32" - }, - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26631, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26626, - "src": "1036:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 26632, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1043:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1036:8:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "baseExpression": { - "expression": { - "id": 26635, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26620, - "src": "1051:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26636, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1056:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "1051:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26640, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26637, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26626, - "src": "1069:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 26638, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1075:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1069:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1051:26:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$26611_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref" - } - }, - "id": 26641, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1078:6:32", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 26610, - "src": "1051:33:32", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "id": 26642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1036:48:32", - "trueExpression": { - "hexValue": "30", - "id": 26634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1047:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "functionReturnParameters": 26624, - "id": 26643, - "nodeType": "Return", - "src": "1029:55:32" - } - ] - }, - "documentation": { - "id": 26617, - "nodeType": "StructuredDocumentation", - "src": "792:104:32", - "text": " @dev Returns the value in the latest checkpoint, or zero if there are no checkpoints." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "latest", - "nameLocation": "910:6:32", - "parameters": { - "id": 26621, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26620, - "mutability": "mutable", - "name": "self", - "nameLocation": "933:4:32", - "nodeType": "VariableDeclaration", - "scope": 26645, - "src": "917:20:32", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - }, - "typeName": { - "id": 26619, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26618, - "name": "History", - "nameLocations": [ - "917:7:32" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26616, - "src": "917:7:32" - }, - "referencedDeclaration": 26616, - "src": "917:7:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - } - }, - "visibility": "internal" - } - ], - "src": "916:22:32" - }, - "returnParameters": { - "id": 26624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26623, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26645, - "src": "962:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26622, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "962:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "961:9:32" - }, - "scope": 26835, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26721, - "nodeType": "FunctionDefinition", - "src": "1281:578:32", - "body": { - "id": 26720, - "nodeType": "Block", - "src": "1376:483:32", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26657, - "name": "blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26651, - "src": "1394:11:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 26658, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1408:5:32", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 26659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1414:6:32", - "memberName": "number", - "nodeType": "MemberAccess", - "src": "1408:12:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1394:26:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e6564", - "id": 26661, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1422:34:32", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_65bd29ebd873d82da6b3634513fc6582859c8e00f2a09cb4bdbeddf7d05eb5be", - "typeString": "literal_string \"Checkpoints: block not yet mined\"" - }, - "value": "Checkpoints: block not yet mined" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_65bd29ebd873d82da6b3634513fc6582859c8e00f2a09cb4bdbeddf7d05eb5be", - "typeString": "literal_string \"Checkpoints: block not yet mined\"" - } - ], - "id": 26656, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1386:7:32", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1386:71:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26663, - "nodeType": "ExpressionStatement", - "src": "1386:71:32" - }, - { - "assignments": [ - 26665 - ], - "declarations": [ - { - "constant": false, - "id": 26665, - "mutability": "mutable", - "name": "high", - "nameLocation": "1476:4:32", - "nodeType": "VariableDeclaration", - "scope": 26720, - "src": "1468:12:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26664, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1468:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26669, - "initialValue": { - "expression": { - "expression": { - "id": 26666, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26649, - "src": "1483:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1488:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "1483:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1501:6:32", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1483:24:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1468:39:32" - }, - { - "assignments": [ - 26671 - ], - "declarations": [ - { - "constant": false, - "id": 26671, - "mutability": "mutable", - "name": "low", - "nameLocation": "1525:3:32", - "nodeType": "VariableDeclaration", - "scope": 26720, - "src": "1517:11:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26670, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1517:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26673, - "initialValue": { - "hexValue": "30", - "id": 26672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1531:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1517:15:32" - }, - { - "body": { - "id": 26705, - "nodeType": "Block", - "src": "1561:225:32", - "statements": [ - { - "assignments": [ - 26678 - ], - "declarations": [ - { - "constant": false, - "id": 26678, - "mutability": "mutable", - "name": "mid", - "nameLocation": "1583:3:32", - "nodeType": "VariableDeclaration", - "scope": 26705, - "src": "1575:11:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26677, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1575:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26684, - "initialValue": { - "arguments": [ - { - "id": 26681, - "name": "low", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26671, - "src": "1602:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 26682, - "name": "high", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26665, - "src": "1607:4:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26679, - "name": "Math", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27819, - "src": "1589:4:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Math_$27819_$", - "typeString": "type(library Math)" - } - }, - "id": 26680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1594:7:32", - "memberName": "average", - "nodeType": "MemberAccess", - "referencedDeclaration": 27793, - "src": "1589:12:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 26683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1589:23:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1575:37:32" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "expression": { - "id": 26685, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26649, - "src": "1630:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26686, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1635:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "1630:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26688, - "indexExpression": { - "id": 26687, - "name": "mid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26678, - "src": "1648:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1630:22:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$26611_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref" - } - }, - "id": 26689, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1653:12:32", - "memberName": "_blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 26608, - "src": "1630:35:32", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 26690, - "name": "blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26651, - "src": "1668:11:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1630:49:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 26703, - "nodeType": "Block", - "src": "1730:46:32", - "statements": [ - { - "expression": { - "id": 26701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 26697, - "name": "low", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26671, - "src": "1748:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26700, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26698, - "name": "mid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26678, - "src": "1754:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 26699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1760:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1754:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1748:13:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26702, - "nodeType": "ExpressionStatement", - "src": "1748:13:32" - } - ] - }, - "id": 26704, - "nodeType": "IfStatement", - "src": "1626:150:32", - "trueBody": { - "id": 26696, - "nodeType": "Block", - "src": "1681:43:32", - "statements": [ - { - "expression": { - "id": 26694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 26692, - "name": "high", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26665, - "src": "1699:4:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 26693, - "name": "mid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26678, - "src": "1706:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1699:10:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26695, - "nodeType": "ExpressionStatement", - "src": "1699:10:32" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26674, - "name": "low", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26671, - "src": "1549:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 26675, - "name": "high", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26665, - "src": "1555:4:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1549:10:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 26706, - "nodeType": "WhileStatement", - "src": "1542:244:32" - }, - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26707, - "name": "high", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26665, - "src": "1802:4:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 26708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1810:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1802:9:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "baseExpression": { - "expression": { - "id": 26711, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26649, - "src": "1818:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26712, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1823:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "1818:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26716, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26713, - "name": "high", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26665, - "src": "1836:4:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 26714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1843:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1836:8:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1818:27:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$26611_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref" - } - }, - "id": 26717, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1846:6:32", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 26610, - "src": "1818:34:32", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "id": 26718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1802:50:32", - "trueExpression": { - "hexValue": "30", - "id": 26710, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1814:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "functionReturnParameters": 26655, - "id": 26719, - "nodeType": "Return", - "src": "1795:57:32" - } - ] - }, - "documentation": { - "id": 26646, - "nodeType": "StructuredDocumentation", - "src": "1097:179:32", - "text": " @dev Returns the value at a given block number. If a checkpoint is not available at that block, the closest one\n before it is returned, or zero otherwise." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getAtBlock", - "nameLocation": "1290:10:32", - "parameters": { - "id": 26652, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26649, - "mutability": "mutable", - "name": "self", - "nameLocation": "1317:4:32", - "nodeType": "VariableDeclaration", - "scope": 26721, - "src": "1301:20:32", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - }, - "typeName": { - "id": 26648, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26647, - "name": "History", - "nameLocations": [ - "1301:7:32" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26616, - "src": "1301:7:32" - }, - "referencedDeclaration": 26616, - "src": "1301:7:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26651, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "1331:11:32", - "nodeType": "VariableDeclaration", - "scope": 26721, - "src": "1323:19:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26650, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1323:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1300:43:32" - }, - "returnParameters": { - "id": 26655, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26654, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26721, - "src": "1367:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26653, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1367:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1366:9:32" - }, - "scope": 26835, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26800, - "nodeType": "FunctionDefinition", - "src": "2037:553:32", - "body": { - "id": 26799, - "nodeType": "Block", - "src": "2124:466:32", - "statements": [ - { - "assignments": [ - 26735 - ], - "declarations": [ - { - "constant": false, - "id": 26735, - "mutability": "mutable", - "name": "pos", - "nameLocation": "2142:3:32", - "nodeType": "VariableDeclaration", - "scope": 26799, - "src": "2134:11:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26734, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2134:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26739, - "initialValue": { - "expression": { - "expression": { - "id": 26736, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26725, - "src": "2148:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26737, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2153:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "2148:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2166:6:32", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2148:24:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2134:38:32" - }, - { - "assignments": [ - 26741 - ], - "declarations": [ - { - "constant": false, - "id": 26741, - "mutability": "mutable", - "name": "old", - "nameLocation": "2190:3:32", - "nodeType": "VariableDeclaration", - "scope": 26799, - "src": "2182:11:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26740, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2182:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26745, - "initialValue": { - "arguments": [ - { - "id": 26743, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26725, - "src": "2203:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - ], - "id": 26742, - "name": "latest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26645, - "src": "2196:6:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_History_$26616_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct Checkpoints.History storage pointer) view returns (uint256)" - } - }, - "id": 26744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2196:12:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2182:26:32" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 26759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26746, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26735, - "src": "2222:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 26747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2228:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2222:7:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "expression": { - "id": 26749, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26725, - "src": "2233:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26750, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2238:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "2233:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26754, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26751, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26735, - "src": "2251:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 26752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2257:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2251:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2233:26:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$26611_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref" - } - }, - "id": 26755, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2260:12:32", - "memberName": "_blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 26608, - "src": "2233:39:32", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 26756, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "2276:5:32", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 26757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2282:6:32", - "memberName": "number", - "nodeType": "MemberAccess", - "src": "2276:12:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2233:55:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2222:66:32", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 26793, - "nodeType": "Block", - "src": "2382:173:32", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "expression": { - "id": 26783, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "2480:5:32", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 26784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2486:6:32", - "memberName": "number", - "nodeType": "MemberAccess", - "src": "2480:12:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26781, - "name": "SafeCast", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28212, - "src": "2462:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeCast_$28212_$", - "typeString": "type(library SafeCast)" - } - }, - "id": 26782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2471:8:32", - "memberName": "toUint32", - "nodeType": "MemberAccess", - "referencedDeclaration": 27947, - "src": "2462:17:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint32_$", - "typeString": "function (uint256) pure returns (uint32)" - } - }, - "id": 26785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2462:31:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - { - "arguments": [ - { - "id": 26788, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26727, - "src": "2522:5:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26786, - "name": "SafeCast", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28212, - "src": "2503:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeCast_$28212_$", - "typeString": "type(library SafeCast)" - } - }, - "id": 26787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2512:9:32", - "memberName": "toUint224", - "nodeType": "MemberAccess", - "referencedDeclaration": 27847, - "src": "2503:18:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint224_$", - "typeString": "function (uint256) pure returns (uint224)" - } - }, - "id": 26789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2503:25:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - ], - "id": 26780, - "name": "Checkpoint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26611, - "src": "2436:10:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Checkpoint_$26611_storage_ptr_$", - "typeString": "type(struct Checkpoints.Checkpoint storage pointer)" - } - }, - "id": 26790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "2448:12:32", - "2495:6:32" - ], - "names": [ - "_blockNumber", - "_value" - ], - "nodeType": "FunctionCall", - "src": "2436:94:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$26611_memory_ptr", - "typeString": "struct Checkpoints.Checkpoint memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Checkpoint_$26611_memory_ptr", - "typeString": "struct Checkpoints.Checkpoint memory" - } - ], - "expression": { - "expression": { - "id": 26775, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26725, - "src": "2396:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26778, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2401:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "2396:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26779, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2414:4:32", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "2396:22:32", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage_ptr_$_t_struct$_Checkpoint_$26611_storage_$returns$__$bound_to$_t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage_ptr_$", - "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,struct Checkpoints.Checkpoint storage ref)" - } - }, - "id": 26791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2396:148:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26792, - "nodeType": "ExpressionStatement", - "src": "2396:148:32" - } - ] - }, - "id": 26794, - "nodeType": "IfStatement", - "src": "2218:337:32", - "trueBody": { - "id": 26774, - "nodeType": "Block", - "src": "2290:86:32", - "statements": [ - { - "expression": { - "id": 26772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "expression": { - "id": 26760, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26725, - "src": "2304:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - "id": 26765, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2309:12:32", - "memberName": "_checkpoints", - "nodeType": "MemberAccess", - "referencedDeclaration": 26615, - "src": "2304:17:32", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$26611_storage_$dyn_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref" - } - }, - "id": 26766, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26762, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26735, - "src": "2322:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 26763, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2328:1:32", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2322:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2304:26:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$26611_storage", - "typeString": "struct Checkpoints.Checkpoint storage ref" - } - }, - "id": 26767, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "2331:6:32", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 26610, - "src": "2304:33:32", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 26770, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26727, - "src": "2359:5:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26768, - "name": "SafeCast", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28212, - "src": "2340:8:32", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeCast_$28212_$", - "typeString": "type(library SafeCast)" - } - }, - "id": 26769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2349:9:32", - "memberName": "toUint224", - "nodeType": "MemberAccess", - "referencedDeclaration": 27847, - "src": "2340:18:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint224_$", - "typeString": "function (uint256) pure returns (uint224)" - } - }, - "id": 26771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2340:25:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "src": "2304:61:32", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "id": 26773, - "nodeType": "ExpressionStatement", - "src": "2304:61:32" - } - ] - } - }, - { - "expression": { - "components": [ - { - "id": 26795, - "name": "old", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26741, - "src": "2572:3:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 26796, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26727, - "src": "2577:5:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 26797, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2571:12:32", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "functionReturnParameters": 26733, - "id": 26798, - "nodeType": "Return", - "src": "2564:19:32" - } - ] - }, - "documentation": { - "id": 26722, - "nodeType": "StructuredDocumentation", - "src": "1865:167:32", - "text": " @dev Pushes a value onto a History so that it is stored as the checkpoint for the current block.\n Returns previous value and new value." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "push", - "nameLocation": "2046:4:32", - "parameters": { - "id": 26728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26725, - "mutability": "mutable", - "name": "self", - "nameLocation": "2067:4:32", - "nodeType": "VariableDeclaration", - "scope": 26800, - "src": "2051:20:32", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - }, - "typeName": { - "id": 26724, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26723, - "name": "History", - "nameLocations": [ - "2051:7:32" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26616, - "src": "2051:7:32" - }, - "referencedDeclaration": 26616, - "src": "2051:7:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26727, - "mutability": "mutable", - "name": "value", - "nameLocation": "2081:5:32", - "nodeType": "VariableDeclaration", - "scope": 26800, - "src": "2073:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26726, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2073:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2050:37:32" - }, - "returnParameters": { - "id": 26733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26730, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26800, - "src": "2106:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26729, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2106:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26732, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26800, - "src": "2115:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26731, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2115:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2105:18:32" - }, - "scope": 26835, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26834, - "nodeType": "FunctionDefinition", - "src": "2822:230:32", - "body": { - "id": 26833, - "nodeType": "Block", - "src": "2993:59:32", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26824, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26804, - "src": "3015:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 26827, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26804, - "src": "3031:4:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - } - ], - "id": 26826, - "name": "latest", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26645, - "src": "3024:6:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_History_$26616_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct Checkpoints.History storage pointer) view returns (uint256)" - } - }, - "id": 26828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3024:12:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 26829, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26816, - "src": "3038:5:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26825, - "name": "op", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26814, - "src": "3021:2:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) view returns (uint256)" - } - }, - "id": 26830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3021:23:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History storage pointer" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26823, - "name": "push", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 26800, - 26834 - ], - "referencedDeclaration": 26800, - "src": "3010:4:32", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_History_$26616_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_uint256_$", - "typeString": "function (struct Checkpoints.History storage pointer,uint256) returns (uint256,uint256)" - } - }, - "id": 26831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3010:35:32", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "functionReturnParameters": 26822, - "id": 26832, - "nodeType": "Return", - "src": "3003:42:32" - } - ] - }, - "documentation": { - "id": 26801, - "nodeType": "StructuredDocumentation", - "src": "2596:221:32", - "text": " @dev Pushes a value onto a History, by updating the latest value using binary operation `op`. The new value will\n be set to `op(latest, delta)`.\n Returns previous value and new value." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "push", - "nameLocation": "2831:4:32", - "parameters": { - "id": 26817, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26804, - "mutability": "mutable", - "name": "self", - "nameLocation": "2861:4:32", - "nodeType": "VariableDeclaration", - "scope": 26834, - "src": "2845:20:32", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - }, - "typeName": { - "id": 26803, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26802, - "name": "History", - "nameLocations": [ - "2845:7:32" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26616, - "src": "2845:7:32" - }, - "referencedDeclaration": 26616, - "src": "2845:7:32", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26814, - "mutability": "mutable", - "name": "op", - "nameLocation": "2925:2:32", - "nodeType": "VariableDeclaration", - "scope": 26834, - "src": "2875:52:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) view returns (uint256)" - }, - "typeName": { - "id": 26813, - "nodeType": "FunctionTypeName", - "parameterTypes": { - "id": 26809, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26806, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26813, - "src": "2884:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26805, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2884:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26808, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26813, - "src": "2893:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26807, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2893:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2883:18:32" - }, - "returnParameterTypes": { - "id": 26812, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26811, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26813, - "src": "2916:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26810, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2916:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2915:9:32" - }, - "src": "2875:52:32", - "stateMutability": "view", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) view returns (uint256)" - }, - "visibility": "internal" - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26816, - "mutability": "mutable", - "name": "delta", - "nameLocation": "2945:5:32", - "nodeType": "VariableDeclaration", - "scope": 26834, - "src": "2937:13:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26815, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2937:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2835:121:32" - }, - "returnParameters": { - "id": 26822, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26819, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26834, - "src": "2975:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26818, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2975:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26821, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26834, - "src": "2984:7:32", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26820, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2984:7:32", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2974:18:32" - }, - "scope": 26835, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Checkpoints", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 26606, - "nodeType": "StructuredDocumentation", - "src": "186:432:32", - "text": " @dev This library defines the `History` struct, for checkpointing values as they change at different points in\n time, and later looking up past values by block number. See {Votes} as an example.\n To create a history of checkpoints define a variable type `Checkpoints.History` in your contract, and store a new\n checkpoint for the current transaction block using the {push} function.\n _Available since v4.5._" - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 26835 - ], - "name": "Checkpoints", - "nameLocation": "627:11:32", - "scope": 26836, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 32 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202d6b8e46d36f8303375a7112f102657c0ca22d5e11865f41a5c51b2b3650231964736f6c63430008170033","sourceMap":"619:2435:33:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;619:2435:33;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202d6b8e46d36f8303375a7112f102657c0ca22d5e11865f41a5c51b2b3650231964736f6c63430008170033","sourceMap":"619:2435:33:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"This library defines the `History` struct, for checkpointing values as they change at different points in time, and later looking up past values by block number. See {Votes} as an example. To create a history of checkpoints define a variable type `Checkpoints.History` in your contract, and store a new checkpoint for the current transaction block using the {push} function. _Available since v4.5._\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":\"Checkpoints\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol":"Checkpoints"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol":{"keccak256":"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c","urls":["bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb","dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"keccak256":"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2","urls":["bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6","dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7","urls":["bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1","dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E"],"license":"MIT"}},"version":1},"id":33} \ No newline at end of file diff --git a/out/Context.sol/Context.json b/out/Context.sol/Context.json index 6a5b935..e153551 100644 --- a/out/Context.sol/Context.json +++ b/out/Context.sol/Context.json @@ -1,307 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Context.sol": "Context" - }, - "libraries": {} - }, - "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": 26858, - "exportedSymbols": { - "Context": [ - 26857 - ] - }, - "nodeType": "SourceUnit", - "src": "86:758:33", - "nodes": [ - { - "id": 26837, - "nodeType": "PragmaDirective", - "src": "86:23:33", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26857, - "nodeType": "ContractDefinition", - "src": "608:235:33", - "nodes": [ - { - "id": 26847, - "nodeType": "FunctionDefinition", - "src": "640:96:33", - "body": { - "id": 26846, - "nodeType": "Block", - "src": "702:34:33", - "statements": [ - { - "expression": { - "expression": { - "id": 26843, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "719:3:33", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 26844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "723:6:33", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "719:10:33", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 26842, - "id": 26845, - "nodeType": "Return", - "src": "712:17:33" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_msgSender", - "nameLocation": "649:10:33", - "parameters": { - "id": 26839, - "nodeType": "ParameterList", - "parameters": [], - "src": "659:2:33" - }, - "returnParameters": { - "id": 26842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26841, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26847, - "src": "693:7:33", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26840, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "693:7:33", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "692:9:33" - }, - "scope": 26857, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26856, - "nodeType": "FunctionDefinition", - "src": "742:99:33", - "body": { - "id": 26855, - "nodeType": "Block", - "src": "809:32:33", - "statements": [ - { - "expression": { - "expression": { - "id": 26852, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "826:3:33", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 26853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "830:4:33", - "memberName": "data", - "nodeType": "MemberAccess", - "src": "826:8:33", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "functionReturnParameters": 26851, - "id": 26854, - "nodeType": "Return", - "src": "819:15:33" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_msgData", - "nameLocation": "751:8:33", - "parameters": { - "id": 26848, - "nodeType": "ParameterList", - "parameters": [], - "src": "759:2:33" - }, - "returnParameters": { - "id": 26851, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26850, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26856, - "src": "793:14:33", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26849, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "793:5:33", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "792:16:33" - }, - "scope": 26857, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [], - "canonicalName": "Context", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 26838, - "nodeType": "StructuredDocumentation", - "src": "111:496:33", - "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": [ - 26857 - ], - "name": "Context", - "nameLocation": "626:7:33", - "scope": 26858, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 33 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/Context.sol":"Context"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],"license":"MIT"}},"version":1},"id":34} \ No newline at end of file diff --git a/out/Counters.sol/Counters.json b/out/Counters.sol/Counters.json index 9588ca3..84d8716 100644 --- a/out/Counters.sol/Counters.json +++ b/out/Counters.sol/Counters.json @@ -1,912 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209086c1e667699fabcf716858229fbc5c3c772b7f19fe38df527981091e013dcd64736f6c63430008100033", - "sourceMap": "424:971:34:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;424:971:34;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209086c1e667699fabcf716858229fbc5c3c772b7f19fe38df527981091e013dcd64736f6c63430008100033", - "sourceMap": "424:971:34:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Counters.sol": "Counters" - }, - "libraries": {} - }, - "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": 26932, - "exportedSymbols": { - "Counters": [ - 26931 - ] - }, - "nodeType": "SourceUnit", - "src": "87:1309:34", - "nodes": [ - { - "id": 26859, - "nodeType": "PragmaDirective", - "src": "87:23:34", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26931, - "nodeType": "ContractDefinition", - "src": "424:971:34", - "nodes": [ - { - "id": 26863, - "nodeType": "StructDefinition", - "src": "447:374:34", - "canonicalName": "Counters.Counter", - "members": [ - { - "constant": false, - "id": 26862, - "mutability": "mutable", - "name": "_value", - "nameLocation": "794:6:34", - "nodeType": "VariableDeclaration", - "scope": 26863, - "src": "786:14:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26861, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "786:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Counter", - "nameLocation": "454:7:34", - "scope": 26931, - "visibility": "public" - }, - { - "id": 26875, - "nodeType": "FunctionDefinition", - "src": "827:112:34", - "body": { - "id": 26874, - "nodeType": "Block", - "src": "901:38:34", - "statements": [ - { - "expression": { - "expression": { - "id": 26871, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26866, - "src": "918:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 26872, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "926:6:34", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 26862, - "src": "918:14:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 26870, - "id": 26873, - "nodeType": "Return", - "src": "911:21:34" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "current", - "nameLocation": "836:7:34", - "parameters": { - "id": 26867, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26866, - "mutability": "mutable", - "name": "counter", - "nameLocation": "860:7:34", - "nodeType": "VariableDeclaration", - "scope": 26875, - "src": "844:23:34", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 26865, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26864, - "name": "Counter", - "nameLocations": [ - "844:7:34" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26863, - "src": "844:7:34" - }, - "referencedDeclaration": 26863, - "src": "844:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "src": "843:25:34" - }, - "returnParameters": { - "id": 26870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26869, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26875, - "src": "892:7:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26868, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "892:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "891:9:34" - }, - "scope": 26931, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26889, - "nodeType": "FunctionDefinition", - "src": "945:123:34", - "body": { - "id": 26888, - "nodeType": "Block", - "src": "998:70:34", - "statements": [ - { - "id": 26887, - "nodeType": "UncheckedBlock", - "src": "1008:54:34", - "statements": [ - { - "expression": { - "id": 26885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 26881, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26878, - "src": "1032:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 26883, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "1040:6:34", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 26862, - "src": "1032:14:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 26884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1050:1:34", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1032:19:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26886, - "nodeType": "ExpressionStatement", - "src": "1032:19:34" - } - ] - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "increment", - "nameLocation": "954:9:34", - "parameters": { - "id": 26879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26878, - "mutability": "mutable", - "name": "counter", - "nameLocation": "980:7:34", - "nodeType": "VariableDeclaration", - "scope": 26889, - "src": "964:23:34", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 26877, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26876, - "name": "Counter", - "nameLocations": [ - "964:7:34" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26863, - "src": "964:7:34" - }, - "referencedDeclaration": 26863, - "src": "964:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "src": "963:25:34" - }, - "returnParameters": { - "id": 26880, - "nodeType": "ParameterList", - "parameters": [], - "src": "998:0:34" - }, - "scope": 26931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26917, - "nodeType": "FunctionDefinition", - "src": "1074:229:34", - "body": { - "id": 26916, - "nodeType": "Block", - "src": "1127:176:34", - "statements": [ - { - "assignments": [ - 26896 - ], - "declarations": [ - { - "constant": false, - "id": 26896, - "mutability": "mutable", - "name": "value", - "nameLocation": "1145:5:34", - "nodeType": "VariableDeclaration", - "scope": 26916, - "src": "1137:13:34", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26895, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1137:7:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26899, - "initialValue": { - "expression": { - "id": 26897, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26892, - "src": "1153:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 26898, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:6:34", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 26862, - "src": "1153:14:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1137:30:34" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26901, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26896, - "src": "1185:5:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 26902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1193:1:34", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1185:9:34", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "436f756e7465723a2064656372656d656e74206f766572666c6f77", - "id": 26904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1196:29:34", - "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": 26900, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1177:7:34", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 26905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1177:49:34", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26906, - "nodeType": "ExpressionStatement", - "src": "1177:49:34" - }, - { - "id": 26915, - "nodeType": "UncheckedBlock", - "src": "1236:61:34", - "statements": [ - { - "expression": { - "id": 26913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 26907, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26892, - "src": "1260:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 26909, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "1268:6:34", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 26862, - "src": "1260:14:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26910, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26896, - "src": "1277:5:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 26911, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1285:1:34", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1277:9:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1260:26:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26914, - "nodeType": "ExpressionStatement", - "src": "1260:26:34" - } - ] - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "decrement", - "nameLocation": "1083:9:34", - "parameters": { - "id": 26893, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26892, - "mutability": "mutable", - "name": "counter", - "nameLocation": "1109:7:34", - "nodeType": "VariableDeclaration", - "scope": 26917, - "src": "1093:23:34", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 26891, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26890, - "name": "Counter", - "nameLocations": [ - "1093:7:34" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26863, - "src": "1093:7:34" - }, - "referencedDeclaration": 26863, - "src": "1093:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "src": "1092:25:34" - }, - "returnParameters": { - "id": 26894, - "nodeType": "ParameterList", - "parameters": [], - "src": "1127:0:34" - }, - "scope": 26931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 26930, - "nodeType": "FunctionDefinition", - "src": "1309:84:34", - "body": { - "id": 26929, - "nodeType": "Block", - "src": "1358:35:34", - "statements": [ - { - "expression": { - "id": 26927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 26923, - "name": "counter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26920, - "src": "1368:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 26925, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "1376:6:34", - "memberName": "_value", - "nodeType": "MemberAccess", - "referencedDeclaration": 26862, - "src": "1368:14:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "30", - "id": 26926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1385:1:34", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1368:18:34", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26928, - "nodeType": "ExpressionStatement", - "src": "1368:18:34" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "reset", - "nameLocation": "1318:5:34", - "parameters": { - "id": 26921, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26920, - "mutability": "mutable", - "name": "counter", - "nameLocation": "1340:7:34", - "nodeType": "VariableDeclaration", - "scope": 26930, - "src": "1324:23:34", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 26919, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 26918, - "name": "Counter", - "nameLocations": [ - "1324:7:34" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26863, - "src": "1324:7:34" - }, - "referencedDeclaration": 26863, - "src": "1324:7:34", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "src": "1323:25:34" - }, - "returnParameters": { - "id": 26922, - "nodeType": "ParameterList", - "parameters": [], - "src": "1358:0:34" - }, - "scope": 26931, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Counters", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 26860, - "nodeType": "StructuredDocumentation", - "src": "112:311:34", - "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": [ - 26931 - ], - "name": "Counters", - "nameLocation": "432:8:34", - "scope": 26932, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 34 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f59d8fcb88485054c34e9c5189f3d81cfc4aa952ecf74f26b3c5897961a5849764736f6c63430008170033","sourceMap":"424:971:35:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;424:971:35;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f59d8fcb88485054c34e9c5189f3d81cfc4aa952ecf74f26b3c5897961a5849764736f6c63430008170033","sourceMap":"424:971:35:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/Counters.sol":"Counters"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/Counters.sol":{"keccak256":"0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1","urls":["bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee","dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu"],"license":"MIT"}},"version":1},"id":35} \ No newline at end of file diff --git a/out/Deploy.sol/DeployGoerli.json b/out/Deploy.sol/DeployGoerli.json index 1daa646..247ae4a 100644 --- a/out/Deploy.sol/DeployGoerli.json +++ b/out/Deploy.sol/DeployGoerli.json @@ -1,2392 +1 @@ -{ - "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_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "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": "run", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x6080604052600080546201000162ff00ff19909116179055600880546001600160a01b03199081167399db6b517683237de9c494bbd17861f3608f3585179091556009805482167321263a042afe4bae34f08bb318056c181bd96d3b179055600a80549091167341126ec99f8a989feb503ac7bb4c5e5d40e06fa417905534801561008957600080fd5b506117a9806100996000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600a546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f08061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f0380380620013f083398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f1620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f16000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e6e565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e88565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9b565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec4565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610eda565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef6565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f20565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f20565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f20565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f20565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610f9f565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9b565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611050565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611069565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff919061109e565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061109e565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d6565b815181106108f6576108f6610ec4565b602002602001015160405160200161090f9291906110ef565b60405160208183030381529060405292508181101561094b5782604051602001610939919061111e565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec4565b60200260200101516040516020016109fa9190610eda565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611143565b9150610a969050600a83611172565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d6565b9150610b04600a86611186565b610b0f90603061119a565b60f81b818381518110610b2457610b24610ec4565b60200101906001600160f81b031916908160001a905350610b46600a86611172565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111fb565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f20565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610e6157601f19868403018952610e4f838351610dea565b98840198925090830190600101610e33565b5090979650505050505050565b602081526000610e816020830184610e16565b9392505050565b602081526000610e816020830184610dea565b600060208284031215610ead57600080fd5b81516001600160a01b0381168114610e8157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eec818460208701610dc6565b9190910192915050565b604081526000610f096040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3457607f821691505b602082108103610f5457634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6b57600080fd5b8151610f79610d0382610c85565b818152846020838601011115610f8e57600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb257600080fd5b825167ffffffffffffffff80821115610fca57600080fd5b818501915085601f830112610fde57600080fd5b8151610fec610d0382610c61565b81815260059190911b8301840190848101908883111561100b57600080fd5b8585015b83811015611043578051858111156110275760008081fd5b6110358b89838a0101610f5a565b84525091860191860161100f565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107b57600080fd5b815167ffffffffffffffff81111561109257600080fd5b610b4d84828501610f5a565b6000602082840312156110b057600080fd5b81518015158114610e8157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110e9576110e96110c0565b92915050565b60008351611101818460208801610dc6565b835190830190611115818360208801610dc6565b01949350505050565b60008251611130818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611155576111556110c0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111815761118161115c565b500490565b6000826111955761119561115c565b500690565b808201808211156110e9576110e96110c0565b601f8211156108c657600081815260208120601f850160051c810160208610156111d45750805b601f850160051c820191505b818110156111f3578281556001016111e0565b505050505050565b815167ffffffffffffffff81111561121557611215610c1a565b611229816112238454610f20565b846111ad565b602080601f83116001811461125e57600084156112465750858301515b600019600386901b1c1916600185901b1785556111f3565b600085815260208120601f198616915b8281101561128d5788860151825594840194600190910190840161126e565b50858210156112ab5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212206b5d832658cbd393fc3e01826739b06671e949a1ba66e37e18e55cfb216e196864736f6c63430008100033a26469706673582212207a1728c7ab4f55e5593fc97f9ef26f1496261183fa365d33590f2cdcac7f0fb564736f6c63430008100033", - "sourceMap": "289:492:3:-:0;;;1572:26:4;;;170:28:5;-1:-1:-1;;170:28:5;;;;;;323:94:3;;;-1:-1:-1;;;;;;323:94:3;;;374:42;323:94;;;;421:79;;;;;457:42;421:79;;;504:92;;;;;;553:42;504:92;;;289:492;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600a546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f08061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f0380380620013f083398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f1620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f16000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e6e565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e88565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9b565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec4565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610eda565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef6565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f20565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f20565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f20565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f20565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610f9f565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9b565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611050565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611069565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff919061109e565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061109e565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d6565b815181106108f6576108f6610ec4565b602002602001015160405160200161090f9291906110ef565b60405160208183030381529060405292508181101561094b5782604051602001610939919061111e565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec4565b60200260200101516040516020016109fa9190610eda565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611143565b9150610a969050600a83611172565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d6565b9150610b04600a86611186565b610b0f90603061119a565b60f81b818381518110610b2457610b24610ec4565b60200101906001600160f81b031916908160001a905350610b46600a86611172565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111fb565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f20565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610e6157601f19868403018952610e4f838351610dea565b98840198925090830190600101610e33565b5090979650505050505050565b602081526000610e816020830184610e16565b9392505050565b602081526000610e816020830184610dea565b600060208284031215610ead57600080fd5b81516001600160a01b0381168114610e8157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eec818460208701610dc6565b9190910192915050565b604081526000610f096040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3457607f821691505b602082108103610f5457634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6b57600080fd5b8151610f79610d0382610c85565b818152846020838601011115610f8e57600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb257600080fd5b825167ffffffffffffffff80821115610fca57600080fd5b818501915085601f830112610fde57600080fd5b8151610fec610d0382610c61565b81815260059190911b8301840190848101908883111561100b57600080fd5b8585015b83811015611043578051858111156110275760008081fd5b6110358b89838a0101610f5a565b84525091860191860161100f565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107b57600080fd5b815167ffffffffffffffff81111561109257600080fd5b610b4d84828501610f5a565b6000602082840312156110b057600080fd5b81518015158114610e8157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110e9576110e96110c0565b92915050565b60008351611101818460208801610dc6565b835190830190611115818360208801610dc6565b01949350505050565b60008251611130818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611155576111556110c0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111815761118161115c565b500490565b6000826111955761119561115c565b500690565b808201808211156110e9576110e96110c0565b601f8211156108c657600081815260208120601f850160051c810160208610156111d45750805b601f850160051c820191505b818110156111f3578281556001016111e0565b505050505050565b815167ffffffffffffffff81111561121557611215610c1a565b611229816112238454610f20565b846111ad565b602080601f83116001811461125e57600084156112465750858301515b600019600386901b1c1916600185901b1785556111f3565b600085815260208120601f198616915b8281101561128d5788860151825594840194600190910190840161126e565b50858210156112ab5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212206b5d832658cbd393fc3e01826739b06671e949a1ba66e37e18e55cfb216e196864736f6c63430008100033a26469706673582212207a1728c7ab4f55e5593fc97f9ef26f1496261183fa365d33590f2cdcac7f0fb564736f6c63430008100033", - "sourceMap": "289:492:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;321:38:5;;250:64;321:38;;;;;-1:-1:-1;;;;;189:32:44;;;171:51;;159:2;144:18;321:38:5;;;;;;;;1819:584:4;;;:::i;:::-;;;398:14:44;;391:22;373:41;;361:2;346:18;1819:584:4;233:187:44;640:139:3;;;:::i;:::-;;170:28:5;;;;;;;;;;;;1572:26:4;;;;;;;;;1819:584;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:4;;;;;;;;1819:584::o;1869:528::-;1941:17;2990:42;2978:55;3059:16;1980:374;;2196:43;;;1671:64;2196:43;;;599:51:44;;;-1:-1:-1;;;666:18:44;;;659:34;2196:43:4;;;;;;;;;572:18:44;;;2196:43:4;;;-1:-1:-1;;1671:64:4;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:4;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:4:o;640:139:3:-;670:19;;;-1:-1:-1;;;670:19:3;;;;250:64:5;;670:17:3;;:19;;;;;274:37:5;;670:19:3;;;;;;;274:37:5;250:64;670:19:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;736:9:3;;747:14;;763:10;;715:59;;-1:-1:-1;;;;;736:9:3;;;;-1:-1:-1;747:14:3;;;;-1:-1:-1;763:10:3;;;;715:59;;;:::i;:::-;-1:-1:-1;;;;;2120:15:44;;;2102:34;;2172:15;;;2167:2;2152:18;;2145:43;2224:15;;;2219:2;2204:18;;2197:43;2052:2;2037:18;715:59:3;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;696:16:3;:78;;-1:-1:-1;;;;;;696:78:3;-1:-1:-1;;;;;696:78:3;;;;;;;;;;640:139::o;-1:-1:-1:-;;;;;;;;:::o;704:322:44:-;745:3;783:5;777:12;807:1;817:128;831:6;828:1;825:13;817:128;;;928:4;913:13;;;909:24;;903:31;890:11;;;883:52;846:12;817:128;;;-1:-1:-1;1000:1:44;964:16;;989:13;;;-1:-1:-1;964:16:44;;704:322;-1:-1:-1;704:322:44:o;1031:278::-;-1:-1:-1;;;;;;1216:33:44;;1204:46;;1186:3;1266:37;1300:1;1291:11;;1283:6;1266:37;:::i;:::-;1259:44;1031:278;-1:-1:-1;;;;1031:278:44:o;1314:189::-;1443:3;1468:29;1493:3;1485:6;1468:29;:::i;:::-;1461:36;1314:189;-1:-1:-1;;;1314:189:44:o;1508:277::-;1575:6;1628:2;1616:9;1607:7;1603:23;1599:32;1596:52;;;1644:1;1641;1634:12;1596:52;1676:9;1670:16;1729:5;1722:13;1715:21;1708:5;1705:32;1695:60;;1751:1;1748;1741:12", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_SCRIPT()": "f8ccbf47", - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6", - "run()": "c0406226", - "vm()": "3a768463" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"run\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/scripts/Deploy.sol\":\"DeployGoerli\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"contracts/scripts/Deploy.sol\":{\"keccak256\":\"0x1d2c588a7ed5242efb39649ade19acd4e2e4e8b007d42ae9b5d00ea38361dcd9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3215b9d43180b33b3c11ff299ea321e0dd06c3b06c3c61ac47b9fe0c336a965\",\"dweb:/ipfs/QmPoPS3icJtPXX28NNGgJgnGznoQP2JxCor8B4BZ1E6osf\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.16+commit.07a7930e" - }, - "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_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "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": "run" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "contracts/scripts/Deploy.sol": "DeployGoerli" - }, - "libraries": {} - }, - "sources": { - "contracts/JBProjectHandles.sol": { - "keccak256": "0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b", - "urls": [ - "bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659", - "dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5" - ], - "license": "MIT" - }, - "contracts/interfaces/IJBProjectHandles.sol": { - "keccak256": "0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6", - "urls": [ - "bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5", - "dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b" - ], - "license": "MIT" - }, - "contracts/libraries/JBOperations2.sol": { - "keccak256": "0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29", - "urls": [ - "bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1", - "dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg" - ], - "license": "MIT" - }, - "contracts/scripts/Deploy.sol": { - "keccak256": "0x1d2c588a7ed5242efb39649ade19acd4e2e4e8b007d42ae9b5d00ea38361dcd9", - "urls": [ - "bzz-raw://b3215b9d43180b33b3c11ff299ea321e0dd06c3b06c3c61ac47b9fe0c336a965", - "dweb:/ipfs/QmPoPS3icJtPXX28NNGgJgnGznoQP2JxCor8B4BZ1E6osf" - ], - "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/Script.sol": { - "keccak256": "0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00", - "urls": [ - "bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b", - "dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b", - "urls": [ - "bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2", - "dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "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": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - }, - "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol": { - "keccak256": "0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483", - "urls": [ - "bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed", - "dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV" - ], - "license": null - }, - "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol": { - "keccak256": "0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38", - "urls": [ - "bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba", - "dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol": { - "keccak256": "0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add", - "urls": [ - "bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735", - "dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol": { - "keccak256": "0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e", - "urls": [ - "bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b", - "dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": { - "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4", - "urls": [ - "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9", - "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": { - "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174", - "urls": [ - "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e", - "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol": { - "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0", - "urls": [ - "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494", - "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/interfaces/IERC721.sol": { - "keccak256": "0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c", - "urls": [ - "bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8", - "dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "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": "contracts/scripts/Deploy.sol", - "id": 521, - "exportedSymbols": { - "DSTest": [ - 2307 - ], - "DeployGoerli": [ - 477 - ], - "DeployMainnet": [ - 520 - ], - "ENS": [ - 23858 - ], - "IERC165": [ - 27903 - ], - "IERC721": [ - 26383 - ], - "IJBOperatable": [ - 24530 - ], - "IJBOperatorStore": [ - 24598 - ], - "IJBProjectHandles": [ - 422 - ], - "IJBProjects": [ - 24677 - ], - "IJBTokenUriResolver": [ - 24687 - ], - "ITextResolver": [ - 23879 - ], - "JBOperatable": [ - 24520 - ], - "JBOperations2": [ - 428 - ], - "JBOperatorData": [ - 24754 - ], - "JBProjectHandles": [ - 372 - ], - "JBProjectMetadata": [ - 24761 - ], - "Script": [ - 2570 - ], - "StdStorage": [ - 5598 - ], - "Strings": [ - 27306 - ], - "Test": [ - 5500 - ], - "Vm": [ - 7593 - ], - "console": [ - 15657 - ], - "console2": [ - 23721 - ], - "stdError": [ - 5570 - ], - "stdJson": [ - 2930 - ], - "stdMath": [ - 6839 - ], - "stdStorage": [ - 6700 - ] - }, - "nodeType": "SourceUnit", - "src": "32:1244:3", - "nodes": [ - { - "id": 430, - "nodeType": "PragmaDirective", - "src": "32:24:3", - "literals": [ - "solidity", - "^", - "0.8", - ".16" - ] - }, - { - "id": 431, - "nodeType": "ImportDirective", - "src": "58:28:3", - "absolutePath": "lib/forge-std/src/Test.sol", - "file": "forge-std/Test.sol", - "nameLocation": "-1:-1:-1", - "scope": 521, - "sourceUnit": 6840, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 432, - "nodeType": "ImportDirective", - "src": "88:84:3", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol", - "file": "@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol", - "nameLocation": "-1:-1:-1", - "scope": 521, - "sourceUnit": 24599, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 433, - "nodeType": "ImportDirective", - "src": "173:79:3", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol", - "file": "@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol", - "nameLocation": "-1:-1:-1", - "scope": 521, - "sourceUnit": 24678, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 434, - "nodeType": "ImportDirective", - "src": "254:33:3", - "absolutePath": "contracts/JBProjectHandles.sol", - "file": "../JBProjectHandles.sol", - "nameLocation": "-1:-1:-1", - "scope": 521, - "sourceUnit": 373, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 477, - "nodeType": "ContractDefinition", - "src": "289:492:3", - "nodes": [ - { - "id": 442, - "nodeType": "VariableDeclaration", - "src": "323:94:3", - "constant": false, - "mutability": "mutable", - "name": "_operatorStore", - "nameLocation": "340:14:3", - "scope": 477, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 438, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 437, - "name": "IJBOperatorStore", - "nameLocations": [ - "323:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24598, - "src": "323:16:3" - }, - "referencedDeclaration": 24598, - "src": "323:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307839396442366235313736383332333764453943343934626264313738363166333630384633353835", - "id": 440, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "374:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x99dB6b517683237dE9C494bbd17861f3608F3585" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 439, - "name": "IJBOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24598, - "src": "357:16:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBOperatorStore_$24598_$", - "typeString": "type(contract IJBOperatorStore)" - } - }, - "id": 441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "357:60:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "internal" - }, - { - "id": 448, - "nodeType": "VariableDeclaration", - "src": "421:79:3", - "constant": false, - "mutability": "mutable", - "name": "_projects", - "nameLocation": "433:9:3", - "scope": 477, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - "typeName": { - "id": 444, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 443, - "name": "IJBProjects", - "nameLocations": [ - "421:11:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24677, - "src": "421:11:3" - }, - "referencedDeclaration": 24677, - "src": "421:11:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307832313236336130343261464534624145333446303842623331383035364331383162443936443362", - "id": 446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "457:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x21263a042aFE4bAE34F08Bb318056C181bD96D3b" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 445, - "name": "IJBProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24677, - "src": "445:11:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjects_$24677_$", - "typeString": "type(contract IJBProjects)" - } - }, - "id": 447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "445:55:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "visibility": "internal" - }, - { - "id": 454, - "nodeType": "VariableDeclaration", - "src": "504:92:3", - "constant": false, - "mutability": "mutable", - "name": "_oldHandle", - "nameLocation": "522:10:3", - "scope": 477, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - }, - "typeName": { - "id": 450, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 449, - "name": "IJBProjectHandles", - "nameLocations": [ - "504:17:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 422, - "src": "504:17:3" - }, - "referencedDeclaration": 422, - "src": "504:17:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307834313132366543393946384139383966454235303361633762423463356535443430453036464134", - "id": 452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "553:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x41126eC99F8A989fEB503ac7bB4c5e5D40E06FA4" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 451, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "535:17:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "535:61:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 457, - "nodeType": "VariableDeclaration", - "src": "602:33:3", - "constant": false, - "mutability": "mutable", - "name": "jbProjectHandles", - "nameLocation": "619:16:3", - "scope": 477, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - }, - "typeName": { - "id": 456, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 455, - "name": "JBProjectHandles", - "nameLocations": [ - "602:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "602:16:3" - }, - "referencedDeclaration": 372, - "src": "602:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 476, - "nodeType": "FunctionDefinition", - "src": "640:139:3", - "body": { - "id": 475, - "nodeType": "Block", - "src": "664:115:3", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 460, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2338, - "src": "670:2:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7593", - "typeString": "contract Vm" - } - }, - "id": 462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "673:14:3", - "memberName": "startBroadcast", - "nodeType": "MemberAccess", - "referencedDeclaration": 7237, - "src": "670:17:3", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "670:19:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 464, - "nodeType": "ExpressionStatement", - "src": "670:19:3" - }, - { - "expression": { - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 465, - "name": "jbProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 457, - "src": "696:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 469, - "name": "_projects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 448, - "src": "736:9:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - { - "id": 470, - "name": "_operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "747:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - { - "id": 471, - "name": "_oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "763:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "715:20:3", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_contract$_IJBProjects_$24677_$_t_contract$_IJBOperatorStore_$24598_$_t_contract$_IJBProjectHandles_$422_$returns$_t_contract$_JBProjectHandles_$372_$", - "typeString": "function (contract IJBProjects,contract IJBOperatorStore,contract IJBProjectHandles) returns (contract JBProjectHandles)" - }, - "typeName": { - "id": 467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 466, - "name": "JBProjectHandles", - "nameLocations": [ - "719:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "719:16:3" - }, - "referencedDeclaration": 372, - "src": "719:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - } - }, - "id": 472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "715:59:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "src": "696:78:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 474, - "nodeType": "ExpressionStatement", - "src": "696:78:3" - } - ] - }, - "functionSelector": "c0406226", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "run", - "nameLocation": "649:3:3", - "parameters": { - "id": 458, - "nodeType": "ParameterList", - "parameters": [], - "src": "652:2:3" - }, - "returnParameters": { - "id": 459, - "nodeType": "ParameterList", - "parameters": [], - "src": "664:0:3" - }, - "scope": 477, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 435, - "name": "Test", - "nameLocations": [ - "314:4:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5500, - "src": "314:4:3" - }, - "id": 436, - "nodeType": "InheritanceSpecifier", - "src": "314:4:3" - } - ], - "canonicalName": "DeployGoerli", - "contractDependencies": [ - 372 - ], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 477, - 5500, - 2570, - 2307 - ], - "name": "DeployGoerli", - "nameLocation": "298:12:3", - "scope": 521, - "usedErrors": [] - }, - { - "id": 520, - "nodeType": "ContractDefinition", - "src": "783:492:3", - "nodes": [ - { - "id": 485, - "nodeType": "VariableDeclaration", - "src": "818:94:3", - "constant": false, - "mutability": "mutable", - "name": "_operatorStore", - "nameLocation": "835:14:3", - "scope": 520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 481, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 480, - "name": "IJBOperatorStore", - "nameLocations": [ - "818:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24598, - "src": "818:16:3" - }, - "referencedDeclaration": 24598, - "src": "818:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307836463343356166436130633965446633393236654632644446313763386165363339316166456662", - "id": 483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "869:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x6F3C5afCa0c9eDf3926eF2dDF17c8ae6391afEfb" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 482, - "name": "IJBOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24598, - "src": "852:16:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBOperatorStore_$24598_$", - "typeString": "type(contract IJBOperatorStore)" - } - }, - "id": 484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "852:60:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "internal" - }, - { - "id": 491, - "nodeType": "VariableDeclaration", - "src": "916:79:3", - "constant": false, - "mutability": "mutable", - "name": "_projects", - "nameLocation": "928:9:3", - "scope": 520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - "typeName": { - "id": 487, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 486, - "name": "IJBProjects", - "nameLocations": [ - "916:11:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24677, - "src": "916:11:3" - }, - "referencedDeclaration": 24677, - "src": "916:11:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307844384234333539313433656461354232643736334531323745643237633737616464426334376433", - "id": 489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "952:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xD8B4359143eda5B2d763E127Ed27c77addBc47d3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 488, - "name": "IJBProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24677, - "src": "940:11:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjects_$24677_$", - "typeString": "type(contract IJBProjects)" - } - }, - "id": 490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "940:55:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "visibility": "internal" - }, - { - "id": 497, - "nodeType": "VariableDeclaration", - "src": "999:92:3", - "constant": false, - "mutability": "mutable", - "name": "_oldHandle", - "nameLocation": "1017:10:3", - "scope": 520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - }, - "typeName": { - "id": 493, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 492, - "name": "IJBProjectHandles", - "nameLocations": [ - "999:17:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 422, - "src": "999:17:3" - }, - "referencedDeclaration": 422, - "src": "999:17:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307845336330314539466432613164434336656446306231303538423537353731333845463946664236", - "id": 495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1048:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xE3c01E9Fd2a1dCC6edF0b1058B5757138EF9FfB6" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 494, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "1030:17:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1030:61:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 500, - "nodeType": "VariableDeclaration", - "src": "1096:33:3", - "constant": false, - "mutability": "mutable", - "name": "jbProjectHandles", - "nameLocation": "1113:16:3", - "scope": 520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - }, - "typeName": { - "id": 499, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 498, - "name": "JBProjectHandles", - "nameLocations": [ - "1096:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "1096:16:3" - }, - "referencedDeclaration": 372, - "src": "1096:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 519, - "nodeType": "FunctionDefinition", - "src": "1134:139:3", - "body": { - "id": 518, - "nodeType": "Block", - "src": "1158:115:3", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 503, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2338, - "src": "1164:2:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7593", - "typeString": "contract Vm" - } - }, - "id": 505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1167:14:3", - "memberName": "startBroadcast", - "nodeType": "MemberAccess", - "referencedDeclaration": 7237, - "src": "1164:17:3", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1164:19:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 507, - "nodeType": "ExpressionStatement", - "src": "1164:19:3" - }, - { - "expression": { - "id": 516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 508, - "name": "jbProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 500, - "src": "1190:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 512, - "name": "_projects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "1230:9:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - { - "id": 513, - "name": "_operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "1241:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - { - "id": 514, - "name": "_oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 497, - "src": "1257:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1209:20:3", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_contract$_IJBProjects_$24677_$_t_contract$_IJBOperatorStore_$24598_$_t_contract$_IJBProjectHandles_$422_$returns$_t_contract$_JBProjectHandles_$372_$", - "typeString": "function (contract IJBProjects,contract IJBOperatorStore,contract IJBProjectHandles) returns (contract JBProjectHandles)" - }, - "typeName": { - "id": 510, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 509, - "name": "JBProjectHandles", - "nameLocations": [ - "1213:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "1213:16:3" - }, - "referencedDeclaration": 372, - "src": "1213:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - } - }, - "id": 515, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1209:59:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "src": "1190:78:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 517, - "nodeType": "ExpressionStatement", - "src": "1190:78:3" - } - ] - }, - "functionSelector": "c0406226", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "run", - "nameLocation": "1143:3:3", - "parameters": { - "id": 501, - "nodeType": "ParameterList", - "parameters": [], - "src": "1146:2:3" - }, - "returnParameters": { - "id": 502, - "nodeType": "ParameterList", - "parameters": [], - "src": "1158:0:3" - }, - "scope": 520, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 478, - "name": "Test", - "nameLocations": [ - "809:4:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5500, - "src": "809:4:3" - }, - "id": 479, - "nodeType": "InheritanceSpecifier", - "src": "809:4:3" - } - ], - "canonicalName": "DeployMainnet", - "contractDependencies": [ - 372 - ], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 520, - 5500, - 2570, - 2307 - ], - "name": "DeployMainnet", - "nameLocation": "792:13:3", - "scope": 521, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 3 -} \ No newline at end of file +{"abi":[{"type":"function","name":"IS_SCRIPT","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"IS_TEST","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"failed","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"run","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"vm","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Vm"}],"stateMutability":"view"},{"type":"event","name":"log","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_address","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_bytes","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_bytes32","inputs":[{"name":"","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_int","inputs":[{"name":"","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_address","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_named_bytes","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_named_bytes32","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_named_decimal_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_decimal_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_string","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_named_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_string","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_uint","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"logs","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false}],"bytecode":{"object":"0x6080604052600080546201000162ff00ff19909116179055600880546001600160a01b03199081167399db6b517683237de9c494bbd17861f3608f3585179091556009805482167321263a042afe4bae34f08bb318056c181bd96d3b179055600a80549091167341126ec99f8a989feb503ac7bb4c5e5d40e06fa417905534801561008957600080fd5b506117ad806100996000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600a546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f48061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c63430008170033a26469706673582212201b502960c2f8cd8305d9256de3cc8743c8cfd2a9999f9ff95455020564a160be64736f6c63430008170033","sourceMap":"2440:511:3:-:0;;;1572:26:4;;;170:28:5;-1:-1:-1;;170:28:5;;;;;;2476:94:3;;;-1:-1:-1;;;;;;2476:94:3;;;2527:42;2476:94;;;;2576:79;;;;;2612:42;2576:79;;;2661:92;;;;;;2710:42;2661:92;;;2440:511;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600a546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f48061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c63430008170033a26469706673582212201b502960c2f8cd8305d9256de3cc8743c8cfd2a9999f9ff95455020564a160be64736f6c63430008170033","sourceMap":"2440:511:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;321:38:5;;250:64;321:38;;;;;-1:-1:-1;;;;;189:32:44;;;171:51;;159:2;144:18;321:38:5;;;;;;;;1819:584:4;;;:::i;:::-;;;398:14:44;;391:22;373:41;;361:2;346:18;1819:584:4;233:187:44;2800:149:3;;;:::i;:::-;;170:28:5;;;;;;;;;;;;1572:26:4;;;;;;;;;1819:584;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:4;;;;;;;;1819:584::o;1869:528::-;1941:17;2990:42;2978:55;3059:16;1980:374;;2196:43;;;1671:64;2196:43;;;599:51:44;;;-1:-1:-1;;;666:18:44;;;659:34;2196:43:4;;;;;;;;;572:18:44;;;2196:43:4;;;-1:-1:-1;;1671:64:4;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:4;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:4:o;2800:149:3:-;2834:19;;;-1:-1:-1;;;2834:19:3;;;;250:64:5;;2834:17:3;;:19;;;;;274:37:5;;2834:19:3;;;;;;;274:37:5;250:64;2834:19:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2904:9:3;;2915:14;;2931:10;;2883:59;;-1:-1:-1;;;;;2904:9:3;;;;-1:-1:-1;2915:14:3;;;;-1:-1:-1;2931:10:3;;;;2883:59;;;:::i;:::-;-1:-1:-1;;;;;2120:15:44;;;2102:34;;2172:15;;;2167:2;2152:18;;2145:43;2224:15;;;2219:2;2204:18;;2197:43;2052:2;2037:18;2883:59:3;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2864:16:3;:78;;-1:-1:-1;;;;;;2864:78:3;-1:-1:-1;;;;;2864:78:3;;;;;;;;;;2800:149::o;-1:-1:-1:-;;;;;;;;:::o;704:322:44:-;745:3;783:5;777:12;807:1;817:128;831:6;828:1;825:13;817:128;;;928:4;913:13;;;909:24;;903:31;890:11;;;883:52;846:12;817:128;;;-1:-1:-1;1000:1:44;964:16;;989:13;;;-1:-1:-1;964:16:44;;704:322;-1:-1:-1;704:322:44:o;1031:278::-;-1:-1:-1;;;;;;1216:33:44;;1204:46;;1186:3;1266:37;1300:1;1291:11;;1283:6;1266:37;:::i;:::-;1259:44;1031:278;-1:-1:-1;;;;1031:278:44:o;1314:189::-;1443:3;1468:29;1493:3;1485:6;1468:29;:::i;:::-;1461:36;1314:189;-1:-1:-1;;;1314:189:44:o;1508:277::-;1575:6;1628:2;1616:9;1607:7;1603:23;1599:32;1596:52;;;1644:1;1641;1634:12;1596:52;1676:9;1670:16;1729:5;1722:13;1715:21;1708:5;1705:32;1695:60;;1751:1;1748;1741:12","linkReferences":{}},"methodIdentifiers":{"IS_SCRIPT()":"f8ccbf47","IS_TEST()":"fa7626d4","failed()":"ba414fa6","run()":"c0406226","vm()":"3a768463"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"run\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/scripts/Deploy.sol\":\"DeployGoerli\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"contracts/scripts/Deploy.sol\":{\"keccak256\":\"0x2924c5b91be40b649cc423006b99f8ba27547eb9ef6d6481dcdd7e57aa360c44\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f310d68ec3b957a075369f158d5f1c87ff639a8fc2eacf9a7ad780436945292\",\"dweb:/ipfs/QmTnHBMiyo4E371Php7ADphUNZ1sSnFWf6AjHwqri36SbY\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.23+commit.f704f362"},"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_SCRIPT","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"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":"run"},{"inputs":[],"stateMutability":"view","type":"function","name":"vm","outputs":[{"internalType":"contract Vm","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/scripts/Deploy.sol":"DeployGoerli"},"evmVersion":"paris","libraries":{}},"sources":{"contracts/JBProjectHandles.sol":{"keccak256":"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b","urls":["bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659","dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5"],"license":"MIT"},"contracts/interfaces/IJBProjectHandles.sol":{"keccak256":"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6","urls":["bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5","dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b"],"license":"MIT"},"contracts/libraries/JBOperations2.sol":{"keccak256":"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29","urls":["bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1","dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg"],"license":"MIT"},"contracts/scripts/Deploy.sol":{"keccak256":"0x2924c5b91be40b649cc423006b99f8ba27547eb9ef6d6481dcdd7e57aa360c44","urls":["bzz-raw://7f310d68ec3b957a075369f158d5f1c87ff639a8fc2eacf9a7ad780436945292","dweb:/ipfs/QmTnHBMiyo4E371Php7ADphUNZ1sSnFWf6AjHwqri36SbY"],"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/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Test.sol":{"keccak256":"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b","urls":["bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2","dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"},"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol":{"keccak256":"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483","urls":["bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed","dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV"],"license":null},"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol":{"keccak256":"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38","urls":["bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba","dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol":{"keccak256":"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add","urls":["bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735","dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":{"keccak256":"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e","urls":["bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b","dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":{"keccak256":"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4","urls":["bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9","dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol":{"keccak256":"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0","urls":["bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494","dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol":{"keccak256":"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c","urls":["bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8","dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],"license":"MIT"}},"version":1},"id":3} \ No newline at end of file diff --git a/out/Deploy.sol/DeployMainnet.json b/out/Deploy.sol/DeployMainnet.json index 1473421..aa1e91f 100644 --- a/out/Deploy.sol/DeployMainnet.json +++ b/out/Deploy.sol/DeployMainnet.json @@ -1,2392 +1 @@ -{ - "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_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "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": "run", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x6080604052600080546201000162ff00ff19909116179055600880546001600160a01b0319908116736f3c5afca0c9edf3926ef2ddf17c8ae6391afefb1790915560098054821673d8b4359143eda5b2d763e127ed27c77addbc47d3179055600a805490911673e3c01e9fd2a1dcc6edf0b1058b5757138ef9ffb617905534801561008957600080fd5b506117a9806100996000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600a546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f08061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f0380380620013f083398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f1620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f16000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e6e565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e88565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9b565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec4565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610eda565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef6565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f20565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f20565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f20565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f20565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610f9f565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9b565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611050565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611069565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff919061109e565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061109e565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d6565b815181106108f6576108f6610ec4565b602002602001015160405160200161090f9291906110ef565b60405160208183030381529060405292508181101561094b5782604051602001610939919061111e565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec4565b60200260200101516040516020016109fa9190610eda565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611143565b9150610a969050600a83611172565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d6565b9150610b04600a86611186565b610b0f90603061119a565b60f81b818381518110610b2457610b24610ec4565b60200101906001600160f81b031916908160001a905350610b46600a86611172565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111fb565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f20565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610e6157601f19868403018952610e4f838351610dea565b98840198925090830190600101610e33565b5090979650505050505050565b602081526000610e816020830184610e16565b9392505050565b602081526000610e816020830184610dea565b600060208284031215610ead57600080fd5b81516001600160a01b0381168114610e8157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eec818460208701610dc6565b9190910192915050565b604081526000610f096040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3457607f821691505b602082108103610f5457634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6b57600080fd5b8151610f79610d0382610c85565b818152846020838601011115610f8e57600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb257600080fd5b825167ffffffffffffffff80821115610fca57600080fd5b818501915085601f830112610fde57600080fd5b8151610fec610d0382610c61565b81815260059190911b8301840190848101908883111561100b57600080fd5b8585015b83811015611043578051858111156110275760008081fd5b6110358b89838a0101610f5a565b84525091860191860161100f565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107b57600080fd5b815167ffffffffffffffff81111561109257600080fd5b610b4d84828501610f5a565b6000602082840312156110b057600080fd5b81518015158114610e8157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110e9576110e96110c0565b92915050565b60008351611101818460208801610dc6565b835190830190611115818360208801610dc6565b01949350505050565b60008251611130818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611155576111556110c0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111815761118161115c565b500490565b6000826111955761119561115c565b500690565b808201808211156110e9576110e96110c0565b601f8211156108c657600081815260208120601f850160051c810160208610156111d45750805b601f850160051c820191505b818110156111f3578281556001016111e0565b505050505050565b815167ffffffffffffffff81111561121557611215610c1a565b611229816112238454610f20565b846111ad565b602080601f83116001811461125e57600084156112465750858301515b600019600386901b1c1916600185901b1785556111f3565b600085815260208120601f198616915b8281101561128d5788860151825594840194600190910190840161126e565b50858210156112ab5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212206b5d832658cbd393fc3e01826739b06671e949a1ba66e37e18e55cfb216e196864736f6c63430008100033a26469706673582212205120bcd6be673717ec243694968325e922d6a50f3cfd9b6db4ebb6ea9b78b0ea64736f6c63430008100033", - "sourceMap": "783:492:3:-:0;;;1572:26:4;;;170:28:5;-1:-1:-1;;170:28:5;;;;;;818:94:3;;;-1:-1:-1;;;;;;818:94:3;;;869:42;818:94;;;;916:79;;;;;952:42;916:79;;;999:92;;;;;;1048:42;999:92;;;783:492;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600a546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f08061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f0380380620013f083398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f1620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f16000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e6e565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e88565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9b565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec4565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610eda565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef6565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f20565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f20565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f20565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f20565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610f9f565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9b565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611050565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611069565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff919061109e565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061109e565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d6565b815181106108f6576108f6610ec4565b602002602001015160405160200161090f9291906110ef565b60405160208183030381529060405292508181101561094b5782604051602001610939919061111e565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec4565b60200260200101516040516020016109fa9190610eda565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611143565b9150610a969050600a83611172565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d6565b9150610b04600a86611186565b610b0f90603061119a565b60f81b818381518110610b2457610b24610ec4565b60200101906001600160f81b031916908160001a905350610b46600a86611172565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111fb565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f20565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610e6157601f19868403018952610e4f838351610dea565b98840198925090830190600101610e33565b5090979650505050505050565b602081526000610e816020830184610e16565b9392505050565b602081526000610e816020830184610dea565b600060208284031215610ead57600080fd5b81516001600160a01b0381168114610e8157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eec818460208701610dc6565b9190910192915050565b604081526000610f096040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3457607f821691505b602082108103610f5457634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6b57600080fd5b8151610f79610d0382610c85565b818152846020838601011115610f8e57600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb257600080fd5b825167ffffffffffffffff80821115610fca57600080fd5b818501915085601f830112610fde57600080fd5b8151610fec610d0382610c61565b81815260059190911b8301840190848101908883111561100b57600080fd5b8585015b83811015611043578051858111156110275760008081fd5b6110358b89838a0101610f5a565b84525091860191860161100f565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107b57600080fd5b815167ffffffffffffffff81111561109257600080fd5b610b4d84828501610f5a565b6000602082840312156110b057600080fd5b81518015158114610e8157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110e9576110e96110c0565b92915050565b60008351611101818460208801610dc6565b835190830190611115818360208801610dc6565b01949350505050565b60008251611130818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611155576111556110c0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111815761118161115c565b500490565b6000826111955761119561115c565b500690565b808201808211156110e9576110e96110c0565b601f8211156108c657600081815260208120601f850160051c810160208610156111d45750805b601f850160051c820191505b818110156111f3578281556001016111e0565b505050505050565b815167ffffffffffffffff81111561121557611215610c1a565b611229816112238454610f20565b846111ad565b602080601f83116001811461125e57600084156112465750858301515b600019600386901b1c1916600185901b1785556111f3565b600085815260208120601f198616915b8281101561128d5788860151825594840194600190910190840161126e565b50858210156112ab5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212206b5d832658cbd393fc3e01826739b06671e949a1ba66e37e18e55cfb216e196864736f6c63430008100033a26469706673582212205120bcd6be673717ec243694968325e922d6a50f3cfd9b6db4ebb6ea9b78b0ea64736f6c63430008100033", - "sourceMap": "783:492:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;321:38:5;;250:64;321:38;;;;;-1:-1:-1;;;;;189:32:44;;;171:51;;159:2;144:18;321:38:5;;;;;;;;1819:584:4;;;:::i;:::-;;;398:14:44;;391:22;373:41;;361:2;346:18;1819:584:4;233:187:44;1134:139:3;;;:::i;:::-;;170:28:5;;;;;;;;;;;;1572:26:4;;;;;;;;;1819:584;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:4;;;;;;;;1819:584::o;1869:528::-;1941:17;2990:42;2978:55;3059:16;1980:374;;2196:43;;;1671:64;2196:43;;;599:51:44;;;-1:-1:-1;;;666:18:44;;;659:34;2196:43:4;;;;;;;;;572:18:44;;;2196:43:4;;;-1:-1:-1;;1671:64:4;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:4;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:4:o;1134:139:3:-;1164:19;;;-1:-1:-1;;;1164:19:3;;;;250:64:5;;1164:17:3;;:19;;;;;274:37:5;;1164:19:3;;;;;;;274:37:5;250:64;1164:19:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1230:9:3;;1241:14;;1257:10;;1209:59;;-1:-1:-1;;;;;1230:9:3;;;;-1:-1:-1;1241:14:3;;;;-1:-1:-1;1257:10:3;;;;1209:59;;;:::i;:::-;-1:-1:-1;;;;;2120:15:44;;;2102:34;;2172:15;;;2167:2;2152:18;;2145:43;2224:15;;;2219:2;2204:18;;2197:43;2052:2;2037:18;1209:59:3;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1190:16:3;:78;;-1:-1:-1;;;;;;1190:78:3;-1:-1:-1;;;;;1190:78:3;;;;;;;;;;1134:139::o;-1:-1:-1:-;;;;;;;;:::o;704:322:44:-;745:3;783:5;777:12;807:1;817:128;831:6;828:1;825:13;817:128;;;928:4;913:13;;;909:24;;903:31;890:11;;;883:52;846:12;817:128;;;-1:-1:-1;1000:1:44;964:16;;989:13;;;-1:-1:-1;964:16:44;;704:322;-1:-1:-1;704:322:44:o;1031:278::-;-1:-1:-1;;;;;;1216:33:44;;1204:46;;1186:3;1266:37;1300:1;1291:11;;1283:6;1266:37;:::i;:::-;1259:44;1031:278;-1:-1:-1;;;;1031:278:44:o;1314:189::-;1443:3;1468:29;1493:3;1485:6;1468:29;:::i;:::-;1461:36;1314:189;-1:-1:-1;;;1314:189:44:o;1508:277::-;1575:6;1628:2;1616:9;1607:7;1603:23;1599:32;1596:52;;;1644:1;1641;1634:12;1596:52;1676:9;1670:16;1729:5;1722:13;1715:21;1708:5;1705:32;1695:60;;1751:1;1748;1741:12", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_SCRIPT()": "f8ccbf47", - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6", - "run()": "c0406226", - "vm()": "3a768463" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"run\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/scripts/Deploy.sol\":\"DeployMainnet\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"contracts/scripts/Deploy.sol\":{\"keccak256\":\"0x1d2c588a7ed5242efb39649ade19acd4e2e4e8b007d42ae9b5d00ea38361dcd9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3215b9d43180b33b3c11ff299ea321e0dd06c3b06c3c61ac47b9fe0c336a965\",\"dweb:/ipfs/QmPoPS3icJtPXX28NNGgJgnGznoQP2JxCor8B4BZ1E6osf\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.16+commit.07a7930e" - }, - "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_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "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": "run" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "contracts/scripts/Deploy.sol": "DeployMainnet" - }, - "libraries": {} - }, - "sources": { - "contracts/JBProjectHandles.sol": { - "keccak256": "0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b", - "urls": [ - "bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659", - "dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5" - ], - "license": "MIT" - }, - "contracts/interfaces/IJBProjectHandles.sol": { - "keccak256": "0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6", - "urls": [ - "bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5", - "dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b" - ], - "license": "MIT" - }, - "contracts/libraries/JBOperations2.sol": { - "keccak256": "0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29", - "urls": [ - "bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1", - "dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg" - ], - "license": "MIT" - }, - "contracts/scripts/Deploy.sol": { - "keccak256": "0x1d2c588a7ed5242efb39649ade19acd4e2e4e8b007d42ae9b5d00ea38361dcd9", - "urls": [ - "bzz-raw://b3215b9d43180b33b3c11ff299ea321e0dd06c3b06c3c61ac47b9fe0c336a965", - "dweb:/ipfs/QmPoPS3icJtPXX28NNGgJgnGznoQP2JxCor8B4BZ1E6osf" - ], - "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/Script.sol": { - "keccak256": "0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00", - "urls": [ - "bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b", - "dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b", - "urls": [ - "bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2", - "dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "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": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - }, - "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol": { - "keccak256": "0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483", - "urls": [ - "bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed", - "dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV" - ], - "license": null - }, - "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol": { - "keccak256": "0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38", - "urls": [ - "bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba", - "dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol": { - "keccak256": "0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add", - "urls": [ - "bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735", - "dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol": { - "keccak256": "0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e", - "urls": [ - "bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b", - "dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": { - "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4", - "urls": [ - "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9", - "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": { - "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174", - "urls": [ - "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e", - "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol": { - "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0", - "urls": [ - "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494", - "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/interfaces/IERC721.sol": { - "keccak256": "0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c", - "urls": [ - "bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8", - "dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "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": "contracts/scripts/Deploy.sol", - "id": 521, - "exportedSymbols": { - "DSTest": [ - 2307 - ], - "DeployGoerli": [ - 477 - ], - "DeployMainnet": [ - 520 - ], - "ENS": [ - 23858 - ], - "IERC165": [ - 27903 - ], - "IERC721": [ - 26383 - ], - "IJBOperatable": [ - 24530 - ], - "IJBOperatorStore": [ - 24598 - ], - "IJBProjectHandles": [ - 422 - ], - "IJBProjects": [ - 24677 - ], - "IJBTokenUriResolver": [ - 24687 - ], - "ITextResolver": [ - 23879 - ], - "JBOperatable": [ - 24520 - ], - "JBOperations2": [ - 428 - ], - "JBOperatorData": [ - 24754 - ], - "JBProjectHandles": [ - 372 - ], - "JBProjectMetadata": [ - 24761 - ], - "Script": [ - 2570 - ], - "StdStorage": [ - 5598 - ], - "Strings": [ - 27306 - ], - "Test": [ - 5500 - ], - "Vm": [ - 7593 - ], - "console": [ - 15657 - ], - "console2": [ - 23721 - ], - "stdError": [ - 5570 - ], - "stdJson": [ - 2930 - ], - "stdMath": [ - 6839 - ], - "stdStorage": [ - 6700 - ] - }, - "nodeType": "SourceUnit", - "src": "32:1244:3", - "nodes": [ - { - "id": 430, - "nodeType": "PragmaDirective", - "src": "32:24:3", - "literals": [ - "solidity", - "^", - "0.8", - ".16" - ] - }, - { - "id": 431, - "nodeType": "ImportDirective", - "src": "58:28:3", - "absolutePath": "lib/forge-std/src/Test.sol", - "file": "forge-std/Test.sol", - "nameLocation": "-1:-1:-1", - "scope": 521, - "sourceUnit": 6840, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 432, - "nodeType": "ImportDirective", - "src": "88:84:3", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol", - "file": "@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol", - "nameLocation": "-1:-1:-1", - "scope": 521, - "sourceUnit": 24599, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 433, - "nodeType": "ImportDirective", - "src": "173:79:3", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol", - "file": "@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol", - "nameLocation": "-1:-1:-1", - "scope": 521, - "sourceUnit": 24678, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 434, - "nodeType": "ImportDirective", - "src": "254:33:3", - "absolutePath": "contracts/JBProjectHandles.sol", - "file": "../JBProjectHandles.sol", - "nameLocation": "-1:-1:-1", - "scope": 521, - "sourceUnit": 373, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 477, - "nodeType": "ContractDefinition", - "src": "289:492:3", - "nodes": [ - { - "id": 442, - "nodeType": "VariableDeclaration", - "src": "323:94:3", - "constant": false, - "mutability": "mutable", - "name": "_operatorStore", - "nameLocation": "340:14:3", - "scope": 477, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 438, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 437, - "name": "IJBOperatorStore", - "nameLocations": [ - "323:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24598, - "src": "323:16:3" - }, - "referencedDeclaration": 24598, - "src": "323:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307839396442366235313736383332333764453943343934626264313738363166333630384633353835", - "id": 440, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "374:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x99dB6b517683237dE9C494bbd17861f3608F3585" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 439, - "name": "IJBOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24598, - "src": "357:16:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBOperatorStore_$24598_$", - "typeString": "type(contract IJBOperatorStore)" - } - }, - "id": 441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "357:60:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "internal" - }, - { - "id": 448, - "nodeType": "VariableDeclaration", - "src": "421:79:3", - "constant": false, - "mutability": "mutable", - "name": "_projects", - "nameLocation": "433:9:3", - "scope": 477, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - "typeName": { - "id": 444, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 443, - "name": "IJBProjects", - "nameLocations": [ - "421:11:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24677, - "src": "421:11:3" - }, - "referencedDeclaration": 24677, - "src": "421:11:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307832313236336130343261464534624145333446303842623331383035364331383162443936443362", - "id": 446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "457:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x21263a042aFE4bAE34F08Bb318056C181bD96D3b" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 445, - "name": "IJBProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24677, - "src": "445:11:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjects_$24677_$", - "typeString": "type(contract IJBProjects)" - } - }, - "id": 447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "445:55:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "visibility": "internal" - }, - { - "id": 454, - "nodeType": "VariableDeclaration", - "src": "504:92:3", - "constant": false, - "mutability": "mutable", - "name": "_oldHandle", - "nameLocation": "522:10:3", - "scope": 477, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - }, - "typeName": { - "id": 450, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 449, - "name": "IJBProjectHandles", - "nameLocations": [ - "504:17:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 422, - "src": "504:17:3" - }, - "referencedDeclaration": 422, - "src": "504:17:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307834313132366543393946384139383966454235303361633762423463356535443430453036464134", - "id": 452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "553:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x41126eC99F8A989fEB503ac7bB4c5e5D40E06FA4" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 451, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "535:17:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "535:61:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 457, - "nodeType": "VariableDeclaration", - "src": "602:33:3", - "constant": false, - "mutability": "mutable", - "name": "jbProjectHandles", - "nameLocation": "619:16:3", - "scope": 477, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - }, - "typeName": { - "id": 456, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 455, - "name": "JBProjectHandles", - "nameLocations": [ - "602:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "602:16:3" - }, - "referencedDeclaration": 372, - "src": "602:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 476, - "nodeType": "FunctionDefinition", - "src": "640:139:3", - "body": { - "id": 475, - "nodeType": "Block", - "src": "664:115:3", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 460, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2338, - "src": "670:2:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7593", - "typeString": "contract Vm" - } - }, - "id": 462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "673:14:3", - "memberName": "startBroadcast", - "nodeType": "MemberAccess", - "referencedDeclaration": 7237, - "src": "670:17:3", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "670:19:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 464, - "nodeType": "ExpressionStatement", - "src": "670:19:3" - }, - { - "expression": { - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 465, - "name": "jbProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 457, - "src": "696:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 469, - "name": "_projects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 448, - "src": "736:9:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - { - "id": 470, - "name": "_operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "747:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - { - "id": 471, - "name": "_oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "763:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "715:20:3", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_contract$_IJBProjects_$24677_$_t_contract$_IJBOperatorStore_$24598_$_t_contract$_IJBProjectHandles_$422_$returns$_t_contract$_JBProjectHandles_$372_$", - "typeString": "function (contract IJBProjects,contract IJBOperatorStore,contract IJBProjectHandles) returns (contract JBProjectHandles)" - }, - "typeName": { - "id": 467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 466, - "name": "JBProjectHandles", - "nameLocations": [ - "719:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "719:16:3" - }, - "referencedDeclaration": 372, - "src": "719:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - } - }, - "id": 472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "715:59:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "src": "696:78:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 474, - "nodeType": "ExpressionStatement", - "src": "696:78:3" - } - ] - }, - "functionSelector": "c0406226", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "run", - "nameLocation": "649:3:3", - "parameters": { - "id": 458, - "nodeType": "ParameterList", - "parameters": [], - "src": "652:2:3" - }, - "returnParameters": { - "id": 459, - "nodeType": "ParameterList", - "parameters": [], - "src": "664:0:3" - }, - "scope": 477, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 435, - "name": "Test", - "nameLocations": [ - "314:4:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5500, - "src": "314:4:3" - }, - "id": 436, - "nodeType": "InheritanceSpecifier", - "src": "314:4:3" - } - ], - "canonicalName": "DeployGoerli", - "contractDependencies": [ - 372 - ], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 477, - 5500, - 2570, - 2307 - ], - "name": "DeployGoerli", - "nameLocation": "298:12:3", - "scope": 521, - "usedErrors": [] - }, - { - "id": 520, - "nodeType": "ContractDefinition", - "src": "783:492:3", - "nodes": [ - { - "id": 485, - "nodeType": "VariableDeclaration", - "src": "818:94:3", - "constant": false, - "mutability": "mutable", - "name": "_operatorStore", - "nameLocation": "835:14:3", - "scope": 520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 481, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 480, - "name": "IJBOperatorStore", - "nameLocations": [ - "818:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24598, - "src": "818:16:3" - }, - "referencedDeclaration": 24598, - "src": "818:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307836463343356166436130633965446633393236654632644446313763386165363339316166456662", - "id": 483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "869:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x6F3C5afCa0c9eDf3926eF2dDF17c8ae6391afEfb" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 482, - "name": "IJBOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24598, - "src": "852:16:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBOperatorStore_$24598_$", - "typeString": "type(contract IJBOperatorStore)" - } - }, - "id": 484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "852:60:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "internal" - }, - { - "id": 491, - "nodeType": "VariableDeclaration", - "src": "916:79:3", - "constant": false, - "mutability": "mutable", - "name": "_projects", - "nameLocation": "928:9:3", - "scope": 520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - "typeName": { - "id": 487, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 486, - "name": "IJBProjects", - "nameLocations": [ - "916:11:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24677, - "src": "916:11:3" - }, - "referencedDeclaration": 24677, - "src": "916:11:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307844384234333539313433656461354232643736334531323745643237633737616464426334376433", - "id": 489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "952:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xD8B4359143eda5B2d763E127Ed27c77addBc47d3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 488, - "name": "IJBProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24677, - "src": "940:11:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjects_$24677_$", - "typeString": "type(contract IJBProjects)" - } - }, - "id": 490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "940:55:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "visibility": "internal" - }, - { - "id": 497, - "nodeType": "VariableDeclaration", - "src": "999:92:3", - "constant": false, - "mutability": "mutable", - "name": "_oldHandle", - "nameLocation": "1017:10:3", - "scope": 520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - }, - "typeName": { - "id": 493, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 492, - "name": "IJBProjectHandles", - "nameLocations": [ - "999:17:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 422, - "src": "999:17:3" - }, - "referencedDeclaration": 422, - "src": "999:17:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307845336330314539466432613164434336656446306231303538423537353731333845463946664236", - "id": 495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1048:42:3", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xE3c01E9Fd2a1dCC6edF0b1058B5757138EF9FfB6" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 494, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "1030:17:3", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1030:61:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 500, - "nodeType": "VariableDeclaration", - "src": "1096:33:3", - "constant": false, - "mutability": "mutable", - "name": "jbProjectHandles", - "nameLocation": "1113:16:3", - "scope": 520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - }, - "typeName": { - "id": 499, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 498, - "name": "JBProjectHandles", - "nameLocations": [ - "1096:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "1096:16:3" - }, - "referencedDeclaration": 372, - "src": "1096:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 519, - "nodeType": "FunctionDefinition", - "src": "1134:139:3", - "body": { - "id": 518, - "nodeType": "Block", - "src": "1158:115:3", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 503, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2338, - "src": "1164:2:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7593", - "typeString": "contract Vm" - } - }, - "id": 505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1167:14:3", - "memberName": "startBroadcast", - "nodeType": "MemberAccess", - "referencedDeclaration": 7237, - "src": "1164:17:3", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1164:19:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 507, - "nodeType": "ExpressionStatement", - "src": "1164:19:3" - }, - { - "expression": { - "id": 516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 508, - "name": "jbProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 500, - "src": "1190:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 512, - "name": "_projects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "1230:9:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - { - "id": 513, - "name": "_operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 485, - "src": "1241:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - { - "id": 514, - "name": "_oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 497, - "src": "1257:10:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1209:20:3", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_contract$_IJBProjects_$24677_$_t_contract$_IJBOperatorStore_$24598_$_t_contract$_IJBProjectHandles_$422_$returns$_t_contract$_JBProjectHandles_$372_$", - "typeString": "function (contract IJBProjects,contract IJBOperatorStore,contract IJBProjectHandles) returns (contract JBProjectHandles)" - }, - "typeName": { - "id": 510, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 509, - "name": "JBProjectHandles", - "nameLocations": [ - "1213:16:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "1213:16:3" - }, - "referencedDeclaration": 372, - "src": "1213:16:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - } - }, - "id": 515, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1209:59:3", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "src": "1190:78:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 517, - "nodeType": "ExpressionStatement", - "src": "1190:78:3" - } - ] - }, - "functionSelector": "c0406226", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "run", - "nameLocation": "1143:3:3", - "parameters": { - "id": 501, - "nodeType": "ParameterList", - "parameters": [], - "src": "1146:2:3" - }, - "returnParameters": { - "id": 502, - "nodeType": "ParameterList", - "parameters": [], - "src": "1158:0:3" - }, - "scope": 520, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 478, - "name": "Test", - "nameLocations": [ - "809:4:3" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5500, - "src": "809:4:3" - }, - "id": 479, - "nodeType": "InheritanceSpecifier", - "src": "809:4:3" - } - ], - "canonicalName": "DeployMainnet", - "contractDependencies": [ - 372 - ], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 520, - 5500, - 2570, - 2307 - ], - "name": "DeployMainnet", - "nameLocation": "792:13:3", - "scope": 521, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 3 -} \ No newline at end of file +{"abi":[{"type":"function","name":"IS_SCRIPT","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"IS_TEST","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"failed","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"run","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"vm","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Vm"}],"stateMutability":"view"},{"type":"event","name":"log","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_address","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_bytes","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_bytes32","inputs":[{"name":"","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_int","inputs":[{"name":"","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_address","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_named_bytes","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_named_bytes32","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_named_decimal_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_decimal_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_string","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_named_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_string","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_uint","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"logs","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false}],"bytecode":{"object":"0x6080604052600080546201000162ff00ff19909116179055600880546001600160a01b0319908116736f3c5afca0c9edf3926ef2ddf17c8ae6391afefb1790915560098054821673d8b4359143eda5b2d763e127ed27c77addbc47d3179055600a805490911673e3c01e9fd2a1dcc6edf0b1058b5757138ef9ffb617905534801561008957600080fd5b506117ad806100996000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600a546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f48061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c63430008170033a2646970667358221220b0e1327acd2482f436e5b871ef88035600120fed6e8fdb04d3b86e4b0e0c066a64736f6c63430008170033","sourceMap":"2953:512:3:-:0;;;1572:26:4;;;170:28:5;-1:-1:-1;;170:28:5;;;;;;2990:94:3;;;-1:-1:-1;;;;;;2990:94:3;;;3041:42;2990:94;;;;3090:79;;;;;3126:42;3090:79;;;3175:92;;;;;;3224:42;3175:92;;;2953:512;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600a546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f48061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c63430008170033a2646970667358221220b0e1327acd2482f436e5b871ef88035600120fed6e8fdb04d3b86e4b0e0c066a64736f6c63430008170033","sourceMap":"2953:512:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;321:38:5;;250:64;321:38;;;;;-1:-1:-1;;;;;189:32:44;;;171:51;;159:2;144:18;321:38:5;;;;;;;;1819:584:4;;;:::i;:::-;;;398:14:44;;391:22;373:41;;361:2;346:18;1819:584:4;233:187:44;3314:149:3;;;:::i;:::-;;170:28:5;;;;;;;;;;;;1572:26:4;;;;;;;;;1819:584;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:4;;;;;;;;1819:584::o;1869:528::-;1941:17;2990:42;2978:55;3059:16;1980:374;;2196:43;;;1671:64;2196:43;;;599:51:44;;;-1:-1:-1;;;666:18:44;;;659:34;2196:43:4;;;;;;;;;572:18:44;;;2196:43:4;;;-1:-1:-1;;1671:64:4;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:4;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:4:o;3314:149:3:-;3348:19;;;-1:-1:-1;;;3348:19:3;;;;250:64:5;;3348:17:3;;:19;;;;;274:37:5;;3348:19:3;;;;;;;274:37:5;250:64;3348:19:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3418:9:3;;3429:14;;3445:10;;3397:59;;-1:-1:-1;;;;;3418:9:3;;;;-1:-1:-1;3429:14:3;;;;-1:-1:-1;3445:10:3;;;;3397:59;;;:::i;:::-;-1:-1:-1;;;;;2120:15:44;;;2102:34;;2172:15;;;2167:2;2152:18;;2145:43;2224:15;;;2219:2;2204:18;;2197:43;2052:2;2037:18;3397:59:3;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3378:16:3;:78;;-1:-1:-1;;;;;;3378:78:3;-1:-1:-1;;;;;3378:78:3;;;;;;;;;;3314:149::o;-1:-1:-1:-;;;;;;;;:::o;704:322:44:-;745:3;783:5;777:12;807:1;817:128;831:6;828:1;825:13;817:128;;;928:4;913:13;;;909:24;;903:31;890:11;;;883:52;846:12;817:128;;;-1:-1:-1;1000:1:44;964:16;;989:13;;;-1:-1:-1;964:16:44;;704:322;-1:-1:-1;704:322:44:o;1031:278::-;-1:-1:-1;;;;;;1216:33:44;;1204:46;;1186:3;1266:37;1300:1;1291:11;;1283:6;1266:37;:::i;:::-;1259:44;1031:278;-1:-1:-1;;;;1031:278:44:o;1314:189::-;1443:3;1468:29;1493:3;1485:6;1468:29;:::i;:::-;1461:36;1314:189;-1:-1:-1;;;1314:189:44:o;1508:277::-;1575:6;1628:2;1616:9;1607:7;1603:23;1599:32;1596:52;;;1644:1;1641;1634:12;1596:52;1676:9;1670:16;1729:5;1722:13;1715:21;1708:5;1705:32;1695:60;;1751:1;1748;1741:12","linkReferences":{}},"methodIdentifiers":{"IS_SCRIPT()":"f8ccbf47","IS_TEST()":"fa7626d4","failed()":"ba414fa6","run()":"c0406226","vm()":"3a768463"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"run\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/scripts/Deploy.sol\":\"DeployMainnet\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"contracts/scripts/Deploy.sol\":{\"keccak256\":\"0x2924c5b91be40b649cc423006b99f8ba27547eb9ef6d6481dcdd7e57aa360c44\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f310d68ec3b957a075369f158d5f1c87ff639a8fc2eacf9a7ad780436945292\",\"dweb:/ipfs/QmTnHBMiyo4E371Php7ADphUNZ1sSnFWf6AjHwqri36SbY\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.23+commit.f704f362"},"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_SCRIPT","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"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":"run"},{"inputs":[],"stateMutability":"view","type":"function","name":"vm","outputs":[{"internalType":"contract Vm","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/scripts/Deploy.sol":"DeployMainnet"},"evmVersion":"paris","libraries":{}},"sources":{"contracts/JBProjectHandles.sol":{"keccak256":"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b","urls":["bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659","dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5"],"license":"MIT"},"contracts/interfaces/IJBProjectHandles.sol":{"keccak256":"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6","urls":["bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5","dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b"],"license":"MIT"},"contracts/libraries/JBOperations2.sol":{"keccak256":"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29","urls":["bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1","dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg"],"license":"MIT"},"contracts/scripts/Deploy.sol":{"keccak256":"0x2924c5b91be40b649cc423006b99f8ba27547eb9ef6d6481dcdd7e57aa360c44","urls":["bzz-raw://7f310d68ec3b957a075369f158d5f1c87ff639a8fc2eacf9a7ad780436945292","dweb:/ipfs/QmTnHBMiyo4E371Php7ADphUNZ1sSnFWf6AjHwqri36SbY"],"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/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Test.sol":{"keccak256":"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b","urls":["bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2","dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"},"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol":{"keccak256":"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483","urls":["bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed","dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV"],"license":null},"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol":{"keccak256":"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38","urls":["bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba","dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol":{"keccak256":"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add","urls":["bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735","dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":{"keccak256":"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e","urls":["bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b","dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":{"keccak256":"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4","urls":["bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9","dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol":{"keccak256":"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0","urls":["bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494","dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol":{"keccak256":"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c","urls":["bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8","dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],"license":"MIT"}},"version":1},"id":3} \ No newline at end of file diff --git a/out/Deploy.sol/DeploySepolia.json b/out/Deploy.sol/DeploySepolia.json new file mode 100644 index 0000000..4cbc1de --- /dev/null +++ b/out/Deploy.sol/DeploySepolia.json @@ -0,0 +1 @@ +{"abi":[{"type":"function","name":"IS_SCRIPT","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"IS_TEST","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"failed","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"run","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"vm","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Vm"}],"stateMutability":"view"},{"type":"event","name":"log","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_address","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_bytes","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_bytes32","inputs":[{"name":"","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_int","inputs":[{"name":"","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_address","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_named_bytes","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_named_bytes32","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_named_decimal_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_decimal_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_string","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_named_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_string","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_uint","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"logs","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false}],"bytecode":{"object":"0x6080604052600080546201000162ff00ff19909116178155600880546001600160a01b0319908116738f63c744c0280ef4b32af1f821c65e0fd4150ab317909155600980549091167343cb8fce4f0d61579044342a5d5a027ab7ae4d6317905561007e9073fab4c9e48eb050e8f51555ef949a7ef1b8fb263b906100bb565b600a80546001600160a01b03929092166001600160a01b03199283168117909155600b80549092161790553480156100b557600080fd5b506102e5565b600060608260000361011657604051606b60f91b6020820152602560fa1b60218201526001600160601b0319606086901b166022820152600160ff1b60368201526037015b60405160208183030381529060405290506102d1565b607f831161016557604051606b60f91b6020820152602560fa1b60218201526001600160601b0319606086901b16602282015260f884901b6001600160f81b0319166036820152603701610100565b60ff83116101be5760405160d760f81b6020820152602560fa1b60218201526001600160601b0319606086901b166022820152608160f81b603682015260f884901b6001600160f81b0319166037820152603801610100565b61ffff831161021857604051601b60fb1b6020820152602560fa1b60218201526001600160601b0319606086901b166022820152604160f91b60368201526001600160f01b031960f085901b166037820152603901610100565b62ffffff83116102735760405160d960f81b6020820152602560fa1b60218201526001600160601b0319606086901b166022820152608360f81b60368201526001600160e81b031960e885901b166037820152603a01610100565b604051606d60f91b6020820152602560fa1b60218201526001600160601b0319606086901b166022820152602160fa1b60368201526001600160e01b031960e085901b166037820152603b0160405160208183030381529060405290505b805160209091012060008190529392505050565b6117ad806102f46000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600b546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f48061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c63430008170033a2646970667358221220d03518dbff80d78bf307eae07e43a2407cd01e57379410134ba439b70f63b70a64736f6c63430008170033","sourceMap":"289:2149:3:-:0;;;1572:26:4;;;170:28:5;-1:-1:-1;;170:28:5;;;;;;326:94:3;;;-1:-1:-1;;;;;;326:94:3;;;377:42;326:94;;;;426:79;;;;;;462:42;426:79;;;642:59;;655:42;;642:12;:59::i;:::-;615:86;;;-1:-1:-1;;;;;615:86:3;;;;-1:-1:-1;;;;;;615:86:3;;;;;;;;708:66;;;;;;;;;289:2149;;;;;;;;;;;;1399:1037;1475:12;1499:17;1530:5;1539:4;1530:13;1526:778;;1566:66;;-1:-1:-1;;;1566:66:3;;;253:28:44;-1:-1:-1;;;297:11:44;;;290:36;-1:-1:-1;;;;;;388:2:44;359:15;;;355:45;342:11;;;335:66;-1:-1:-1;;;417:12:44;;;410:37;463:12;;1566:66:3;;;;;;;;;;;;;1559:73;;1526:778;;;1662:4;1653:5;:13;1649:655;;1689:66;;-1:-1:-1;;;1689:66:3;;;723:28:44;-1:-1:-1;;;767:11:44;;;760:36;-1:-1:-1;;;;;;858:2:44;829:15;;;825:45;812:11;;;805:66;705:3;905:16;;;-1:-1:-1;;;;;;901:25:44;887:12;;;880:47;943:12;;1689:66:3;486:475:44;1649:655:3;1785:4;1776:5;:13;1772:532;;1812:80;;-1:-1:-1;;;1812:80:3;;;1229:28:44;-1:-1:-1;;;1273:11:44;;;1266:36;-1:-1:-1;;;;;;1364:2:44;1335:15;;;1331:45;1318:11;;;1311:66;-1:-1:-1;;;1393:12:44;;;1386:37;1211:3;1457:16;;;-1:-1:-1;;;;;;1453:25:44;1439:12;;;1432:47;1495:12;;1812:80:3;966:547:44;1772:532:3;1922:6;1913:5;:15;1909:395;;1951:81;;-1:-1:-1;;;1951:81:3;;;1783:28:44;-1:-1:-1;;;1827:11:44;;;1820:36;-1:-1:-1;;;;;;1918:2:44;1889:15;;;1885:45;1872:11;;;1865:66;-1:-1:-1;;;1947:12:44;;;1940:37;-1:-1:-1;;;;;;2033:3:44;2011:16;;;2007:38;1993:12;;;1986:60;2062:12;;1951:81:3;1518:562:44;1909:395:3;2062:8;2053:5;:17;2049:255;;2093:81;;-1:-1:-1;;;2093:81:3;;;2350:28:44;-1:-1:-1;;;2394:11:44;;;2387:36;-1:-1:-1;;;;;;2485:2:44;2456:15;;;2452:45;2439:11;;;2432:66;-1:-1:-1;;;2514:12:44;;;2507:37;-1:-1:-1;;;;;;2600:3:44;2578:16;;;2574:41;2560:12;;;2553:63;2632:12;;2093:81:3;2085:565:44;2049:255:3;2212:81;;-1:-1:-1;;;2212:81:3;;;2920:28:44;-1:-1:-1;;;2964:11:44;;;2957:36;-1:-1:-1;;;;;;3055:2:44;3026:15;;;3022:45;3009:11;;;3002:66;-1:-1:-1;;;3084:12:44;;;3077:37;-1:-1:-1;;;;;;3170:3:44;3148:16;;;3144:43;3130:12;;;3123:65;3204:12;;2212:81:3;;;;;;;;;;;;2205:88;;2049:255;2328:15;;;;;;;2313:12;2376:15;;;2328;1399:1037;-1:-1:-1;;;1399:1037:3:o;2655:567:44:-;289:2149:3;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561001057600080fd5b50600436106100575760003560e01c80633a7684631461005c578063ba414fa614610094578063c0406226146100ac578063f8ccbf47146100b6578063fa7626d4146100c9575b600080fd5b610077737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b61009c6100d6565b604051901515815260200161008b565b6100b4610201565b005b60005461009c9062010000900460ff1681565b60005461009c9060ff1681565b60008054610100900460ff16156100f65750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156101fc5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610184917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161032a565b60408051601f198184030181529082905261019e9161034e565b6000604051808303816000865af19150503d80600081146101db576040519150601f19603f3d011682016040523d82523d6000602084013e6101e0565b606091505b50915050808060200190518101906101f89190610361565b9150505b919050565b60408051637fb5297f60e01b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d91637fb5297f91600480830192600092919082900301818387803b15801561024d57600080fd5b505af1158015610261573d6000803e3d6000fd5b5050600954600854600b546040516001600160a01b03938416955091831693509091169061028e906102ed565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156102ca573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6113f48061038483390190565b6000815160005b8181101561031b5760208185018101518683015201610301565b50600093019283525090919050565b6001600160e01b031983168152600061034660048301846102fa565b949350505050565b600061035a82846102fa565b9392505050565b60006020828403121561037357600080fd5b8151801515811461035a57600080fdfe60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c63430008170033a2646970667358221220d03518dbff80d78bf307eae07e43a2407cd01e57379410134ba439b70f63b70a64736f6c63430008170033","sourceMap":"289:2149:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;321:38:5;;250:64;321:38;;;;;-1:-1:-1;;;;;189:32:44;;;171:51;;159:2;144:18;321:38:5;;;;;;;;1819:584:4;;;:::i;:::-;;;398:14:44;;391:22;373:41;;361:2;346:18;1819:584:4;233:187:44;821:149:3;;;:::i;:::-;;170:28:5;;;;;;;;;;;;1572:26:4;;;;;;;;;1819:584;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:4;;;;;;;;1819:584::o;1869:528::-;1941:17;2990:42;2978:55;3059:16;1980:374;;2196:43;;;1671:64;2196:43;;;599:51:44;;;-1:-1:-1;;;666:18:44;;;659:34;2196:43:4;;;;;;;;;572:18:44;;;2196:43:4;;;-1:-1:-1;;1671:64:4;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:4;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:4:o;821:149:3:-;855:19;;;-1:-1:-1;;;855:19:3;;;;250:64:5;;855:17:3;;:19;;;;;274:37:5;;855:19:3;;;;;;;274:37:5;250:64;855:19:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;925:9:3;;936:14;;952:10;;904:59;;-1:-1:-1;;;;;925:9:3;;;;-1:-1:-1;936:14:3;;;;-1:-1:-1;952:10:3;;;;904:59;;;:::i;:::-;-1:-1:-1;;;;;2120:15:44;;;2102:34;;2172:15;;;2167:2;2152:18;;2145:43;2224:15;;;2219:2;2204:18;;2197:43;2052:2;2037:18;904:59:3;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;885:16:3;:78;;-1:-1:-1;;;;;;885:78:3;-1:-1:-1;;;;;885:78:3;;;;;;;;;;821:149::o;-1:-1:-1:-;;;;;;;;:::o;704:322:44:-;745:3;783:5;777:12;807:1;817:128;831:6;828:1;825:13;817:128;;;928:4;913:13;;;909:24;;903:31;890:11;;;883:52;846:12;817:128;;;-1:-1:-1;1000:1:44;964:16;;989:13;;;-1:-1:-1;964:16:44;;704:322;-1:-1:-1;704:322:44:o;1031:278::-;-1:-1:-1;;;;;;1216:33:44;;1204:46;;1186:3;1266:37;1300:1;1291:11;;1283:6;1266:37;:::i;:::-;1259:44;1031:278;-1:-1:-1;;;;1031:278:44:o;1314:189::-;1443:3;1468:29;1493:3;1485:6;1468:29;:::i;:::-;1461:36;1314:189;-1:-1:-1;;;1314:189:44:o;1508:277::-;1575:6;1628:2;1616:9;1607:7;1603:23;1599:32;1596:52;;;1644:1;1641;1634:12;1596:52;1676:9;1670:16;1729:5;1722:13;1715:21;1708:5;1705:32;1695:60;;1751:1;1748;1741:12","linkReferences":{}},"methodIdentifiers":{"IS_SCRIPT()":"f8ccbf47","IS_TEST()":"fa7626d4","failed()":"ba414fa6","run()":"c0406226","vm()":"3a768463"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"run\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/scripts/Deploy.sol\":\"DeploySepolia\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"contracts/scripts/Deploy.sol\":{\"keccak256\":\"0x2924c5b91be40b649cc423006b99f8ba27547eb9ef6d6481dcdd7e57aa360c44\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f310d68ec3b957a075369f158d5f1c87ff639a8fc2eacf9a7ad780436945292\",\"dweb:/ipfs/QmTnHBMiyo4E371Php7ADphUNZ1sSnFWf6AjHwqri36SbY\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.23+commit.f704f362"},"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_SCRIPT","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"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":"run"},{"inputs":[],"stateMutability":"view","type":"function","name":"vm","outputs":[{"internalType":"contract Vm","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/scripts/Deploy.sol":"DeploySepolia"},"evmVersion":"paris","libraries":{}},"sources":{"contracts/JBProjectHandles.sol":{"keccak256":"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b","urls":["bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659","dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5"],"license":"MIT"},"contracts/interfaces/IJBProjectHandles.sol":{"keccak256":"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6","urls":["bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5","dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b"],"license":"MIT"},"contracts/libraries/JBOperations2.sol":{"keccak256":"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29","urls":["bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1","dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg"],"license":"MIT"},"contracts/scripts/Deploy.sol":{"keccak256":"0x2924c5b91be40b649cc423006b99f8ba27547eb9ef6d6481dcdd7e57aa360c44","urls":["bzz-raw://7f310d68ec3b957a075369f158d5f1c87ff639a8fc2eacf9a7ad780436945292","dweb:/ipfs/QmTnHBMiyo4E371Php7ADphUNZ1sSnFWf6AjHwqri36SbY"],"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/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Test.sol":{"keccak256":"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b","urls":["bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2","dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"},"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol":{"keccak256":"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483","urls":["bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed","dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV"],"license":null},"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol":{"keccak256":"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38","urls":["bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba","dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol":{"keccak256":"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add","urls":["bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735","dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":{"keccak256":"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e","urls":["bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b","dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":{"keccak256":"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4","urls":["bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9","dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol":{"keccak256":"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0","urls":["bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494","dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol":{"keccak256":"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c","urls":["bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8","dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],"license":"MIT"}},"version":1},"id":3} \ No newline at end of file diff --git a/out/ECDSA.sol/ECDSA.json b/out/ECDSA.sol/ECDSA.json index cc12404..c801956 100644 --- a/out/ECDSA.sol/ECDSA.json +++ b/out/ECDSA.sol/ECDSA.json @@ -1,5664 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204ddc474915448a9c6e7bd28b71cea0b980f49ae255277f9e6a321c6970e8b8c064736f6c63430008100033", - "sourceMap": "369:8924:36:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;369:8924:36;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204ddc474915448a9c6e7bd28b71cea0b980f49ae255277f9e6a321c6970e8b8c064736f6c63430008100033", - "sourceMap": "369:8924:36:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Elliptic Curve Digital Signature Algorithm (ECDSA) operations. These functions can be used to verify that a message was signed by the holder of the private keys of a given address.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":\"ECDSA\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": "ECDSA" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": { - "keccak256": "0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29", - "urls": [ - "bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7", - "dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol", - "id": 27542, - "exportedSymbols": { - "ECDSA": [ - 27541 - ], - "Strings": [ - 27134 - ] - }, - "nodeType": "SourceUnit", - "src": "112:9182:36", - "nodes": [ - { - "id": 27136, - "nodeType": "PragmaDirective", - "src": "112:23:36", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27137, - "nodeType": "ImportDirective", - "src": "137:24:36", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "file": "../Strings.sol", - "nameLocation": "-1:-1:-1", - "scope": 27542, - "sourceUnit": 27135, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 27541, - "nodeType": "ContractDefinition", - "src": "369:8924:36", - "nodes": [ - { - "id": 27144, - "nodeType": "EnumDefinition", - "src": "389:153:36", - "canonicalName": "ECDSA.RecoverError", - "members": [ - { - "id": 27139, - "name": "NoError", - "nameLocation": "417:7:36", - "nodeType": "EnumValue", - "src": "417:7:36" - }, - { - "id": 27140, - "name": "InvalidSignature", - "nameLocation": "434:16:36", - "nodeType": "EnumValue", - "src": "434:16:36" - }, - { - "id": 27141, - "name": "InvalidSignatureLength", - "nameLocation": "460:22:36", - "nodeType": "EnumValue", - "src": "460:22:36" - }, - { - "id": 27142, - "name": "InvalidSignatureS", - "nameLocation": "492:17:36", - "nodeType": "EnumValue", - "src": "492:17:36" - }, - { - "id": 27143, - "name": "InvalidSignatureV", - "nameLocation": "519:17:36", - "nodeType": "EnumValue", - "src": "519:17:36" - } - ], - "name": "RecoverError", - "nameLocation": "394:12:36" - }, - { - "id": 27198, - "nodeType": "FunctionDefinition", - "src": "548:631:36", - "body": { - "id": 27197, - "nodeType": "Block", - "src": "602:577:36", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "id": 27153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27150, - "name": "error", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27147, - "src": "616:5:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 27151, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "625:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27152, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "638:7:36", - "memberName": "NoError", - "nodeType": "MemberAccess", - "referencedDeclaration": 27139, - "src": "625:20:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "src": "616:29:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "id": 27159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27156, - "name": "error", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27147, - "src": "712:5:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 27157, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "721:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "734:16:36", - "memberName": "InvalidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 27140, - "src": "721:29:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "src": "712:38:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "id": 27168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27165, - "name": "error", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27147, - "src": "821:5:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 27166, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "830:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "843:22:36", - "memberName": "InvalidSignatureLength", - "nodeType": "MemberAccess", - "referencedDeclaration": 27141, - "src": "830:35:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "src": "821:44:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "id": 27177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27174, - "name": "error", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27147, - "src": "943:5:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 27175, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "952:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27176, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "965:17:36", - "memberName": "InvalidSignatureS", - "nodeType": "MemberAccess", - "referencedDeclaration": 27142, - "src": "952:30:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "src": "943:39:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "id": 27186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27183, - "name": "error", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27147, - "src": "1063:5:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 27184, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "1072:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1085:17:36", - "memberName": "InvalidSignatureV", - "nodeType": "MemberAccess", - "referencedDeclaration": 27143, - "src": "1072:30:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "src": "1063:39:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27192, - "nodeType": "IfStatement", - "src": "1059:114:36", - "trueBody": { - "id": 27191, - "nodeType": "Block", - "src": "1104:69:36", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "45434453413a20696e76616c6964207369676e6174757265202776272076616c7565", - "id": 27188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1125:36:36", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4", - "typeString": "literal_string \"ECDSA: invalid signature 'v' value\"" - }, - "value": "ECDSA: invalid signature 'v' value" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4", - "typeString": "literal_string \"ECDSA: invalid signature 'v' value\"" - } - ], - "id": 27187, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "1118:6:36", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 27189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1118:44:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27190, - "nodeType": "ExpressionStatement", - "src": "1118:44:36" - } - ] - } - }, - "id": 27193, - "nodeType": "IfStatement", - "src": "939:234:36", - "trueBody": { - "id": 27182, - "nodeType": "Block", - "src": "984:69:36", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "45434453413a20696e76616c6964207369676e6174757265202773272076616c7565", - "id": 27179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1005:36:36", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd", - "typeString": "literal_string \"ECDSA: invalid signature 's' value\"" - }, - "value": "ECDSA: invalid signature 's' value" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd", - "typeString": "literal_string \"ECDSA: invalid signature 's' value\"" - } - ], - "id": 27178, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "998:6:36", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 27180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "998:44:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27181, - "nodeType": "ExpressionStatement", - "src": "998:44:36" - } - ] - } - }, - "id": 27194, - "nodeType": "IfStatement", - "src": "817:356:36", - "trueBody": { - "id": 27173, - "nodeType": "Block", - "src": "867:66:36", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "45434453413a20696e76616c6964207369676e6174757265206c656e677468", - "id": 27170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "888:33:36", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77", - "typeString": "literal_string \"ECDSA: invalid signature length\"" - }, - "value": "ECDSA: invalid signature length" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77", - "typeString": "literal_string \"ECDSA: invalid signature length\"" - } - ], - "id": 27169, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "881:6:36", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 27171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "881:41:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27172, - "nodeType": "ExpressionStatement", - "src": "881:41:36" - } - ] - } - }, - "id": 27195, - "nodeType": "IfStatement", - "src": "708:465:36", - "trueBody": { - "id": 27164, - "nodeType": "Block", - "src": "752:59:36", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "45434453413a20696e76616c6964207369676e6174757265", - "id": 27161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "773:26:36", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be", - "typeString": "literal_string \"ECDSA: invalid signature\"" - }, - "value": "ECDSA: invalid signature" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be", - "typeString": "literal_string \"ECDSA: invalid signature\"" - } - ], - "id": 27160, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "766:6:36", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 27162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "766:34:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27163, - "nodeType": "ExpressionStatement", - "src": "766:34:36" - } - ] - } - }, - "id": 27196, - "nodeType": "IfStatement", - "src": "612:561:36", - "trueBody": { - "id": 27155, - "nodeType": "Block", - "src": "647:55:36", - "statements": [ - { - "functionReturnParameters": 27149, - "id": 27154, - "nodeType": "Return", - "src": "661:7:36" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_throwError", - "nameLocation": "557:11:36", - "parameters": { - "id": 27148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27147, - "mutability": "mutable", - "name": "error", - "nameLocation": "582:5:36", - "nodeType": "VariableDeclaration", - "scope": 27198, - "src": "569:18:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "typeName": { - "id": 27146, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27145, - "name": "RecoverError", - "nameLocations": [ - "569:12:36" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27144, - "src": "569:12:36" - }, - "referencedDeclaration": 27144, - "src": "569:12:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "visibility": "internal" - } - ], - "src": "568:20:36" - }, - "returnParameters": { - "id": 27149, - "nodeType": "ParameterList", - "parameters": [], - "src": "602:0:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - }, - { - "id": 27263, - "nodeType": "FunctionDefinition", - "src": "2243:1279:36", - "body": { - "id": 27262, - "nodeType": "Block", - "src": "2347:1175:36", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 27211, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27203, - "src": "2554:9:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2564:6:36", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2554:16:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "3635", - "id": 27213, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2574:2:36", - "typeDescriptions": { - "typeIdentifier": "t_rational_65_by_1", - "typeString": "int_const 65" - }, - "value": "65" - }, - "src": "2554:22:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27236, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 27233, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27203, - "src": "3036:9:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3046:6:36", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "3036:16:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "3634", - "id": 27235, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3056:2:36", - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "3036:22:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 27259, - "nodeType": "Block", - "src": "3435:81:36", - "statements": [ - { - "expression": { - "components": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 27253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3465:1:36", - "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": 27252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3457:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27251, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3457:7:36", - "typeDescriptions": {} - } - }, - "id": 27254, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3457:10:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 27255, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "3469:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27256, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3482:22:36", - "memberName": "InvalidSignatureLength", - "nodeType": "MemberAccess", - "referencedDeclaration": 27141, - "src": "3469:35:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - } - ], - "id": 27257, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3456:49:36", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "functionReturnParameters": 27210, - "id": 27258, - "nodeType": "Return", - "src": "3449:56:36" - } - ] - }, - "id": 27260, - "nodeType": "IfStatement", - "src": "3032:484:36", - "trueBody": { - "id": 27250, - "nodeType": "Block", - "src": "3060:369:36", - "statements": [ - { - "assignments": [ - 27238 - ], - "declarations": [ - { - "constant": false, - "id": 27238, - "mutability": "mutable", - "name": "r", - "nameLocation": "3082:1:36", - "nodeType": "VariableDeclaration", - "scope": 27250, - "src": "3074:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27237, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3074:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 27239, - "nodeType": "VariableDeclarationStatement", - "src": "3074:9:36" - }, - { - "assignments": [ - 27241 - ], - "declarations": [ - { - "constant": false, - "id": 27241, - "mutability": "mutable", - "name": "vs", - "nameLocation": "3105:2:36", - "nodeType": "VariableDeclaration", - "scope": 27250, - "src": "3097:10:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27240, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3097:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 27242, - "nodeType": "VariableDeclarationStatement", - "src": "3097:10:36" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "3261:114:36", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "3279:32:36", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "signature", - "nodeType": "YulIdentifier", - "src": "3294:9:36" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3305:4:36", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3290:3:36" - }, - "nodeType": "YulFunctionCall", - "src": "3290:20:36" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3284:5:36" - }, - "nodeType": "YulFunctionCall", - "src": "3284:27:36" - }, - "variableNames": [ - { - "name": "r", - "nodeType": "YulIdentifier", - "src": "3279:1:36" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "3328:33:36", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "signature", - "nodeType": "YulIdentifier", - "src": "3344:9:36" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3355:4:36", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3340:3:36" - }, - "nodeType": "YulFunctionCall", - "src": "3340:20:36" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "3334:5:36" - }, - "nodeType": "YulFunctionCall", - "src": "3334:27:36" - }, - "variableNames": [ - { - "name": "vs", - "nodeType": "YulIdentifier", - "src": "3328:2:36" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27238, - "isOffset": false, - "isSlot": false, - "src": "3279:1:36", - "valueSize": 1 - }, - { - "declaration": 27203, - "isOffset": false, - "isSlot": false, - "src": "3294:9:36", - "valueSize": 1 - }, - { - "declaration": 27203, - "isOffset": false, - "isSlot": false, - "src": "3344:9:36", - "valueSize": 1 - }, - { - "declaration": 27241, - "isOffset": false, - "isSlot": false, - "src": "3328:2:36", - "valueSize": 1 - } - ], - "id": 27243, - "nodeType": "InlineAssembly", - "src": "3252:123:36" - }, - { - "expression": { - "arguments": [ - { - "id": 27245, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27201, - "src": "3406:4:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27246, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27238, - "src": "3412:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27247, - "name": "vs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27241, - "src": "3415:2:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27244, - "name": "tryRecover", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27263, - 27337, - 27448 - ], - "referencedDeclaration": 27337, - "src": "3395:10:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "function (bytes32,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError)" - } - }, - "id": 27248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3395:23:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "functionReturnParameters": 27210, - "id": 27249, - "nodeType": "Return", - "src": "3388:30:36" - } - ] - } - }, - "id": 27261, - "nodeType": "IfStatement", - "src": "2550:966:36", - "trueBody": { - "id": 27232, - "nodeType": "Block", - "src": "2578:448:36", - "statements": [ - { - "assignments": [ - 27216 - ], - "declarations": [ - { - "constant": false, - "id": 27216, - "mutability": "mutable", - "name": "r", - "nameLocation": "2600:1:36", - "nodeType": "VariableDeclaration", - "scope": 27232, - "src": "2592:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27215, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2592:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 27217, - "nodeType": "VariableDeclarationStatement", - "src": "2592:9:36" - }, - { - "assignments": [ - 27219 - ], - "declarations": [ - { - "constant": false, - "id": 27219, - "mutability": "mutable", - "name": "s", - "nameLocation": "2623:1:36", - "nodeType": "VariableDeclaration", - "scope": 27232, - "src": "2615:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27218, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2615:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 27220, - "nodeType": "VariableDeclarationStatement", - "src": "2615:9:36" - }, - { - "assignments": [ - 27222 - ], - "declarations": [ - { - "constant": false, - "id": 27222, - "mutability": "mutable", - "name": "v", - "nameLocation": "2644:1:36", - "nodeType": "VariableDeclaration", - "scope": 27232, - "src": "2638:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 27221, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2638:5:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - } - ], - "id": 27223, - "nodeType": "VariableDeclarationStatement", - "src": "2638:7:36" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "2799:171:36", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2817:32:36", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "signature", - "nodeType": "YulIdentifier", - "src": "2832:9:36" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2843:4:36", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2828:3:36" - }, - "nodeType": "YulFunctionCall", - "src": "2828:20:36" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2822:5:36" - }, - "nodeType": "YulFunctionCall", - "src": "2822:27:36" - }, - "variableNames": [ - { - "name": "r", - "nodeType": "YulIdentifier", - "src": "2817:1:36" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2866:32:36", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "signature", - "nodeType": "YulIdentifier", - "src": "2881:9:36" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2892:4:36", - "type": "", - "value": "0x40" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2877:3:36" - }, - "nodeType": "YulFunctionCall", - "src": "2877:20:36" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2871:5:36" - }, - "nodeType": "YulFunctionCall", - "src": "2871:27:36" - }, - "variableNames": [ - { - "name": "s", - "nodeType": "YulIdentifier", - "src": "2866:1:36" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2915:41:36", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2925:1:36", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "arguments": [ - { - "name": "signature", - "nodeType": "YulIdentifier", - "src": "2938:9:36" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2949:4:36", - "type": "", - "value": "0x60" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2934:3:36" - }, - "nodeType": "YulFunctionCall", - "src": "2934:20:36" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2928:5:36" - }, - "nodeType": "YulFunctionCall", - "src": "2928:27:36" - } - ], - "functionName": { - "name": "byte", - "nodeType": "YulIdentifier", - "src": "2920:4:36" - }, - "nodeType": "YulFunctionCall", - "src": "2920:36:36" - }, - "variableNames": [ - { - "name": "v", - "nodeType": "YulIdentifier", - "src": "2915:1:36" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 27216, - "isOffset": false, - "isSlot": false, - "src": "2817:1:36", - "valueSize": 1 - }, - { - "declaration": 27219, - "isOffset": false, - "isSlot": false, - "src": "2866:1:36", - "valueSize": 1 - }, - { - "declaration": 27203, - "isOffset": false, - "isSlot": false, - "src": "2832:9:36", - "valueSize": 1 - }, - { - "declaration": 27203, - "isOffset": false, - "isSlot": false, - "src": "2881:9:36", - "valueSize": 1 - }, - { - "declaration": 27203, - "isOffset": false, - "isSlot": false, - "src": "2938:9:36", - "valueSize": 1 - }, - { - "declaration": 27222, - "isOffset": false, - "isSlot": false, - "src": "2915:1:36", - "valueSize": 1 - } - ], - "id": 27224, - "nodeType": "InlineAssembly", - "src": "2790:180:36" - }, - { - "expression": { - "arguments": [ - { - "id": 27226, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27201, - "src": "3001:4:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27227, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27222, - "src": "3007:1:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "id": 27228, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27216, - "src": "3010:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27229, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27219, - "src": "3013:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27225, - "name": "tryRecover", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27263, - 27337, - 27448 - ], - "referencedDeclaration": 27448, - "src": "2990:10:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "function (bytes32,uint8,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError)" - } - }, - "id": 27230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2990:25:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "functionReturnParameters": 27210, - "id": 27231, - "nodeType": "Return", - "src": "2983:32:36" - } - ] - } - } - ] - }, - "documentation": { - "id": 27199, - "nodeType": "StructuredDocumentation", - "src": "1185:1053:36", - "text": " @dev Returns the address that signed a hashed message (`hash`) with\n `signature` or error string. This address can then be used for verification purposes.\n The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\n this function rejects them by requiring the `s` value to be in the lower\n half order, and the `v` value to be either 27 or 28.\n IMPORTANT: `hash` _must_ be the result of a hash operation for the\n verification to be secure: it is possible to craft signatures that\n recover to arbitrary addresses for non-hashed data. A safe way to ensure\n this is by receiving a hash of the original message (which may otherwise\n be too long), and then calling {toEthSignedMessageHash} on it.\n Documentation for signature generation:\n - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\n _Available since v4.3._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tryRecover", - "nameLocation": "2252:10:36", - "parameters": { - "id": 27204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27201, - "mutability": "mutable", - "name": "hash", - "nameLocation": "2271:4:36", - "nodeType": "VariableDeclaration", - "scope": 27263, - "src": "2263:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27200, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2263:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27203, - "mutability": "mutable", - "name": "signature", - "nameLocation": "2290:9:36", - "nodeType": "VariableDeclaration", - "scope": 27263, - "src": "2277:22:36", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27202, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2277:5:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2262:38:36" - }, - "returnParameters": { - "id": 27210, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27206, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27263, - "src": "2324:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27205, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2324:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27209, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27263, - "src": "2333:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "typeName": { - "id": 27208, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27207, - "name": "RecoverError", - "nameLocations": [ - "2333:12:36" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27144, - "src": "2333:12:36" - }, - "referencedDeclaration": 27144, - "src": "2333:12:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "visibility": "internal" - } - ], - "src": "2323:23:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27290, - "nodeType": "FunctionDefinition", - "src": "4308:227:36", - "body": { - "id": 27289, - "nodeType": "Block", - "src": "4395:140:36", - "statements": [ - { - "assignments": [ - 27274, - 27277 - ], - "declarations": [ - { - "constant": false, - "id": 27274, - "mutability": "mutable", - "name": "recovered", - "nameLocation": "4414:9:36", - "nodeType": "VariableDeclaration", - "scope": 27289, - "src": "4406:17:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27273, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4406:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27277, - "mutability": "mutable", - "name": "error", - "nameLocation": "4438:5:36", - "nodeType": "VariableDeclaration", - "scope": 27289, - "src": "4425:18:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "typeName": { - "id": 27276, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27275, - "name": "RecoverError", - "nameLocations": [ - "4425:12:36" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27144, - "src": "4425:12:36" - }, - "referencedDeclaration": 27144, - "src": "4425:12:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "visibility": "internal" - } - ], - "id": 27282, - "initialValue": { - "arguments": [ - { - "id": 27279, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27266, - "src": "4458:4:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27280, - "name": "signature", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27268, - "src": "4464:9:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27278, - "name": "tryRecover", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27263, - 27337, - 27448 - ], - "referencedDeclaration": 27263, - "src": "4447:10:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "function (bytes32,bytes memory) pure returns (address,enum ECDSA.RecoverError)" - } - }, - "id": 27281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4447:27:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4405:69:36" - }, - { - "expression": { - "arguments": [ - { - "id": 27284, - "name": "error", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27277, - "src": "4496:5:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - ], - "id": 27283, - "name": "_throwError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27198, - "src": "4484:11:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_enum$_RecoverError_$27144_$returns$__$", - "typeString": "function (enum ECDSA.RecoverError) pure" - } - }, - "id": 27285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4484:18:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27286, - "nodeType": "ExpressionStatement", - "src": "4484:18:36" - }, - { - "expression": { - "id": 27287, - "name": "recovered", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27274, - "src": "4519:9:36", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 27272, - "id": 27288, - "nodeType": "Return", - "src": "4512:16:36" - } - ] - }, - "documentation": { - "id": 27264, - "nodeType": "StructuredDocumentation", - "src": "3528:775:36", - "text": " @dev Returns the address that signed a hashed message (`hash`) with\n `signature`. This address can then be used for verification purposes.\n The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\n this function rejects them by requiring the `s` value to be in the lower\n half order, and the `v` value to be either 27 or 28.\n IMPORTANT: `hash` _must_ be the result of a hash operation for the\n verification to be secure: it is possible to craft signatures that\n recover to arbitrary addresses for non-hashed data. A safe way to ensure\n this is by receiving a hash of the original message (which may otherwise\n be too long), and then calling {toEthSignedMessageHash} on it." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "recover", - "nameLocation": "4317:7:36", - "parameters": { - "id": 27269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27266, - "mutability": "mutable", - "name": "hash", - "nameLocation": "4333:4:36", - "nodeType": "VariableDeclaration", - "scope": 27290, - "src": "4325:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27265, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4325:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27268, - "mutability": "mutable", - "name": "signature", - "nameLocation": "4352:9:36", - "nodeType": "VariableDeclaration", - "scope": 27290, - "src": "4339:22:36", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27267, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4339:5:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4324:38:36" - }, - "returnParameters": { - "id": 27272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27271, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27290, - "src": "4386:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27270, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4386:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4385:9:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27337, - "nodeType": "FunctionDefinition", - "src": "4789:336:36", - "body": { - "id": 27336, - "nodeType": "Block", - "src": "4922:203:36", - "statements": [ - { - "assignments": [ - 27306 - ], - "declarations": [ - { - "constant": false, - "id": 27306, - "mutability": "mutable", - "name": "s", - "nameLocation": "4940:1:36", - "nodeType": "VariableDeclaration", - "scope": 27336, - "src": "4932:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27305, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4932:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 27313, - "initialValue": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 27312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27307, - "name": "vs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27297, - "src": "4944:2:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "arguments": [ - { - "hexValue": "307837666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666", - "id": 27310, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4957:66:36", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9967" - }, - "value": "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9967" - } - ], - "id": 27309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4949:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 27308, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4949:7:36", - "typeDescriptions": {} - } - }, - "id": 27311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4949:75:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4944:80:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4932:92:36" - }, - { - "assignments": [ - 27315 - ], - "declarations": [ - { - "constant": false, - "id": 27315, - "mutability": "mutable", - "name": "v", - "nameLocation": "5040:1:36", - "nodeType": "VariableDeclaration", - "scope": 27336, - "src": "5034:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 27314, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "5034:5:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - } - ], - "id": 27328, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 27320, - "name": "vs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27297, - "src": "5059:2:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5051:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 27318, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5051:7:36", - "typeDescriptions": {} - } - }, - "id": 27321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5051:11:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "hexValue": "323535", - "id": 27322, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5066:3:36", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "255" - }, - "src": "5051:18:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27324, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5050:20:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "3237", - "id": 27325, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5073:2:36", - "typeDescriptions": { - "typeIdentifier": "t_rational_27_by_1", - "typeString": "int_const 27" - }, - "value": "27" - }, - "src": "5050:25:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5044:5:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 27316, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "5044:5:36", - "typeDescriptions": {} - } - }, - "id": 27327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5044:32:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5034:42:36" - }, - { - "expression": { - "arguments": [ - { - "id": 27330, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27293, - "src": "5104:4:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27331, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27315, - "src": "5110:1:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "id": 27332, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27295, - "src": "5113:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27333, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27306, - "src": "5116:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27329, - "name": "tryRecover", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27263, - 27337, - 27448 - ], - "referencedDeclaration": 27448, - "src": "5093:10:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "function (bytes32,uint8,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError)" - } - }, - "id": 27334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5093:25:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "functionReturnParameters": 27304, - "id": 27335, - "nodeType": "Return", - "src": "5086:32:36" - } - ] - }, - "documentation": { - "id": 27291, - "nodeType": "StructuredDocumentation", - "src": "4541:243:36", - "text": " @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\n _Available since v4.3._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tryRecover", - "nameLocation": "4798:10:36", - "parameters": { - "id": 27298, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27293, - "mutability": "mutable", - "name": "hash", - "nameLocation": "4826:4:36", - "nodeType": "VariableDeclaration", - "scope": 27337, - "src": "4818:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27292, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4818:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27295, - "mutability": "mutable", - "name": "r", - "nameLocation": "4848:1:36", - "nodeType": "VariableDeclaration", - "scope": 27337, - "src": "4840:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27294, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4840:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27297, - "mutability": "mutable", - "name": "vs", - "nameLocation": "4867:2:36", - "nodeType": "VariableDeclaration", - "scope": 27337, - "src": "4859:10:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27296, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4859:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4808:67:36" - }, - "returnParameters": { - "id": 27304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27300, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27337, - "src": "4899:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27299, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4899:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27303, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27337, - "src": "4908:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "typeName": { - "id": 27302, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27301, - "name": "RecoverError", - "nameLocations": [ - "4908:12:36" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27144, - "src": "4908:12:36" - }, - "referencedDeclaration": 27144, - "src": "4908:12:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "visibility": "internal" - } - ], - "src": "4898:23:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27367, - "nodeType": "FunctionDefinition", - "src": "5290:252:36", - "body": { - "id": 27366, - "nodeType": "Block", - "src": "5406:136:36", - "statements": [ - { - "assignments": [ - 27350, - 27353 - ], - "declarations": [ - { - "constant": false, - "id": 27350, - "mutability": "mutable", - "name": "recovered", - "nameLocation": "5425:9:36", - "nodeType": "VariableDeclaration", - "scope": 27366, - "src": "5417:17:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27349, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5417:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27353, - "mutability": "mutable", - "name": "error", - "nameLocation": "5449:5:36", - "nodeType": "VariableDeclaration", - "scope": 27366, - "src": "5436:18:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "typeName": { - "id": 27352, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27351, - "name": "RecoverError", - "nameLocations": [ - "5436:12:36" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27144, - "src": "5436:12:36" - }, - "referencedDeclaration": 27144, - "src": "5436:12:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "visibility": "internal" - } - ], - "id": 27359, - "initialValue": { - "arguments": [ - { - "id": 27355, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27340, - "src": "5469:4:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27356, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27342, - "src": "5475:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27357, - "name": "vs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27344, - "src": "5478:2:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27354, - "name": "tryRecover", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27263, - 27337, - 27448 - ], - "referencedDeclaration": 27337, - "src": "5458:10:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "function (bytes32,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError)" - } - }, - "id": 27358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5458:23:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5416:65:36" - }, - { - "expression": { - "arguments": [ - { - "id": 27361, - "name": "error", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27353, - "src": "5503:5:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - ], - "id": 27360, - "name": "_throwError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27198, - "src": "5491:11:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_enum$_RecoverError_$27144_$returns$__$", - "typeString": "function (enum ECDSA.RecoverError) pure" - } - }, - "id": 27362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5491:18:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27363, - "nodeType": "ExpressionStatement", - "src": "5491:18:36" - }, - { - "expression": { - "id": 27364, - "name": "recovered", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27350, - "src": "5526:9:36", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 27348, - "id": 27365, - "nodeType": "Return", - "src": "5519:16:36" - } - ] - }, - "documentation": { - "id": 27338, - "nodeType": "StructuredDocumentation", - "src": "5131:154:36", - "text": " @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\n _Available since v4.2._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "recover", - "nameLocation": "5299:7:36", - "parameters": { - "id": 27345, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27340, - "mutability": "mutable", - "name": "hash", - "nameLocation": "5324:4:36", - "nodeType": "VariableDeclaration", - "scope": 27367, - "src": "5316:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27339, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5316:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27342, - "mutability": "mutable", - "name": "r", - "nameLocation": "5346:1:36", - "nodeType": "VariableDeclaration", - "scope": 27367, - "src": "5338:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27341, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5338:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27344, - "mutability": "mutable", - "name": "vs", - "nameLocation": "5365:2:36", - "nodeType": "VariableDeclaration", - "scope": 27367, - "src": "5357:10:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27343, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5357:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5306:67:36" - }, - "returnParameters": { - "id": 27348, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27347, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27367, - "src": "5397:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27346, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5397:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5396:9:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27448, - "nodeType": "FunctionDefinition", - "src": "5716:1603:36", - "body": { - "id": 27447, - "nodeType": "Block", - "src": "5865:1454:36", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 27386, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27376, - "src": "6761:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6753:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 27384, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6753:7:36", - "typeDescriptions": {} - } - }, - "id": 27387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6753:10:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "307837464646464646464646464646464646464646464646464646464646464646463544353736453733353741343530314444464539324634363638314232304130", - "id": 27388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6766:66:36", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926418782139537452191302581570759080747168_by_1", - "typeString": "int_const 5789...(69 digits omitted)...7168" - }, - "value": "0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0" - }, - "src": "6753:79:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27399, - "nodeType": "IfStatement", - "src": "6749:161:36", - "trueBody": { - "id": 27398, - "nodeType": "Block", - "src": "6834:76:36", - "statements": [ - { - "expression": { - "components": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 27392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6864:1:36", - "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": 27391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6856:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6856:7:36", - "typeDescriptions": {} - } - }, - "id": 27393, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6856:10:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 27394, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "6868:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6881:17:36", - "memberName": "InvalidSignatureS", - "nodeType": "MemberAccess", - "referencedDeclaration": 27142, - "src": "6868:30:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - } - ], - "id": 27396, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6855:44:36", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "functionReturnParameters": 27383, - "id": 27397, - "nodeType": "Return", - "src": "6848:51:36" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 27406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "id": 27402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27400, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27372, - "src": "6923:1:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "hexValue": "3237", - "id": 27401, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6928:2:36", - "typeDescriptions": { - "typeIdentifier": "t_rational_27_by_1", - "typeString": "int_const 27" - }, - "value": "27" - }, - "src": "6923:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "id": 27405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27403, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27372, - "src": "6934:1:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "hexValue": "3238", - "id": 27404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6939:2:36", - "typeDescriptions": { - "typeIdentifier": "t_rational_28_by_1", - "typeString": "int_const 28" - }, - "value": "28" - }, - "src": "6934:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6923:18:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27416, - "nodeType": "IfStatement", - "src": "6919:100:36", - "trueBody": { - "id": 27415, - "nodeType": "Block", - "src": "6943:76:36", - "statements": [ - { - "expression": { - "components": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 27409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6973:1:36", - "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": 27408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6965:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27407, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6965:7:36", - "typeDescriptions": {} - } - }, - "id": 27410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6965:10:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 27411, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "6977:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6990:17:36", - "memberName": "InvalidSignatureV", - "nodeType": "MemberAccess", - "referencedDeclaration": 27143, - "src": "6977:30:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - } - ], - "id": 27413, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6964:44:36", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "functionReturnParameters": 27383, - "id": 27414, - "nodeType": "Return", - "src": "6957:51:36" - } - ] - } - }, - { - "assignments": [ - 27418 - ], - "declarations": [ - { - "constant": false, - "id": 27418, - "mutability": "mutable", - "name": "signer", - "nameLocation": "7121:6:36", - "nodeType": "VariableDeclaration", - "scope": 27447, - "src": "7113:14:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27417, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7113:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 27425, - "initialValue": { - "arguments": [ - { - "id": 27420, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27370, - "src": "7140:4:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27421, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27372, - "src": "7146:1:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "id": 27422, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27374, - "src": "7149:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27423, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27376, - "src": "7152:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27419, - "name": "ecrecover", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -6, - "src": "7130:9:36", - "typeDescriptions": { - "typeIdentifier": "t_function_ecrecover_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32,uint8,bytes32,bytes32) pure returns (address)" - } - }, - "id": 27424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7130:24:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7113:41:36" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 27431, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27426, - "name": "signer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27418, - "src": "7168:6:36", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 27429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7186:1:36", - "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": 27428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7178:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27427, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7178:7:36", - "typeDescriptions": {} - } - }, - "id": 27430, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7178:10:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7168:20:36", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27441, - "nodeType": "IfStatement", - "src": "7164:101:36", - "trueBody": { - "id": 27440, - "nodeType": "Block", - "src": "7190:75:36", - "statements": [ - { - "expression": { - "components": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 27434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7220:1:36", - "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": 27433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7212:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27432, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7212:7:36", - "typeDescriptions": {} - } - }, - "id": 27435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7212:10:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 27436, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "7224:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27437, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7237:16:36", - "memberName": "InvalidSignature", - "nodeType": "MemberAccess", - "referencedDeclaration": 27140, - "src": "7224:29:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - } - ], - "id": 27438, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7211:43:36", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "functionReturnParameters": 27383, - "id": 27439, - "nodeType": "Return", - "src": "7204:50:36" - } - ] - } - }, - { - "expression": { - "components": [ - { - "id": 27442, - "name": "signer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27418, - "src": "7283:6:36", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 27443, - "name": "RecoverError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27144, - "src": "7291:12:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_RecoverError_$27144_$", - "typeString": "type(enum ECDSA.RecoverError)" - } - }, - "id": 27444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7304:7:36", - "memberName": "NoError", - "nodeType": "MemberAccess", - "referencedDeclaration": 27139, - "src": "7291:20:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - } - ], - "id": 27445, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7282:30:36", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "functionReturnParameters": 27383, - "id": 27446, - "nodeType": "Return", - "src": "7275:37:36" - } - ] - }, - "documentation": { - "id": 27368, - "nodeType": "StructuredDocumentation", - "src": "5548:163:36", - "text": " @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n `r` and `s` signature fields separately.\n _Available since v4.3._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tryRecover", - "nameLocation": "5725:10:36", - "parameters": { - "id": 27377, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27370, - "mutability": "mutable", - "name": "hash", - "nameLocation": "5753:4:36", - "nodeType": "VariableDeclaration", - "scope": 27448, - "src": "5745:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27369, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5745:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27372, - "mutability": "mutable", - "name": "v", - "nameLocation": "5773:1:36", - "nodeType": "VariableDeclaration", - "scope": 27448, - "src": "5767:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 27371, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "5767:5:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27374, - "mutability": "mutable", - "name": "r", - "nameLocation": "5792:1:36", - "nodeType": "VariableDeclaration", - "scope": 27448, - "src": "5784:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27373, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5784:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27376, - "mutability": "mutable", - "name": "s", - "nameLocation": "5811:1:36", - "nodeType": "VariableDeclaration", - "scope": 27448, - "src": "5803:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27375, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5803:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5735:83:36" - }, - "returnParameters": { - "id": 27383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27379, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27448, - "src": "5842:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5842:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27382, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27448, - "src": "5851:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "typeName": { - "id": 27381, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27380, - "name": "RecoverError", - "nameLocations": [ - "5851:12:36" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27144, - "src": "5851:12:36" - }, - "referencedDeclaration": 27144, - "src": "5851:12:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "visibility": "internal" - } - ], - "src": "5841:23:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27481, - "nodeType": "FunctionDefinition", - "src": "7452:270:36", - "body": { - "id": 27480, - "nodeType": "Block", - "src": "7584:138:36", - "statements": [ - { - "assignments": [ - 27463, - 27466 - ], - "declarations": [ - { - "constant": false, - "id": 27463, - "mutability": "mutable", - "name": "recovered", - "nameLocation": "7603:9:36", - "nodeType": "VariableDeclaration", - "scope": 27480, - "src": "7595:17:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7595:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27466, - "mutability": "mutable", - "name": "error", - "nameLocation": "7627:5:36", - "nodeType": "VariableDeclaration", - "scope": 27480, - "src": "7614:18:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - }, - "typeName": { - "id": 27465, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 27464, - "name": "RecoverError", - "nameLocations": [ - "7614:12:36" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27144, - "src": "7614:12:36" - }, - "referencedDeclaration": 27144, - "src": "7614:12:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - }, - "visibility": "internal" - } - ], - "id": 27473, - "initialValue": { - "arguments": [ - { - "id": 27468, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27451, - "src": "7647:4:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27469, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27453, - "src": "7653:1:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "id": 27470, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27455, - "src": "7656:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27471, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27457, - "src": "7659:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27467, - "name": "tryRecover", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27263, - 27337, - 27448 - ], - "referencedDeclaration": 27448, - "src": "7636:10:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "function (bytes32,uint8,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError)" - } - }, - "id": 27472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7636:25:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_enum$_RecoverError_$27144_$", - "typeString": "tuple(address,enum ECDSA.RecoverError)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7594:67:36" - }, - { - "expression": { - "arguments": [ - { - "id": 27475, - "name": "error", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27466, - "src": "7683:5:36", - "typeDescriptions": { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_enum$_RecoverError_$27144", - "typeString": "enum ECDSA.RecoverError" - } - ], - "id": 27474, - "name": "_throwError", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27198, - "src": "7671:11:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_enum$_RecoverError_$27144_$returns$__$", - "typeString": "function (enum ECDSA.RecoverError) pure" - } - }, - "id": 27476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7671:18:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27477, - "nodeType": "ExpressionStatement", - "src": "7671:18:36" - }, - { - "expression": { - "id": 27478, - "name": "recovered", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27463, - "src": "7706:9:36", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 27461, - "id": 27479, - "nodeType": "Return", - "src": "7699:16:36" - } - ] - }, - "documentation": { - "id": 27449, - "nodeType": "StructuredDocumentation", - "src": "7325:122:36", - "text": " @dev Overload of {ECDSA-recover} that receives the `v`,\n `r` and `s` signature fields separately." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "recover", - "nameLocation": "7461:7:36", - "parameters": { - "id": 27458, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27451, - "mutability": "mutable", - "name": "hash", - "nameLocation": "7486:4:36", - "nodeType": "VariableDeclaration", - "scope": 27481, - "src": "7478:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27450, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7478:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27453, - "mutability": "mutable", - "name": "v", - "nameLocation": "7506:1:36", - "nodeType": "VariableDeclaration", - "scope": 27481, - "src": "7500:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 27452, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "7500:5:36", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27455, - "mutability": "mutable", - "name": "r", - "nameLocation": "7525:1:36", - "nodeType": "VariableDeclaration", - "scope": 27481, - "src": "7517:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27454, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7517:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27457, - "mutability": "mutable", - "name": "s", - "nameLocation": "7544:1:36", - "nodeType": "VariableDeclaration", - "scope": 27481, - "src": "7536:9:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27456, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7536:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "7468:83:36" - }, - "returnParameters": { - "id": 27461, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27460, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27481, - "src": "7575:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27459, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7575:7:36", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7574:9:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27498, - "nodeType": "FunctionDefinition", - "src": "8012:265:36", - "body": { - "id": 27497, - "nodeType": "Block", - "src": "8090:187:36", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "19457468657265756d205369676e6564204d6573736167653a0a3332", - "id": 27492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8228:34:36", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73", - "typeString": "literal_string hex\"19457468657265756d205369676e6564204d6573736167653a0a3332\"" - }, - "value": "\u0019Ethereum Signed Message:\n32" - }, - { - "id": 27493, - "name": "hash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27484, - "src": "8264:4:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73", - "typeString": "literal_string hex\"19457468657265756d205369676e6564204d6573736167653a0a3332\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 27490, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8211:3:36", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 27491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8215:12:36", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "8211:16:36", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 27494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8211:58:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27489, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8201:9:36", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 27495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8201:69:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 27488, - "id": 27496, - "nodeType": "Return", - "src": "8194:76:36" - } - ] - }, - "documentation": { - "id": 27482, - "nodeType": "StructuredDocumentation", - "src": "7728:279:36", - "text": " @dev Returns an Ethereum Signed Message, created from a `hash`. This\n produces hash corresponding to the one signed with the\n https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\n JSON-RPC method as part of EIP-191.\n See {recover}." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toEthSignedMessageHash", - "nameLocation": "8021:22:36", - "parameters": { - "id": 27485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27484, - "mutability": "mutable", - "name": "hash", - "nameLocation": "8052:4:36", - "nodeType": "VariableDeclaration", - "scope": 27498, - "src": "8044:12:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27483, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8044:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "8043:14:36" - }, - "returnParameters": { - "id": 27488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27487, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27498, - "src": "8081:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27486, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8081:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "8080:9:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27520, - "nodeType": "FunctionDefinition", - "src": "8562:196:36", - "body": { - "id": 27519, - "nodeType": "Block", - "src": "8642:116:36", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "19457468657265756d205369676e6564204d6573736167653a0a", - "id": 27509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8686:32:36", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9af2d9c228f6cfddaa6d1e5b94e0bce4ab16bd9a472a2b7fbfd74ebff4c720b4", - "typeString": "literal_string hex\"19457468657265756d205369676e6564204d6573736167653a0a\"" - }, - "value": "\u0019Ethereum Signed Message:\n" - }, - { - "arguments": [ - { - "expression": { - "id": 27512, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27501, - "src": "8737:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8739:6:36", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8737:8:36", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 27510, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27134, - "src": "8720:7:36", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27134_$", - "typeString": "type(library Strings)" - } - }, - "id": 27511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8728:8:36", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27016, - "src": "8720:16:36", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 27514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8720:26:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 27515, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27501, - "src": "8748:1:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9af2d9c228f6cfddaa6d1e5b94e0bce4ab16bd9a472a2b7fbfd74ebff4c720b4", - "typeString": "literal_string hex\"19457468657265756d205369676e6564204d6573736167653a0a\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 27507, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8669:3:36", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 27508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8673:12:36", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "8669:16:36", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 27516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8669:81:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27506, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8659:9:36", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 27517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8659:92:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 27505, - "id": 27518, - "nodeType": "Return", - "src": "8652:99:36" - } - ] - }, - "documentation": { - "id": 27499, - "nodeType": "StructuredDocumentation", - "src": "8283:274:36", - "text": " @dev Returns an Ethereum Signed Message, created from `s`. This\n produces hash corresponding to the one signed with the\n https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\n JSON-RPC method as part of EIP-191.\n See {recover}." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toEthSignedMessageHash", - "nameLocation": "8571:22:36", - "parameters": { - "id": 27502, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27501, - "mutability": "mutable", - "name": "s", - "nameLocation": "8607:1:36", - "nodeType": "VariableDeclaration", - "scope": 27520, - "src": "8594:14:36", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27500, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8594:5:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8593:16:36" - }, - "returnParameters": { - "id": 27505, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27504, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27520, - "src": "8633:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27503, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8633:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "8632:9:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27540, - "nodeType": "FunctionDefinition", - "src": "9097:194:36", - "body": { - "id": 27539, - "nodeType": "Block", - "src": "9199:92:36", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "1901", - "id": 27533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9243:10:36", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string hex\"1901\"" - }, - "value": "\u0019\u0001" - }, - { - "id": 27534, - "name": "domainSeparator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27523, - "src": "9255:15:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27535, - "name": "structHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27525, - "src": "9272:10:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", - "typeString": "literal_string hex\"1901\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 27531, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9226:3:36", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 27532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9230:12:36", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9226:16:36", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 27536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9226:57:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27530, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9216:9:36", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 27537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9216:68:36", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 27529, - "id": 27538, - "nodeType": "Return", - "src": "9209:75:36" - } - ] - }, - "documentation": { - "id": 27521, - "nodeType": "StructuredDocumentation", - "src": "8764:328:36", - "text": " @dev Returns an Ethereum Signed Typed Data, created from a\n `domainSeparator` and a `structHash`. This produces hash corresponding\n to the one signed with the\n https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\n JSON-RPC method as part of EIP-712.\n See {recover}." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toTypedDataHash", - "nameLocation": "9106:15:36", - "parameters": { - "id": 27526, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27523, - "mutability": "mutable", - "name": "domainSeparator", - "nameLocation": "9130:15:36", - "nodeType": "VariableDeclaration", - "scope": 27540, - "src": "9122:23:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27522, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9122:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27525, - "mutability": "mutable", - "name": "structHash", - "nameLocation": "9155:10:36", - "nodeType": "VariableDeclaration", - "scope": 27540, - "src": "9147:18:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27524, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9147:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "9121:45:36" - }, - "returnParameters": { - "id": 27529, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27528, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27540, - "src": "9190:7:36", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27527, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9190:7:36", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "9189:9:36" - }, - "scope": 27541, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "ECDSA", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 27138, - "nodeType": "StructuredDocumentation", - "src": "163:205:36", - "text": " @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n These functions can be used to verify that a message was signed by the holder\n of the private keys of a given address." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27541 - ], - "name": "ECDSA", - "nameLocation": "377:5:36", - "scope": 27542, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 36 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203d51a88abd38652c8da197a61a4e2f12e457ac6ced5b6de2f9fb08f6fde0ad9a64736f6c63430008170033","sourceMap":"369:8924:37:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;369:8924:37;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212203d51a88abd38652c8da197a61a4e2f12e457ac6ced5b6de2f9fb08f6fde0ad9a64736f6c63430008170033","sourceMap":"369:8924:37:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Elliptic Curve Digital Signature Algorithm (ECDSA) operations. These functions can be used to verify that a message was signed by the holder of the private keys of a given address.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":\"ECDSA\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":"ECDSA"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29","urls":["bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7","dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2"],"license":"MIT"}},"version":1},"id":37} \ No newline at end of file diff --git a/out/ENS.sol/ENS.json b/out/ENS.sol/ENS.json index b6f39d9..8c141dd 100644 --- a/out/ENS.sol/ENS.json +++ b/out/ENS.sol/ENS.json @@ -1,2497 +1 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "NewOwner", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "NewResolver", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "NewTTL", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "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": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "recordExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "resolver", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "setOwner", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "name": "setResolver", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "setSubnodeOwner", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setSubnodeRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "name": "setTTL", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "name": "ttl", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "isApprovedForAll(address,address)": "e985e9c5", - "owner(bytes32)": "02571be3", - "recordExists(bytes32)": "f79fe538", - "resolver(bytes32)": "0178b8bf", - "setApprovalForAll(address,bool)": "a22cb465", - "setOwner(bytes32,address)": "5b0fc9c3", - "setRecord(bytes32,address,address,uint64)": "cf408823", - "setResolver(bytes32,address)": "1896f70a", - "setSubnodeOwner(bytes32,bytes32,address)": "06ab5923", - "setSubnodeRecord(bytes32,bytes32,address,address,uint64)": "5ef2c7f0", - "setTTL(bytes32,uint64)": "14ab9038", - "ttl(bytes32)": "16a25cbd" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"NewOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"NewResolver\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"NewTTL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"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\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"recordExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setSubnodeOwner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setSubnodeRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setTTL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"ttl\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":\"ENS\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "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": "bytes32", - "name": "node", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "NewOwner", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "resolver", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "NewResolver", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64", - "indexed": false - } - ], - "type": "event", - "name": "NewTTL", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "Transfer", - "anonymous": false - }, - { - "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": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "recordExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "resolver", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setApprovalForAll" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setOwner" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setRecord" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setResolver" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setSubnodeOwner", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "resolver", - "type": "address" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setSubnodeRecord" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTTL" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ttl", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol": "ENS" - }, - "libraries": {} - }, - "sources": { - "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol": { - "keccak256": "0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483", - "urls": [ - "bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed", - "dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol", - "id": 23839, - "exportedSymbols": { - "ENS": [ - 23838 - ] - }, - "nodeType": "SourceUnit", - "src": "0:1712:11", - "nodes": [ - { - "id": 23703, - "nodeType": "PragmaDirective", - "src": "0:24:11", - "literals": [ - "solidity", - ">=", - "0.8", - ".4" - ] - }, - { - "id": 23838, - "nodeType": "ContractDefinition", - "src": "26:1685:11", - "nodes": [ - { - "id": 23711, - "nodeType": "EventDefinition", - "src": "120:75:11", - "anonymous": false, - "eventSelector": "ce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82", - "name": "NewOwner", - "nameLocation": "126:8:11", - "parameters": { - "id": 23710, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23705, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nameLocation": "151:4:11", - "nodeType": "VariableDeclaration", - "scope": 23711, - "src": "135:20:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23704, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "135:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23707, - "indexed": true, - "mutability": "mutable", - "name": "label", - "nameLocation": "173:5:11", - "nodeType": "VariableDeclaration", - "scope": 23711, - "src": "157:21:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23706, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "157:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23709, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nameLocation": "188:5:11", - "nodeType": "VariableDeclaration", - "scope": 23711, - "src": "180:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23708, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "180:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "134:60:11" - } - }, - { - "id": 23717, - "nodeType": "EventDefinition", - "src": "278:52:11", - "anonymous": false, - "eventSelector": "d4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266", - "name": "Transfer", - "nameLocation": "284:8:11", - "parameters": { - "id": 23716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23713, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nameLocation": "309:4:11", - "nodeType": "VariableDeclaration", - "scope": 23717, - "src": "293:20:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23712, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "293:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23715, - "indexed": false, - "mutability": "mutable", - "name": "owner", - "nameLocation": "323:5:11", - "nodeType": "VariableDeclaration", - "scope": 23717, - "src": "315:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23714, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "315:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "292:37:11" - } - }, - { - "id": 23723, - "nodeType": "EventDefinition", - "src": "388:58:11", - "anonymous": false, - "eventSelector": "335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0", - "name": "NewResolver", - "nameLocation": "394:11:11", - "parameters": { - "id": 23722, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23719, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nameLocation": "422:4:11", - "nodeType": "VariableDeclaration", - "scope": 23723, - "src": "406:20:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23718, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "406:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23721, - "indexed": false, - "mutability": "mutable", - "name": "resolver", - "nameLocation": "436:8:11", - "nodeType": "VariableDeclaration", - "scope": 23723, - "src": "428:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "428:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "405:40:11" - } - }, - { - "id": 23729, - "nodeType": "EventDefinition", - "src": "497:47:11", - "anonymous": false, - "eventSelector": "1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68", - "name": "NewTTL", - "nameLocation": "503:6:11", - "parameters": { - "id": 23728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23725, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nameLocation": "526:4:11", - "nodeType": "VariableDeclaration", - "scope": 23729, - "src": "510:20:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23724, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "510:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23727, - "indexed": false, - "mutability": "mutable", - "name": "ttl", - "nameLocation": "539:3:11", - "nodeType": "VariableDeclaration", - "scope": 23729, - "src": "532:10:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 23726, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "532:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "509:34:11" - } - }, - { - "id": 23737, - "nodeType": "EventDefinition", - "src": "602:85:11", - "anonymous": false, - "eventSelector": "17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31", - "name": "ApprovalForAll", - "nameLocation": "608:14:11", - "parameters": { - "id": 23736, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23731, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nameLocation": "639:5:11", - "nodeType": "VariableDeclaration", - "scope": 23737, - "src": "623:21:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23730, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "623:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23733, - "indexed": true, - "mutability": "mutable", - "name": "operator", - "nameLocation": "662:8:11", - "nodeType": "VariableDeclaration", - "scope": 23737, - "src": "646:24:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23732, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "646:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23735, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nameLocation": "677:8:11", - "nodeType": "VariableDeclaration", - "scope": 23737, - "src": "672:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23734, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "672:4:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "622:64:11" - } - }, - { - "id": 23748, - "nodeType": "FunctionDefinition", - "src": "693:95:11", - "functionSelector": "cf408823", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setRecord", - "nameLocation": "702:9:11", - "parameters": { - "id": 23746, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23739, - "mutability": "mutable", - "name": "node", - "nameLocation": "720:4:11", - "nodeType": "VariableDeclaration", - "scope": 23748, - "src": "712:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23738, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "712:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23741, - "mutability": "mutable", - "name": "owner", - "nameLocation": "734:5:11", - "nodeType": "VariableDeclaration", - "scope": 23748, - "src": "726:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23740, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "726:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23743, - "mutability": "mutable", - "name": "resolver", - "nameLocation": "749:8:11", - "nodeType": "VariableDeclaration", - "scope": 23748, - "src": "741:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23742, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "741:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23745, - "mutability": "mutable", - "name": "ttl", - "nameLocation": "766:3:11", - "nodeType": "VariableDeclaration", - "scope": 23748, - "src": "759:10:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 23744, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "759:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "711:59:11" - }, - "returnParameters": { - "id": 23747, - "nodeType": "ParameterList", - "parameters": [], - "src": "787:0:11" - }, - "scope": 23838, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "id": 23761, - "nodeType": "FunctionDefinition", - "src": "793:117:11", - "functionSelector": "5ef2c7f0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setSubnodeRecord", - "nameLocation": "802:16:11", - "parameters": { - "id": 23759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23750, - "mutability": "mutable", - "name": "node", - "nameLocation": "827:4:11", - "nodeType": "VariableDeclaration", - "scope": 23761, - "src": "819:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23749, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "819:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23752, - "mutability": "mutable", - "name": "label", - "nameLocation": "841:5:11", - "nodeType": "VariableDeclaration", - "scope": 23761, - "src": "833:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23751, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "833:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23754, - "mutability": "mutable", - "name": "owner", - "nameLocation": "856:5:11", - "nodeType": "VariableDeclaration", - "scope": 23761, - "src": "848:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23753, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "848:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23756, - "mutability": "mutable", - "name": "resolver", - "nameLocation": "871:8:11", - "nodeType": "VariableDeclaration", - "scope": 23761, - "src": "863:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23755, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "863:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23758, - "mutability": "mutable", - "name": "ttl", - "nameLocation": "888:3:11", - "nodeType": "VariableDeclaration", - "scope": 23761, - "src": "881:10:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 23757, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "881:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "818:74:11" - }, - "returnParameters": { - "id": 23760, - "nodeType": "ParameterList", - "parameters": [], - "src": "909:0:11" - }, - "scope": 23838, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "id": 23772, - "nodeType": "FunctionDefinition", - "src": "915:103:11", - "functionSelector": "06ab5923", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setSubnodeOwner", - "nameLocation": "924:15:11", - "parameters": { - "id": 23768, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23763, - "mutability": "mutable", - "name": "node", - "nameLocation": "948:4:11", - "nodeType": "VariableDeclaration", - "scope": 23772, - "src": "940:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23762, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "940:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23765, - "mutability": "mutable", - "name": "label", - "nameLocation": "962:5:11", - "nodeType": "VariableDeclaration", - "scope": 23772, - "src": "954:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23764, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "954:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23767, - "mutability": "mutable", - "name": "owner", - "nameLocation": "977:5:11", - "nodeType": "VariableDeclaration", - "scope": 23772, - "src": "969:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23766, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "969:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "939:44:11" - }, - "returnParameters": { - "id": 23771, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23770, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23772, - "src": "1009:7:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23769, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1009:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1008:9:11" - }, - "scope": 23838, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "id": 23779, - "nodeType": "FunctionDefinition", - "src": "1023:70:11", - "functionSelector": "1896f70a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setResolver", - "nameLocation": "1032:11:11", - "parameters": { - "id": 23777, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23774, - "mutability": "mutable", - "name": "node", - "nameLocation": "1052:4:11", - "nodeType": "VariableDeclaration", - "scope": 23779, - "src": "1044:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23773, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1044:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23776, - "mutability": "mutable", - "name": "resolver", - "nameLocation": "1066:8:11", - "nodeType": "VariableDeclaration", - "scope": 23779, - "src": "1058:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23775, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1058:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1043:32:11" - }, - "returnParameters": { - "id": 23778, - "nodeType": "ParameterList", - "parameters": [], - "src": "1092:0:11" - }, - "scope": 23838, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "id": 23786, - "nodeType": "FunctionDefinition", - "src": "1098:64:11", - "functionSelector": "5b0fc9c3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setOwner", - "nameLocation": "1107:8:11", - "parameters": { - "id": 23784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23781, - "mutability": "mutable", - "name": "node", - "nameLocation": "1124:4:11", - "nodeType": "VariableDeclaration", - "scope": 23786, - "src": "1116:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23780, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1116:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23783, - "mutability": "mutable", - "name": "owner", - "nameLocation": "1138:5:11", - "nodeType": "VariableDeclaration", - "scope": 23786, - "src": "1130:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23782, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1130:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1115:29:11" - }, - "returnParameters": { - "id": 23785, - "nodeType": "ParameterList", - "parameters": [], - "src": "1161:0:11" - }, - "scope": 23838, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "id": 23793, - "nodeType": "FunctionDefinition", - "src": "1167:59:11", - "functionSelector": "14ab9038", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setTTL", - "nameLocation": "1176:6:11", - "parameters": { - "id": 23791, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23788, - "mutability": "mutable", - "name": "node", - "nameLocation": "1191:4:11", - "nodeType": "VariableDeclaration", - "scope": 23793, - "src": "1183:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23787, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1183:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23790, - "mutability": "mutable", - "name": "ttl", - "nameLocation": "1204:3:11", - "nodeType": "VariableDeclaration", - "scope": 23793, - "src": "1197:10:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 23789, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "1197:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "1182:26:11" - }, - "returnParameters": { - "id": 23792, - "nodeType": "ParameterList", - "parameters": [], - "src": "1225:0:11" - }, - "scope": 23838, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "id": 23800, - "nodeType": "FunctionDefinition", - "src": "1231:77:11", - "functionSelector": "a22cb465", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nameLocation": "1240:17:11", - "parameters": { - "id": 23798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23795, - "mutability": "mutable", - "name": "operator", - "nameLocation": "1266:8:11", - "nodeType": "VariableDeclaration", - "scope": 23800, - "src": "1258:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23794, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1258:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23797, - "mutability": "mutable", - "name": "approved", - "nameLocation": "1281:8:11", - "nodeType": "VariableDeclaration", - "scope": 23800, - "src": "1276:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23796, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1276:4:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1257:33:11" - }, - "returnParameters": { - "id": 23799, - "nodeType": "ParameterList", - "parameters": [], - "src": "1307:0:11" - }, - "scope": 23838, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "external" - }, - { - "id": 23807, - "nodeType": "FunctionDefinition", - "src": "1313:69:11", - "functionSelector": "02571be3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "owner", - "nameLocation": "1322:5:11", - "parameters": { - "id": 23803, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23802, - "mutability": "mutable", - "name": "node", - "nameLocation": "1336:4:11", - "nodeType": "VariableDeclaration", - "scope": 23807, - "src": "1328:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23801, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1328:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1327:14:11" - }, - "returnParameters": { - "id": 23806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23805, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23807, - "src": "1373:7:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1373:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1372:9:11" - }, - "scope": 23838, - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "id": 23814, - "nodeType": "FunctionDefinition", - "src": "1387:72:11", - "functionSelector": "0178b8bf", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "resolver", - "nameLocation": "1396:8:11", - "parameters": { - "id": 23810, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23809, - "mutability": "mutable", - "name": "node", - "nameLocation": "1413:4:11", - "nodeType": "VariableDeclaration", - "scope": 23814, - "src": "1405:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23808, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1405:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1404:14:11" - }, - "returnParameters": { - "id": 23813, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23812, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23814, - "src": "1450:7:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23811, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1450:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1449:9:11" - }, - "scope": 23838, - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "id": 23821, - "nodeType": "FunctionDefinition", - "src": "1464:66:11", - "functionSelector": "16a25cbd", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ttl", - "nameLocation": "1473:3:11", - "parameters": { - "id": 23817, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23816, - "mutability": "mutable", - "name": "node", - "nameLocation": "1485:4:11", - "nodeType": "VariableDeclaration", - "scope": 23821, - "src": "1477:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23815, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1477:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1476:14:11" - }, - "returnParameters": { - "id": 23820, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23819, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23821, - "src": "1522:6:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 23818, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "1522:6:11", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "1521:8:11" - }, - "scope": 23838, - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "id": 23828, - "nodeType": "FunctionDefinition", - "src": "1535:73:11", - "functionSelector": "f79fe538", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recordExists", - "nameLocation": "1544:12:11", - "parameters": { - "id": 23824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23823, - "mutability": "mutable", - "name": "node", - "nameLocation": "1565:4:11", - "nodeType": "VariableDeclaration", - "scope": 23828, - "src": "1557:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23822, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1557:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1556:14:11" - }, - "returnParameters": { - "id": 23827, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23826, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23828, - "src": "1602:4:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23825, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1602:4:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1601:6:11" - }, - "scope": 23838, - "stateMutability": "view", - "virtual": true, - "visibility": "external" - }, - { - "id": 23837, - "nodeType": "FunctionDefinition", - "src": "1613:96:11", - "functionSelector": "e985e9c5", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nameLocation": "1622:16:11", - "parameters": { - "id": 23833, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23830, - "mutability": "mutable", - "name": "owner", - "nameLocation": "1647:5:11", - "nodeType": "VariableDeclaration", - "scope": 23837, - "src": "1639:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23829, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1639:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23832, - "mutability": "mutable", - "name": "operator", - "nameLocation": "1662:8:11", - "nodeType": "VariableDeclaration", - "scope": 23837, - "src": "1654:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23831, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1654:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1638:33:11" - }, - "returnParameters": { - "id": 23836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23835, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23837, - "src": "1703:4:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23834, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1703:4:11", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1702:6:11" - }, - "scope": 23838, - "stateMutability": "view", - "virtual": true, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "ENS", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 23838 - ], - "name": "ENS", - "nameLocation": "36:3:11", - "scope": 23839, - "usedErrors": [] - } - ] - }, - "id": 11 -} \ No newline at end of file +{"abi":[{"type":"function","name":"isApprovedForAll","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"recordExists","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"resolver","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"setApprovalForAll","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setOwner","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setRecord","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"},{"name":"owner","type":"address","internalType":"address"},{"name":"resolver","type":"address","internalType":"address"},{"name":"ttl","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setResolver","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"},{"name":"resolver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setSubnodeOwner","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"},{"name":"label","type":"bytes32","internalType":"bytes32"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"nonpayable"},{"type":"function","name":"setSubnodeRecord","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"},{"name":"label","type":"bytes32","internalType":"bytes32"},{"name":"owner","type":"address","internalType":"address"},{"name":"resolver","type":"address","internalType":"address"},{"name":"ttl","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setTTL","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"},{"name":"ttl","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ttl","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"type":"event","name":"ApprovalForAll","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"NewOwner","inputs":[{"name":"node","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"label","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"owner","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"NewResolver","inputs":[{"name":"node","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"resolver","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"NewTTL","inputs":[{"name":"node","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"ttl","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"node","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"owner","type":"address","indexed":false,"internalType":"address"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"isApprovedForAll(address,address)":"e985e9c5","owner(bytes32)":"02571be3","recordExists(bytes32)":"f79fe538","resolver(bytes32)":"0178b8bf","setApprovalForAll(address,bool)":"a22cb465","setOwner(bytes32,address)":"5b0fc9c3","setRecord(bytes32,address,address,uint64)":"cf408823","setResolver(bytes32,address)":"1896f70a","setSubnodeOwner(bytes32,bytes32,address)":"06ab5923","setSubnodeRecord(bytes32,bytes32,address,address,uint64)":"5ef2c7f0","setTTL(bytes32,uint64)":"14ab9038","ttl(bytes32)":"16a25cbd"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"NewOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"NewResolver\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"NewTTL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"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\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"recordExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setSubnodeOwner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setSubnodeRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setTTL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"ttl\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":\"ENS\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"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":"bytes32","name":"node","type":"bytes32","indexed":true},{"internalType":"bytes32","name":"label","type":"bytes32","indexed":true},{"internalType":"address","name":"owner","type":"address","indexed":false}],"type":"event","name":"NewOwner","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32","indexed":true},{"internalType":"address","name":"resolver","type":"address","indexed":false}],"type":"event","name":"NewResolver","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32","indexed":true},{"internalType":"uint64","name":"ttl","type":"uint64","indexed":false}],"type":"event","name":"NewTTL","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32","indexed":true},{"internalType":"address","name":"owner","type":"address","indexed":false}],"type":"event","name":"Transfer","anonymous":false},{"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":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"view","type":"function","name":"recordExists","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"view","type":"function","name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"setApprovalForAll"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setOwner"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"stateMutability":"nonpayable","type":"function","name":"setRecord"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setResolver"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"stateMutability":"nonpayable","type":"function","name":"setSubnodeRecord"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"stateMutability":"nonpayable","type":"function","name":"setTTL"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"view","type":"function","name":"ttl","outputs":[{"internalType":"uint64","name":"","type":"uint64"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol":"ENS"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol":{"keccak256":"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483","urls":["bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed","dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV"],"license":null}},"version":1},"id":11} \ No newline at end of file diff --git a/out/ERC165.sol/ERC165.json b/out/ERC165.sol/ERC165.json index 46e2a54..8580d75 100644 --- a/out/ERC165.sol/ERC165.json +++ b/out/ERC165.sol/ERC165.json @@ -1,409 +1 @@ -{ - "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.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.16+commit.07a7930e" - }, - "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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": "ERC165" - }, - "libraries": {} - }, - "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": 27720, - "exportedSymbols": { - "ERC165": [ - 27719 - ], - "IERC165": [ - 27731 - ] - }, - "nodeType": "SourceUnit", - "src": "99:888:38", - "nodes": [ - { - "id": 27697, - "nodeType": "PragmaDirective", - "src": "99:23:38", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27698, - "nodeType": "ImportDirective", - "src": "124:23:38", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "file": "./IERC165.sol", - "nameLocation": "-1:-1:-1", - "scope": 27720, - "sourceUnit": 27732, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 27719, - "nodeType": "ContractDefinition", - "src": "726:260:38", - "nodes": [ - { - "id": 27718, - "nodeType": "FunctionDefinition", - "src": "829:155:38", - "body": { - "id": 27717, - "nodeType": "Block", - "src": "920:64:38", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 27715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27710, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27704, - "src": "937:11:38", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27712, - "name": "IERC165", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27731, - "src": "957:7:38", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC165_$27731_$", - "typeString": "type(contract IERC165)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IERC165_$27731_$", - "typeString": "type(contract IERC165)" - } - ], - "id": 27711, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "952:4:38", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "952:13:38", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IERC165_$27731", - "typeString": "type(contract IERC165)" - } - }, - "id": 27714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "966:11:38", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "952:25:38", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "937:40:38", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 27709, - "id": 27716, - "nodeType": "Return", - "src": "930:47:38" - } - ] - }, - "baseFunctions": [ - 27730 - ], - "documentation": { - "id": 27702, - "nodeType": "StructuredDocumentation", - "src": "768:56:38", - "text": " @dev See {IERC165-supportsInterface}." - }, - "functionSelector": "01ffc9a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nameLocation": "838:17:38", - "overrides": { - "id": 27706, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "896:8:38" - }, - "parameters": { - "id": 27705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27704, - "mutability": "mutable", - "name": "interfaceId", - "nameLocation": "863:11:38", - "nodeType": "VariableDeclaration", - "scope": 27718, - "src": "856:18:38", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 27703, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "856:6:38", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "855:20:38" - }, - "returnParameters": { - "id": 27709, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27708, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27718, - "src": "914:4:38", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27707, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "914:4:38", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "913:6:38" - }, - "scope": 27719, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 27700, - "name": "IERC165", - "nameLocations": [ - "754:7:38" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27731, - "src": "754:7:38" - }, - "id": 27701, - "nodeType": "InheritanceSpecifier", - "src": "754:7:38" - } - ], - "canonicalName": "ERC165", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 27699, - "nodeType": "StructuredDocumentation", - "src": "149:576:38", - "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": [ - 27719, - 27731 - ], - "name": "ERC165", - "nameLocation": "744:6:38", - "scope": 27720, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 38 -} \ No newline at end of file +{"abi":[{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"supportsInterface(bytes4)":"01ffc9a7"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.23+commit.f704f362"},"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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol":"ERC165"},"evmVersion":"paris","libraries":{}},"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},"id":39} \ No newline at end of file diff --git a/out/ERC721.sol/ERC721.json b/out/ERC721.sol/ERC721.json index 58176d9..4d9231d 100644 --- a/out/ERC721.sol/ERC721.json +++ b/out/ERC721.sol/ERC721.json @@ -1,12211 +1 @@ -{ - "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": "0x60806040523480156200001157600080fd5b50604051620015153803806200151583398101604081905262000034916200011f565b600062000042838262000218565b50600162000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61122180620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101b3578063b88d4fde146101c6578063c87b56dd146101d9578063e985e9c5146101ec57600080fd5b80636352211e1461017757806370a082311461018a57806395d89b41146101ab57600080fd5b806301ffc9a7146100d457806306fdde03146100fc578063081812fc14610111578063095ea7b31461013c57806323b872dd1461015157806342842e0e14610164575b600080fd5b6100e76100e2366004610d45565b6101ff565b60405190151581526020015b60405180910390f35b610104610251565b6040516100f39190610db2565b61012461011f366004610dc5565b6102e3565b6040516001600160a01b0390911681526020016100f3565b61014f61014a366004610dfa565b61037d565b005b61014f61015f366004610e24565b610492565b61014f610172366004610e24565b6104c3565b610124610185366004610dc5565b6104de565b61019d610198366004610e60565b610555565b6040519081526020016100f3565b6101046105dc565b61014f6101c1366004610e7b565b6105eb565b61014f6101d4366004610ecd565b6105fa565b6101046101e7366004610dc5565b610632565b6100e76101fa366004610fa9565b61071a565b60006001600160e01b031982166380ac58cd60e01b148061023057506001600160e01b03198216635b5e139f60e01b145b8061024b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461026090610fdc565b80601f016020809104026020016040519081016040528092919081815260200182805461028c90610fdc565b80156102d95780601f106102ae576101008083540402835291602001916102d9565b820191906000526020600020905b8154815290600101906020018083116102bc57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166103615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610388826104de565b9050806001600160a01b0316836001600160a01b0316036103f55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610358565b336001600160a01b03821614806104115750610411813361071a565b6104835760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610358565b61048d8383610748565b505050565b61049c33826107b6565b6104b85760405162461bcd60e51b815260040161035890611016565b61048d83838361088d565b61048d838383604051806020016040528060008152506105fa565b6000818152600260205260408120546001600160a01b03168061024b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610358565b60006001600160a01b0382166105c05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610358565b506001600160a01b031660009081526003602052604090205490565b60606001805461026090610fdc565b6105f6338383610a29565b5050565b61060433836107b6565b6106205760405162461bcd60e51b815260040161035890611016565b61062c84848484610af7565b50505050565b6000818152600260205260409020546060906001600160a01b03166106b15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610358565b60006106c860408051602081019091526000815290565b905060008151116106e85760405180602001604052806000815250610713565b806106f284610b2a565b604051602001610703929190611067565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061077d826104de565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661082f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610358565b600061083a836104de565b9050806001600160a01b0316846001600160a01b031614806108755750836001600160a01b031661086a846102e3565b6001600160a01b0316145b806108855750610885818561071a565b949350505050565b826001600160a01b03166108a0826104de565b6001600160a01b0316146109045760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610358565b6001600160a01b0382166109665760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610358565b610971600082610748565b6001600160a01b038316600090815260036020526040812080546001929061099a9084906110ac565b90915550506001600160a01b03821660009081526003602052604081208054600192906109c89084906110bf565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610a8a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610358565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610b0284848461088d565b610b0e84848484610c2b565b61062c5760405162461bcd60e51b8152600401610358906110d2565b606081600003610b515750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610b7b5780610b6581611124565b9150610b749050600a83611153565b9150610b55565b60008167ffffffffffffffff811115610b9657610b96610eb7565b6040519080825280601f01601f191660200182016040528015610bc0576020820181803683370190505b5090505b841561088557610bd56001836110ac565b9150610be2600a86611167565b610bed9060306110bf565b60f81b818381518110610c0257610c0261117b565b60200101906001600160f81b031916908160001a905350610c24600a86611153565b9450610bc4565b60006001600160a01b0384163b15610d2157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610c6f903390899088908890600401611191565b6020604051808303816000875af1925050508015610caa575060408051601f3d908101601f19168201909252610ca7918101906111ce565b60015b610d07573d808015610cd8576040519150601f19603f3d011682016040523d82523d6000602084013e610cdd565b606091505b508051600003610cff5760405162461bcd60e51b8152600401610358906110d2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610885565b506001949350505050565b6001600160e01b031981168114610d4257600080fd5b50565b600060208284031215610d5757600080fd5b813561071381610d2c565b60005b83811015610d7d578181015183820152602001610d65565b50506000910152565b60008151808452610d9e816020860160208601610d62565b601f01601f19169290920160200192915050565b6020815260006107136020830184610d86565b600060208284031215610dd757600080fd5b5035919050565b80356001600160a01b0381168114610df557600080fd5b919050565b60008060408385031215610e0d57600080fd5b610e1683610dde565b946020939093013593505050565b600080600060608486031215610e3957600080fd5b610e4284610dde565b9250610e5060208501610dde565b9150604084013590509250925092565b600060208284031215610e7257600080fd5b61071382610dde565b60008060408385031215610e8e57600080fd5b610e9783610dde565b915060208301358015158114610eac57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610ee357600080fd5b610eec85610dde565b9350610efa60208601610dde565b925060408501359150606085013567ffffffffffffffff80821115610f1e57600080fd5b818701915087601f830112610f3257600080fd5b813581811115610f4457610f44610eb7565b604051601f8201601f19908116603f01168101908382118183101715610f6c57610f6c610eb7565b816040528281528a6020848701011115610f8557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215610fbc57600080fd5b610fc583610dde565b9150610fd360208401610dde565b90509250929050565b600181811c90821680610ff057607f821691505b60208210810361101057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008351611079818460208801610d62565b83519083019061108d818360208801610d62565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561024b5761024b611096565b8082018082111561024b5761024b611096565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001820161113657611136611096565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111625761116261113d565b500490565b6000826111765761117661113d565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906111c490830184610d86565b9695505050505050565b6000602082840312156111e057600080fd5b815161071381610d2c56fea2646970667358221220effe0de568dea686fff940299cf94e67c205d1a5a95447d730c4103f94165f3f64736f6c63430008100033", - "sourceMap": "628:13657:26:-:0;;;1390:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1456:5;:13;1464:5;1456;:13;:::i;:::-;-1:-1:-1;1479:7:26;:17;1489:7;1479;:17;:::i;:::-;;1390:113;;628:13657;;14:127:43;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:840;200:5;253:3;246:4;238:6;234:17;230:27;220:55;;271:1;268;261:12;220:55;294:13;;-1:-1:-1;;;;;356:10:43;;;353:36;;;369:18;;:::i;:::-;444:2;438:9;412:2;498:13;;-1:-1:-1;;494:22:43;;;518:2;490:31;486:40;474:53;;;542:18;;;562:22;;;539:46;536:72;;;588:18;;:::i;:::-;628:10;624:2;617:22;663:2;655:6;648:18;685:4;675:14;;730:3;725:2;720;712:6;708:15;704:24;701:33;698:53;;;747:1;744;737:12;698:53;769:1;760:10;;779:133;793:2;790:1;787:9;779:133;;;881:14;;;877:23;;871:30;850:14;;;846:23;;839:63;804:10;;;;779:133;;;954:1;932:15;;;928:24;;;921:35;;;;936:6;146:840;-1:-1:-1;;;;146:840:43:o;991:562::-;1090:6;1098;1151:2;1139:9;1130:7;1126:23;1122:32;1119:52;;;1167:1;1164;1157:12;1119:52;1194:16;;-1:-1:-1;;;;;1259:14:43;;;1256:34;;;1286:1;1283;1276:12;1256:34;1309:61;1362:7;1353:6;1342:9;1338:22;1309:61;:::i;:::-;1299:71;;1416:2;1405:9;1401:18;1395:25;1379:41;;1445:2;1435:8;1432:16;1429:36;;;1461:1;1458;1451:12;1429:36;;1484:63;1539:7;1528:8;1517:9;1513:24;1484:63;:::i;:::-;1474:73;;;991:562;;;;;:::o;1558:380::-;1637:1;1633:12;;;;1680;;;1701:61;;1755:4;1747:6;1743:17;1733:27;;1701:61;1808:2;1800:6;1797:14;1777:18;1774:38;1771:161;;1854:10;1849:3;1845:20;1842:1;1835:31;1889:4;1886:1;1879:15;1917:4;1914:1;1907:15;1771:161;;1558:380;;;:::o;2069:545::-;2171:2;2166:3;2163:11;2160:448;;;2207:1;2232:5;2228:2;2221:17;2277:4;2273:2;2263:19;2347:2;2335:10;2331:19;2328:1;2324:27;2318:4;2314:38;2383:4;2371:10;2368:20;2365:47;;;-1:-1:-1;2406:4:43;2365:47;2461:2;2456:3;2452:12;2449:1;2445:20;2439:4;2435:31;2425:41;;2516:82;2534:2;2527:5;2524:13;2516:82;;;2579:17;;;2560:1;2549:13;2516:82;;;2520:3;;;2160:448;2069:545;;;:::o;2790:1352::-;2910:10;;-1:-1:-1;;;;;2932:30:43;;2929:56;;;2965:18;;:::i;:::-;2994:97;3084:6;3044:38;3076:4;3070:11;3044:38;:::i;:::-;3038:4;2994:97;:::i;:::-;3146:4;;3210:2;3199:14;;3227:1;3222:663;;;;3929:1;3946:6;3943:89;;;-1:-1:-1;3998:19:43;;;3992:26;3943:89;-1:-1:-1;;2747:1:43;2743:11;;;2739:24;2735:29;2725:40;2771:1;2767:11;;;2722:57;4045:81;;3192:944;;3222:663;2016:1;2009:14;;;2053:4;2040:18;;-1:-1:-1;;3258:20:43;;;3376:236;3390:7;3387:1;3384:14;3376:236;;;3479:19;;;3473:26;3458:42;;3571:27;;;;3539:1;3527:14;;;;3406:19;;3376:236;;;3380:3;3640:6;3631:7;3628:19;3625:201;;;3701:19;;;3695:26;-1:-1:-1;;3784:1:43;3780:14;;;3796:3;3776:24;3772:37;3768:42;3753:58;3738:74;;3625:201;-1:-1:-1;;;;;3872:1:43;3856:14;;;3852:22;3839:36;;-1:-1:-1;2790:1352:43:o;:::-;628:13657:26;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101b3578063b88d4fde146101c6578063c87b56dd146101d9578063e985e9c5146101ec57600080fd5b80636352211e1461017757806370a082311461018a57806395d89b41146101ab57600080fd5b806301ffc9a7146100d457806306fdde03146100fc578063081812fc14610111578063095ea7b31461013c57806323b872dd1461015157806342842e0e14610164575b600080fd5b6100e76100e2366004610d45565b6101ff565b60405190151581526020015b60405180910390f35b610104610251565b6040516100f39190610db2565b61012461011f366004610dc5565b6102e3565b6040516001600160a01b0390911681526020016100f3565b61014f61014a366004610dfa565b61037d565b005b61014f61015f366004610e24565b610492565b61014f610172366004610e24565b6104c3565b610124610185366004610dc5565b6104de565b61019d610198366004610e60565b610555565b6040519081526020016100f3565b6101046105dc565b61014f6101c1366004610e7b565b6105eb565b61014f6101d4366004610ecd565b6105fa565b6101046101e7366004610dc5565b610632565b6100e76101fa366004610fa9565b61071a565b60006001600160e01b031982166380ac58cd60e01b148061023057506001600160e01b03198216635b5e139f60e01b145b8061024b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461026090610fdc565b80601f016020809104026020016040519081016040528092919081815260200182805461028c90610fdc565b80156102d95780601f106102ae576101008083540402835291602001916102d9565b820191906000526020600020905b8154815290600101906020018083116102bc57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166103615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610388826104de565b9050806001600160a01b0316836001600160a01b0316036103f55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610358565b336001600160a01b03821614806104115750610411813361071a565b6104835760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610358565b61048d8383610748565b505050565b61049c33826107b6565b6104b85760405162461bcd60e51b815260040161035890611016565b61048d83838361088d565b61048d838383604051806020016040528060008152506105fa565b6000818152600260205260408120546001600160a01b03168061024b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610358565b60006001600160a01b0382166105c05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610358565b506001600160a01b031660009081526003602052604090205490565b60606001805461026090610fdc565b6105f6338383610a29565b5050565b61060433836107b6565b6106205760405162461bcd60e51b815260040161035890611016565b61062c84848484610af7565b50505050565b6000818152600260205260409020546060906001600160a01b03166106b15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610358565b60006106c860408051602081019091526000815290565b905060008151116106e85760405180602001604052806000815250610713565b806106f284610b2a565b604051602001610703929190611067565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061077d826104de565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661082f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610358565b600061083a836104de565b9050806001600160a01b0316846001600160a01b031614806108755750836001600160a01b031661086a846102e3565b6001600160a01b0316145b806108855750610885818561071a565b949350505050565b826001600160a01b03166108a0826104de565b6001600160a01b0316146109045760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610358565b6001600160a01b0382166109665760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610358565b610971600082610748565b6001600160a01b038316600090815260036020526040812080546001929061099a9084906110ac565b90915550506001600160a01b03821660009081526003602052604081208054600192906109c89084906110bf565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610a8a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610358565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610b0284848461088d565b610b0e84848484610c2b565b61062c5760405162461bcd60e51b8152600401610358906110d2565b606081600003610b515750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610b7b5780610b6581611124565b9150610b749050600a83611153565b9150610b55565b60008167ffffffffffffffff811115610b9657610b96610eb7565b6040519080825280601f01601f191660200182016040528015610bc0576020820181803683370190505b5090505b841561088557610bd56001836110ac565b9150610be2600a86611167565b610bed9060306110bf565b60f81b818381518110610c0257610c0261117b565b60200101906001600160f81b031916908160001a905350610c24600a86611153565b9450610bc4565b60006001600160a01b0384163b15610d2157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610c6f903390899088908890600401611191565b6020604051808303816000875af1925050508015610caa575060408051601f3d908101601f19168201909252610ca7918101906111ce565b60015b610d07573d808015610cd8576040519150601f19603f3d011682016040523d82523d6000602084013e610cdd565b606091505b508051600003610cff5760405162461bcd60e51b8152600401610358906110d2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610885565b506001949350505050565b6001600160e01b031981168114610d4257600080fd5b50565b600060208284031215610d5757600080fd5b813561071381610d2c565b60005b83811015610d7d578181015183820152602001610d65565b50506000910152565b60008151808452610d9e816020860160208601610d62565b601f01601f19169290920160200192915050565b6020815260006107136020830184610d86565b600060208284031215610dd757600080fd5b5035919050565b80356001600160a01b0381168114610df557600080fd5b919050565b60008060408385031215610e0d57600080fd5b610e1683610dde565b946020939093013593505050565b600080600060608486031215610e3957600080fd5b610e4284610dde565b9250610e5060208501610dde565b9150604084013590509250925092565b600060208284031215610e7257600080fd5b61071382610dde565b60008060408385031215610e8e57600080fd5b610e9783610dde565b915060208301358015158114610eac57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610ee357600080fd5b610eec85610dde565b9350610efa60208601610dde565b925060408501359150606085013567ffffffffffffffff80821115610f1e57600080fd5b818701915087601f830112610f3257600080fd5b813581811115610f4457610f44610eb7565b604051601f8201601f19908116603f01168101908382118183101715610f6c57610f6c610eb7565b816040528281528a6020848701011115610f8557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215610fbc57600080fd5b610fc583610dde565b9150610fd360208401610dde565b90509250929050565b600181811c90821680610ff057607f821691505b60208210810361101057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008351611079818460208801610d62565b83519083019061108d818360208801610d62565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561024b5761024b611096565b8082018082111561024b5761024b611096565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001820161113657611136611096565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111625761116261113d565b500490565b6000826111765761117661113d565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906111c490830184610d86565b9695505050505050565b6000602082840312156111e057600080fd5b815161071381610d2c56fea2646970667358221220effe0de568dea686fff940299cf94e67c205d1a5a95447d730c4103f94165f3f64736f6c63430008100033", - "sourceMap": "628:13657:26:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1570:300;;;;;;:::i;:::-;;:::i;:::-;;;565:14:43;;558:22;540:41;;528:2;513:18;1570:300:26;;;;;;;;2488:98;;;:::i;:::-;;;;;;;:::i;3999:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:43;;;1679:51;;1667:2;1652:18;3999:217:26;1533:203:43;3537:401:26;;;;;;:::i;:::-;;:::i;:::-;;4726:330;;;;;;:::i;:::-;;:::i;5122:179::-;;;;;;:::i;:::-;;:::i;2191:235::-;;;;;;:::i;:::-;;:::i;1929:205::-;;;;;;:::i;:::-;;:::i;:::-;;;2848:25:43;;;2836:2;2821:18;1929:205:26;2702:177:43;2650:102:26;;;:::i;4283:153::-;;;;;;:::i;:::-;;:::i;5367:320::-;;;;;;:::i;:::-;;:::i;2818:329::-;;;;;;:::i;:::-;;:::i;4502:162::-;;;;;;:::i;:::-;;:::i;1570:300::-;1672:4;-1:-1:-1;;;;;;1707:40:26;;-1:-1:-1;;;1707:40:26;;:104;;-1:-1:-1;;;;;;;1763:48:26;;-1:-1:-1;;;1763:48:26;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:38;;;1827:36:26;1688:175;1570:300;-1:-1:-1;;1570:300:26:o;2488:98::-;2542:13;2574:5;2567:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2488:98;:::o;3999:217::-;4075:7;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:26;4094:73;;;;-1:-1:-1;;;4094:73:26;;5363:2:43;4094:73:26;;;5345:21:43;5402:2;5382:18;;;5375:30;5441:34;5421:18;;;5414:62;-1:-1:-1;;;5492:18:43;;;5485:42;5544:19;;4094:73:26;;;;;;;;;-1:-1:-1;4185:24:26;;;;:15;:24;;;;;;-1:-1:-1;;;;;4185:24:26;;3999:217::o;3537:401::-;3617:13;3633:23;3648:7;3633:14;:23::i;:::-;3617:39;;3680:5;-1:-1:-1;;;;;3674:11:26;:2;-1:-1:-1;;;;;3674:11:26;;3666:57;;;;-1:-1:-1;;;3666:57:26;;5776:2:43;3666:57:26;;;5758:21:43;5815:2;5795:18;;;5788:30;5854:34;5834:18;;;5827:62;-1:-1:-1;;;5905:18:43;;;5898:31;5946:19;;3666:57:26;5574:397:43;3666:57:26;719:10:33;-1:-1:-1;;;;;3755:21:26;;;;:62;;-1:-1:-1;3780:37:26;3797:5;719:10:33;4502:162:26;:::i;3780:37::-;3734:165;;;;-1:-1:-1;;;3734:165:26;;6178:2:43;3734:165:26;;;6160:21:43;6217:2;6197:18;;;6190:30;6256:34;6236:18;;;6229:62;6327:26;6307:18;;;6300:54;6371:19;;3734:165:26;5976:420:43;3734:165:26;3910:21;3919:2;3923:7;3910:8;:21::i;:::-;3607:331;3537:401;;:::o;4726:330::-;4915:41;719:10:33;4948:7:26;4915:18;:41::i;:::-;4907:103;;;;-1:-1:-1;;;4907:103:26;;;;;;;:::i;:::-;5021:28;5031:4;5037:2;5041:7;5021:9;:28::i;5122:179::-;5255:39;5272:4;5278:2;5282:7;5255:39;;;;;;;;;;;;:16;:39::i;2191:235::-;2263:7;2298:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2298:16:26;;2324:73;;;;-1:-1:-1;;;2324:73:26;;7021:2:43;2324:73:26;;;7003:21:43;7060:2;7040:18;;;7033:30;7099:34;7079:18;;;7072:62;-1:-1:-1;;;7150:18:43;;;7143:39;7199:19;;2324:73:26;6819:405:43;1929:205:26;2001:7;-1:-1:-1;;;;;2028:19:26;;2020:74;;;;-1:-1:-1;;;2020:74:26;;7431:2:43;2020:74:26;;;7413:21:43;7470:2;7450:18;;;7443:30;7509:34;7489:18;;;7482:62;-1:-1:-1;;;7560:18:43;;;7553:40;7610:19;;2020:74:26;7229:406:43;2020:74:26;-1:-1:-1;;;;;;2111:16:26;;;;;:9;:16;;;;;;;1929:205::o;2650:102::-;2706:13;2738:7;2731:14;;;;;:::i;4283:153::-;4377:52;719:10:33;4410:8:26;4420;4377:18;:52::i;:::-;4283:153;;:::o;5367:320::-;5536:41;719:10:33;5569:7:26;5536:18;:41::i;:::-;5528:103;;;;-1:-1:-1;;;5528:103:26;;;;;;;:::i;:::-;5641:39;5655:4;5661:2;5665:7;5674:5;5641:13;:39::i;:::-;5367:320;;;;:::o;2818:329::-;7224:4;7247:16;;;:7;:16;;;;;;2891:13;;-1:-1:-1;;;;;7247:16:26;2916:76;;;;-1:-1:-1;;;2916:76:26;;7842:2:43;2916:76:26;;;7824:21:43;7881:2;7861:18;;;7854:30;7920:34;7900:18;;;7893:62;-1:-1:-1;;;7971:18:43;;;7964:45;8026:19;;2916:76:26;7640:411:43;2916:76:26;3003:21;3027:10;3464:9;;;;;;;;;-1:-1:-1;3464:9:26;;;3388:92;3027:10;3003:34;;3078:1;3060:7;3054:21;:25;:86;;;;;;;;;;;;;;;;;3106:7;3115:18;:7;:16;:18::i;:::-;3089:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3054:86;3047:93;2818:329;-1:-1:-1;;;2818:329:26:o;4502:162::-;-1:-1:-1;;;;;4622:25:26;;;4599:4;4622:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4502:162::o;11168:171::-;11242:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11242:29:26;-1:-1:-1;;;;;11242:29:26;;;;;;;;:24;;11295:23;11242:24;11295:14;:23::i;:::-;-1:-1:-1;;;;;11286:46:26;;;;;;;;;;;11168:171;;:::o;7442:344::-;7535:4;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:26;7551:73;;;;-1:-1:-1;;;7551:73:26;;8759:2:43;7551:73:26;;;8741:21:43;8798:2;8778:18;;;8771:30;8837:34;8817:18;;;8810:62;-1:-1:-1;;;8888:18:43;;;8881:42;8940:19;;7551:73:26;8557:408:43;7551:73:26;7634:13;7650:23;7665:7;7650:14;:23::i;:::-;7634:39;;7702:5;-1:-1:-1;;;;;7691:16:26;:7;-1:-1:-1;;;;;7691:16:26;;:51;;;;7735:7;-1:-1:-1;;;;;7711:31:26;:20;7723:7;7711:11;:20::i;:::-;-1:-1:-1;;;;;7711:31:26;;7691:51;:87;;;;7746:32;7763:5;7770:7;7746:16;:32::i;:::-;7683:96;7442:344;-1:-1:-1;;;;7442:344:26:o;10452:605::-;10606:4;-1:-1:-1;;;;;10579:31:26;:23;10594:7;10579:14;:23::i;:::-;-1:-1:-1;;;;;10579:31:26;;10571:81;;;;-1:-1:-1;;;10571:81:26;;9172:2:43;10571:81:26;;;9154:21:43;9211:2;9191:18;;;9184:30;9250:34;9230:18;;;9223:62;-1:-1:-1;;;9301:18:43;;;9294:35;9346:19;;10571:81:26;8970:401:43;10571:81:26;-1:-1:-1;;;;;10670:16:26;;10662:65;;;;-1:-1:-1;;;10662:65:26;;9578:2:43;10662:65:26;;;9560:21:43;9617:2;9597:18;;;9590:30;9656:34;9636:18;;;9629:62;-1:-1:-1;;;9707:18:43;;;9700:34;9751:19;;10662:65:26;9376:400:43;10662:65:26;10839:29;10856:1;10860:7;10839:8;:29::i;:::-;-1:-1:-1;;;;;10879:15:26;;;;;;:9;:15;;;;;:20;;10898:1;;10879:15;:20;;10898:1;;10879:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10909:13:26;;;;;;:9;:13;;;;;:18;;10926:1;;10909:13;:18;;10926:1;;10909:18;:::i;:::-;;;;-1:-1:-1;;10937:16:26;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10937:21:26;-1:-1:-1;;;;;10937:21:26;;;;;;;;;10974:27;;10937:16;;10974:27;;;;;;;3607:331;3537:401;;:::o;11474:307::-;11624:8;-1:-1:-1;;;;;11615:17:26;:5;-1:-1:-1;;;;;11615:17:26;;11607:55;;;;-1:-1:-1;;;11607:55:26;;10378:2:43;11607:55:26;;;10360:21:43;10417:2;10397:18;;;10390:30;10456:27;10436:18;;;10429:55;10501:18;;11607:55:26;10176:349:43;11607:55:26;-1:-1:-1;;;;;11672:25:26;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11672:46:26;;;;;;;;;;11733:41;;540::43;;;11733::26;;513:18:43;11733:41:26;;;;;;;11474:307;;;:::o;6549:::-;6700:28;6710:4;6716:2;6720:7;6700:9;:28::i;:::-;6746:48;6769:4;6775:2;6779:7;6788:5;6746:22;:48::i;:::-;6738:111;;;;-1:-1:-1;;;6738:111:26;;;;;;;:::i;328:703:35:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:35;;;;;;;;;;;;-1:-1:-1;;;627:10:35;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:35;;-1:-1:-1;773:2:35;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:35;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:35;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:35;;;;;;;;-1:-1:-1;972:11:35;981:2;972:11;;:::i;:::-;;;844:150;;12334:778:26;12484:4;-1:-1:-1;;;;;12504:13:26;;1465:19:31;:23;12500:606:26;;12539:72;;-1:-1:-1;;;12539:72:26;;-1:-1:-1;;;;;12539:36:26;;;;;:72;;719:10:33;;12590:4:26;;12596:7;;12605:5;;12539:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12539:72:26;;;;;;;;-1:-1:-1;;12539:72:26;;;;;;;;;;;;:::i;:::-;;;12535:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12778:6;:13;12795:1;12778:18;12774:266;;12820:60;;-1:-1:-1;;;12820:60:26;;;;;;;:::i;12774:266::-;12992:6;12986:13;12977:6;12973:2;12969:15;12962:38;12535:519;-1:-1:-1;;;;;;12661:51:26;-1:-1:-1;;;12661:51:26;;-1:-1:-1;12654:58:26;;12500:606;-1:-1:-1;13091:4:26;12334:778;;;;;;:::o;14:131:43:-;-1:-1:-1;;;;;;88:32:43;;78:43;;68:71;;135:1;132;125:12;68:71;14:131;:::o;150:245::-;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:43;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:43;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:43:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:43;;1348:180;-1:-1:-1;1348:180:43:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:43;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:43:o;2178:328::-;2255:6;2263;2271;2324:2;2312:9;2303:7;2299:23;2295:32;2292:52;;;2340:1;2337;2330:12;2292:52;2363:29;2382:9;2363:29;:::i;:::-;2353:39;;2411:38;2445:2;2434:9;2430:18;2411:38;:::i;:::-;2401:48;;2496:2;2485:9;2481:18;2468:32;2458:42;;2178:328;;;;;:::o;2511:186::-;2570:6;2623:2;2611:9;2602:7;2598:23;2594:32;2591:52;;;2639:1;2636;2629:12;2591:52;2662:29;2681:9;2662:29;:::i;2884:347::-;2949:6;2957;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3049:29;3068:9;3049:29;:::i;:::-;3039:39;;3128:2;3117:9;3113:18;3100:32;3175:5;3168:13;3161:21;3154:5;3151:32;3141:60;;3197:1;3194;3187:12;3141:60;3220:5;3210:15;;;2884:347;;;;;:::o;3236:127::-;3297:10;3292:3;3288:20;3285:1;3278:31;3328:4;3325:1;3318:15;3352:4;3349:1;3342:15;3368:1138;3463:6;3471;3479;3487;3540:3;3528:9;3519:7;3515:23;3511:33;3508:53;;;3557:1;3554;3547:12;3508:53;3580:29;3599:9;3580:29;:::i;:::-;3570:39;;3628:38;3662:2;3651:9;3647:18;3628:38;:::i;:::-;3618:48;;3713:2;3702:9;3698:18;3685:32;3675:42;;3768:2;3757:9;3753:18;3740:32;3791:18;3832:2;3824:6;3821:14;3818:34;;;3848:1;3845;3838:12;3818:34;3886:6;3875:9;3871:22;3861:32;;3931:7;3924:4;3920:2;3916:13;3912:27;3902:55;;3953:1;3950;3943:12;3902:55;3989:2;3976:16;4011:2;4007;4004:10;4001:36;;;4017:18;;:::i;:::-;4092:2;4086:9;4060:2;4146:13;;-1:-1:-1;;4142:22:43;;;4166:2;4138:31;4134:40;4122:53;;;4190:18;;;4210:22;;;4187:46;4184:72;;;4236:18;;:::i;:::-;4276:10;4272:2;4265:22;4311:2;4303:6;4296:18;4351:7;4346:2;4341;4337;4333:11;4329:20;4326:33;4323:53;;;4372:1;4369;4362:12;4323:53;4428:2;4423;4419;4415:11;4410:2;4402:6;4398:15;4385:46;4473:1;4468:2;4463;4455:6;4451:15;4447:24;4440:35;4494:6;4484:16;;;;;;;3368:1138;;;;;;;:::o;4511:260::-;4579:6;4587;4640:2;4628:9;4619:7;4615:23;4611:32;4608:52;;;4656:1;4653;4646:12;4608:52;4679:29;4698:9;4679:29;:::i;:::-;4669:39;;4727:38;4761:2;4750:9;4746:18;4727:38;:::i;:::-;4717:48;;4511:260;;;;;:::o;4776:380::-;4855:1;4851:12;;;;4898;;;4919:61;;4973:4;4965:6;4961:17;4951:27;;4919:61;5026:2;5018:6;5015:14;4995:18;4992:38;4989:161;;5072:10;5067:3;5063:20;5060:1;5053:31;5107:4;5104:1;5097:15;5135:4;5132:1;5125:15;4989:161;;4776:380;;;:::o;6401:413::-;6603:2;6585:21;;;6642:2;6622:18;;;6615:30;6681:34;6676:2;6661:18;;6654:62;-1:-1:-1;;;6747:2:43;6732:18;;6725:47;6804:3;6789:19;;6401:413::o;8056:496::-;8235:3;8273:6;8267:13;8289:66;8348:6;8343:3;8336:4;8328:6;8324:17;8289:66;:::i;:::-;8418:13;;8377:16;;;;8440:70;8418:13;8377:16;8487:4;8475:17;;8440:70;:::i;:::-;8526:20;;8056:496;-1:-1:-1;;;;8056:496:43:o;9781:127::-;9842:10;9837:3;9833:20;9830:1;9823:31;9873:4;9870:1;9863:15;9897:4;9894:1;9887:15;9913:128;9980:9;;;10001:11;;;9998:37;;;10015:18;;:::i;10046:125::-;10111:9;;;10132:10;;;10129:36;;;10145:18;;:::i;10530:414::-;10732:2;10714:21;;;10771:2;10751:18;;;10744:30;10810:34;10805:2;10790:18;;10783:62;-1:-1:-1;;;10876:2:43;10861:18;;10854:48;10934:3;10919:19;;10530:414::o;10949:135::-;10988:3;11009:17;;;11006:43;;11029:18;;:::i;:::-;-1:-1:-1;11076:1:43;11065:13;;10949:135::o;11089:127::-;11150:10;11145:3;11141:20;11138:1;11131:31;11181:4;11178:1;11171:15;11205:4;11202:1;11195:15;11221:120;11261:1;11287;11277:35;;11292:18;;:::i;:::-;-1:-1:-1;11326:9:43;;11221:120::o;11346:112::-;11378:1;11404;11394:35;;11409:18;;:::i;:::-;-1:-1:-1;11443:9:43;;11346:112::o;11463:127::-;11524:10;11519:3;11515:20;11512:1;11505:31;11555:4;11552:1;11545:15;11579:4;11576:1;11569:15;11595:489;-1:-1:-1;;;;;11864:15:43;;;11846:34;;11916:15;;11911:2;11896:18;;11889:43;11963:2;11948:18;;11941:34;;;12011:3;12006:2;11991:18;;11984:31;;;11789:4;;12032:46;;12058:19;;12050:6;12032:46;:::i;:::-;12024:54;11595:489;-1:-1:-1;;;;;;11595:489:43:o;12089:249::-;12158:6;12211:2;12199:9;12190:7;12186:23;12182:32;12179:52;;;12227:1;12224;12217:12;12179:52;12259:9;12253:16;12278:30;12302:5;12278:30;:::i", - "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.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f\",\"dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]},\"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\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.16+commit.07a7930e" - }, - "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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": "ERC721" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": { - "keccak256": "0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de", - "urls": [ - "bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f", - "dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f", - "urls": [ - "bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f", - "dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a" - ], - "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": "0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87", - "urls": [ - "bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58", - "dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV" - ], - "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": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "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" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol", - "id": 26096, - "exportedSymbols": { - "Address": [ - 26601 - ], - "Context": [ - 26857 - ], - "ERC165": [ - 27719 - ], - "ERC721": [ - 26095 - ], - "IERC165": [ - 27731 - ], - "IERC721": [ - 26211 - ], - "IERC721Metadata": [ - 26256 - ], - "IERC721Receiver": [ - 26229 - ], - "Strings": [ - 27134 - ] - }, - "nodeType": "SourceUnit", - "src": "107:14179:26", - "nodes": [ - { - "id": 25231, - "nodeType": "PragmaDirective", - "src": "107:23:26", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 25232, - "nodeType": "ImportDirective", - "src": "132:23:26", - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "./IERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 26096, - "sourceUnit": 26212, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25233, - "nodeType": "ImportDirective", - "src": "156:31:26", - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "file": "./IERC721Receiver.sol", - "nameLocation": "-1:-1:-1", - "scope": 26096, - "sourceUnit": 26230, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25234, - "nodeType": "ImportDirective", - "src": "188:42:26", - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol", - "file": "./extensions/IERC721Metadata.sol", - "nameLocation": "-1:-1:-1", - "scope": 26096, - "sourceUnit": 26257, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25235, - "nodeType": "ImportDirective", - "src": "231:33:26", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Address.sol", - "file": "../../utils/Address.sol", - "nameLocation": "-1:-1:-1", - "scope": 26096, - "sourceUnit": 26602, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25236, - "nodeType": "ImportDirective", - "src": "265:33:26", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Context.sol", - "file": "../../utils/Context.sol", - "nameLocation": "-1:-1:-1", - "scope": 26096, - "sourceUnit": 26858, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25237, - "nodeType": "ImportDirective", - "src": "299:33:26", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "file": "../../utils/Strings.sol", - "nameLocation": "-1:-1:-1", - "scope": 26096, - "sourceUnit": 27135, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25238, - "nodeType": "ImportDirective", - "src": "333:46:26", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", - "file": "../../utils/introspection/ERC165.sol", - "nameLocation": "-1:-1:-1", - "scope": 26096, - "sourceUnit": 27720, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26095, - "nodeType": "ContractDefinition", - "src": "628:13657:26", - "nodes": [ - { - "id": 25250, - "nodeType": "UsingForDirective", - "src": "695:26:26", - "global": false, - "libraryName": { - "id": 25248, - "name": "Address", - "nameLocations": [ - "701:7:26" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26601, - "src": "701:7:26" - }, - "typeName": { - "id": 25249, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "713:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - { - "id": 25253, - "nodeType": "UsingForDirective", - "src": "726:26:26", - "global": false, - "libraryName": { - "id": 25251, - "name": "Strings", - "nameLocations": [ - "732:7:26" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27134, - "src": "732:7:26" - }, - "typeName": { - "id": 25252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "744:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 25255, - "nodeType": "VariableDeclaration", - "src": "776:20:26", - "constant": false, - "mutability": "mutable", - "name": "_name", - "nameLocation": "791:5:26", - "scope": 26095, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 25254, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "776:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "private" - }, - { - "id": 25257, - "nodeType": "VariableDeclaration", - "src": "823:22:26", - "constant": false, - "mutability": "mutable", - "name": "_symbol", - "nameLocation": "838:7:26", - "scope": 26095, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 25256, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "823:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "private" - }, - { - "id": 25261, - "nodeType": "VariableDeclaration", - "src": "898:43:26", - "constant": false, - "mutability": "mutable", - "name": "_owners", - "nameLocation": "934:7:26", - "scope": 26095, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 25260, - "keyType": { - "id": 25258, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "906:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "898:27:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 25259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "917:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "visibility": "private" - }, - { - "id": 25265, - "nodeType": "VariableDeclaration", - "src": "992:45:26", - "constant": false, - "mutability": "mutable", - "name": "_balances", - "nameLocation": "1028:9:26", - "scope": 26095, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 25264, - "keyType": { - "id": 25262, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1000:7:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "992:27:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 25263, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1011:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "visibility": "private" - }, - { - "id": 25269, - "nodeType": "VariableDeclaration", - "src": "1093:51:26", - "constant": false, - "mutability": "mutable", - "name": "_tokenApprovals", - "nameLocation": "1129:15:26", - "scope": 26095, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 25268, - "keyType": { - "id": 25266, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1101:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1093:27:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 25267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1112:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "visibility": "private" - }, - { - "id": 25275, - "nodeType": "VariableDeclaration", - "src": "1199:71:26", - "constant": false, - "mutability": "mutable", - "name": "_operatorApprovals", - "nameLocation": "1252:18:26", - "scope": 26095, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "typeName": { - "id": 25274, - "keyType": { - "id": 25270, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1207:7:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1199:44:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 25273, - "keyType": { - "id": 25271, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1226:7:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1218:24:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 25272, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1237:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - }, - "visibility": "private" - }, - { - "id": 25292, - "nodeType": "FunctionDefinition", - "src": "1390:113:26", - "body": { - "id": 25291, - "nodeType": "Block", - "src": "1446:57:26", - "statements": [ - { - "expression": { - "id": 25285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 25283, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25255, - "src": "1456:5:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25284, - "name": "name_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25278, - "src": "1464:5:26", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1456:13:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 25286, - "nodeType": "ExpressionStatement", - "src": "1456:13:26" - }, - { - "expression": { - "id": 25289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 25287, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25257, - "src": "1479:7:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25288, - "name": "symbol_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25280, - "src": "1489:7:26", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1479:17:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 25290, - "nodeType": "ExpressionStatement", - "src": "1479:17:26" - } - ] - }, - "documentation": { - "id": 25276, - "nodeType": "StructuredDocumentation", - "src": "1277:108:26", - "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": 25281, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25278, - "mutability": "mutable", - "name": "name_", - "nameLocation": "1416:5:26", - "nodeType": "VariableDeclaration", - "scope": 25292, - "src": "1402:19:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25277, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1402:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25280, - "mutability": "mutable", - "name": "symbol_", - "nameLocation": "1437:7:26", - "nodeType": "VariableDeclaration", - "scope": 25292, - "src": "1423:21:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25279, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1423:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1401:44:26" - }, - "returnParameters": { - "id": 25282, - "nodeType": "ParameterList", - "parameters": [], - "src": "1446:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 25323, - "nodeType": "FunctionDefinition", - "src": "1570:300:26", - "body": { - "id": 25322, - "nodeType": "Block", - "src": "1678:192:26", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 25308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25303, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25295, - "src": "1707:11:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 25305, - "name": "IERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26211, - "src": "1727:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721_$26211_$", - "typeString": "type(contract IERC721)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IERC721_$26211_$", - "typeString": "type(contract IERC721)" - } - ], - "id": 25304, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "1722:4:26", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 25306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1722:13:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IERC721_$26211", - "typeString": "type(contract IERC721)" - } - }, - "id": 25307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1736:11:26", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "1722:25:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "1707:40:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 25314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25309, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25295, - "src": "1763:11:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 25311, - "name": "IERC721Metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26256, - "src": "1783:15:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Metadata_$26256_$", - "typeString": "type(contract IERC721Metadata)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IERC721Metadata_$26256_$", - "typeString": "type(contract IERC721Metadata)" - } - ], - "id": 25310, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "1778:4:26", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 25312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1778:21:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IERC721Metadata_$26256", - "typeString": "type(contract IERC721Metadata)" - } - }, - "id": 25313, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1800:11:26", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "1778:33:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "1763:48:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1707:104:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 25318, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25295, - "src": "1851:11:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 25316, - "name": "super", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -25, - "src": "1827:5:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_ERC721_$26095_$", - "typeString": "type(contract super ERC721)" - } - }, - "id": 25317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1833:17:26", - "memberName": "supportsInterface", - "nodeType": "MemberAccess", - "referencedDeclaration": 27718, - "src": "1827:23:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (bytes4) view returns (bool)" - } - }, - "id": 25319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1827:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "1707:156:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 25302, - "id": 25321, - "nodeType": "Return", - "src": "1688:175:26" - } - ] - }, - "baseFunctions": [ - 27718, - 27730 - ], - "documentation": { - "id": 25293, - "nodeType": "StructuredDocumentation", - "src": "1509:56:26", - "text": " @dev See {IERC165-supportsInterface}." - }, - "functionSelector": "01ffc9a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nameLocation": "1579:17:26", - "overrides": { - "id": 25299, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "id": 25297, - "name": "ERC165", - "nameLocations": [ - "1646:6:26" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27719, - "src": "1646:6:26" - }, - { - "id": 25298, - "name": "IERC165", - "nameLocations": [ - "1654:7:26" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27731, - "src": "1654:7:26" - } - ], - "src": "1637:25:26" - }, - "parameters": { - "id": 25296, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25295, - "mutability": "mutable", - "name": "interfaceId", - "nameLocation": "1604:11:26", - "nodeType": "VariableDeclaration", - "scope": 25323, - "src": "1597:18:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 25294, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1597:6:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "1596:20:26" - }, - "returnParameters": { - "id": 25302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25301, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25323, - "src": "1672:4:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25300, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1672:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1671:6:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25347, - "nodeType": "FunctionDefinition", - "src": "1929:205:26", - "body": { - "id": 25346, - "nodeType": "Block", - "src": "2010:124:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25333, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25326, - "src": "2028:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25336, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2045:1:26", - "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": 25335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2037:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25334, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2037:7:26", - "typeDescriptions": {} - } - }, - "id": 25337, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2037:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2028:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 25339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2049:44:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", - "typeString": "literal_string \"ERC721: balance query for the zero address\"" - }, - "value": "ERC721: balance query for the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", - "typeString": "literal_string \"ERC721: balance query for the zero address\"" - } - ], - "id": 25332, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2020:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2020:74:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25341, - "nodeType": "ExpressionStatement", - "src": "2020:74:26" - }, - { - "expression": { - "baseExpression": { - "id": 25342, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25265, - "src": "2111:9:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 25344, - "indexExpression": { - "id": 25343, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25326, - "src": "2121:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2111:16:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 25331, - "id": 25345, - "nodeType": "Return", - "src": "2104:23:26" - } - ] - }, - "baseFunctions": [ - 26136 - ], - "documentation": { - "id": 25324, - "nodeType": "StructuredDocumentation", - "src": "1876:48:26", - "text": " @dev See {IERC721-balanceOf}." - }, - "functionSelector": "70a08231", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nameLocation": "1938:9:26", - "overrides": { - "id": 25328, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1983:8:26" - }, - "parameters": { - "id": 25327, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25326, - "mutability": "mutable", - "name": "owner", - "nameLocation": "1956:5:26", - "nodeType": "VariableDeclaration", - "scope": 25347, - "src": "1948:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25325, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1948:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1947:15:26" - }, - "returnParameters": { - "id": 25331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25330, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25347, - "src": "2001:7:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25329, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2001:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2000:9:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25375, - "nodeType": "FunctionDefinition", - "src": "2191:235:26", - "body": { - "id": 25374, - "nodeType": "Block", - "src": "2272:154:26", - "statements": [ - { - "assignments": [ - 25357 - ], - "declarations": [ - { - "constant": false, - "id": 25357, - "mutability": "mutable", - "name": "owner", - "nameLocation": "2290:5:26", - "nodeType": "VariableDeclaration", - "scope": 25374, - "src": "2282:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25356, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2282:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 25361, - "initialValue": { - "baseExpression": { - "id": 25358, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25261, - "src": "2298:7:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 25360, - "indexExpression": { - "id": 25359, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25350, - "src": "2306:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2298:16:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2282:32:26" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25363, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25357, - "src": "2332:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25366, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2349:1:26", - "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": 25365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2341:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25364, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2341:7:26", - "typeDescriptions": {} - } - }, - "id": 25367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2341:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2332:19:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 25369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2353:43:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", - "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" - }, - "value": "ERC721: owner query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", - "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" - } - ], - "id": 25362, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2324:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2324:73:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25371, - "nodeType": "ExpressionStatement", - "src": "2324:73:26" - }, - { - "expression": { - "id": 25372, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25357, - "src": "2414:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 25355, - "id": 25373, - "nodeType": "Return", - "src": "2407:12:26" - } - ] - }, - "baseFunctions": [ - 26144 - ], - "documentation": { - "id": 25348, - "nodeType": "StructuredDocumentation", - "src": "2140:46:26", - "text": " @dev See {IERC721-ownerOf}." - }, - "functionSelector": "6352211e", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nameLocation": "2200:7:26", - "overrides": { - "id": 25352, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2245:8:26" - }, - "parameters": { - "id": 25351, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25350, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2216:7:26", - "nodeType": "VariableDeclaration", - "scope": 25375, - "src": "2208:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25349, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2208:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2207:17:26" - }, - "returnParameters": { - "id": 25355, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25354, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25375, - "src": "2263:7:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25353, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2263:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2262:9:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25385, - "nodeType": "FunctionDefinition", - "src": "2488:98:26", - "body": { - "id": 25384, - "nodeType": "Block", - "src": "2557:29:26", - "statements": [ - { - "expression": { - "id": 25382, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25255, - "src": "2574:5:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 25381, - "id": 25383, - "nodeType": "Return", - "src": "2567:12:26" - } - ] - }, - "baseFunctions": [ - 26241 - ], - "documentation": { - "id": 25376, - "nodeType": "StructuredDocumentation", - "src": "2432:51:26", - "text": " @dev See {IERC721Metadata-name}." - }, - "functionSelector": "06fdde03", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "name", - "nameLocation": "2497:4:26", - "overrides": { - "id": 25378, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2524:8:26" - }, - "parameters": { - "id": 25377, - "nodeType": "ParameterList", - "parameters": [], - "src": "2501:2:26" - }, - "returnParameters": { - "id": 25381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25380, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25385, - "src": "2542:13:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25379, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2542:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2541:15:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25395, - "nodeType": "FunctionDefinition", - "src": "2650:102:26", - "body": { - "id": 25394, - "nodeType": "Block", - "src": "2721:31:26", - "statements": [ - { - "expression": { - "id": 25392, - "name": "_symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25257, - "src": "2738:7:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "functionReturnParameters": 25391, - "id": 25393, - "nodeType": "Return", - "src": "2731:14:26" - } - ] - }, - "baseFunctions": [ - 26247 - ], - "documentation": { - "id": 25386, - "nodeType": "StructuredDocumentation", - "src": "2592:53:26", - "text": " @dev See {IERC721Metadata-symbol}." - }, - "functionSelector": "95d89b41", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nameLocation": "2659:6:26", - "overrides": { - "id": 25388, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2688:8:26" - }, - "parameters": { - "id": 25387, - "nodeType": "ParameterList", - "parameters": [], - "src": "2665:2:26" - }, - "returnParameters": { - "id": 25391, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25390, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25395, - "src": "2706:13:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25389, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2706:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2705:15:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25437, - "nodeType": "FunctionDefinition", - "src": "2818:329:26", - "body": { - "id": 25436, - "nodeType": "Block", - "src": "2906:241:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 25406, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25398, - "src": "2932:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25405, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25668, - "src": "2924:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 25407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2924:16:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 25408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2942:49:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", - "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" - }, - "value": "ERC721Metadata: URI query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", - "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" - } - ], - "id": 25404, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2916:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2916:76:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25410, - "nodeType": "ExpressionStatement", - "src": "2916:76:26" - }, - { - "assignments": [ - 25412 - ], - "declarations": [ - { - "constant": false, - "id": 25412, - "mutability": "mutable", - "name": "baseURI", - "nameLocation": "3017:7:26", - "nodeType": "VariableDeclaration", - "scope": 25436, - "src": "3003:21:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25411, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3003:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 25415, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25413, - "name": "_baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25446, - "src": "3027:8:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view returns (string memory)" - } - }, - "id": 25414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3027:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3003:34:26" - }, - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 25422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 25418, - "name": "baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25412, - "src": "3060:7:26", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 25417, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3054:5:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 25416, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3054:5:26", - "typeDescriptions": {} - } - }, - "id": 25419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3054:14:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 25420, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3069:6:26", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "3054:21:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 25421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3078:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3054:25:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "", - "id": 25433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3138:2:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "id": 25434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "3054:86:26", - "trueExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 25427, - "name": "baseURI", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25412, - "src": "3106:7:26", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 25428, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25398, - "src": "3115:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 25429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3123:8:26", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27016, - "src": "3115:16:26", - "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": 25430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3115:18:26", - "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": 25425, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3089:3:26", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 25426, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3093:12:26", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "3089:16:26", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 25431, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3089:45:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 25424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3082:6:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 25423, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3082:6:26", - "typeDescriptions": {} - } - }, - "id": 25432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3082:53:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 25403, - "id": 25435, - "nodeType": "Return", - "src": "3047:93:26" - } - ] - }, - "baseFunctions": [ - 26255 - ], - "documentation": { - "id": 25396, - "nodeType": "StructuredDocumentation", - "src": "2758:55:26", - "text": " @dev See {IERC721Metadata-tokenURI}." - }, - "functionSelector": "c87b56dd", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nameLocation": "2827:8:26", - "overrides": { - "id": 25400, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2873:8:26" - }, - "parameters": { - "id": 25399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25398, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2844:7:26", - "nodeType": "VariableDeclaration", - "scope": 25437, - "src": "2836:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2836:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2835:17:26" - }, - "returnParameters": { - "id": 25403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25402, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25437, - "src": "2891:13:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25401, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2891:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2890:15:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25446, - "nodeType": "FunctionDefinition", - "src": "3388:92:26", - "body": { - "id": 25445, - "nodeType": "Block", - "src": "3454:26:26", - "statements": [ - { - "expression": { - "hexValue": "", - "id": 25443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3471:2:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "functionReturnParameters": 25442, - "id": 25444, - "nodeType": "Return", - "src": "3464:9:26" - } - ] - }, - "documentation": { - "id": 25438, - "nodeType": "StructuredDocumentation", - "src": "3153:230:26", - "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 overriden in child contracts." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_baseURI", - "nameLocation": "3397:8:26", - "parameters": { - "id": 25439, - "nodeType": "ParameterList", - "parameters": [], - "src": "3405:2:26" - }, - "returnParameters": { - "id": 25442, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25441, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25446, - "src": "3439:13:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25440, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3439:6:26", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3438:15:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25489, - "nodeType": "FunctionDefinition", - "src": "3537:401:26", - "body": { - "id": 25488, - "nodeType": "Block", - "src": "3607:331:26", - "statements": [ - { - "assignments": [ - 25456 - ], - "declarations": [ - { - "constant": false, - "id": 25456, - "mutability": "mutable", - "name": "owner", - "nameLocation": "3625:5:26", - "nodeType": "VariableDeclaration", - "scope": 25488, - "src": "3617:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25455, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3617:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 25461, - "initialValue": { - "arguments": [ - { - "id": 25459, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25451, - "src": "3648:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25457, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26095, - "src": "3633:6:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26095_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 25458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3640:7:26", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25375, - "src": "3633:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 25460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3633:23:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3617:39:26" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25463, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25449, - "src": "3674:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 25464, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25456, - "src": "3680:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3674:11:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 25466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3687:35:26", - "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": 25462, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3666:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3666:57:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25468, - "nodeType": "ExpressionStatement", - "src": "3666:57:26" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25470, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "3755:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3755:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 25472, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25456, - "src": "3771:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3755:21:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 25475, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25456, - "src": "3797:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25476, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "3804:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3804:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25474, - "name": "isApprovedForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25545, - "src": "3780:16:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", - "typeString": "function (address,address) view returns (bool)" - } - }, - "id": 25478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3780:37:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3755:62:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 25480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3831:58:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", - "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" - }, - "value": "ERC721: approve caller is not owner nor approved for all" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", - "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" - } - ], - "id": 25469, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3734:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25481, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3734:165:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25482, - "nodeType": "ExpressionStatement", - "src": "3734:165:26" - }, - { - "expression": { - "arguments": [ - { - "id": 25484, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25449, - "src": "3919:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25485, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25451, - "src": "3923:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25483, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25978, - "src": "3910:8:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 25486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3910:21:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25487, - "nodeType": "ExpressionStatement", - "src": "3910:21:26" - } - ] - }, - "baseFunctions": [ - 26172 - ], - "documentation": { - "id": 25447, - "nodeType": "StructuredDocumentation", - "src": "3486:46:26", - "text": " @dev See {IERC721-approve}." - }, - "functionSelector": "095ea7b3", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nameLocation": "3546:7:26", - "overrides": { - "id": 25453, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3598:8:26" - }, - "parameters": { - "id": 25452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25449, - "mutability": "mutable", - "name": "to", - "nameLocation": "3562:2:26", - "nodeType": "VariableDeclaration", - "scope": 25489, - "src": "3554:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3554:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25451, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "3574:7:26", - "nodeType": "VariableDeclaration", - "scope": 25489, - "src": "3566:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25450, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3566:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3553:29:26" - }, - "returnParameters": { - "id": 25454, - "nodeType": "ParameterList", - "parameters": [], - "src": "3607:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25510, - "nodeType": "FunctionDefinition", - "src": "3999:217:26", - "body": { - "id": 25509, - "nodeType": "Block", - "src": "4084:132:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 25500, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25492, - "src": "4110:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25499, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25668, - "src": "4102:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 25501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4102:16:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 25502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4120:46:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", - "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" - }, - "value": "ERC721: approved query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", - "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" - } - ], - "id": 25498, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4094:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4094:73:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25504, - "nodeType": "ExpressionStatement", - "src": "4094:73:26" - }, - { - "expression": { - "baseExpression": { - "id": 25505, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25269, - "src": "4185:15:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 25507, - "indexExpression": { - "id": 25506, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25492, - "src": "4201:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4185:24:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 25497, - "id": 25508, - "nodeType": "Return", - "src": "4178:31:26" - } - ] - }, - "baseFunctions": [ - 26180 - ], - "documentation": { - "id": 25490, - "nodeType": "StructuredDocumentation", - "src": "3944:50:26", - "text": " @dev See {IERC721-getApproved}." - }, - "functionSelector": "081812fc", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nameLocation": "4008:11:26", - "overrides": { - "id": 25494, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4057:8:26" - }, - "parameters": { - "id": 25493, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25492, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4028:7:26", - "nodeType": "VariableDeclaration", - "scope": 25510, - "src": "4020:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25491, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4020:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4019:17:26" - }, - "returnParameters": { - "id": 25497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25496, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25510, - "src": "4075:7:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25495, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4075:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4074:9:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25527, - "nodeType": "FunctionDefinition", - "src": "4283:153:26", - "body": { - "id": 25526, - "nodeType": "Block", - "src": "4367:69:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25520, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "4396:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4396:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25522, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25513, - "src": "4410:8:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25523, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25515, - "src": "4420:8:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 25519, - "name": "_setApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26010, - "src": "4377:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 25524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4377:52:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25525, - "nodeType": "ExpressionStatement", - "src": "4377:52:26" - } - ] - }, - "baseFunctions": [ - 26188 - ], - "documentation": { - "id": 25511, - "nodeType": "StructuredDocumentation", - "src": "4222:56:26", - "text": " @dev See {IERC721-setApprovalForAll}." - }, - "functionSelector": "a22cb465", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nameLocation": "4292:17:26", - "overrides": { - "id": 25517, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4358:8:26" - }, - "parameters": { - "id": 25516, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25513, - "mutability": "mutable", - "name": "operator", - "nameLocation": "4318:8:26", - "nodeType": "VariableDeclaration", - "scope": 25527, - "src": "4310:16:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25512, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4310:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25515, - "mutability": "mutable", - "name": "approved", - "nameLocation": "4333:8:26", - "nodeType": "VariableDeclaration", - "scope": 25527, - "src": "4328:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25514, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4328:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4309:33:26" - }, - "returnParameters": { - "id": 25518, - "nodeType": "ParameterList", - "parameters": [], - "src": "4367:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25545, - "nodeType": "FunctionDefinition", - "src": "4502:162:26", - "body": { - "id": 25544, - "nodeType": "Block", - "src": "4605:59:26", - "statements": [ - { - "expression": { - "baseExpression": { - "baseExpression": { - "id": 25538, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25275, - "src": "4622:18:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 25540, - "indexExpression": { - "id": 25539, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25530, - "src": "4641:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4622:25:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 25542, - "indexExpression": { - "id": 25541, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25532, - "src": "4648:8:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4622:35:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 25537, - "id": 25543, - "nodeType": "Return", - "src": "4615:42:26" - } - ] - }, - "baseFunctions": [ - 26198 - ], - "documentation": { - "id": 25528, - "nodeType": "StructuredDocumentation", - "src": "4442:55:26", - "text": " @dev See {IERC721-isApprovedForAll}." - }, - "functionSelector": "e985e9c5", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nameLocation": "4511:16:26", - "overrides": { - "id": 25534, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4581:8:26" - }, - "parameters": { - "id": 25533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25530, - "mutability": "mutable", - "name": "owner", - "nameLocation": "4536:5:26", - "nodeType": "VariableDeclaration", - "scope": 25545, - "src": "4528:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25529, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4528:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25532, - "mutability": "mutable", - "name": "operator", - "nameLocation": "4551:8:26", - "nodeType": "VariableDeclaration", - "scope": 25545, - "src": "4543:16:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25531, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4543:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4527:33:26" - }, - "returnParameters": { - "id": 25537, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25536, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25545, - "src": "4599:4:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25535, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4599:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4598:6:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25572, - "nodeType": "FunctionDefinition", - "src": "4726:330:26", - "body": { - "id": 25571, - "nodeType": "Block", - "src": "4845:211:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25558, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "4934:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25559, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4934:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25560, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25552, - "src": "4948:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25557, - "name": "_isApprovedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25709, - "src": "4915:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) view returns (bool)" - } - }, - "id": 25561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4915:41:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 25562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4958:51:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - }, - "value": "ERC721: transfer caller is not owner nor approved" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - } - ], - "id": 25556, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4907:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25563, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4907:103:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25564, - "nodeType": "ExpressionStatement", - "src": "4907:103:26" - }, - { - "expression": { - "arguments": [ - { - "id": 25566, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25548, - "src": "5031:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25567, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25550, - "src": "5037:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25568, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25552, - "src": "5041:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25565, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25954, - "src": "5021:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5021:28:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25570, - "nodeType": "ExpressionStatement", - "src": "5021:28:26" - } - ] - }, - "baseFunctions": [ - 26164 - ], - "documentation": { - "id": 25546, - "nodeType": "StructuredDocumentation", - "src": "4670:51:26", - "text": " @dev See {IERC721-transferFrom}." - }, - "functionSelector": "23b872dd", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nameLocation": "4735:12:26", - "overrides": { - "id": 25554, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4836:8:26" - }, - "parameters": { - "id": 25553, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25548, - "mutability": "mutable", - "name": "from", - "nameLocation": "4765:4:26", - "nodeType": "VariableDeclaration", - "scope": 25572, - "src": "4757:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25547, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4757:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25550, - "mutability": "mutable", - "name": "to", - "nameLocation": "4787:2:26", - "nodeType": "VariableDeclaration", - "scope": 25572, - "src": "4779:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25549, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4779:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25552, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4807:7:26", - "nodeType": "VariableDeclaration", - "scope": 25572, - "src": "4799:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25551, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4799:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4747:73:26" - }, - "returnParameters": { - "id": 25555, - "nodeType": "ParameterList", - "parameters": [], - "src": "4845:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25591, - "nodeType": "FunctionDefinition", - "src": "5122:179:26", - "body": { - "id": 25590, - "nodeType": "Block", - "src": "5245:56:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25584, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25575, - "src": "5272:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25585, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25577, - "src": "5278:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25586, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25579, - "src": "5282:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "", - "id": 25587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5291:2:26", - "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": 25583, - "name": "safeTransferFrom", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 25591, - 25621 - ], - "referencedDeclaration": 25621, - "src": "5255:16:26", - "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": 25588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5255:39:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25589, - "nodeType": "ExpressionStatement", - "src": "5255:39:26" - } - ] - }, - "baseFunctions": [ - 26154 - ], - "documentation": { - "id": 25573, - "nodeType": "StructuredDocumentation", - "src": "5062:55:26", - "text": " @dev See {IERC721-safeTransferFrom}." - }, - "functionSelector": "42842e0e", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nameLocation": "5131:16:26", - "overrides": { - "id": 25581, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5236:8:26" - }, - "parameters": { - "id": 25580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25575, - "mutability": "mutable", - "name": "from", - "nameLocation": "5165:4:26", - "nodeType": "VariableDeclaration", - "scope": 25591, - "src": "5157:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5157:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25577, - "mutability": "mutable", - "name": "to", - "nameLocation": "5187:2:26", - "nodeType": "VariableDeclaration", - "scope": 25591, - "src": "5179:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25576, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5179:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25579, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "5207:7:26", - "nodeType": "VariableDeclaration", - "scope": 25591, - "src": "5199:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25578, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5199:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5147:73:26" - }, - "returnParameters": { - "id": 25582, - "nodeType": "ParameterList", - "parameters": [], - "src": "5245:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25621, - "nodeType": "FunctionDefinition", - "src": "5367:320:26", - "body": { - "id": 25620, - "nodeType": "Block", - "src": "5518:169:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25606, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "5555:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 25607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5555:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25608, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25598, - "src": "5569:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25605, - "name": "_isApprovedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25709, - "src": "5536:18:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) view returns (bool)" - } - }, - "id": 25609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5536:41:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 25610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5579:51:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - }, - "value": "ERC721: transfer caller is not owner nor approved" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", - "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" - } - ], - "id": 25604, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5528:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25611, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5528:103:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25612, - "nodeType": "ExpressionStatement", - "src": "5528:103:26" - }, - { - "expression": { - "arguments": [ - { - "id": 25614, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25594, - "src": "5655:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25615, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25596, - "src": "5661:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25616, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25598, - "src": "5665:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25617, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25600, - "src": "5674:5:26", - "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": 25613, - "name": "_safeTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25650, - "src": "5641:13:26", - "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": 25618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5641:39:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25619, - "nodeType": "ExpressionStatement", - "src": "5641:39:26" - } - ] - }, - "baseFunctions": [ - 26210 - ], - "documentation": { - "id": 25592, - "nodeType": "StructuredDocumentation", - "src": "5307:55:26", - "text": " @dev See {IERC721-safeTransferFrom}." - }, - "functionSelector": "b88d4fde", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nameLocation": "5376:16:26", - "overrides": { - "id": 25602, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5509:8:26" - }, - "parameters": { - "id": 25601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25594, - "mutability": "mutable", - "name": "from", - "nameLocation": "5410:4:26", - "nodeType": "VariableDeclaration", - "scope": 25621, - "src": "5402:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25593, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5402:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25596, - "mutability": "mutable", - "name": "to", - "nameLocation": "5432:2:26", - "nodeType": "VariableDeclaration", - "scope": 25621, - "src": "5424:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25595, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5424:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25598, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "5452:7:26", - "nodeType": "VariableDeclaration", - "scope": 25621, - "src": "5444:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25597, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5444:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25600, - "mutability": "mutable", - "name": "_data", - "nameLocation": "5482:5:26", - "nodeType": "VariableDeclaration", - "scope": 25621, - "src": "5469:18:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 25599, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5469:5:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5392:101:26" - }, - "returnParameters": { - "id": 25603, - "nodeType": "ParameterList", - "parameters": [], - "src": "5518:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25650, - "nodeType": "FunctionDefinition", - "src": "6549:307:26", - "body": { - "id": 25649, - "nodeType": "Block", - "src": "6690:166:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25634, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25624, - "src": "6710:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25635, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25626, - "src": "6716:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25636, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25628, - "src": "6720:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25633, - "name": "_transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25954, - "src": "6700:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6700:28:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25638, - "nodeType": "ExpressionStatement", - "src": "6700:28:26" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 25641, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25624, - "src": "6769:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25642, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25626, - "src": "6775:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25643, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25628, - "src": "6779:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25644, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25630, - "src": "6788:5:26", - "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": 25640, - "name": "_checkOnERC721Received", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26072, - "src": "6746:22:26", - "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": 25645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6746:48:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 25646, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6796:52:26", - "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": 25639, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6738:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6738:111:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25648, - "nodeType": "ExpressionStatement", - "src": "6738:111:26" - } - ] - }, - "documentation": { - "id": 25622, - "nodeType": "StructuredDocumentation", - "src": "5693:851:26", - "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": "6558:13:26", - "parameters": { - "id": 25631, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25624, - "mutability": "mutable", - "name": "from", - "nameLocation": "6589:4:26", - "nodeType": "VariableDeclaration", - "scope": 25650, - "src": "6581:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25623, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6581:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25626, - "mutability": "mutable", - "name": "to", - "nameLocation": "6611:2:26", - "nodeType": "VariableDeclaration", - "scope": 25650, - "src": "6603:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25625, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6603:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25628, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "6631:7:26", - "nodeType": "VariableDeclaration", - "scope": 25650, - "src": "6623:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25627, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6623:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25630, - "mutability": "mutable", - "name": "_data", - "nameLocation": "6661:5:26", - "nodeType": "VariableDeclaration", - "scope": 25650, - "src": "6648:18:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 25629, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6648:5:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6571:101:26" - }, - "returnParameters": { - "id": 25632, - "nodeType": "ParameterList", - "parameters": [], - "src": "6690:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25668, - "nodeType": "FunctionDefinition", - "src": "7159:125:26", - "body": { - "id": 25667, - "nodeType": "Block", - "src": "7230:54:26", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 25658, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25261, - "src": "7247:7:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 25660, - "indexExpression": { - "id": 25659, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25653, - "src": "7255:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7247:16:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7275:1:26", - "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": 25662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7267:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25661, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7267:7:26", - "typeDescriptions": {} - } - }, - "id": 25664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7267:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7247:30:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 25657, - "id": 25666, - "nodeType": "Return", - "src": "7240:37:26" - } - ] - }, - "documentation": { - "id": 25651, - "nodeType": "StructuredDocumentation", - "src": "6862:292:26", - "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": "7168:7:26", - "parameters": { - "id": 25654, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25653, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "7184:7:26", - "nodeType": "VariableDeclaration", - "scope": 25668, - "src": "7176:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25652, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7176:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7175:17:26" - }, - "returnParameters": { - "id": 25657, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25656, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25668, - "src": "7224:4:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25655, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7224:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7223:6:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25709, - "nodeType": "FunctionDefinition", - "src": "7442:344:26", - "body": { - "id": 25708, - "nodeType": "Block", - "src": "7541:245:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 25680, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25673, - "src": "7567:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25679, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25668, - "src": "7559:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 25681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7559:16:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 25682, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7577:46:26", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", - "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" - }, - "value": "ERC721: operator query for nonexistent token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", - "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" - } - ], - "id": 25678, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7551:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7551:73:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25684, - "nodeType": "ExpressionStatement", - "src": "7551:73:26" - }, - { - "assignments": [ - 25686 - ], - "declarations": [ - { - "constant": false, - "id": 25686, - "mutability": "mutable", - "name": "owner", - "nameLocation": "7642:5:26", - "nodeType": "VariableDeclaration", - "scope": 25708, - "src": "7634:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25685, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7634:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 25691, - "initialValue": { - "arguments": [ - { - "id": 25689, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25673, - "src": "7665:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25687, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26095, - "src": "7650:6:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26095_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 25688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7657:7:26", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25375, - "src": "7650:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 25690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7650:23:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7634:39:26" - }, - { - "expression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25700, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25692, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25671, - "src": "7691:7:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 25693, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25686, - "src": "7702:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7691:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 25696, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25673, - "src": "7723:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25695, - "name": "getApproved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25510, - "src": "7711:11:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 25697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7711:20:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 25698, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25671, - "src": "7735:7:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7711:31:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "7691:51:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 25702, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25686, - "src": "7763:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25703, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25671, - "src": "7770:7:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25701, - "name": "isApprovedForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25545, - "src": "7746:16:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", - "typeString": "function (address,address) view returns (bool)" - } - }, - "id": 25704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7746:32:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "7691:87:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 25706, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7690:89:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 25677, - "id": 25707, - "nodeType": "Return", - "src": "7683:96:26" - } - ] - }, - "documentation": { - "id": 25669, - "nodeType": "StructuredDocumentation", - "src": "7290:147:26", - "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_isApprovedOrOwner", - "nameLocation": "7451:18:26", - "parameters": { - "id": 25674, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25671, - "mutability": "mutable", - "name": "spender", - "nameLocation": "7478:7:26", - "nodeType": "VariableDeclaration", - "scope": 25709, - "src": "7470:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25670, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7470:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25673, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "7495:7:26", - "nodeType": "VariableDeclaration", - "scope": 25709, - "src": "7487:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25672, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7487:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7469:34:26" - }, - "returnParameters": { - "id": 25677, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25676, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25709, - "src": "7535:4:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25675, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7535:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7534:6:26" - }, - "scope": 26095, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25724, - "nodeType": "FunctionDefinition", - "src": "8116:108:26", - "body": { - "id": 25723, - "nodeType": "Block", - "src": "8181:43:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25718, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25712, - "src": "8201:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25719, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25714, - "src": "8205:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "", - "id": 25720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8214:2:26", - "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": 25717, - "name": "_safeMint", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 25724, - 25753 - ], - "referencedDeclaration": 25753, - "src": "8191:9:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,uint256,bytes memory)" - } - }, - "id": 25721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8191:26:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25722, - "nodeType": "ExpressionStatement", - "src": "8191:26:26" - } - ] - }, - "documentation": { - "id": 25710, - "nodeType": "StructuredDocumentation", - "src": "7792:319:26", - "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": "8125:9:26", - "parameters": { - "id": 25715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25712, - "mutability": "mutable", - "name": "to", - "nameLocation": "8143:2:26", - "nodeType": "VariableDeclaration", - "scope": 25724, - "src": "8135:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25711, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8135:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25714, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "8155:7:26", - "nodeType": "VariableDeclaration", - "scope": 25724, - "src": "8147:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25713, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8147:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8134:29:26" - }, - "returnParameters": { - "id": 25716, - "nodeType": "ParameterList", - "parameters": [], - "src": "8181:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25753, - "nodeType": "FunctionDefinition", - "src": "8445:311:26", - "body": { - "id": 25752, - "nodeType": "Block", - "src": "8560:196:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25735, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25727, - "src": "8576:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25736, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25729, - "src": "8580:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25734, - "name": "_mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25819, - "src": "8570:5:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 25737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8570:18:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25738, - "nodeType": "ExpressionStatement", - "src": "8570:18:26" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 25743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8650:1:26", - "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": 25742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8642:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25741, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8642:7:26", - "typeDescriptions": {} - } - }, - "id": 25744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8642:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25745, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25727, - "src": "8654:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25746, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25729, - "src": "8658:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25747, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25731, - "src": "8667:5:26", - "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": 25740, - "name": "_checkOnERC721Received", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26072, - "src": "8619:22:26", - "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": 25748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8619:54:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 25749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8687:52:26", - "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": 25739, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8598:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8598:151:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25751, - "nodeType": "ExpressionStatement", - "src": "8598:151:26" - } - ] - }, - "documentation": { - "id": 25725, - "nodeType": "StructuredDocumentation", - "src": "8230:210:26", - "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": "8454:9:26", - "parameters": { - "id": 25732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25727, - "mutability": "mutable", - "name": "to", - "nameLocation": "8481:2:26", - "nodeType": "VariableDeclaration", - "scope": 25753, - "src": "8473:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25726, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8473:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25729, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "8501:7:26", - "nodeType": "VariableDeclaration", - "scope": 25753, - "src": "8493:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25728, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8493:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25731, - "mutability": "mutable", - "name": "_data", - "nameLocation": "8531:5:26", - "nodeType": "VariableDeclaration", - "scope": 25753, - "src": "8518:18:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 25730, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8518:5:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8463:79:26" - }, - "returnParameters": { - "id": 25733, - "nodeType": "ParameterList", - "parameters": [], - "src": "8560:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25819, - "nodeType": "FunctionDefinition", - "src": "9078:427:26", - "body": { - "id": 25818, - "nodeType": "Block", - "src": "9139:366:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25762, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25756, - "src": "9157:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9171:1:26", - "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": 25764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9163:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25763, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9163:7:26", - "typeDescriptions": {} - } - }, - "id": 25766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9163:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9157:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 25768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9175:34:26", - "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": 25761, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9149:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9149:61:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25770, - "nodeType": "ExpressionStatement", - "src": "9149:61:26" - }, - { - "expression": { - "arguments": [ - { - "id": 25775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "9228:17:26", - "subExpression": { - "arguments": [ - { - "id": 25773, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25758, - "src": "9237:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25772, - "name": "_exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25668, - "src": "9229:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 25774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9229:16:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 25776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9247:30:26", - "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": 25771, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9220:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9220:58:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25778, - "nodeType": "ExpressionStatement", - "src": "9220:58:26" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 25782, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9318:1:26", - "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": 25781, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9310:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25780, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9310:7:26", - "typeDescriptions": {} - } - }, - "id": 25783, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9310:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25784, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25756, - "src": "9322:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25785, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25758, - "src": "9326:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25779, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26083, - "src": "9289:20:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9289:45:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25787, - "nodeType": "ExpressionStatement", - "src": "9289:45:26" - }, - { - "expression": { - "id": 25792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 25788, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25265, - "src": "9345:9:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 25790, - "indexExpression": { - "id": 25789, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25756, - "src": "9355:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9345:13:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 25791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9362:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "9345:18:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 25793, - "nodeType": "ExpressionStatement", - "src": "9345:18:26" - }, - { - "expression": { - "id": 25798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 25794, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25261, - "src": "9373:7:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 25796, - "indexExpression": { - "id": 25795, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25758, - "src": "9381:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9373:16:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25797, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25756, - "src": "9392:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9373:21:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 25799, - "nodeType": "ExpressionStatement", - "src": "9373:21:26" - }, - { - "eventCall": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 25803, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9427:1:26", - "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": 25802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9419:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25801, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9419:7:26", - "typeDescriptions": {} - } - }, - "id": 25804, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9419:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25805, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25756, - "src": "9431:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25806, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25758, - "src": "9435:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25800, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26110, - "src": "9410:8:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9410:33:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25808, - "nodeType": "EmitStatement", - "src": "9405:38:26" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 25812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9482:1:26", - "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": 25811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9474:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25810, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9474:7:26", - "typeDescriptions": {} - } - }, - "id": 25813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9474:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25814, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25756, - "src": "9486:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25815, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25758, - "src": "9490:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25809, - "name": "_afterTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26094, - "src": "9454:19:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9454:44:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25817, - "nodeType": "ExpressionStatement", - "src": "9454:44:26" - } - ] - }, - "documentation": { - "id": 25754, - "nodeType": "StructuredDocumentation", - "src": "8762:311:26", - "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": "9087:5:26", - "parameters": { - "id": 25759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25756, - "mutability": "mutable", - "name": "to", - "nameLocation": "9101:2:26", - "nodeType": "VariableDeclaration", - "scope": 25819, - "src": "9093:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25755, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9093:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25758, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "9113:7:26", - "nodeType": "VariableDeclaration", - "scope": 25819, - "src": "9105:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25757, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9105:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9092:29:26" - }, - "returnParameters": { - "id": 25760, - "nodeType": "ParameterList", - "parameters": [], - "src": "9139:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25879, - "nodeType": "FunctionDefinition", - "src": "9722:406:26", - "body": { - "id": 25878, - "nodeType": "Block", - "src": "9771:357:26", - "statements": [ - { - "assignments": [ - 25826 - ], - "declarations": [ - { - "constant": false, - "id": 25826, - "mutability": "mutable", - "name": "owner", - "nameLocation": "9789:5:26", - "nodeType": "VariableDeclaration", - "scope": 25878, - "src": "9781:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25825, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9781:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 25831, - "initialValue": { - "arguments": [ - { - "id": 25829, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25822, - "src": "9812:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25827, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26095, - "src": "9797:6:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26095_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 25828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9804:7:26", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25375, - "src": "9797:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 25830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9797:23:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9781:39:26" - }, - { - "expression": { - "arguments": [ - { - "id": 25833, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25826, - "src": "9852:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 25836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9867:1:26", - "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": 25835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9859:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25834, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9859:7:26", - "typeDescriptions": {} - } - }, - "id": 25837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9859:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25838, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25822, - "src": "9871:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25832, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26083, - "src": "9831:20:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9831:48:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25840, - "nodeType": "ExpressionStatement", - "src": "9831:48:26" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 25844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9934:1:26", - "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": 25843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9926:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25842, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9926:7:26", - "typeDescriptions": {} - } - }, - "id": 25845, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9926:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25846, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25822, - "src": "9938:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25841, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25978, - "src": "9917:8:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 25847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9917:29:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25848, - "nodeType": "ExpressionStatement", - "src": "9917:29:26" - }, - { - "expression": { - "id": 25853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 25849, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25265, - "src": "9957:9:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 25851, - "indexExpression": { - "id": 25850, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25826, - "src": "9967:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9957:16:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "hexValue": "31", - "id": 25852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9977:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "9957:21:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 25854, - "nodeType": "ExpressionStatement", - "src": "9957:21:26" - }, - { - "expression": { - "id": 25858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "9988:23:26", - "subExpression": { - "baseExpression": { - "id": 25855, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25261, - "src": "9995:7:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 25857, - "indexExpression": { - "id": 25856, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25822, - "src": "10003:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9995:16:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25859, - "nodeType": "ExpressionStatement", - "src": "9988:23:26" - }, - { - "eventCall": { - "arguments": [ - { - "id": 25861, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25826, - "src": "10036:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 25864, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10051:1:26", - "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": 25863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10043:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25862, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10043:7:26", - "typeDescriptions": {} - } - }, - "id": 25865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10043:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25866, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25822, - "src": "10055:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25860, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26110, - "src": "10027:8:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10027:36:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25868, - "nodeType": "EmitStatement", - "src": "10022:41:26" - }, - { - "expression": { - "arguments": [ - { - "id": 25870, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25826, - "src": "10094:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 25873, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10109:1:26", - "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": 25872, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10101:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25871, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10101:7:26", - "typeDescriptions": {} - } - }, - "id": 25874, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10101:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25875, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25822, - "src": "10113:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25869, - "name": "_afterTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26094, - "src": "10074:19:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10074:47:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25877, - "nodeType": "ExpressionStatement", - "src": "10074:47:26" - } - ] - }, - "documentation": { - "id": 25820, - "nodeType": "StructuredDocumentation", - "src": "9511:206:26", - "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_burn", - "nameLocation": "9731:5:26", - "parameters": { - "id": 25823, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25822, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "9745:7:26", - "nodeType": "VariableDeclaration", - "scope": 25879, - "src": "9737:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25821, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9737:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9736:17:26" - }, - "returnParameters": { - "id": 25824, - "nodeType": "ParameterList", - "parameters": [], - "src": "9771:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25954, - "nodeType": "FunctionDefinition", - "src": "10452:605:26", - "body": { - "id": 25953, - "nodeType": "Block", - "src": "10561:496:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 25892, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25886, - "src": "10594:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25890, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26095, - "src": "10579:6:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26095_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 25891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10586:7:26", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25375, - "src": "10579:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 25893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10579:23:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 25894, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25882, - "src": "10606:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10579:31:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e736665722066726f6d20696e636f7272656374206f776e6572", - "id": 25896, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10612:39:26", - "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": 25889, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10571:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10571:81:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25898, - "nodeType": "ExpressionStatement", - "src": "10571:81:26" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25900, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25884, - "src": "10670:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10684:1:26", - "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": 25902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10676:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25901, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10676:7:26", - "typeDescriptions": {} - } - }, - "id": 25904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10676:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10670:16:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 25906, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10688:38:26", - "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": 25899, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10662:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10662:65:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25908, - "nodeType": "ExpressionStatement", - "src": "10662:65:26" - }, - { - "expression": { - "arguments": [ - { - "id": 25910, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25882, - "src": "10759:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25911, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25884, - "src": "10765:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25912, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25886, - "src": "10769:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25909, - "name": "_beforeTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26083, - "src": "10738:20:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10738:39:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25914, - "nodeType": "ExpressionStatement", - "src": "10738:39:26" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 25918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10856:1:26", - "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": 25917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10848:7:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25916, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10848:7:26", - "typeDescriptions": {} - } - }, - "id": 25919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10848:10:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25920, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25886, - "src": "10860:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25915, - "name": "_approve", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25978, - "src": "10839:8:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 25921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10839:29:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25922, - "nodeType": "ExpressionStatement", - "src": "10839:29:26" - }, - { - "expression": { - "id": 25927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 25923, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25265, - "src": "10879:9:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 25925, - "indexExpression": { - "id": 25924, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25882, - "src": "10889:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10879:15:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "hexValue": "31", - "id": 25926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10898:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10879:20:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 25928, - "nodeType": "ExpressionStatement", - "src": "10879:20:26" - }, - { - "expression": { - "id": 25933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 25929, - "name": "_balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25265, - "src": "10909:9:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 25931, - "indexExpression": { - "id": 25930, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25884, - "src": "10919:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10909:13:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "hexValue": "31", - "id": 25932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10926:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "10909:18:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 25934, - "nodeType": "ExpressionStatement", - "src": "10909:18:26" - }, - { - "expression": { - "id": 25939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 25935, - "name": "_owners", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25261, - "src": "10937:7:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 25937, - "indexExpression": { - "id": 25936, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25886, - "src": "10945:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10937:16:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25938, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25884, - "src": "10956:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10937:21:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 25940, - "nodeType": "ExpressionStatement", - "src": "10937:21:26" - }, - { - "eventCall": { - "arguments": [ - { - "id": 25942, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25882, - "src": "10983:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25943, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25884, - "src": "10989:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25944, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25886, - "src": "10993:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25941, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26110, - "src": "10974:8:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10974:27:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25946, - "nodeType": "EmitStatement", - "src": "10969:32:26" - }, - { - "expression": { - "arguments": [ - { - "id": 25948, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25882, - "src": "11032:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25949, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25884, - "src": "11038:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25950, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25886, - "src": "11042:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25947, - "name": "_afterTokenTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26094, - "src": "11012:19:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11012:38:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25952, - "nodeType": "ExpressionStatement", - "src": "11012:38:26" - } - ] - }, - "documentation": { - "id": 25880, - "nodeType": "StructuredDocumentation", - "src": "10134:313:26", - "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": "10461:9:26", - "parameters": { - "id": 25887, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25882, - "mutability": "mutable", - "name": "from", - "nameLocation": "10488:4:26", - "nodeType": "VariableDeclaration", - "scope": 25954, - "src": "10480:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25881, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10480:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25884, - "mutability": "mutable", - "name": "to", - "nameLocation": "10510:2:26", - "nodeType": "VariableDeclaration", - "scope": 25954, - "src": "10502:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25883, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10502:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25886, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "10530:7:26", - "nodeType": "VariableDeclaration", - "scope": 25954, - "src": "10522:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25885, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10522:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10470:73:26" - }, - "returnParameters": { - "id": 25888, - "nodeType": "ParameterList", - "parameters": [], - "src": "10561:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25978, - "nodeType": "FunctionDefinition", - "src": "11168:171:26", - "body": { - "id": 25977, - "nodeType": "Block", - "src": "11232:107:26", - "statements": [ - { - "expression": { - "id": 25966, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 25962, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25269, - "src": "11242:15:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 25964, - "indexExpression": { - "id": 25963, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25959, - "src": "11258:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11242:24:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25965, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25957, - "src": "11269:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11242:29:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 25967, - "nodeType": "ExpressionStatement", - "src": "11242:29:26" - }, - { - "eventCall": { - "arguments": [ - { - "arguments": [ - { - "id": 25971, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25959, - "src": "11310:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25969, - "name": "ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26095, - "src": "11295:6:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$26095_$", - "typeString": "type(contract ERC721)" - } - }, - "id": 25970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11302:7:26", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 25375, - "src": "11295:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 25972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11295:23:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25973, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25957, - "src": "11320:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25974, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25959, - "src": "11324:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25968, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26119, - "src": "11286:8:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11286:46:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25976, - "nodeType": "EmitStatement", - "src": "11281:51:26" - } - ] - }, - "documentation": { - "id": 25955, - "nodeType": "StructuredDocumentation", - "src": "11063:100:26", - "text": " @dev Approve `to` to operate on `tokenId`\n Emits a {Approval} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_approve", - "nameLocation": "11177:8:26", - "parameters": { - "id": 25960, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25957, - "mutability": "mutable", - "name": "to", - "nameLocation": "11194:2:26", - "nodeType": "VariableDeclaration", - "scope": 25978, - "src": "11186:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25956, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11186:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25959, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "11206:7:26", - "nodeType": "VariableDeclaration", - "scope": 25978, - "src": "11198:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25958, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11198:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11185:29:26" - }, - "returnParameters": { - "id": 25961, - "nodeType": "ParameterList", - "parameters": [], - "src": "11232:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26010, - "nodeType": "FunctionDefinition", - "src": "11474:307:26", - "body": { - "id": 26009, - "nodeType": "Block", - "src": "11597:184:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25989, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25981, - "src": "11615:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 25990, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25983, - "src": "11624:8:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11615:17:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 25992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11634:27:26", - "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": 25988, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11607:7:26", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 25993, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11607:55:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25994, - "nodeType": "ExpressionStatement", - "src": "11607:55:26" - }, - { - "expression": { - "id": 26001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "id": 25995, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25275, - "src": "11672:18:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 25998, - "indexExpression": { - "id": 25996, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25981, - "src": "11691:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11672:25:26", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 25999, - "indexExpression": { - "id": 25997, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25983, - "src": "11698:8:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11672:35:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 26000, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25985, - "src": "11710:8:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "11672:46:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 26002, - "nodeType": "ExpressionStatement", - "src": "11672:46:26" - }, - { - "eventCall": { - "arguments": [ - { - "id": 26004, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25981, - "src": "11748:5:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26005, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25983, - "src": "11755:8:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26006, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25985, - "src": "11765:8:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 26003, - "name": "ApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26128, - "src": "11733:14:26", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 26007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11733:41:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26008, - "nodeType": "EmitStatement", - "src": "11728:46:26" - } - ] - }, - "documentation": { - "id": 25979, - "nodeType": "StructuredDocumentation", - "src": "11345:124:26", - "text": " @dev Approve `operator` to operate on all of `owner` tokens\n Emits a {ApprovalForAll} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_setApprovalForAll", - "nameLocation": "11483:18:26", - "parameters": { - "id": 25986, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25981, - "mutability": "mutable", - "name": "owner", - "nameLocation": "11519:5:26", - "nodeType": "VariableDeclaration", - "scope": 26010, - "src": "11511:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11511:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25983, - "mutability": "mutable", - "name": "operator", - "nameLocation": "11542:8:26", - "nodeType": "VariableDeclaration", - "scope": 26010, - "src": "11534:16:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25982, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11534:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25985, - "mutability": "mutable", - "name": "approved", - "nameLocation": "11565:8:26", - "nodeType": "VariableDeclaration", - "scope": 26010, - "src": "11560:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 25984, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11560:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11501:78:26" - }, - "returnParameters": { - "id": 25987, - "nodeType": "ParameterList", - "parameters": [], - "src": "11597:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26072, - "nodeType": "FunctionDefinition", - "src": "12334:778:26", - "body": { - "id": 26071, - "nodeType": "Block", - "src": "12490:622:26", - "statements": [ - { - "condition": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 26024, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26015, - "src": "12504:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 26025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12507:10:26", - "memberName": "isContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 26324, - "src": "12504:13:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 26026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12504:15:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 26069, - "nodeType": "Block", - "src": "13070:36:26", - "statements": [ - { - "expression": { - "hexValue": "74727565", - "id": 26067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13091:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 26023, - "id": 26068, - "nodeType": "Return", - "src": "13084:11:26" - } - ] - }, - "id": 26070, - "nodeType": "IfStatement", - "src": "12500:606:26", - "trueBody": { - "id": 26066, - "nodeType": "Block", - "src": "12521:543:26", - "statements": [ - { - "clauses": [ - { - "block": { - "id": 26046, - "nodeType": "Block", - "src": "12636:91:26", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 26044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26040, - "name": "retval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26038, - "src": "12661:6:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "expression": { - "id": 26041, - "name": "IERC721Receiver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26229, - "src": "12671:15:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$26229_$", - "typeString": "type(contract IERC721Receiver)" - } - }, - "id": 26042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12687:16:26", - "memberName": "onERC721Received", - "nodeType": "MemberAccess", - "referencedDeclaration": 26228, - "src": "12671:32:26", - "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": 26043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12704:8:26", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "12671:41:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "12661:51:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 26023, - "id": 26045, - "nodeType": "Return", - "src": "12654:58:26" - } - ] - }, - "errorName": "", - "id": 26047, - "nodeType": "TryCatchClause", - "parameters": { - "id": 26039, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26038, - "mutability": "mutable", - "name": "retval", - "nameLocation": "12628:6:26", - "nodeType": "VariableDeclaration", - "scope": 26047, - "src": "12621:13:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 26037, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "12621:6:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "12620:15:26" - }, - "src": "12612:115:26" - }, - { - "block": { - "id": 26063, - "nodeType": "Block", - "src": "12756:298:26", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 26051, - "name": "reason", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26049, - "src": "12778:6:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 26052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12785:6:26", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "12778:13:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 26053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12795:1:26", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12778:18:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 26061, - "nodeType": "Block", - "src": "12905:135:26", - "statements": [ - { - "AST": { - "nodeType": "YulBlock", - "src": "12936:86:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "12973:2:26", - "type": "", - "value": "32" - }, - { - "name": "reason", - "nodeType": "YulIdentifier", - "src": "12977:6:26" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "12969:3:26" - }, - "nodeType": "YulFunctionCall", - "src": "12969:15:26" - }, - { - "arguments": [ - { - "name": "reason", - "nodeType": "YulIdentifier", - "src": "12992:6:26" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "12986:5:26" - }, - "nodeType": "YulFunctionCall", - "src": "12986:13:26" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "12962:6:26" - }, - "nodeType": "YulFunctionCall", - "src": "12962:38:26" - }, - "nodeType": "YulExpressionStatement", - "src": "12962:38:26" - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 26049, - "isOffset": false, - "isSlot": false, - "src": "12977:6:26", - "valueSize": 1 - }, - { - "declaration": 26049, - "isOffset": false, - "isSlot": false, - "src": "12992:6:26", - "valueSize": 1 - } - ], - "id": 26060, - "nodeType": "InlineAssembly", - "src": "12927:95:26" - } - ] - }, - "id": 26062, - "nodeType": "IfStatement", - "src": "12774:266:26", - "trueBody": { - "id": 26059, - "nodeType": "Block", - "src": "12798:101:26", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 26056, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12827:52:26", - "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": 26055, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "12820:6:26", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 26057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12820:60:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26058, - "nodeType": "ExpressionStatement", - "src": "12820:60:26" - } - ] - } - } - ] - }, - "errorName": "", - "id": 26064, - "nodeType": "TryCatchClause", - "parameters": { - "id": 26050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26049, - "mutability": "mutable", - "name": "reason", - "nameLocation": "12748:6:26", - "nodeType": "VariableDeclaration", - "scope": 26064, - "src": "12735:19:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26048, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12735:5:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "12734:21:26" - }, - "src": "12728:326:26" - } - ], - "externalCall": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 26031, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "12576:10:26", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 26032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12576:12:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26033, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26013, - "src": "12590:4:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26034, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26017, - "src": "12596:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 26035, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26019, - "src": "12605:5:26", - "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": 26028, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26015, - "src": "12555:2:26", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 26027, - "name": "IERC721Receiver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26229, - "src": "12539:15:26", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$26229_$", - "typeString": "type(contract IERC721Receiver)" - } - }, - "id": 26029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12539:19:26", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$26229", - "typeString": "contract IERC721Receiver" - } - }, - "id": 26030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12559:16:26", - "memberName": "onERC721Received", - "nodeType": "MemberAccess", - "referencedDeclaration": 26228, - "src": "12539:36:26", - "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": 26036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12539:72:26", - "tryCall": true, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 26065, - "nodeType": "TryStatement", - "src": "12535:519:26" - } - ] - } - } - ] - }, - "documentation": { - "id": 26011, - "nodeType": "StructuredDocumentation", - "src": "11787:542:26", - "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": "12343:22:26", - "parameters": { - "id": 26020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26013, - "mutability": "mutable", - "name": "from", - "nameLocation": "12383:4:26", - "nodeType": "VariableDeclaration", - "scope": 26072, - "src": "12375:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26012, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12375:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26015, - "mutability": "mutable", - "name": "to", - "nameLocation": "12405:2:26", - "nodeType": "VariableDeclaration", - "scope": 26072, - "src": "12397:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26014, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12397:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26017, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "12425:7:26", - "nodeType": "VariableDeclaration", - "scope": 26072, - "src": "12417:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26016, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12417:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26019, - "mutability": "mutable", - "name": "_data", - "nameLocation": "12455:5:26", - "nodeType": "VariableDeclaration", - "scope": 26072, - "src": "12442:18:26", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26018, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12442:5:26", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "12365:101:26" - }, - "returnParameters": { - "id": 26023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26022, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26072, - "src": "12484:4:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26021, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12484:4:26", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "12483:6:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 26083, - "nodeType": "FunctionDefinition", - "src": "13668:122:26", - "body": { - "id": 26082, - "nodeType": "Block", - "src": "13788:2:26", - "statements": [] - }, - "documentation": { - "id": 26073, - "nodeType": "StructuredDocumentation", - "src": "13118:545:26", - "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` and `to` are never both 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": "13677:20:26", - "parameters": { - "id": 26080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26075, - "mutability": "mutable", - "name": "from", - "nameLocation": "13715:4:26", - "nodeType": "VariableDeclaration", - "scope": 26083, - "src": "13707:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26074, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13707:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26077, - "mutability": "mutable", - "name": "to", - "nameLocation": "13737:2:26", - "nodeType": "VariableDeclaration", - "scope": 26083, - "src": "13729:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26076, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13729:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26079, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "13757:7:26", - "nodeType": "VariableDeclaration", - "scope": 26083, - "src": "13749:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26078, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13749:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13697:73:26" - }, - "returnParameters": { - "id": 26081, - "nodeType": "ParameterList", - "parameters": [], - "src": "13788:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26094, - "nodeType": "FunctionDefinition", - "src": "14162:121:26", - "body": { - "id": 26093, - "nodeType": "Block", - "src": "14281:2:26", - "statements": [] - }, - "documentation": { - "id": 26084, - "nodeType": "StructuredDocumentation", - "src": "13796:361:26", - "text": " @dev Hook that is called after any transfer of tokens. This includes\n minting and burning.\n Calling conditions:\n - when `from` and `to` are both non-zero.\n - `from` and `to` are never both 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": "14171:19:26", - "parameters": { - "id": 26091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26086, - "mutability": "mutable", - "name": "from", - "nameLocation": "14208:4:26", - "nodeType": "VariableDeclaration", - "scope": 26094, - "src": "14200:12:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26085, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14200:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26088, - "mutability": "mutable", - "name": "to", - "nameLocation": "14230:2:26", - "nodeType": "VariableDeclaration", - "scope": 26094, - "src": "14222:10:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26087, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14222:7:26", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26090, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "14250:7:26", - "nodeType": "VariableDeclaration", - "scope": 26094, - "src": "14242:15:26", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26089, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14242:7:26", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14190:73:26" - }, - "returnParameters": { - "id": 26092, - "nodeType": "ParameterList", - "parameters": [], - "src": "14281:0:26" - }, - "scope": 26095, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 25240, - "name": "Context", - "nameLocations": [ - "647:7:26" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26857, - "src": "647:7:26" - }, - "id": 25241, - "nodeType": "InheritanceSpecifier", - "src": "647:7:26" - }, - { - "baseName": { - "id": 25242, - "name": "ERC165", - "nameLocations": [ - "656:6:26" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27719, - "src": "656:6:26" - }, - "id": 25243, - "nodeType": "InheritanceSpecifier", - "src": "656:6:26" - }, - { - "baseName": { - "id": 25244, - "name": "IERC721", - "nameLocations": [ - "664:7:26" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26211, - "src": "664:7:26" - }, - "id": 25245, - "nodeType": "InheritanceSpecifier", - "src": "664:7:26" - }, - { - "baseName": { - "id": 25246, - "name": "IERC721Metadata", - "nameLocations": [ - "673:15:26" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26256, - "src": "673:15:26" - }, - "id": 25247, - "nodeType": "InheritanceSpecifier", - "src": "673:15:26" - } - ], - "canonicalName": "ERC721", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 25239, - "nodeType": "StructuredDocumentation", - "src": "381:246:26", - "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": [ - 26095, - 26256, - 26211, - 27719, - 27731, - 26857 - ], - "name": "ERC721", - "nameLocation": "637:6:26", - "scope": 26096, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 26 -} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"name_","type":"string","internalType":"string"},{"name":"symbol_","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"approve","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getApproved","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"isApprovedForAll","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"ownerOf","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"_data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setApprovalForAll","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"tokenURI","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x60806040523480156200001157600080fd5b506040516200151a3803806200151a833981016040819052620000349162000122565b60006200004283826200021d565b5060016200005182826200021d565b505050620002e9565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b8160405283815260209250866020858801011115620000e857600080fd5b600091505b838210156200010c5785820183015181830184015290820190620000ed565b6000602085830101528094505050505092915050565b600080604083850312156200013657600080fd5b82516001600160401b03808211156200014e57600080fd5b6200015c8683870162000070565b935060208501519150808211156200017357600080fd5b50620001828582860162000070565b9150509250929050565b600181811c90821680620001a157607f821691505b602082108103620001c257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000218576000816000526020600020601f850160051c81016020861015620001f35750805b601f850160051c820191505b818110156200021457828155600101620001ff565b5050505b505050565b81516001600160401b038111156200023957620002396200005a565b62000251816200024a84546200018c565b84620001c8565b602080601f831160018114620002895760008415620002705750858301515b600019600386901b1c1916600185901b17855562000214565b600085815260208120601f198616915b82811015620002ba5788860151825594840194600190910190840162000299565b5085821015620002d95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61122180620002f96000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101b3578063b88d4fde146101c6578063c87b56dd146101d9578063e985e9c5146101ec57600080fd5b80636352211e1461017757806370a082311461018a57806395d89b41146101ab57600080fd5b806301ffc9a7146100d457806306fdde03146100fc578063081812fc14610111578063095ea7b31461013c57806323b872dd1461015157806342842e0e14610164575b600080fd5b6100e76100e2366004610d45565b6101ff565b60405190151581526020015b60405180910390f35b610104610251565b6040516100f39190610db2565b61012461011f366004610dc5565b6102e3565b6040516001600160a01b0390911681526020016100f3565b61014f61014a366004610dfa565b61037d565b005b61014f61015f366004610e24565b610492565b61014f610172366004610e24565b6104c3565b610124610185366004610dc5565b6104de565b61019d610198366004610e60565b610555565b6040519081526020016100f3565b6101046105dc565b61014f6101c1366004610e7b565b6105eb565b61014f6101d4366004610ecd565b6105fa565b6101046101e7366004610dc5565b610632565b6100e76101fa366004610fa9565b61071a565b60006001600160e01b031982166380ac58cd60e01b148061023057506001600160e01b03198216635b5e139f60e01b145b8061024b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461026090610fdc565b80601f016020809104026020016040519081016040528092919081815260200182805461028c90610fdc565b80156102d95780601f106102ae576101008083540402835291602001916102d9565b820191906000526020600020905b8154815290600101906020018083116102bc57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166103615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610388826104de565b9050806001600160a01b0316836001600160a01b0316036103f55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610358565b336001600160a01b03821614806104115750610411813361071a565b6104835760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610358565b61048d8383610748565b505050565b61049c33826107b6565b6104b85760405162461bcd60e51b815260040161035890611016565b61048d83838361088d565b61048d838383604051806020016040528060008152506105fa565b6000818152600260205260408120546001600160a01b03168061024b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610358565b60006001600160a01b0382166105c05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610358565b506001600160a01b031660009081526003602052604090205490565b60606001805461026090610fdc565b6105f6338383610a29565b5050565b61060433836107b6565b6106205760405162461bcd60e51b815260040161035890611016565b61062c84848484610af7565b50505050565b6000818152600260205260409020546060906001600160a01b03166106b15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610358565b60006106c860408051602081019091526000815290565b905060008151116106e85760405180602001604052806000815250610713565b806106f284610b2a565b604051602001610703929190611067565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061077d826104de565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661082f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610358565b600061083a836104de565b9050806001600160a01b0316846001600160a01b031614806108755750836001600160a01b031661086a846102e3565b6001600160a01b0316145b806108855750610885818561071a565b949350505050565b826001600160a01b03166108a0826104de565b6001600160a01b0316146109045760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610358565b6001600160a01b0382166109665760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610358565b610971600082610748565b6001600160a01b038316600090815260036020526040812080546001929061099a9084906110ac565b90915550506001600160a01b03821660009081526003602052604081208054600192906109c89084906110bf565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610a8a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610358565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610b0284848461088d565b610b0e84848484610c2b565b61062c5760405162461bcd60e51b8152600401610358906110d2565b606081600003610b515750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610b7b5780610b6581611124565b9150610b749050600a83611153565b9150610b55565b60008167ffffffffffffffff811115610b9657610b96610eb7565b6040519080825280601f01601f191660200182016040528015610bc0576020820181803683370190505b5090505b841561088557610bd56001836110ac565b9150610be2600a86611167565b610bed9060306110bf565b60f81b818381518110610c0257610c0261117b565b60200101906001600160f81b031916908160001a905350610c24600a86611153565b9450610bc4565b60006001600160a01b0384163b15610d2157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610c6f903390899088908890600401611191565b6020604051808303816000875af1925050508015610caa575060408051601f3d908101601f19168201909252610ca7918101906111ce565b60015b610d07573d808015610cd8576040519150601f19603f3d011682016040523d82523d6000602084013e610cdd565b606091505b508051600003610cff5760405162461bcd60e51b8152600401610358906110d2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610885565b506001949350505050565b6001600160e01b031981168114610d4257600080fd5b50565b600060208284031215610d5757600080fd5b813561071381610d2c565b60005b83811015610d7d578181015183820152602001610d65565b50506000910152565b60008151808452610d9e816020860160208601610d62565b601f01601f19169290920160200192915050565b6020815260006107136020830184610d86565b600060208284031215610dd757600080fd5b5035919050565b80356001600160a01b0381168114610df557600080fd5b919050565b60008060408385031215610e0d57600080fd5b610e1683610dde565b946020939093013593505050565b600080600060608486031215610e3957600080fd5b610e4284610dde565b9250610e5060208501610dde565b9150604084013590509250925092565b600060208284031215610e7257600080fd5b61071382610dde565b60008060408385031215610e8e57600080fd5b610e9783610dde565b915060208301358015158114610eac57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610ee357600080fd5b610eec85610dde565b9350610efa60208601610dde565b925060408501359150606085013567ffffffffffffffff80821115610f1e57600080fd5b818701915087601f830112610f3257600080fd5b813581811115610f4457610f44610eb7565b604051601f8201601f19908116603f01168101908382118183101715610f6c57610f6c610eb7565b816040528281528a6020848701011115610f8557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215610fbc57600080fd5b610fc583610dde565b9150610fd360208401610dde565b90509250929050565b600181811c90821680610ff057607f821691505b60208210810361101057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008351611079818460208801610d62565b83519083019061108d818360208801610d62565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561024b5761024b611096565b8082018082111561024b5761024b611096565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001820161113657611136611096565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111625761116261113d565b500490565b6000826111765761117661113d565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906111c490830184610d86565b9695505050505050565b6000602082840312156111e057600080fd5b815161071381610d2c56fea2646970667358221220cfc1064681dcbaeef3464283b2011235d9c99f62a6ad80a8059ffc843aa5b74e64736f6c63430008170033","sourceMap":"628:13657:27:-:0;;;1390:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1456:5;:13;1464:5;1456;:13;:::i;:::-;-1:-1:-1;1479:7:27;:17;1489:7;1479;:17;:::i;:::-;;1390:113;;628:13657;;14:127:44;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:844;200:5;253:3;246:4;238:6;234:17;230:27;220:55;;271:1;268;261:12;220:55;294:13;;-1:-1:-1;;;;;356:10:44;;;353:36;;;369:18;;:::i;:::-;444:2;438:9;412:2;498:13;;-1:-1:-1;;494:22:44;;;518:2;490:31;486:40;474:53;;;542:18;;;562:22;;;539:46;536:72;;;588:18;;:::i;:::-;628:10;624:2;617:22;663:2;655:6;648:18;685:4;675:14;;732:3;725:4;720:2;712:6;708:15;704:26;701:35;698:55;;;749:1;746;739:12;698:55;771:1;762:10;;781:133;795:2;792:1;789:9;781:133;;;883:14;;;879:23;;873:30;852:14;;;848:23;;841:63;806:10;;;;781:133;;;958:1;951:4;946:2;938:6;934:15;930:26;923:37;978:6;969:15;;;;;;146:844;;;;:::o;995:562::-;1094:6;1102;1155:2;1143:9;1134:7;1130:23;1126:32;1123:52;;;1171:1;1168;1161:12;1123:52;1198:16;;-1:-1:-1;;;;;1263:14:44;;;1260:34;;;1290:1;1287;1280:12;1260:34;1313:61;1366:7;1357:6;1346:9;1342:22;1313:61;:::i;:::-;1303:71;;1420:2;1409:9;1405:18;1399:25;1383:41;;1449:2;1439:8;1436:16;1433:36;;;1465:1;1462;1455:12;1433:36;;1488:63;1543:7;1532:8;1521:9;1517:24;1488:63;:::i;:::-;1478:73;;;995:562;;;;;:::o;1562:380::-;1641:1;1637:12;;;;1684;;;1705:61;;1759:4;1751:6;1747:17;1737:27;;1705:61;1812:2;1804:6;1801:14;1781:18;1778:38;1775:161;;1858:10;1853:3;1849:20;1846:1;1839:31;1893:4;1890:1;1883:15;1921:4;1918:1;1911:15;1775:161;;1562:380;;;:::o;2073:543::-;2175:2;2170:3;2167:11;2164:446;;;2211:1;2235:5;2232:1;2225:16;2279:4;2276:1;2266:18;2349:2;2337:10;2333:19;2330:1;2326:27;2320:4;2316:38;2385:4;2373:10;2370:20;2367:47;;;-1:-1:-1;2408:4:44;2367:47;2463:2;2458:3;2454:12;2451:1;2447:20;2441:4;2437:31;2427:41;;2518:82;2536:2;2529:5;2526:13;2518:82;;;2581:17;;;2562:1;2551:13;2518:82;;;2522:3;;;2164:446;2073:543;;;:::o;2792:1345::-;2912:10;;-1:-1:-1;;;;;2934:30:44;;2931:56;;;2967:18;;:::i;:::-;2996:97;3086:6;3046:38;3078:4;3072:11;3046:38;:::i;:::-;3040:4;2996:97;:::i;:::-;3148:4;;3205:2;3194:14;;3222:1;3217:663;;;;3924:1;3941:6;3938:89;;;-1:-1:-1;3993:19:44;;;3987:26;3938:89;-1:-1:-1;;2749:1:44;2745:11;;;2741:24;2737:29;2727:40;2773:1;2769:11;;;2724:57;4040:81;;3187:944;;3217:663;2020:1;2013:14;;;2057:4;2044:18;;-1:-1:-1;;3253:20:44;;;3371:236;3385:7;3382:1;3379:14;3371:236;;;3474:19;;;3468:26;3453:42;;3566:27;;;;3534:1;3522:14;;;;3401:19;;3371:236;;;3375:3;3635:6;3626:7;3623:19;3620:201;;;3696:19;;;3690:26;-1:-1:-1;;3779:1:44;3775:14;;;3791:3;3771:24;3767:37;3763:42;3748:58;3733:74;;3620:201;-1:-1:-1;;;;;3867:1:44;3851:14;;;3847:22;3834:36;;-1:-1:-1;2792:1345:44:o;:::-;628:13657:27;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101b3578063b88d4fde146101c6578063c87b56dd146101d9578063e985e9c5146101ec57600080fd5b80636352211e1461017757806370a082311461018a57806395d89b41146101ab57600080fd5b806301ffc9a7146100d457806306fdde03146100fc578063081812fc14610111578063095ea7b31461013c57806323b872dd1461015157806342842e0e14610164575b600080fd5b6100e76100e2366004610d45565b6101ff565b60405190151581526020015b60405180910390f35b610104610251565b6040516100f39190610db2565b61012461011f366004610dc5565b6102e3565b6040516001600160a01b0390911681526020016100f3565b61014f61014a366004610dfa565b61037d565b005b61014f61015f366004610e24565b610492565b61014f610172366004610e24565b6104c3565b610124610185366004610dc5565b6104de565b61019d610198366004610e60565b610555565b6040519081526020016100f3565b6101046105dc565b61014f6101c1366004610e7b565b6105eb565b61014f6101d4366004610ecd565b6105fa565b6101046101e7366004610dc5565b610632565b6100e76101fa366004610fa9565b61071a565b60006001600160e01b031982166380ac58cd60e01b148061023057506001600160e01b03198216635b5e139f60e01b145b8061024b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461026090610fdc565b80601f016020809104026020016040519081016040528092919081815260200182805461028c90610fdc565b80156102d95780601f106102ae576101008083540402835291602001916102d9565b820191906000526020600020905b8154815290600101906020018083116102bc57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166103615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610388826104de565b9050806001600160a01b0316836001600160a01b0316036103f55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610358565b336001600160a01b03821614806104115750610411813361071a565b6104835760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610358565b61048d8383610748565b505050565b61049c33826107b6565b6104b85760405162461bcd60e51b815260040161035890611016565b61048d83838361088d565b61048d838383604051806020016040528060008152506105fa565b6000818152600260205260408120546001600160a01b03168061024b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610358565b60006001600160a01b0382166105c05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610358565b506001600160a01b031660009081526003602052604090205490565b60606001805461026090610fdc565b6105f6338383610a29565b5050565b61060433836107b6565b6106205760405162461bcd60e51b815260040161035890611016565b61062c84848484610af7565b50505050565b6000818152600260205260409020546060906001600160a01b03166106b15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610358565b60006106c860408051602081019091526000815290565b905060008151116106e85760405180602001604052806000815250610713565b806106f284610b2a565b604051602001610703929190611067565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061077d826104de565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661082f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610358565b600061083a836104de565b9050806001600160a01b0316846001600160a01b031614806108755750836001600160a01b031661086a846102e3565b6001600160a01b0316145b806108855750610885818561071a565b949350505050565b826001600160a01b03166108a0826104de565b6001600160a01b0316146109045760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610358565b6001600160a01b0382166109665760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610358565b610971600082610748565b6001600160a01b038316600090815260036020526040812080546001929061099a9084906110ac565b90915550506001600160a01b03821660009081526003602052604081208054600192906109c89084906110bf565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610a8a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610358565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610b0284848461088d565b610b0e84848484610c2b565b61062c5760405162461bcd60e51b8152600401610358906110d2565b606081600003610b515750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610b7b5780610b6581611124565b9150610b749050600a83611153565b9150610b55565b60008167ffffffffffffffff811115610b9657610b96610eb7565b6040519080825280601f01601f191660200182016040528015610bc0576020820181803683370190505b5090505b841561088557610bd56001836110ac565b9150610be2600a86611167565b610bed9060306110bf565b60f81b818381518110610c0257610c0261117b565b60200101906001600160f81b031916908160001a905350610c24600a86611153565b9450610bc4565b60006001600160a01b0384163b15610d2157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610c6f903390899088908890600401611191565b6020604051808303816000875af1925050508015610caa575060408051601f3d908101601f19168201909252610ca7918101906111ce565b60015b610d07573d808015610cd8576040519150601f19603f3d011682016040523d82523d6000602084013e610cdd565b606091505b508051600003610cff5760405162461bcd60e51b8152600401610358906110d2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610885565b506001949350505050565b6001600160e01b031981168114610d4257600080fd5b50565b600060208284031215610d5757600080fd5b813561071381610d2c565b60005b83811015610d7d578181015183820152602001610d65565b50506000910152565b60008151808452610d9e816020860160208601610d62565b601f01601f19169290920160200192915050565b6020815260006107136020830184610d86565b600060208284031215610dd757600080fd5b5035919050565b80356001600160a01b0381168114610df557600080fd5b919050565b60008060408385031215610e0d57600080fd5b610e1683610dde565b946020939093013593505050565b600080600060608486031215610e3957600080fd5b610e4284610dde565b9250610e5060208501610dde565b9150604084013590509250925092565b600060208284031215610e7257600080fd5b61071382610dde565b60008060408385031215610e8e57600080fd5b610e9783610dde565b915060208301358015158114610eac57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610ee357600080fd5b610eec85610dde565b9350610efa60208601610dde565b925060408501359150606085013567ffffffffffffffff80821115610f1e57600080fd5b818701915087601f830112610f3257600080fd5b813581811115610f4457610f44610eb7565b604051601f8201601f19908116603f01168101908382118183101715610f6c57610f6c610eb7565b816040528281528a6020848701011115610f8557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215610fbc57600080fd5b610fc583610dde565b9150610fd360208401610dde565b90509250929050565b600181811c90821680610ff057607f821691505b60208210810361101057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008351611079818460208801610d62565b83519083019061108d818360208801610d62565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561024b5761024b611096565b8082018082111561024b5761024b611096565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001820161113657611136611096565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111625761116261113d565b500490565b6000826111765761117661113d565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906111c490830184610d86565b9695505050505050565b6000602082840312156111e057600080fd5b815161071381610d2c56fea2646970667358221220cfc1064681dcbaeef3464283b2011235d9c99f62a6ad80a8059ffc843aa5b74e64736f6c63430008170033","sourceMap":"628:13657:27:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1570:300;;;;;;:::i;:::-;;:::i;:::-;;;565:14:44;;558:22;540:41;;528:2;513:18;1570:300:27;;;;;;;;2488:98;;;:::i;:::-;;;;;;;:::i;3999:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:44;;;1679:51;;1667:2;1652:18;3999:217:27;1533:203:44;3537:401:27;;;;;;:::i;:::-;;:::i;:::-;;4726:330;;;;;;:::i;:::-;;:::i;5122:179::-;;;;;;:::i;:::-;;:::i;2191:235::-;;;;;;:::i;:::-;;:::i;1929:205::-;;;;;;:::i;:::-;;:::i;:::-;;;2848:25:44;;;2836:2;2821:18;1929:205:27;2702:177:44;2650:102:27;;;:::i;4283:153::-;;;;;;:::i;:::-;;:::i;5367:320::-;;;;;;:::i;:::-;;:::i;2818:329::-;;;;;;:::i;:::-;;:::i;4502:162::-;;;;;;:::i;:::-;;:::i;1570:300::-;1672:4;-1:-1:-1;;;;;;1707:40:27;;-1:-1:-1;;;1707:40:27;;:104;;-1:-1:-1;;;;;;;1763:48:27;;-1:-1:-1;;;1763:48:27;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:39;;;1827:36:27;1688:175;1570:300;-1:-1:-1;;1570:300:27:o;2488:98::-;2542:13;2574:5;2567:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2488:98;:::o;3999:217::-;4075:7;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:27;4094:73;;;;-1:-1:-1;;;4094:73:27;;5363:2:44;4094:73:27;;;5345:21:44;5402:2;5382:18;;;5375:30;5441:34;5421:18;;;5414:62;-1:-1:-1;;;5492:18:44;;;5485:42;5544:19;;4094:73:27;;;;;;;;;-1:-1:-1;4185:24:27;;;;:15;:24;;;;;;-1:-1:-1;;;;;4185:24:27;;3999:217::o;3537:401::-;3617:13;3633:23;3648:7;3633:14;:23::i;:::-;3617:39;;3680:5;-1:-1:-1;;;;;3674:11:27;:2;-1:-1:-1;;;;;3674:11:27;;3666:57;;;;-1:-1:-1;;;3666:57:27;;5776:2:44;3666:57:27;;;5758:21:44;5815:2;5795:18;;;5788:30;5854:34;5834:18;;;5827:62;-1:-1:-1;;;5905:18:44;;;5898:31;5946:19;;3666:57:27;5574:397:44;3666:57:27;719:10:34;-1:-1:-1;;;;;3755:21:27;;;;:62;;-1:-1:-1;3780:37:27;3797:5;719:10:34;4502:162:27;:::i;3780:37::-;3734:165;;;;-1:-1:-1;;;3734:165:27;;6178:2:44;3734:165:27;;;6160:21:44;6217:2;6197:18;;;6190:30;6256:34;6236:18;;;6229:62;6327:26;6307:18;;;6300:54;6371:19;;3734:165:27;5976:420:44;3734:165:27;3910:21;3919:2;3923:7;3910:8;:21::i;:::-;3607:331;3537:401;;:::o;4726:330::-;4915:41;719:10:34;4948:7:27;4915:18;:41::i;:::-;4907:103;;;;-1:-1:-1;;;4907:103:27;;;;;;;:::i;:::-;5021:28;5031:4;5037:2;5041:7;5021:9;:28::i;5122:179::-;5255:39;5272:4;5278:2;5282:7;5255:39;;;;;;;;;;;;:16;:39::i;2191:235::-;2263:7;2298:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2298:16:27;;2324:73;;;;-1:-1:-1;;;2324:73:27;;7021:2:44;2324:73:27;;;7003:21:44;7060:2;7040:18;;;7033:30;7099:34;7079:18;;;7072:62;-1:-1:-1;;;7150:18:44;;;7143:39;7199:19;;2324:73:27;6819:405:44;1929:205:27;2001:7;-1:-1:-1;;;;;2028:19:27;;2020:74;;;;-1:-1:-1;;;2020:74:27;;7431:2:44;2020:74:27;;;7413:21:44;7470:2;7450:18;;;7443:30;7509:34;7489:18;;;7482:62;-1:-1:-1;;;7560:18:44;;;7553:40;7610:19;;2020:74:27;7229:406:44;2020:74:27;-1:-1:-1;;;;;;2111:16:27;;;;;:9;:16;;;;;;;1929:205::o;2650:102::-;2706:13;2738:7;2731:14;;;;;:::i;4283:153::-;4377:52;719:10:34;4410:8:27;4420;4377:18;:52::i;:::-;4283:153;;:::o;5367:320::-;5536:41;719:10:34;5569:7:27;5536:18;:41::i;:::-;5528:103;;;;-1:-1:-1;;;5528:103:27;;;;;;;:::i;:::-;5641:39;5655:4;5661:2;5665:7;5674:5;5641:13;:39::i;:::-;5367:320;;;;:::o;2818:329::-;7224:4;7247:16;;;:7;:16;;;;;;2891:13;;-1:-1:-1;;;;;7247:16:27;2916:76;;;;-1:-1:-1;;;2916:76:27;;7842:2:44;2916:76:27;;;7824:21:44;7881:2;7861:18;;;7854:30;7920:34;7900:18;;;7893:62;-1:-1:-1;;;7971:18:44;;;7964:45;8026:19;;2916:76:27;7640:411:44;2916:76:27;3003:21;3027:10;3464:9;;;;;;;;;-1:-1:-1;3464:9:27;;;3388:92;3027:10;3003:34;;3078:1;3060:7;3054:21;:25;:86;;;;;;;;;;;;;;;;;3106:7;3115:18;:7;:16;:18::i;:::-;3089:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3054:86;3047:93;2818:329;-1:-1:-1;;;2818:329:27:o;4502:162::-;-1:-1:-1;;;;;4622:25:27;;;4599:4;4622:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4502:162::o;11168:171::-;11242:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11242:29:27;-1:-1:-1;;;;;11242:29:27;;;;;;;;:24;;11295:23;11242:24;11295:14;:23::i;:::-;-1:-1:-1;;;;;11286:46:27;;;;;;;;;;;11168:171;;:::o;7442:344::-;7535:4;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:27;7551:73;;;;-1:-1:-1;;;7551:73:27;;8759:2:44;7551:73:27;;;8741:21:44;8798:2;8778:18;;;8771:30;8837:34;8817:18;;;8810:62;-1:-1:-1;;;8888:18:44;;;8881:42;8940:19;;7551:73:27;8557:408:44;7551:73:27;7634:13;7650:23;7665:7;7650:14;:23::i;:::-;7634:39;;7702:5;-1:-1:-1;;;;;7691:16:27;:7;-1:-1:-1;;;;;7691:16:27;;:51;;;;7735:7;-1:-1:-1;;;;;7711:31:27;:20;7723:7;7711:11;:20::i;:::-;-1:-1:-1;;;;;7711:31:27;;7691:51;:87;;;;7746:32;7763:5;7770:7;7746:16;:32::i;:::-;7683:96;7442:344;-1:-1:-1;;;;7442:344:27:o;10452:605::-;10606:4;-1:-1:-1;;;;;10579:31:27;:23;10594:7;10579:14;:23::i;:::-;-1:-1:-1;;;;;10579:31:27;;10571:81;;;;-1:-1:-1;;;10571:81:27;;9172:2:44;10571:81:27;;;9154:21:44;9211:2;9191:18;;;9184:30;9250:34;9230:18;;;9223:62;-1:-1:-1;;;9301:18:44;;;9294:35;9346:19;;10571:81:27;8970:401:44;10571:81:27;-1:-1:-1;;;;;10670:16:27;;10662:65;;;;-1:-1:-1;;;10662:65:27;;9578:2:44;10662:65:27;;;9560:21:44;9617:2;9597:18;;;9590:30;9656:34;9636:18;;;9629:62;-1:-1:-1;;;9707:18:44;;;9700:34;9751:19;;10662:65:27;9376:400:44;10662:65:27;10839:29;10856:1;10860:7;10839:8;:29::i;:::-;-1:-1:-1;;;;;10879:15:27;;;;;;:9;:15;;;;;:20;;10898:1;;10879:15;:20;;10898:1;;10879:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10909:13:27;;;;;;:9;:13;;;;;:18;;10926:1;;10909:13;:18;;10926:1;;10909:18;:::i;:::-;;;;-1:-1:-1;;10937:16:27;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10937:21:27;-1:-1:-1;;;;;10937:21:27;;;;;;;;;10974:27;;10937:16;;10974:27;;;;;;;3607:331;3537:401;;:::o;11474:307::-;11624:8;-1:-1:-1;;;;;11615:17:27;:5;-1:-1:-1;;;;;11615:17:27;;11607:55;;;;-1:-1:-1;;;11607:55:27;;10378:2:44;11607:55:27;;;10360:21:44;10417:2;10397:18;;;10390:30;10456:27;10436:18;;;10429:55;10501:18;;11607:55:27;10176:349:44;11607:55:27;-1:-1:-1;;;;;11672:25:27;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11672:46:27;;;;;;;;;;11733:41;;540::44;;;11733::27;;513:18:44;11733:41:27;;;;;;;11474:307;;;:::o;6549:::-;6700:28;6710:4;6716:2;6720:7;6700:9;:28::i;:::-;6746:48;6769:4;6775:2;6779:7;6788:5;6746:22;:48::i;:::-;6738:111;;;;-1:-1:-1;;;6738:111:27;;;;;;;:::i;328:703:36:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:36;;;;;;;;;;;;-1:-1:-1;;;627:10:36;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:36;;-1:-1:-1;773:2:36;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:36;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:36;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:36;;;;;;;;-1:-1:-1;972:11:36;981:2;972:11;;:::i;:::-;;;844:150;;12334:778:27;12484:4;-1:-1:-1;;;;;12504:13:27;;1465:19:32;:23;12500:606:27;;12539:72;;-1:-1:-1;;;12539:72:27;;-1:-1:-1;;;;;12539:36:27;;;;;:72;;719:10:34;;12590:4:27;;12596:7;;12605:5;;12539:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12539:72:27;;;;;;;;-1:-1:-1;;12539:72:27;;;;;;;;;;;;:::i;:::-;;;12535:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12778:6;:13;12795:1;12778:18;12774:266;;12820:60;;-1:-1:-1;;;12820:60:27;;;;;;;:::i;12774:266::-;12992:6;12986:13;12977:6;12973:2;12969:15;12962:38;12535:519;-1:-1:-1;;;;;;12661:51:27;-1:-1:-1;;;12661:51:27;;-1:-1:-1;12654:58:27;;12500:606;-1:-1:-1;13091:4:27;12334:778;;;;;;:::o;14:131:44:-;-1:-1:-1;;;;;;88:32:44;;78:43;;68:71;;135:1;132;125:12;68:71;14:131;:::o;150:245::-;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:44;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:44;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:44:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:44;;1348:180;-1:-1:-1;1348:180:44:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:44;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:44:o;2178:328::-;2255:6;2263;2271;2324:2;2312:9;2303:7;2299:23;2295:32;2292:52;;;2340:1;2337;2330:12;2292:52;2363:29;2382:9;2363:29;:::i;:::-;2353:39;;2411:38;2445:2;2434:9;2430:18;2411:38;:::i;:::-;2401:48;;2496:2;2485:9;2481:18;2468:32;2458:42;;2178:328;;;;;:::o;2511:186::-;2570:6;2623:2;2611:9;2602:7;2598:23;2594:32;2591:52;;;2639:1;2636;2629:12;2591:52;2662:29;2681:9;2662:29;:::i;2884:347::-;2949:6;2957;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3049:29;3068:9;3049:29;:::i;:::-;3039:39;;3128:2;3117:9;3113:18;3100:32;3175:5;3168:13;3161:21;3154:5;3151:32;3141:60;;3197:1;3194;3187:12;3141:60;3220:5;3210:15;;;2884:347;;;;;:::o;3236:127::-;3297:10;3292:3;3288:20;3285:1;3278:31;3328:4;3325:1;3318:15;3352:4;3349:1;3342:15;3368:1138;3463:6;3471;3479;3487;3540:3;3528:9;3519:7;3515:23;3511:33;3508:53;;;3557:1;3554;3547:12;3508:53;3580:29;3599:9;3580:29;:::i;:::-;3570:39;;3628:38;3662:2;3651:9;3647:18;3628:38;:::i;:::-;3618:48;;3713:2;3702:9;3698:18;3685:32;3675:42;;3768:2;3757:9;3753:18;3740:32;3791:18;3832:2;3824:6;3821:14;3818:34;;;3848:1;3845;3838:12;3818:34;3886:6;3875:9;3871:22;3861:32;;3931:7;3924:4;3920:2;3916:13;3912:27;3902:55;;3953:1;3950;3943:12;3902:55;3989:2;3976:16;4011:2;4007;4004:10;4001:36;;;4017:18;;:::i;:::-;4092:2;4086:9;4060:2;4146:13;;-1:-1:-1;;4142:22:44;;;4166:2;4138:31;4134:40;4122:53;;;4190:18;;;4210:22;;;4187:46;4184:72;;;4236:18;;:::i;:::-;4276:10;4272:2;4265:22;4311:2;4303:6;4296:18;4351:7;4346:2;4341;4337;4333:11;4329:20;4326:33;4323:53;;;4372:1;4369;4362:12;4323:53;4428:2;4423;4419;4415:11;4410:2;4402:6;4398:15;4385:46;4473:1;4468:2;4463;4455:6;4451:15;4447:24;4440:35;4494:6;4484:16;;;;;;;3368:1138;;;;;;;:::o;4511:260::-;4579:6;4587;4640:2;4628:9;4619:7;4615:23;4611:32;4608:52;;;4656:1;4653;4646:12;4608:52;4679:29;4698:9;4679:29;:::i;:::-;4669:39;;4727:38;4761:2;4750:9;4746:18;4727:38;:::i;:::-;4717:48;;4511:260;;;;;:::o;4776:380::-;4855:1;4851:12;;;;4898;;;4919:61;;4973:4;4965:6;4961:17;4951:27;;4919:61;5026:2;5018:6;5015:14;4995:18;4992:38;4989:161;;5072:10;5067:3;5063:20;5060:1;5053:31;5107:4;5104:1;5097:15;5135:4;5132:1;5125:15;4989:161;;4776:380;;;:::o;6401:413::-;6603:2;6585:21;;;6642:2;6622:18;;;6615:30;6681:34;6676:2;6661:18;;6654:62;-1:-1:-1;;;6747:2:44;6732:18;;6725:47;6804:3;6789:19;;6401:413::o;8056:496::-;8235:3;8273:6;8267:13;8289:66;8348:6;8343:3;8336:4;8328:6;8324:17;8289:66;:::i;:::-;8418:13;;8377:16;;;;8440:70;8418:13;8377:16;8487:4;8475:17;;8440:70;:::i;:::-;8526:20;;8056:496;-1:-1:-1;;;;8056:496:44:o;9781:127::-;9842:10;9837:3;9833:20;9830:1;9823:31;9873:4;9870:1;9863:15;9897:4;9894:1;9887:15;9913:128;9980:9;;;10001:11;;;9998:37;;;10015:18;;:::i;10046:125::-;10111:9;;;10132:10;;;10129:36;;;10145:18;;:::i;10530:414::-;10732:2;10714:21;;;10771:2;10751:18;;;10744:30;10810:34;10805:2;10790:18;;10783:62;-1:-1:-1;;;10876:2:44;10861:18;;10854:48;10934:3;10919:19;;10530:414::o;10949:135::-;10988:3;11009:17;;;11006:43;;11029:18;;:::i;:::-;-1:-1:-1;11076:1:44;11065:13;;10949:135::o;11089:127::-;11150:10;11145:3;11141:20;11138:1;11131:31;11181:4;11178:1;11171:15;11205:4;11202:1;11195:15;11221:120;11261:1;11287;11277:35;;11292:18;;:::i;:::-;-1:-1:-1;11326:9:44;;11221:120::o;11346:112::-;11378:1;11404;11394:35;;11409:18;;:::i;:::-;-1:-1:-1;11443:9:44;;11346:112::o;11463:127::-;11524:10;11519:3;11515:20;11512:1;11505:31;11555:4;11552:1;11545:15;11579:4;11576:1;11569:15;11595:489;-1:-1:-1;;;;;11864:15:44;;;11846:34;;11916:15;;11911:2;11896:18;;11889:43;11963:2;11948:18;;11941:34;;;12011:3;12006:2;11991:18;;11984:31;;;11789:4;;12032:46;;12058:19;;12050:6;12032:46;:::i;:::-;12024:54;11595:489;-1:-1:-1;;;;;;11595:489:44:o;12089:249::-;12158:6;12211:2;12199:9;12190:7;12186:23;12182:32;12179:52;;;12227:1;12224;12217:12;12179:52;12259:9;12253:16;12278:30;12302:5;12278:30;:::i","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.23+commit.f704f362\"},\"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}.\",\"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\":\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f\",\"dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]},\"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\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.23+commit.f704f362"},"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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":"ERC721"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"keccak256":"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de","urls":["bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f","dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"keccak256":"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f","urls":["bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f","dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a"],"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":"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87","urls":["bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58","dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV"],"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":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"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"}},"version":1},"id":27} \ No newline at end of file diff --git a/out/IERC165.sol/IERC165.json b/out/IERC165.sol/IERC165.json index 0bc7f82..17a709c 100644 --- a/out/IERC165.sol/IERC165.json +++ b/out/IERC165.sol/IERC165.json @@ -1,253 +1 @@ -{ - "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.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.16+commit.07a7930e" - }, - "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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": "IERC165" - }, - "libraries": {} - }, - "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": 27732, - "exportedSymbols": { - "IERC165": [ - 27731 - ] - }, - "nodeType": "SourceUnit", - "src": "100:753:39", - "nodes": [ - { - "id": 27721, - "nodeType": "PragmaDirective", - "src": "100:23:39", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27731, - "nodeType": "ContractDefinition", - "src": "405:447:39", - "nodes": [ - { - "id": 27730, - "nodeType": "FunctionDefinition", - "src": "774:76:39", - "documentation": { - "id": 27723, - "nodeType": "StructuredDocumentation", - "src": "429:340:39", - "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:39", - "parameters": { - "id": 27726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27725, - "mutability": "mutable", - "name": "interfaceId", - "nameLocation": "808:11:39", - "nodeType": "VariableDeclaration", - "scope": 27730, - "src": "801:18:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 27724, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "801:6:39", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "800:20:39" - }, - "returnParameters": { - "id": 27729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27728, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27730, - "src": "844:4:39", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 27727, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "844:4:39", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "843:6:39" - }, - "scope": 27731, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IERC165", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 27722, - "nodeType": "StructuredDocumentation", - "src": "125:279:39", - "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": [ - 27731 - ], - "name": "IERC165", - "nameLocation": "415:7:39", - "scope": 27732, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 39 -} \ No newline at end of file +{"abi":[{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"supportsInterface(bytes4)":"01ffc9a7"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.23+commit.f704f362"},"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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":"IERC165"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],"license":"MIT"}},"version":1},"id":40} \ No newline at end of file diff --git a/out/IERC721.sol/IERC721.json b/out/IERC721.sol/IERC721.json index 635fa58..d69d10b 100644 --- a/out/IERC721.sol/IERC721.json +++ b/out/IERC721.sol/IERC721.json @@ -1,2035 +1 @@ -{ - "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.16+commit.07a7930e\"},\"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"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.16+commit.07a7930e" - }, - "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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": "IERC721" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "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": 26212, - "exportedSymbols": { - "IERC165": [ - 27731 - ], - "IERC721": [ - 26211 - ] - }, - "nodeType": "SourceUnit", - "src": "93:4643:27", - "nodes": [ - { - "id": 26097, - "nodeType": "PragmaDirective", - "src": "93:23:27", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26098, - "nodeType": "ImportDirective", - "src": "118:47:27", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", - "file": "../../utils/introspection/IERC165.sol", - "nameLocation": "-1:-1:-1", - "scope": 26212, - "sourceUnit": 27732, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26211, - "nodeType": "ContractDefinition", - "src": "235:4500:27", - "nodes": [ - { - "id": 26110, - "nodeType": "EventDefinition", - "src": "363:82:27", - "anonymous": false, - "documentation": { - "id": 26102, - "nodeType": "StructuredDocumentation", - "src": "270:88:27", - "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." - }, - "eventSelector": "ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "name": "Transfer", - "nameLocation": "369:8:27", - "parameters": { - "id": 26109, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26104, - "indexed": true, - "mutability": "mutable", - "name": "from", - "nameLocation": "394:4:27", - "nodeType": "VariableDeclaration", - "scope": 26110, - "src": "378:20:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26103, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "378:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26106, - "indexed": true, - "mutability": "mutable", - "name": "to", - "nameLocation": "416:2:27", - "nodeType": "VariableDeclaration", - "scope": 26110, - "src": "400:18:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26105, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "400:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26108, - "indexed": true, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "436:7:27", - "nodeType": "VariableDeclaration", - "scope": 26110, - "src": "420:23:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26107, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "420:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "377:67:27" - } - }, - { - "id": 26119, - "nodeType": "EventDefinition", - "src": "550:89:27", - "anonymous": false, - "documentation": { - "id": 26111, - "nodeType": "StructuredDocumentation", - "src": "451:94:27", - "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." - }, - "eventSelector": "8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", - "name": "Approval", - "nameLocation": "556:8:27", - "parameters": { - "id": 26118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26113, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nameLocation": "581:5:27", - "nodeType": "VariableDeclaration", - "scope": 26119, - "src": "565:21:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26112, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "565:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26115, - "indexed": true, - "mutability": "mutable", - "name": "approved", - "nameLocation": "604:8:27", - "nodeType": "VariableDeclaration", - "scope": 26119, - "src": "588:24:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26114, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "588:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26117, - "indexed": true, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "630:7:27", - "nodeType": "VariableDeclaration", - "scope": 26119, - "src": "614:23:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26116, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "614:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "564:74:27" - } - }, - { - "id": 26128, - "nodeType": "EventDefinition", - "src": "767:85:27", - "anonymous": false, - "documentation": { - "id": 26120, - "nodeType": "StructuredDocumentation", - "src": "645:117:27", - "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." - }, - "eventSelector": "17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31", - "name": "ApprovalForAll", - "nameLocation": "773:14:27", - "parameters": { - "id": 26127, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26122, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nameLocation": "804:5:27", - "nodeType": "VariableDeclaration", - "scope": 26128, - "src": "788:21:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26121, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "788:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26124, - "indexed": true, - "mutability": "mutable", - "name": "operator", - "nameLocation": "827:8:27", - "nodeType": "VariableDeclaration", - "scope": 26128, - "src": "811:24:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26123, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "811:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26126, - "indexed": false, - "mutability": "mutable", - "name": "approved", - "nameLocation": "842:8:27", - "nodeType": "VariableDeclaration", - "scope": 26128, - "src": "837:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26125, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "837:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "787:64:27" - } - }, - { - "id": 26136, - "nodeType": "FunctionDefinition", - "src": "939:74:27", - "documentation": { - "id": 26129, - "nodeType": "StructuredDocumentation", - "src": "858:76:27", - "text": " @dev Returns the number of tokens in ``owner``'s account." - }, - "functionSelector": "70a08231", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nameLocation": "948:9:27", - "parameters": { - "id": 26132, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26131, - "mutability": "mutable", - "name": "owner", - "nameLocation": "966:5:27", - "nodeType": "VariableDeclaration", - "scope": 26136, - "src": "958:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26130, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "958:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "957:15:27" - }, - "returnParameters": { - "id": 26135, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26134, - "mutability": "mutable", - "name": "balance", - "nameLocation": "1004:7:27", - "nodeType": "VariableDeclaration", - "scope": 26136, - "src": "996:15:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26133, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "996:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "995:17:27" - }, - "scope": 26211, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26144, - "nodeType": "FunctionDefinition", - "src": "1155:72:27", - "documentation": { - "id": 26137, - "nodeType": "StructuredDocumentation", - "src": "1019:131:27", - "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": "1164:7:27", - "parameters": { - "id": 26140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26139, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "1180:7:27", - "nodeType": "VariableDeclaration", - "scope": 26144, - "src": "1172:15:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1172:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1171:17:27" - }, - "returnParameters": { - "id": 26143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26142, - "mutability": "mutable", - "name": "owner", - "nameLocation": "1220:5:27", - "nodeType": "VariableDeclaration", - "scope": 26144, - "src": "1212:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26141, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1212:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1211:15:27" - }, - "scope": 26211, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26154, - "nodeType": "FunctionDefinition", - "src": "1928:108:27", - "documentation": { - "id": 26145, - "nodeType": "StructuredDocumentation", - "src": "1233:690:27", - "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 be 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": "1937:16:27", - "parameters": { - "id": 26152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26147, - "mutability": "mutable", - "name": "from", - "nameLocation": "1971:4:27", - "nodeType": "VariableDeclaration", - "scope": 26154, - "src": "1963:12:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26146, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1963:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26149, - "mutability": "mutable", - "name": "to", - "nameLocation": "1993:2:27", - "nodeType": "VariableDeclaration", - "scope": 26154, - "src": "1985:10:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26148, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1985:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26151, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2013:7:27", - "nodeType": "VariableDeclaration", - "scope": 26154, - "src": "2005:15:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26150, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2005:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1953:73:27" - }, - "returnParameters": { - "id": 26153, - "nodeType": "ParameterList", - "parameters": [], - "src": "2035:0:27" - }, - "scope": 26211, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26164, - "nodeType": "FunctionDefinition", - "src": "2551:104:27", - "documentation": { - "id": 26155, - "nodeType": "StructuredDocumentation", - "src": "2042:504:27", - "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\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": "2560:12:27", - "parameters": { - "id": 26162, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26157, - "mutability": "mutable", - "name": "from", - "nameLocation": "2590:4:27", - "nodeType": "VariableDeclaration", - "scope": 26164, - "src": "2582:12:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26156, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2582:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26159, - "mutability": "mutable", - "name": "to", - "nameLocation": "2612:2:27", - "nodeType": "VariableDeclaration", - "scope": 26164, - "src": "2604:10:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26158, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2604:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26161, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "2632:7:27", - "nodeType": "VariableDeclaration", - "scope": 26164, - "src": "2624:15:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26160, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2624:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2572:73:27" - }, - "returnParameters": { - "id": 26163, - "nodeType": "ParameterList", - "parameters": [], - "src": "2654:0:27" - }, - "scope": 26211, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26172, - "nodeType": "FunctionDefinition", - "src": "3118:55:27", - "documentation": { - "id": 26165, - "nodeType": "StructuredDocumentation", - "src": "2661:452:27", - "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": "3127:7:27", - "parameters": { - "id": 26170, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26167, - "mutability": "mutable", - "name": "to", - "nameLocation": "3143:2:27", - "nodeType": "VariableDeclaration", - "scope": 26172, - "src": "3135:10:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26166, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3135:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26169, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "3155:7:27", - "nodeType": "VariableDeclaration", - "scope": 26172, - "src": "3147:15:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26168, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3147:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3134:29:27" - }, - "returnParameters": { - "id": 26171, - "nodeType": "ParameterList", - "parameters": [], - "src": "3172:0:27" - }, - "scope": 26211, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26180, - "nodeType": "FunctionDefinition", - "src": "3323:79:27", - "documentation": { - "id": 26173, - "nodeType": "StructuredDocumentation", - "src": "3179:139:27", - "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": "3332:11:27", - "parameters": { - "id": 26176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26175, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "3352:7:27", - "nodeType": "VariableDeclaration", - "scope": 26180, - "src": "3344:15:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26174, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3344:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3343:17:27" - }, - "returnParameters": { - "id": 26179, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26178, - "mutability": "mutable", - "name": "operator", - "nameLocation": "3392:8:27", - "nodeType": "VariableDeclaration", - "scope": 26180, - "src": "3384:16:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26177, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3384:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3383:18:27" - }, - "scope": 26211, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26188, - "nodeType": "FunctionDefinition", - "src": "3722:70:27", - "documentation": { - "id": 26181, - "nodeType": "StructuredDocumentation", - "src": "3408:309:27", - "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": "3731:17:27", - "parameters": { - "id": 26186, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26183, - "mutability": "mutable", - "name": "operator", - "nameLocation": "3757:8:27", - "nodeType": "VariableDeclaration", - "scope": 26188, - "src": "3749:16:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26182, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3749:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26185, - "mutability": "mutable", - "name": "_approved", - "nameLocation": "3772:9:27", - "nodeType": "VariableDeclaration", - "scope": 26188, - "src": "3767:14:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26184, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3767:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "3748:34:27" - }, - "returnParameters": { - "id": 26187, - "nodeType": "ParameterList", - "parameters": [], - "src": "3791:0:27" - }, - "scope": 26211, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 26198, - "nodeType": "FunctionDefinition", - "src": "3941:88:27", - "documentation": { - "id": 26189, - "nodeType": "StructuredDocumentation", - "src": "3798:138:27", - "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": "3950:16:27", - "parameters": { - "id": 26194, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26191, - "mutability": "mutable", - "name": "owner", - "nameLocation": "3975:5:27", - "nodeType": "VariableDeclaration", - "scope": 26198, - "src": "3967:13:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26190, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3967:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26193, - "mutability": "mutable", - "name": "operator", - "nameLocation": "3990:8:27", - "nodeType": "VariableDeclaration", - "scope": 26198, - "src": "3982:16:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26192, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3982:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3966:33:27" - }, - "returnParameters": { - "id": 26197, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26196, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26198, - "src": "4023:4:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 26195, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4023:4:27", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4022:6:27" - }, - "scope": 26211, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26210, - "nodeType": "FunctionDefinition", - "src": "4596:137:27", - "documentation": { - "id": 26199, - "nodeType": "StructuredDocumentation", - "src": "4035:556:27", - "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": "4605:16:27", - "parameters": { - "id": 26208, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26201, - "mutability": "mutable", - "name": "from", - "nameLocation": "4639:4:27", - "nodeType": "VariableDeclaration", - "scope": 26210, - "src": "4631:12:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26200, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4631:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26203, - "mutability": "mutable", - "name": "to", - "nameLocation": "4661:2:27", - "nodeType": "VariableDeclaration", - "scope": 26210, - "src": "4653:10:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26202, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4653:7:27", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26205, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "4681:7:27", - "nodeType": "VariableDeclaration", - "scope": 26210, - "src": "4673:15:27", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26204, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4673:7:27", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26207, - "mutability": "mutable", - "name": "data", - "nameLocation": "4713:4:27", - "nodeType": "VariableDeclaration", - "scope": 26210, - "src": "4698:19:27", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26206, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4698:5:27", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4621:102:27" - }, - "returnParameters": { - "id": 26209, - "nodeType": "ParameterList", - "parameters": [], - "src": "4732:0:27" - }, - "scope": 26211, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 26100, - "name": "IERC165", - "nameLocations": [ - "256:7:27" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27731, - "src": "256:7:27" - }, - "id": 26101, - "nodeType": "InheritanceSpecifier", - "src": "256:7:27" - } - ], - "canonicalName": "IERC721", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 26099, - "nodeType": "StructuredDocumentation", - "src": "167:67:27", - "text": " @dev Required interface of an ERC721 compliant contract." - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 26211, - 27731 - ], - "name": "IERC721", - "nameLocation": "245:7:27", - "scope": 26212, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 27 -} \ No newline at end of file +{"abi":[{"type":"function","name":"approve","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getApproved","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"operator","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"isApprovedForAll","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"ownerOf","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"owner","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setApprovalForAll","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"_approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false}],"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.23+commit.f704f362\"},\"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"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.23+commit.f704f362"},"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":"IERC721"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],"license":"MIT"}},"version":1},"id":28} \ No newline at end of file diff --git a/out/IERC721Metadata.sol/IERC721Metadata.json b/out/IERC721Metadata.sol/IERC721Metadata.json index db6e00d..db1e86e 100644 --- a/out/IERC721Metadata.sol/IERC721Metadata.json +++ b/out/IERC721Metadata.sol/IERC721Metadata.json @@ -1,1092 +1 @@ -{ - "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.16+commit.07a7930e\"},\"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"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.16+commit.07a7930e" - }, - "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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": "IERC721Metadata" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "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": 26257, - "exportedSymbols": { - "IERC165": [ - 27731 - ], - "IERC721": [ - 26211 - ], - "IERC721Metadata": [ - 26256 - ] - }, - "nodeType": "SourceUnit", - "src": "112:649:29", - "nodes": [ - { - "id": 26231, - "nodeType": "PragmaDirective", - "src": "112:23:29", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26232, - "nodeType": "ImportDirective", - "src": "137:24:29", - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "../IERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 26257, - "sourceUnit": 26212, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26256, - "nodeType": "ContractDefinition", - "src": "297:463:29", - "nodes": [ - { - "id": 26241, - "nodeType": "FunctionDefinition", - "src": "403:54:29", - "documentation": { - "id": 26236, - "nodeType": "StructuredDocumentation", - "src": "340:58:29", - "text": " @dev Returns the token collection name." - }, - "functionSelector": "06fdde03", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "name", - "nameLocation": "412:4:29", - "parameters": { - "id": 26237, - "nodeType": "ParameterList", - "parameters": [], - "src": "416:2:29" - }, - "returnParameters": { - "id": 26240, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26239, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26241, - "src": "442:13:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26238, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "442:6:29", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "441:15:29" - }, - "scope": 26256, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26247, - "nodeType": "FunctionDefinition", - "src": "528:56:29", - "documentation": { - "id": 26242, - "nodeType": "StructuredDocumentation", - "src": "463:60:29", - "text": " @dev Returns the token collection symbol." - }, - "functionSelector": "95d89b41", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "symbol", - "nameLocation": "537:6:29", - "parameters": { - "id": 26243, - "nodeType": "ParameterList", - "parameters": [], - "src": "543:2:29" - }, - "returnParameters": { - "id": 26246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26245, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26247, - "src": "569:13:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26244, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "569:6:29", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "568:15:29" - }, - "scope": 26256, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 26255, - "nodeType": "FunctionDefinition", - "src": "685:73:29", - "documentation": { - "id": 26248, - "nodeType": "StructuredDocumentation", - "src": "590:90:29", - "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." - }, - "functionSelector": "c87b56dd", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nameLocation": "694:8:29", - "parameters": { - "id": 26251, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26250, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "711:7:29", - "nodeType": "VariableDeclaration", - "scope": 26255, - "src": "703:15:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26249, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "703:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "702:17:29" - }, - "returnParameters": { - "id": 26254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26253, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26255, - "src": "743:13:29", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26252, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "743:6:29", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "742:15:29" - }, - "scope": 26256, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 26234, - "name": "IERC721", - "nameLocations": [ - "326:7:29" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26211, - "src": "326:7:29" - }, - "id": 26235, - "nodeType": "InheritanceSpecifier", - "src": "326:7:29" - } - ], - "canonicalName": "IERC721Metadata", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 26233, - "nodeType": "StructuredDocumentation", - "src": "163:133:29", - "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 26256, - 26211, - 27731 - ], - "name": "IERC721Metadata", - "nameLocation": "307:15:29", - "scope": 26257, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 29 -} \ No newline at end of file +{"abi":[{"type":"function","name":"approve","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getApproved","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"operator","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"isApprovedForAll","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"ownerOf","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"owner","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setApprovalForAll","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"_approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"tokenURI","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false}],"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.23+commit.f704f362\"},\"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\",\"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}\"},\"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"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.23+commit.f704f362"},"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":"IERC721Metadata"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"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},"id":30} \ No newline at end of file diff --git a/out/IERC721Receiver.sol/IERC721Receiver.json b/out/IERC721Receiver.sol/IERC721Receiver.json index 1f5bf4d..1cbc2f9 100644 --- a/out/IERC721Receiver.sol/IERC721Receiver.json +++ b/out/IERC721Receiver.sol/IERC721Receiver.json @@ -1,366 +1 @@ -{ - "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.16+commit.07a7930e\"},\"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 `IERC721.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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "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 `IERC721.onERC721Received.selector`." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": "IERC721Receiver" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f", - "urls": [ - "bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f", - "dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "id": 26230, - "exportedSymbols": { - "IERC721Receiver": [ - 26229 - ] - }, - "nodeType": "SourceUnit", - "src": "101:863:28", - "nodes": [ - { - "id": 26213, - "nodeType": "PragmaDirective", - "src": "101:23:28", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26229, - "nodeType": "ContractDefinition", - "src": "279:684:28", - "nodes": [ - { - "id": 26228, - "nodeType": "FunctionDefinition", - "src": "801:160:28", - "documentation": { - "id": 26215, - "nodeType": "StructuredDocumentation", - "src": "311:485:28", - "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 `IERC721.onERC721Received.selector`." - }, - "functionSelector": "150b7a02", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "onERC721Received", - "nameLocation": "810:16:28", - "parameters": { - "id": 26224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26217, - "mutability": "mutable", - "name": "operator", - "nameLocation": "844:8:28", - "nodeType": "VariableDeclaration", - "scope": 26228, - "src": "836:16:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26216, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "836:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26219, - "mutability": "mutable", - "name": "from", - "nameLocation": "870:4:28", - "nodeType": "VariableDeclaration", - "scope": 26228, - "src": "862:12:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26218, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "862:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26221, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "892:7:28", - "nodeType": "VariableDeclaration", - "scope": 26228, - "src": "884:15:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26220, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "884:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26223, - "mutability": "mutable", - "name": "data", - "nameLocation": "924:4:28", - "nodeType": "VariableDeclaration", - "scope": 26228, - "src": "909:19:28", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26222, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "909:5:28", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "826:108:28" - }, - "returnParameters": { - "id": 26227, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26226, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26228, - "src": "953:6:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 26225, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "953:6:28", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "952:8:28" - }, - "scope": 26229, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IERC721Receiver", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 26214, - "nodeType": "StructuredDocumentation", - "src": "126:152:28", - "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": [ - 26229 - ], - "name": "IERC721Receiver", - "nameLocation": "289:15:28", - "scope": 26230, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 28 -} \ No newline at end of file +{"abi":[{"type":"function","name":"onERC721Received","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"from","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"onERC721Received(address,address,uint256,bytes)":"150b7a02"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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 `IERC721.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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"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 `IERC721.onERC721Received.selector`."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":"IERC721Receiver"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"keccak256":"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f","urls":["bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f","dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a"],"license":"MIT"}},"version":1},"id":29} \ No newline at end of file diff --git a/out/IJBOperatable.sol/IJBOperatable.json b/out/IJBOperatable.sol/IJBOperatable.json index 8c54c34..7b39cfb 100644 --- a/out/IJBOperatable.sol/IJBOperatable.json +++ b/out/IJBOperatable.sol/IJBOperatable.json @@ -1,241 +1 @@ -{ - "abi": [ - { - "inputs": [], - "name": "operatorStore", - "outputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "operatorStore()": "ad007d63" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":\"IJBOperatable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "operatorStore", - "outputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "", - "type": "address" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol": "IJBOperatable" - }, - "libraries": {} - }, - "sources": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol": { - "keccak256": "0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e", - "urls": [ - "bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b", - "dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol", - "id": 24359, - "exportedSymbols": { - "IJBOperatable": [ - 24358 - ], - "IJBOperatorStore": [ - 24426 - ], - "JBOperatorData": [ - 24582 - ] - }, - "nodeType": "SourceUnit", - "src": "32:156:15", - "nodes": [ - { - "id": 24350, - "nodeType": "PragmaDirective", - "src": "32:23:15", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 24351, - "nodeType": "ImportDirective", - "src": "57:32:15", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol", - "file": "./IJBOperatorStore.sol", - "nameLocation": "-1:-1:-1", - "scope": 24359, - "sourceUnit": 24427, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24358, - "nodeType": "ContractDefinition", - "src": "91:96:15", - "nodes": [ - { - "id": 24357, - "nodeType": "FunctionDefinition", - "src": "119:66:15", - "functionSelector": "ad007d63", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "operatorStore", - "nameLocation": "128:13:15", - "parameters": { - "id": 24352, - "nodeType": "ParameterList", - "parameters": [], - "src": "141:2:15" - }, - "returnParameters": { - "id": 24356, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24355, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24357, - "src": "167:16:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 24354, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24353, - "name": "IJBOperatorStore", - "nameLocations": [ - "167:16:15" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24426, - "src": "167:16:15" - }, - "referencedDeclaration": 24426, - "src": "167:16:15", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "internal" - } - ], - "src": "166:18:15" - }, - "scope": 24358, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IJBOperatable", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 24358 - ], - "name": "IJBOperatable", - "nameLocation": "101:13:15", - "scope": 24359, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 15 -} \ No newline at end of file +{"abi":[{"type":"function","name":"operatorStore","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBOperatorStore"}],"stateMutability":"view"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"operatorStore()":"ad007d63"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":\"IJBOperatable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"view","type":"function","name":"operatorStore","outputs":[{"internalType":"contract IJBOperatorStore","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":"IJBOperatable"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":{"keccak256":"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e","urls":["bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b","dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"}},"version":1},"id":16} \ No newline at end of file diff --git a/out/IJBOperatorStore.sol/IJBOperatorStore.json b/out/IJBOperatorStore.sol/IJBOperatorStore.json index 4681603..53b48b9 100644 --- a/out/IJBOperatorStore.sol/IJBOperatorStore.json +++ b/out/IJBOperatorStore.sol/IJBOperatorStore.json @@ -1,1315 +1 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "packed", - "type": "uint256" - } - ], - "name": "SetOperator", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_permissionIndex", - "type": "uint256" - } - ], - "name": "hasPermission", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "_permissionIndexes", - "type": "uint256[]" - } - ], - "name": "hasPermissions", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - } - ], - "name": "permissionsOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - } - ], - "internalType": "struct JBOperatorData", - "name": "_operatorData", - "type": "tuple" - } - ], - "name": "setOperator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - } - ], - "internalType": "struct JBOperatorData[]", - "name": "_operatorData", - "type": "tuple[]" - } - ], - "name": "setOperators", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "hasPermission(address,address,uint256,uint256)": "c161c93f", - "hasPermissions(address,address,uint256,uint256[])": "0f5932f0", - "permissionsOf(address,address,uint256)": "80deb230", - "setOperator((address,uint256,uint256[]))": "529cdd2e", - "setOperators((address,uint256,uint256[])[])": "8d5f697f" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"packed\",\"type\":\"uint256\"}],\"name\":\"SetOperator\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_permissionIndex\",\"type\":\"uint256\"}],\"name\":\"hasPermission\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"_permissionIndexes\",\"type\":\"uint256[]\"}],\"name\":\"hasPermissions\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"}],\"name\":\"permissionsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData\",\"name\":\"_operatorData\",\"type\":\"tuple\"}],\"name\":\"setOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData[]\",\"name\":\"_operatorData\",\"type\":\"tuple[]\"}],\"name\":\"setOperators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":\"IJBOperatorStore\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256", - "indexed": true - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]", - "indexed": false - }, - { - "internalType": "uint256", - "name": "packed", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "SetOperator", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_permissionIndex", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "hasPermission", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "_permissionIndexes", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function", - "name": "hasPermissions", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "permissionsOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct JBOperatorData", - "name": "_operatorData", - "type": "tuple", - "components": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setOperator" - }, - { - "inputs": [ - { - "internalType": "struct JBOperatorData[]", - "name": "_operatorData", - "type": "tuple[]", - "components": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setOperators" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": "IJBOperatorStore" - }, - "libraries": {} - }, - "sources": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol", - "id": 24427, - "exportedSymbols": { - "IJBOperatorStore": [ - 24426 - ], - "JBOperatorData": [ - 24582 - ] - }, - "nodeType": "SourceUnit", - "src": "32:868:16", - "nodes": [ - { - "id": 24360, - "nodeType": "PragmaDirective", - "src": "32:23:16", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 24361, - "nodeType": "ImportDirective", - "src": "57:41:16", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol", - "file": "./../structs/JBOperatorData.sol", - "nameLocation": "-1:-1:-1", - "scope": 24427, - "sourceUnit": 24583, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24426, - "nodeType": "ContractDefinition", - "src": "100:799:16", - "nodes": [ - { - "id": 24374, - "nodeType": "EventDefinition", - "src": "131:162:16", - "anonymous": false, - "eventSelector": "9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb320", - "name": "SetOperator", - "nameLocation": "137:11:16", - "parameters": { - "id": 24373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24363, - "indexed": true, - "mutability": "mutable", - "name": "operator", - "nameLocation": "170:8:16", - "nodeType": "VariableDeclaration", - "scope": 24374, - "src": "154:24:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24362, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "154:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24365, - "indexed": true, - "mutability": "mutable", - "name": "account", - "nameLocation": "200:7:16", - "nodeType": "VariableDeclaration", - "scope": 24374, - "src": "184:23:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24364, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "184:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24367, - "indexed": true, - "mutability": "mutable", - "name": "domain", - "nameLocation": "229:6:16", - "nodeType": "VariableDeclaration", - "scope": 24374, - "src": "213:22:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "213:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24370, - "indexed": false, - "mutability": "mutable", - "name": "permissionIndexes", - "nameLocation": "251:17:16", - "nodeType": "VariableDeclaration", - "scope": 24374, - "src": "241:27:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 24368, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "241:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 24369, - "nodeType": "ArrayTypeName", - "src": "241:9:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24372, - "indexed": false, - "mutability": "mutable", - "name": "packed", - "nameLocation": "282:6:16", - "nodeType": "VariableDeclaration", - "scope": 24374, - "src": "274:14:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24371, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "274:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "148:144:16" - } - }, - { - "id": 24385, - "nodeType": "FunctionDefinition", - "src": "297:125:16", - "functionSelector": "80deb230", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "permissionsOf", - "nameLocation": "306:13:16", - "parameters": { - "id": 24381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24376, - "mutability": "mutable", - "name": "_operator", - "nameLocation": "333:9:16", - "nodeType": "VariableDeclaration", - "scope": 24385, - "src": "325:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24375, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "325:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24378, - "mutability": "mutable", - "name": "_account", - "nameLocation": "356:8:16", - "nodeType": "VariableDeclaration", - "scope": 24385, - "src": "348:16:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24377, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "348:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24380, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "378:7:16", - "nodeType": "VariableDeclaration", - "scope": 24385, - "src": "370:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24379, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "370:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "319:70:16" - }, - "returnParameters": { - "id": 24384, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24383, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24385, - "src": "413:7:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24382, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "413:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "412:9:16" - }, - "scope": 24426, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24398, - "nodeType": "FunctionDefinition", - "src": "426:152:16", - "functionSelector": "c161c93f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "hasPermission", - "nameLocation": "435:13:16", - "parameters": { - "id": 24394, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24387, - "mutability": "mutable", - "name": "_operator", - "nameLocation": "462:9:16", - "nodeType": "VariableDeclaration", - "scope": 24398, - "src": "454:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24386, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "454:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24389, - "mutability": "mutable", - "name": "_account", - "nameLocation": "485:8:16", - "nodeType": "VariableDeclaration", - "scope": 24398, - "src": "477:16:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24388, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "477:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24391, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "507:7:16", - "nodeType": "VariableDeclaration", - "scope": 24398, - "src": "499:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24390, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "499:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24393, - "mutability": "mutable", - "name": "_permissionIndex", - "nameLocation": "528:16:16", - "nodeType": "VariableDeclaration", - "scope": 24398, - "src": "520:24:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24392, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "520:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "448:100:16" - }, - "returnParameters": { - "id": 24397, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24396, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24398, - "src": "572:4:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24395, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "572:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "571:6:16" - }, - "scope": 24426, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24412, - "nodeType": "FunctionDefinition", - "src": "582:166:16", - "functionSelector": "0f5932f0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "hasPermissions", - "nameLocation": "591:14:16", - "parameters": { - "id": 24408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24400, - "mutability": "mutable", - "name": "_operator", - "nameLocation": "619:9:16", - "nodeType": "VariableDeclaration", - "scope": 24412, - "src": "611:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24399, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "611:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24402, - "mutability": "mutable", - "name": "_account", - "nameLocation": "642:8:16", - "nodeType": "VariableDeclaration", - "scope": 24412, - "src": "634:16:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "634:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24404, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "664:7:16", - "nodeType": "VariableDeclaration", - "scope": 24412, - "src": "656:15:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24403, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "656:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24407, - "mutability": "mutable", - "name": "_permissionIndexes", - "nameLocation": "696:18:16", - "nodeType": "VariableDeclaration", - "scope": 24412, - "src": "677:37:16", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 24405, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "677:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 24406, - "nodeType": "ArrayTypeName", - "src": "677:9:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "605:113:16" - }, - "returnParameters": { - "id": 24411, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24410, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24412, - "src": "742:4:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24409, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "742:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "741:6:16" - }, - "scope": 24426, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24418, - "nodeType": "FunctionDefinition", - "src": "752:69:16", - "functionSelector": "529cdd2e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setOperator", - "nameLocation": "761:11:16", - "parameters": { - "id": 24416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24415, - "mutability": "mutable", - "name": "_operatorData", - "nameLocation": "797:13:16", - "nodeType": "VariableDeclaration", - "scope": 24418, - "src": "773:37:16", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData" - }, - "typeName": { - "id": 24414, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24413, - "name": "JBOperatorData", - "nameLocations": [ - "773:14:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24582, - "src": "773:14:16" - }, - "referencedDeclaration": 24582, - "src": "773:14:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_storage_ptr", - "typeString": "struct JBOperatorData" - } - }, - "visibility": "internal" - } - ], - "src": "772:39:16" - }, - "returnParameters": { - "id": 24417, - "nodeType": "ParameterList", - "parameters": [], - "src": "820:0:16" - }, - "scope": 24426, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 24425, - "nodeType": "FunctionDefinition", - "src": "825:72:16", - "functionSelector": "8d5f697f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setOperators", - "nameLocation": "834:12:16", - "parameters": { - "id": 24423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24422, - "mutability": "mutable", - "name": "_operatorData", - "nameLocation": "873:13:16", - "nodeType": "VariableDeclaration", - "scope": 24425, - "src": "847:39:16", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData[]" - }, - "typeName": { - "baseType": { - "id": 24420, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24419, - "name": "JBOperatorData", - "nameLocations": [ - "847:14:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24582, - "src": "847:14:16" - }, - "referencedDeclaration": 24582, - "src": "847:14:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_storage_ptr", - "typeString": "struct JBOperatorData" - } - }, - "id": 24421, - "nodeType": "ArrayTypeName", - "src": "847:16:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_storage_$dyn_storage_ptr", - "typeString": "struct JBOperatorData[]" - } - }, - "visibility": "internal" - } - ], - "src": "846:41:16" - }, - "returnParameters": { - "id": 24424, - "nodeType": "ParameterList", - "parameters": [], - "src": "896:0:16" - }, - "scope": 24426, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IJBOperatorStore", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 24426 - ], - "name": "IJBOperatorStore", - "nameLocation": "110:16:16", - "scope": 24427, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 16 -} \ No newline at end of file +{"abi":[{"type":"function","name":"hasPermission","inputs":[{"name":"_operator","type":"address","internalType":"address"},{"name":"_account","type":"address","internalType":"address"},{"name":"_domain","type":"uint256","internalType":"uint256"},{"name":"_permissionIndex","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"hasPermissions","inputs":[{"name":"_operator","type":"address","internalType":"address"},{"name":"_account","type":"address","internalType":"address"},{"name":"_domain","type":"uint256","internalType":"uint256"},{"name":"_permissionIndexes","type":"uint256[]","internalType":"uint256[]"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"permissionsOf","inputs":[{"name":"_operator","type":"address","internalType":"address"},{"name":"_account","type":"address","internalType":"address"},{"name":"_domain","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"setOperator","inputs":[{"name":"_operatorData","type":"tuple","internalType":"struct JBOperatorData","components":[{"name":"operator","type":"address","internalType":"address"},{"name":"domain","type":"uint256","internalType":"uint256"},{"name":"permissionIndexes","type":"uint256[]","internalType":"uint256[]"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setOperators","inputs":[{"name":"_operatorData","type":"tuple[]","internalType":"struct JBOperatorData[]","components":[{"name":"operator","type":"address","internalType":"address"},{"name":"domain","type":"uint256","internalType":"uint256"},{"name":"permissionIndexes","type":"uint256[]","internalType":"uint256[]"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"SetOperator","inputs":[{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"domain","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"permissionIndexes","type":"uint256[]","indexed":false,"internalType":"uint256[]"},{"name":"packed","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"hasPermission(address,address,uint256,uint256)":"c161c93f","hasPermissions(address,address,uint256,uint256[])":"0f5932f0","permissionsOf(address,address,uint256)":"80deb230","setOperator((address,uint256,uint256[]))":"529cdd2e","setOperators((address,uint256,uint256[])[])":"8d5f697f"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"packed\",\"type\":\"uint256\"}],\"name\":\"SetOperator\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_permissionIndex\",\"type\":\"uint256\"}],\"name\":\"hasPermission\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"_permissionIndexes\",\"type\":\"uint256[]\"}],\"name\":\"hasPermissions\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"}],\"name\":\"permissionsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData\",\"name\":\"_operatorData\",\"type\":\"tuple\"}],\"name\":\"setOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData[]\",\"name\":\"_operatorData\",\"type\":\"tuple[]\"}],\"name\":\"setOperators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":\"IJBOperatorStore\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"operator","type":"address","indexed":true},{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"uint256","name":"domain","type":"uint256","indexed":true},{"internalType":"uint256[]","name":"permissionIndexes","type":"uint256[]","indexed":false},{"internalType":"uint256","name":"packed","type":"uint256","indexed":false}],"type":"event","name":"SetOperator","anonymous":false},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_domain","type":"uint256"},{"internalType":"uint256","name":"_permissionIndex","type":"uint256"}],"stateMutability":"view","type":"function","name":"hasPermission","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_domain","type":"uint256"},{"internalType":"uint256[]","name":"_permissionIndexes","type":"uint256[]"}],"stateMutability":"view","type":"function","name":"hasPermissions","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_domain","type":"uint256"}],"stateMutability":"view","type":"function","name":"permissionsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct JBOperatorData","name":"_operatorData","type":"tuple","components":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"domain","type":"uint256"},{"internalType":"uint256[]","name":"permissionIndexes","type":"uint256[]"}]}],"stateMutability":"nonpayable","type":"function","name":"setOperator"},{"inputs":[{"internalType":"struct JBOperatorData[]","name":"_operatorData","type":"tuple[]","components":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"domain","type":"uint256"},{"internalType":"uint256[]","name":"permissionIndexes","type":"uint256[]"}]}],"stateMutability":"nonpayable","type":"function","name":"setOperators"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":"IJBOperatorStore"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"}},"version":1},"id":17} \ No newline at end of file diff --git a/out/IJBProjectHandles.sol/IJBProjectHandles.json b/out/IJBProjectHandles.sol/IJBProjectHandles.json index d4781d2..91a1e34 100644 --- a/out/IJBProjectHandles.sol/IJBProjectHandles.json +++ b/out/IJBProjectHandles.sol/IJBProjectHandles.json @@ -1,959 +1 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "handle", - "type": "string" - }, - { - "indexed": false, - "internalType": "string[]", - "name": "parts", - "type": "string[]" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "SetEnsNameParts", - "type": "event" - }, - { - "inputs": [], - "name": "TEXT_KEY", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "name": "ensNamePartsOf", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "name": "handleOf", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "projects", - "outputs": [ - { - "internalType": "contract IJBProjects", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - }, - { - "internalType": "string[]", - "name": "_parts", - "type": "string[]" - } - ], - "name": "setEnsNamePartsFor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "TEXT_KEY()": "c548f309", - "ensNamePartsOf(uint256)": "30abe987", - "handleOf(uint256)": "49491987", - "projects()": "8b79543c", - "setEnsNamePartsFor(uint256,string[])": "2b5b94ad" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"handle\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"parts\",\"type\":\"string[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetEnsNameParts\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"TEXT_KEY\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"ensNamePartsOf\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"handleOf\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IJBProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"string[]\",\"name\":\"_parts\",\"type\":\"string[]\"}],\"name\":\"setEnsNamePartsFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IJBProjectHandles.sol\":\"IJBProjectHandles\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"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.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "handle", - "type": "string", - "indexed": true - }, - { - "internalType": "string[]", - "name": "parts", - "type": "string[]", - "indexed": false - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "SetEnsNameParts", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "TEXT_KEY", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ensNamePartsOf", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "handleOf", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "projects", - "outputs": [ - { - "internalType": "contract IJBProjects", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - }, - { - "internalType": "string[]", - "name": "_parts", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setEnsNamePartsFor" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "contracts/interfaces/IJBProjectHandles.sol": "IJBProjectHandles" - }, - "libraries": {} - }, - "sources": { - "contracts/interfaces/IJBProjectHandles.sol": { - "keccak256": "0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6", - "urls": [ - "bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5", - "dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b" - ], - "license": "MIT" - }, - "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol": { - "keccak256": "0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38", - "urls": [ - "bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba", - "dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": { - "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4", - "urls": [ - "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9", - "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": { - "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174", - "urls": [ - "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e", - "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol": { - "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0", - "urls": [ - "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494", - "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "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": "contracts/interfaces/IJBProjectHandles.sol", - "id": 402, - "exportedSymbols": { - "IERC165": [ - 27883 - ], - "IERC721": [ - 26363 - ], - "IJBProjectHandles": [ - 401 - ], - "IJBProjects": [ - 24657 - ], - "IJBTokenUriResolver": [ - 24667 - ], - "ITextResolver": [ - 23859 - ], - "JBProjectMetadata": [ - 24741 - ] - }, - "nodeType": "SourceUnit", - "src": "32:724:1", - "nodes": [ - { - "id": 353, - "nodeType": "PragmaDirective", - "src": "32:24:1", - "literals": [ - "solidity", - "^", - "0.8", - ".16" - ] - }, - { - "id": 354, - "nodeType": "ImportDirective", - "src": "58:82:1", - "absolutePath": "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol", - "file": "@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol", - "nameLocation": "-1:-1:-1", - "scope": 402, - "sourceUnit": 23860, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 355, - "nodeType": "ImportDirective", - "src": "141:79:1", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol", - "file": "@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol", - "nameLocation": "-1:-1:-1", - "scope": 402, - "sourceUnit": 24658, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 401, - "nodeType": "ContractDefinition", - "src": "222:533:1", - "nodes": [ - { - "id": 366, - "nodeType": "EventDefinition", - "src": "254:124:1", - "anonymous": false, - "eventSelector": "2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c", - "name": "SetEnsNameParts", - "nameLocation": "260:15:1", - "parameters": { - "id": 365, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 357, - "indexed": true, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "297:9:1", - "nodeType": "VariableDeclaration", - "scope": 366, - "src": "281:25:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 356, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "281:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 359, - "indexed": true, - "mutability": "mutable", - "name": "handle", - "nameLocation": "327:6:1", - "nodeType": "VariableDeclaration", - "scope": 366, - "src": "312:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 358, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "312:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 362, - "indexed": false, - "mutability": "mutable", - "name": "parts", - "nameLocation": "348:5:1", - "nodeType": "VariableDeclaration", - "scope": 366, - "src": "339:14:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 360, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "339:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 361, - "nodeType": "ArrayTypeName", - "src": "339:8:1", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 364, - "indexed": false, - "mutability": "mutable", - "name": "caller", - "nameLocation": "367:6:1", - "nodeType": "VariableDeclaration", - "scope": 366, - "src": "359:14:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 363, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "359:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "275:102:1" - } - }, - { - "id": 374, - "nodeType": "FunctionDefinition", - "src": "382:81:1", - "functionSelector": "2b5b94ad", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setEnsNamePartsFor", - "nameLocation": "391:18:1", - "parameters": { - "id": 372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 368, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "418:10:1", - "nodeType": "VariableDeclaration", - "scope": 374, - "src": "410:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 367, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "410:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 371, - "mutability": "mutable", - "name": "_parts", - "nameLocation": "446:6:1", - "nodeType": "VariableDeclaration", - "scope": 374, - "src": "430:22:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 369, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "430:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 370, - "nodeType": "ArrayTypeName", - "src": "430:8:1", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "409:44:1" - }, - "returnParameters": { - "id": 373, - "nodeType": "ParameterList", - "parameters": [], - "src": "462:0:1" - }, - "scope": 401, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 382, - "nodeType": "FunctionDefinition", - "src": "467:84:1", - "functionSelector": "30abe987", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ensNamePartsOf", - "nameLocation": "476:14:1", - "parameters": { - "id": 377, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 376, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "499:10:1", - "nodeType": "VariableDeclaration", - "scope": 382, - "src": "491:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 375, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "491:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "490:20:1" - }, - "returnParameters": { - "id": 381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 380, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 382, - "src": "534:15:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 378, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "534:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 379, - "nodeType": "ArrayTypeName", - "src": "534:8:1", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "533:17:1" - }, - "scope": 401, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 387, - "nodeType": "FunctionDefinition", - "src": "555:58:1", - "functionSelector": "c548f309", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "TEXT_KEY", - "nameLocation": "564:8:1", - "parameters": { - "id": 383, - "nodeType": "ParameterList", - "parameters": [], - "src": "572:2:1" - }, - "returnParameters": { - "id": 386, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 385, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 387, - "src": "598:13:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 384, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "598:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "597:15:1" - }, - "scope": 401, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 393, - "nodeType": "FunctionDefinition", - "src": "617:56:1", - "functionSelector": "8b79543c", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "projects", - "nameLocation": "626:8:1", - "parameters": { - "id": 388, - "nodeType": "ParameterList", - "parameters": [], - "src": "634:2:1" - }, - "returnParameters": { - "id": 392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 391, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 393, - "src": "660:11:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24657", - "typeString": "contract IJBProjects" - }, - "typeName": { - "id": 390, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 389, - "name": "IJBProjects", - "nameLocations": [ - "660:11:1" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24657, - "src": "660:11:1" - }, - "referencedDeclaration": 24657, - "src": "660:11:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24657", - "typeString": "contract IJBProjects" - } - }, - "visibility": "internal" - } - ], - "src": "659:13:1" - }, - "scope": 401, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 400, - "nodeType": "FunctionDefinition", - "src": "677:76:1", - "functionSelector": "49491987", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "handleOf", - "nameLocation": "686:8:1", - "parameters": { - "id": 396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 395, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "703:10:1", - "nodeType": "VariableDeclaration", - "scope": 400, - "src": "695:18:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "695:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "694:20:1" - }, - "returnParameters": { - "id": 399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 398, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 400, - "src": "738:13:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 397, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "738:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "737:15:1" - }, - "scope": 401, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IJBProjectHandles", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 401 - ], - "name": "IJBProjectHandles", - "nameLocation": "232:17:1", - "scope": 402, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 1 -} \ No newline at end of file +{"abi":[{"type":"function","name":"TEXT_KEY","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"ensNamePartsOf","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string[]","internalType":"string[]"}],"stateMutability":"view"},{"type":"function","name":"handleOf","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"projects","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBProjects"}],"stateMutability":"view"},{"type":"function","name":"setEnsNamePartsFor","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"},{"name":"_parts","type":"string[]","internalType":"string[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"SetEnsNameParts","inputs":[{"name":"projectId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"handle","type":"string","indexed":true,"internalType":"string"},{"name":"parts","type":"string[]","indexed":false,"internalType":"string[]"},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"TEXT_KEY()":"c548f309","ensNamePartsOf(uint256)":"30abe987","handleOf(uint256)":"49491987","projects()":"8b79543c","setEnsNamePartsFor(uint256,string[])":"2b5b94ad"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"handle\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"parts\",\"type\":\"string[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetEnsNameParts\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"TEXT_KEY\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"ensNamePartsOf\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"handleOf\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IJBProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"string[]\",\"name\":\"_parts\",\"type\":\"string[]\"}],\"name\":\"setEnsNamePartsFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IJBProjectHandles.sol\":\"IJBProjectHandles\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"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.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256","indexed":true},{"internalType":"string","name":"handle","type":"string","indexed":true},{"internalType":"string[]","name":"parts","type":"string[]","indexed":false},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"SetEnsNameParts","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"TEXT_KEY","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"stateMutability":"view","type":"function","name":"ensNamePartsOf","outputs":[{"internalType":"string[]","name":"","type":"string[]"}]},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"stateMutability":"view","type":"function","name":"handleOf","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"projects","outputs":[{"internalType":"contract IJBProjects","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string[]","name":"_parts","type":"string[]"}],"stateMutability":"nonpayable","type":"function","name":"setEnsNamePartsFor"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/interfaces/IJBProjectHandles.sol":"IJBProjectHandles"},"evmVersion":"paris","libraries":{}},"sources":{"contracts/interfaces/IJBProjectHandles.sol":{"keccak256":"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6","urls":["bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5","dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b"],"license":"MIT"},"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol":{"keccak256":"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38","urls":["bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba","dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":{"keccak256":"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4","urls":["bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9","dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol":{"keccak256":"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0","urls":["bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494","dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],"license":"MIT"}},"version":1},"id":1} \ No newline at end of file diff --git a/out/IJBProjects.sol/IJBProjects.json b/out/IJBProjects.sol/IJBProjects.json index e79fe33..1be3aa1 100644 --- a/out/IJBProjects.sol/IJBProjects.json +++ b/out/IJBProjects.sol/IJBProjects.json @@ -1,2121 +1 @@ -{ - "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": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "indexed": false, - "internalType": "struct JBProjectMetadata", - "name": "metadata", - "type": "tuple" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "Create", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "indexed": false, - "internalType": "struct JBProjectMetadata", - "name": "metadata", - "type": "tuple" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "SetMetadata", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IJBTokenUriResolver", - "name": "resolver", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "SetTokenUriResolver", - "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": [], - "name": "count", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "internalType": "struct JBProjectMetadata", - "name": "_metadata", - "type": "tuple" - } - ], - "name": "createFor", - "outputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "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": "_projectId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - } - ], - "name": "metadataContentOf", - "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": "uint256", - "name": "_projectId", - "type": "uint256" - }, - { - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "internalType": "struct JBProjectMetadata", - "name": "_metadata", - "type": "tuple" - } - ], - "name": "setMetadataOf", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "name": "_newResolver", - "type": "address" - } - ], - "name": "setTokenUriResolver", - "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": "tokenUriResolver", - "outputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "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": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "approve(address,uint256)": "095ea7b3", - "balanceOf(address)": "70a08231", - "count()": "06661abd", - "createFor(address,(string,uint256))": "666d87a0", - "getApproved(uint256)": "081812fc", - "isApprovedForAll(address,address)": "e985e9c5", - "metadataContentOf(uint256,uint256)": "39fbc775", - "ownerOf(uint256)": "6352211e", - "safeTransferFrom(address,address,uint256)": "42842e0e", - "safeTransferFrom(address,address,uint256,bytes)": "b88d4fde", - "setApprovalForAll(address,bool)": "a22cb465", - "setMetadataOf(uint256,(string,uint256))": "36574975", - "setTokenUriResolver(address)": "2407497e", - "supportsInterface(bytes4)": "01ffc9a7", - "tokenUriResolver()": "e131fc0c", - "transferFrom(address,address,uint256)": "23b872dd" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct JBProjectMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Create\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct JBProjectMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetMetadata\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IJBTokenUriResolver\",\"name\":\"resolver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetTokenUriResolver\",\"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\":[],\"name\":\"count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"internalType\":\"struct JBProjectMetadata\",\"name\":\"_metadata\",\"type\":\"tuple\"}],\"name\":\"createFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"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\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"}],\"name\":\"metadataContentOf\",\"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\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"internalType\":\"struct JBProjectMetadata\",\"name\":\"_metadata\",\"type\":\"tuple\"}],\"name\":\"setMetadataOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBTokenUriResolver\",\"name\":\"_newResolver\",\"type\":\"address\"}],\"name\":\"setTokenUriResolver\",\"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\":\"tokenUriResolver\",\"outputs\":[{\"internalType\":\"contract IJBTokenUriResolver\",\"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\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":\"IJBProjects\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"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.16+commit.07a7930e" - }, - "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": "uint256", - "name": "projectId", - "type": "uint256", - "indexed": true - }, - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "struct JBProjectMetadata", - "name": "metadata", - "type": "tuple", - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "indexed": false - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "Create", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256", - "indexed": true - }, - { - "internalType": "struct JBProjectMetadata", - "name": "metadata", - "type": "tuple", - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "indexed": false - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "SetMetadata", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "name": "resolver", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "SetTokenUriResolver", - "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": [], - "stateMutability": "view", - "type": "function", - "name": "count", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "struct JBProjectMetadata", - "name": "_metadata", - "type": "tuple", - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "createFor", - "outputs": [ - { - "internalType": "uint256", - "name": "projectId", - "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": "_projectId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "metadataContentOf", - "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": "uint256", - "name": "_projectId", - "type": "uint256" - }, - { - "internalType": "struct JBProjectMetadata", - "name": "_metadata", - "type": "tuple", - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setMetadataOf" - }, - { - "inputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "name": "_newResolver", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTokenUriResolver" - }, - { - "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": "tokenUriResolver", - "outputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "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": "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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": "IJBProjects" - }, - "libraries": {} - }, - "sources": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": { - "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4", - "urls": [ - "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9", - "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": { - "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174", - "urls": [ - "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e", - "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol": { - "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0", - "urls": [ - "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494", - "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "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/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol", - "id": 24506, - "exportedSymbols": { - "IERC165": [ - 27731 - ], - "IERC721": [ - 26211 - ], - "IJBProjects": [ - 24505 - ], - "IJBTokenUriResolver": [ - 24515 - ], - "JBProjectMetadata": [ - 24589 - ] - }, - "nodeType": "SourceUnit", - "src": "32:1049:17", - "nodes": [ - { - "id": 24428, - "nodeType": "PragmaDirective", - "src": "32:23:17", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 24429, - "nodeType": "ImportDirective", - "src": "57:58:17", - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol", - "file": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 24506, - "sourceUnit": 26212, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24430, - "nodeType": "ImportDirective", - "src": "116:44:17", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol", - "file": "./../structs/JBProjectMetadata.sol", - "nameLocation": "-1:-1:-1", - "scope": 24506, - "sourceUnit": 24590, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24431, - "nodeType": "ImportDirective", - "src": "161:35:17", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol", - "file": "./IJBTokenUriResolver.sol", - "nameLocation": "-1:-1:-1", - "scope": 24506, - "sourceUnit": 24516, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24505, - "nodeType": "ContractDefinition", - "src": "198:882:17", - "nodes": [ - { - "id": 24444, - "nodeType": "EventDefinition", - "src": "235:127:17", - "anonymous": false, - "eventSelector": "a1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d4", - "name": "Create", - "nameLocation": "241:6:17", - "parameters": { - "id": 24443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24435, - "indexed": true, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "269:9:17", - "nodeType": "VariableDeclaration", - "scope": 24444, - "src": "253:25:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "253:7:17", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24437, - "indexed": true, - "mutability": "mutable", - "name": "owner", - "nameLocation": "300:5:17", - "nodeType": "VariableDeclaration", - "scope": 24444, - "src": "284:21:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24436, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "284:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24440, - "indexed": false, - "mutability": "mutable", - "name": "metadata", - "nameLocation": "329:8:17", - "nodeType": "VariableDeclaration", - "scope": 24444, - "src": "311:26:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_memory_ptr", - "typeString": "struct JBProjectMetadata" - }, - "typeName": { - "id": 24439, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24438, - "name": "JBProjectMetadata", - "nameLocations": [ - "311:17:17" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24589, - "src": "311:17:17" - }, - "referencedDeclaration": 24589, - "src": "311:17:17", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_storage_ptr", - "typeString": "struct JBProjectMetadata" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24442, - "indexed": false, - "mutability": "mutable", - "name": "caller", - "nameLocation": "351:6:17", - "nodeType": "VariableDeclaration", - "scope": 24444, - "src": "343:14:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "343:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "247:114:17" - } - }, - { - "id": 24453, - "nodeType": "EventDefinition", - "src": "366:89:17", - "anonymous": false, - "eventSelector": "d07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e6", - "name": "SetMetadata", - "nameLocation": "372:11:17", - "parameters": { - "id": 24452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24446, - "indexed": true, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "400:9:17", - "nodeType": "VariableDeclaration", - "scope": 24453, - "src": "384:25:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24445, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "384:7:17", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24449, - "indexed": false, - "mutability": "mutable", - "name": "metadata", - "nameLocation": "429:8:17", - "nodeType": "VariableDeclaration", - "scope": 24453, - "src": "411:26:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_memory_ptr", - "typeString": "struct JBProjectMetadata" - }, - "typeName": { - "id": 24448, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24447, - "name": "JBProjectMetadata", - "nameLocations": [ - "411:17:17" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24589, - "src": "411:17:17" - }, - "referencedDeclaration": 24589, - "src": "411:17:17", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_storage_ptr", - "typeString": "struct JBProjectMetadata" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24451, - "indexed": false, - "mutability": "mutable", - "name": "caller", - "nameLocation": "447:6:17", - "nodeType": "VariableDeclaration", - "scope": 24453, - "src": "439:14:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24450, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "439:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "383:71:17" - } - }, - { - "id": 24460, - "nodeType": "EventDefinition", - "src": "459:80:17", - "anonymous": false, - "eventSelector": "e7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c16", - "name": "SetTokenUriResolver", - "nameLocation": "465:19:17", - "parameters": { - "id": 24459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24456, - "indexed": true, - "mutability": "mutable", - "name": "resolver", - "nameLocation": "513:8:17", - "nodeType": "VariableDeclaration", - "scope": 24460, - "src": "485:36:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - }, - "typeName": { - "id": 24455, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24454, - "name": "IJBTokenUriResolver", - "nameLocations": [ - "485:19:17" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24515, - "src": "485:19:17" - }, - "referencedDeclaration": 24515, - "src": "485:19:17", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24458, - "indexed": false, - "mutability": "mutable", - "name": "caller", - "nameLocation": "531:6:17", - "nodeType": "VariableDeclaration", - "scope": 24460, - "src": "523:14:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24457, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "523:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "484:54:17" - } - }, - { - "id": 24465, - "nodeType": "FunctionDefinition", - "src": "543:49:17", - "functionSelector": "06661abd", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "count", - "nameLocation": "552:5:17", - "parameters": { - "id": 24461, - "nodeType": "ParameterList", - "parameters": [], - "src": "557:2:17" - }, - "returnParameters": { - "id": 24464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24463, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24465, - "src": "583:7:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24462, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "583:7:17", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "582:9:17" - }, - "scope": 24505, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24474, - "nodeType": "FunctionDefinition", - "src": "596:114:17", - "functionSelector": "39fbc775", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "metadataContentOf", - "nameLocation": "605:17:17", - "parameters": { - "id": 24470, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24467, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "631:10:17", - "nodeType": "VariableDeclaration", - "scope": 24474, - "src": "623:18:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24466, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "623:7:17", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24469, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "651:7:17", - "nodeType": "VariableDeclaration", - "scope": 24474, - "src": "643:15:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24468, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "643:7:17", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "622:37:17" - }, - "returnParameters": { - "id": 24473, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24472, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24474, - "src": "695:13:17", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24471, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "695:6:17", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "694:15:17" - }, - "scope": 24505, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24480, - "nodeType": "FunctionDefinition", - "src": "714:72:17", - "functionSelector": "e131fc0c", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "tokenUriResolver", - "nameLocation": "723:16:17", - "parameters": { - "id": 24475, - "nodeType": "ParameterList", - "parameters": [], - "src": "739:2:17" - }, - "returnParameters": { - "id": 24479, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24478, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24480, - "src": "765:19:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - }, - "typeName": { - "id": 24477, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24476, - "name": "IJBTokenUriResolver", - "nameLocations": [ - "765:19:17" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24515, - "src": "765:19:17" - }, - "referencedDeclaration": 24515, - "src": "765:19:17", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "visibility": "internal" - } - ], - "src": "764:21:17" - }, - "scope": 24505, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24490, - "nodeType": "FunctionDefinition", - "src": "790:118:17", - "functionSelector": "666d87a0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFor", - "nameLocation": "799:9:17", - "parameters": { - "id": 24486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24482, - "mutability": "mutable", - "name": "_owner", - "nameLocation": "817:6:17", - "nodeType": "VariableDeclaration", - "scope": 24490, - "src": "809:14:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "809:7:17", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24485, - "mutability": "mutable", - "name": "_metadata", - "nameLocation": "852:9:17", - "nodeType": "VariableDeclaration", - "scope": 24490, - "src": "825:36:17", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata" - }, - "typeName": { - "id": 24484, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24483, - "name": "JBProjectMetadata", - "nameLocations": [ - "825:17:17" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24589, - "src": "825:17:17" - }, - "referencedDeclaration": 24589, - "src": "825:17:17", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_storage_ptr", - "typeString": "struct JBProjectMetadata" - } - }, - "visibility": "internal" - } - ], - "src": "808:54:17" - }, - "returnParameters": { - "id": 24489, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24488, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "897:9:17", - "nodeType": "VariableDeclaration", - "scope": 24490, - "src": "889:17:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24487, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "889:7:17", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "888:19:17" - }, - "scope": 24505, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 24498, - "nodeType": "FunctionDefinition", - "src": "912:90:17", - "functionSelector": "36574975", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setMetadataOf", - "nameLocation": "921:13:17", - "parameters": { - "id": 24496, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24492, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "943:10:17", - "nodeType": "VariableDeclaration", - "scope": 24498, - "src": "935:18:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24491, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "935:7:17", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24495, - "mutability": "mutable", - "name": "_metadata", - "nameLocation": "982:9:17", - "nodeType": "VariableDeclaration", - "scope": 24498, - "src": "955:36:17", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata" - }, - "typeName": { - "id": 24494, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24493, - "name": "JBProjectMetadata", - "nameLocations": [ - "955:17:17" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24589, - "src": "955:17:17" - }, - "referencedDeclaration": 24589, - "src": "955:17:17", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_storage_ptr", - "typeString": "struct JBProjectMetadata" - } - }, - "visibility": "internal" - } - ], - "src": "934:58:17" - }, - "returnParameters": { - "id": 24497, - "nodeType": "ParameterList", - "parameters": [], - "src": "1001:0:17" - }, - "scope": 24505, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 24504, - "nodeType": "FunctionDefinition", - "src": "1006:72:17", - "functionSelector": "2407497e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setTokenUriResolver", - "nameLocation": "1015:19:17", - "parameters": { - "id": 24502, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24501, - "mutability": "mutable", - "name": "_newResolver", - "nameLocation": "1055:12:17", - "nodeType": "VariableDeclaration", - "scope": 24504, - "src": "1035:32:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - }, - "typeName": { - "id": 24500, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24499, - "name": "IJBTokenUriResolver", - "nameLocations": [ - "1035:19:17" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24515, - "src": "1035:19:17" - }, - "referencedDeclaration": 24515, - "src": "1035:19:17", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "visibility": "internal" - } - ], - "src": "1034:34:17" - }, - "returnParameters": { - "id": 24503, - "nodeType": "ParameterList", - "parameters": [], - "src": "1077:0:17" - }, - "scope": 24505, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 24432, - "name": "IERC721", - "nameLocations": [ - "223:7:17" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26211, - "src": "223:7:17" - }, - "id": 24433, - "nodeType": "InheritanceSpecifier", - "src": "223:7:17" - } - ], - "canonicalName": "IJBProjects", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 24505, - 26211, - 27731 - ], - "name": "IJBProjects", - "nameLocation": "208:11:17", - "scope": 24506, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 17 -} \ No newline at end of file +{"abi":[{"type":"function","name":"approve","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"balance","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"count","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"createFor","inputs":[{"name":"_owner","type":"address","internalType":"address"},{"name":"_metadata","type":"tuple","internalType":"struct JBProjectMetadata","components":[{"name":"content","type":"string","internalType":"string"},{"name":"domain","type":"uint256","internalType":"uint256"}]}],"outputs":[{"name":"projectId","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"getApproved","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"operator","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"isApprovedForAll","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"metadataContentOf","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"},{"name":"_domain","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"ownerOf","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"owner","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setApprovalForAll","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"_approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setMetadataOf","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"},{"name":"_metadata","type":"tuple","internalType":"struct JBProjectMetadata","components":[{"name":"content","type":"string","internalType":"string"},{"name":"domain","type":"uint256","internalType":"uint256"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setTokenUriResolver","inputs":[{"name":"_newResolver","type":"address","internalType":"contract IJBTokenUriResolver"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"tokenUriResolver","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBTokenUriResolver"}],"stateMutability":"view"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"Create","inputs":[{"name":"projectId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"metadata","type":"tuple","indexed":false,"internalType":"struct JBProjectMetadata","components":[{"name":"content","type":"string","internalType":"string"},{"name":"domain","type":"uint256","internalType":"uint256"}]},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SetMetadata","inputs":[{"name":"projectId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"metadata","type":"tuple","indexed":false,"internalType":"struct JBProjectMetadata","components":[{"name":"content","type":"string","internalType":"string"},{"name":"domain","type":"uint256","internalType":"uint256"}]},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SetTokenUriResolver","inputs":[{"name":"resolver","type":"address","indexed":true,"internalType":"contract IJBTokenUriResolver"},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","count()":"06661abd","createFor(address,(string,uint256))":"666d87a0","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","metadataContentOf(uint256,uint256)":"39fbc775","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","setMetadataOf(uint256,(string,uint256))":"36574975","setTokenUriResolver(address)":"2407497e","supportsInterface(bytes4)":"01ffc9a7","tokenUriResolver()":"e131fc0c","transferFrom(address,address,uint256)":"23b872dd"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct JBProjectMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Create\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct JBProjectMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetMetadata\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IJBTokenUriResolver\",\"name\":\"resolver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetTokenUriResolver\",\"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\":[],\"name\":\"count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"internalType\":\"struct JBProjectMetadata\",\"name\":\"_metadata\",\"type\":\"tuple\"}],\"name\":\"createFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"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\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"}],\"name\":\"metadataContentOf\",\"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\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"internalType\":\"struct JBProjectMetadata\",\"name\":\"_metadata\",\"type\":\"tuple\"}],\"name\":\"setMetadataOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBTokenUriResolver\",\"name\":\"_newResolver\",\"type\":\"address\"}],\"name\":\"setTokenUriResolver\",\"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\":\"tokenUriResolver\",\"outputs\":[{\"internalType\":\"contract IJBTokenUriResolver\",\"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\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":\"IJBProjects\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"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.23+commit.f704f362"},"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":"uint256","name":"projectId","type":"uint256","indexed":true},{"internalType":"address","name":"owner","type":"address","indexed":true},{"internalType":"struct JBProjectMetadata","name":"metadata","type":"tuple","components":[{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"domain","type":"uint256"}],"indexed":false},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"Create","anonymous":false},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256","indexed":true},{"internalType":"struct JBProjectMetadata","name":"metadata","type":"tuple","components":[{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"domain","type":"uint256"}],"indexed":false},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"SetMetadata","anonymous":false},{"inputs":[{"internalType":"contract IJBTokenUriResolver","name":"resolver","type":"address","indexed":true},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"SetTokenUriResolver","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":[],"stateMutability":"view","type":"function","name":"count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"struct JBProjectMetadata","name":"_metadata","type":"tuple","components":[{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"domain","type":"uint256"}]}],"stateMutability":"nonpayable","type":"function","name":"createFor","outputs":[{"internalType":"uint256","name":"projectId","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":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_domain","type":"uint256"}],"stateMutability":"view","type":"function","name":"metadataContentOf","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":"uint256","name":"_projectId","type":"uint256"},{"internalType":"struct JBProjectMetadata","name":"_metadata","type":"tuple","components":[{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"domain","type":"uint256"}]}],"stateMutability":"nonpayable","type":"function","name":"setMetadataOf"},{"inputs":[{"internalType":"contract IJBTokenUriResolver","name":"_newResolver","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setTokenUriResolver"},{"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":"tokenUriResolver","outputs":[{"internalType":"contract IJBTokenUriResolver","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":"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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. 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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":"IJBProjects"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":{"keccak256":"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4","urls":["bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9","dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol":{"keccak256":"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0","urls":["bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494","dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],"license":"MIT"}},"version":1},"id":18} \ No newline at end of file diff --git a/out/IJBTokenUriResolver.sol/IJBTokenUriResolver.json b/out/IJBTokenUriResolver.sol/IJBTokenUriResolver.json index 9714452..cc11784 100644 --- a/out/IJBTokenUriResolver.sol/IJBTokenUriResolver.json +++ b/out/IJBTokenUriResolver.sol/IJBTokenUriResolver.json @@ -1,237 +1 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "name": "getUri", - "outputs": [ - { - "internalType": "string", - "name": "tokenUri", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "getUri(uint256)": "da0544aa" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"getUri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"tokenUri\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":\"IJBTokenUriResolver\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getUri", - "outputs": [ - { - "internalType": "string", - "name": "tokenUri", - "type": "string" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": "IJBTokenUriResolver" - }, - "libraries": {} - }, - "sources": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": { - "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174", - "urls": [ - "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e", - "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol", - "id": 24516, - "exportedSymbols": { - "IJBTokenUriResolver": [ - 24515 - ] - }, - "nodeType": "SourceUnit", - "src": "32:145:18", - "nodes": [ - { - "id": 24507, - "nodeType": "PragmaDirective", - "src": "32:23:18", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 24515, - "nodeType": "ContractDefinition", - "src": "57:119:18", - "nodes": [ - { - "id": 24514, - "nodeType": "FunctionDefinition", - "src": "91:83:18", - "functionSelector": "da0544aa", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getUri", - "nameLocation": "100:6:18", - "parameters": { - "id": 24510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24509, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "115:10:18", - "nodeType": "VariableDeclaration", - "scope": 24514, - "src": "107:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24508, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "107:7:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "106:20:18" - }, - "returnParameters": { - "id": 24513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24512, - "mutability": "mutable", - "name": "tokenUri", - "nameLocation": "164:8:18", - "nodeType": "VariableDeclaration", - "scope": 24514, - "src": "150:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24511, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "150:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "149:24:18" - }, - "scope": 24515, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IJBTokenUriResolver", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 24515 - ], - "name": "IJBTokenUriResolver", - "nameLocation": "67:19:18", - "scope": 24516, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 18 -} \ No newline at end of file +{"abi":[{"type":"function","name":"getUri","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"tokenUri","type":"string","internalType":"string"}],"stateMutability":"view"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"getUri(uint256)":"da0544aa"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"getUri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"tokenUri\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":\"IJBTokenUriResolver\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"stateMutability":"view","type":"function","name":"getUri","outputs":[{"internalType":"string","name":"tokenUri","type":"string"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":"IJBTokenUriResolver"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"}},"version":1},"id":19} \ No newline at end of file diff --git a/out/ITextResolver.sol/ITextResolver.json b/out/ITextResolver.sol/ITextResolver.json index aa19bc7..53d11db 100644 --- a/out/ITextResolver.sol/ITextResolver.json +++ b/out/ITextResolver.sol/ITextResolver.json @@ -1,444 +1 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "string", - "name": "indexedKey", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - } - ], - "name": "TextChanged", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "key", - "type": "string" - } - ], - "name": "text", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "text(bytes32,string)": "59d1d43c" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"indexedKey\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"TextChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"text\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"text(bytes32,string)\":{\"params\":{\"key\":\"The text data key to query.\",\"node\":\"The ENS node to query.\"},\"returns\":{\"_0\":\"The associated text data.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"text(bytes32,string)\":{\"notice\":\"Returns the text data associated with an ENS node and key.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":\"ITextResolver\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "string", - "name": "indexedKey", - "type": "string", - "indexed": true - }, - { - "internalType": "string", - "name": "key", - "type": "string", - "indexed": false - } - ], - "type": "event", - "name": "TextChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "key", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "text", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "text(bytes32,string)": { - "params": { - "key": "The text data key to query.", - "node": "The ENS node to query." - }, - "returns": { - "_0": "The associated text data." - } - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "text(bytes32,string)": { - "notice": "Returns the text data associated with an ENS node and key." - } - }, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol": "ITextResolver" - }, - "libraries": {} - }, - "sources": { - "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol": { - "keccak256": "0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38", - "urls": [ - "bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba", - "dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol", - "id": 23708, - "exportedSymbols": { - "ITextResolver": [ - 23707 - ] - }, - "nodeType": "SourceUnit", - "src": "32:442:11", - "nodes": [ - { - "id": 23688, - "nodeType": "PragmaDirective", - "src": "32:24:11", - "literals": [ - "solidity", - ">=", - "0.8", - ".4" - ] - }, - { - "id": 23707, - "nodeType": "ContractDefinition", - "src": "58:415:11", - "nodes": [ - { - "id": 23696, - "nodeType": "EventDefinition", - "src": "88:79:11", - "anonymous": false, - "eventSelector": "d8c9334b1a9c2f9da342a0a2b32629c1a229b6445dad78947f674b44444a7550", - "name": "TextChanged", - "nameLocation": "94:11:11", - "parameters": { - "id": 23695, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23690, - "indexed": true, - "mutability": "mutable", - "name": "node", - "nameLocation": "122:4:11", - "nodeType": "VariableDeclaration", - "scope": 23696, - "src": "106:20:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23689, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "106:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23692, - "indexed": true, - "mutability": "mutable", - "name": "indexedKey", - "nameLocation": "143:10:11", - "nodeType": "VariableDeclaration", - "scope": 23696, - "src": "128:25:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23691, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "128:6:11", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23694, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "162:3:11", - "nodeType": "VariableDeclaration", - "scope": 23696, - "src": "155:10:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23693, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "155:6:11", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "105:61:11" - } - }, - { - "id": 23706, - "nodeType": "FunctionDefinition", - "src": "384:87:11", - "documentation": { - "id": 23697, - "nodeType": "StructuredDocumentation", - "src": "173:206:11", - "text": " Returns the text data associated with an ENS node and key.\n @param node The ENS node to query.\n @param key The text data key to query.\n @return The associated text data." - }, - "functionSelector": "59d1d43c", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "text", - "nameLocation": "393:4:11", - "parameters": { - "id": 23702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23699, - "mutability": "mutable", - "name": "node", - "nameLocation": "406:4:11", - "nodeType": "VariableDeclaration", - "scope": 23706, - "src": "398:12:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 23698, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "398:7:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23701, - "mutability": "mutable", - "name": "key", - "nameLocation": "428:3:11", - "nodeType": "VariableDeclaration", - "scope": 23706, - "src": "412:19:11", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23700, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "412:6:11", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "397:35:11" - }, - "returnParameters": { - "id": 23705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23704, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23706, - "src": "456:13:11", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23703, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "456:6:11", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "455:15:11" - }, - "scope": 23707, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "ITextResolver", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 23707 - ], - "name": "ITextResolver", - "nameLocation": "68:13:11", - "scope": 23708, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 11 -} \ No newline at end of file +{"abi":[{"type":"function","name":"text","inputs":[{"name":"node","type":"bytes32","internalType":"bytes32"},{"name":"key","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"event","name":"TextChanged","inputs":[{"name":"node","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"indexedKey","type":"string","indexed":true,"internalType":"string"},{"name":"key","type":"string","indexed":false,"internalType":"string"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"text(bytes32,string)":"59d1d43c"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"indexedKey\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"TextChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"text\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"text(bytes32,string)\":{\"params\":{\"key\":\"The text data key to query.\",\"node\":\"The ENS node to query.\"},\"returns\":{\"_0\":\"The associated text data.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"text(bytes32,string)\":{\"notice\":\"Returns the text data associated with an ENS node and key.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":\"ITextResolver\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32","indexed":true},{"internalType":"string","name":"indexedKey","type":"string","indexed":true},{"internalType":"string","name":"key","type":"string","indexed":false}],"type":"event","name":"TextChanged","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"stateMutability":"view","type":"function","name":"text","outputs":[{"internalType":"string","name":"","type":"string"}]}],"devdoc":{"kind":"dev","methods":{"text(bytes32,string)":{"params":{"key":"The text data key to query.","node":"The ENS node to query."},"returns":{"_0":"The associated text data."}}},"version":1},"userdoc":{"kind":"user","methods":{"text(bytes32,string)":{"notice":"Returns the text data associated with an ENS node and key."}},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol":"ITextResolver"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol":{"keccak256":"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38","urls":["bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba","dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU"],"license":"MIT"}},"version":1},"id":12} \ No newline at end of file diff --git a/out/IVotes.sol/IVotes.json b/out/IVotes.sol/IVotes.json index 45afba9..9f32bc2 100644 --- a/out/IVotes.sol/IVotes.json +++ b/out/IVotes.sol/IVotes.json @@ -1,1370 +1 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "fromDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "toDelegate", - "type": "address" - } - ], - "name": "DelegateChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "delegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "previousBalance", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newBalance", - "type": "uint256" - } - ], - "name": "DelegateVotesChanged", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "delegate", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiry", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "delegateBySig", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "delegates", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getPastTotalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getPastVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "getVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "delegate(address)": "5c19a95c", - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": "c3cda520", - "delegates(address)": "587cde1e", - "getPastTotalSupply(uint256)": "8e539e8c", - "getPastVotes(address,uint256)": "3a46b1a8", - "getVotes(address)": "9ab24eb0" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts. _Available since v4.5._\",\"events\":{\"DelegateChanged(address,address,address)\":{\"details\":\"Emitted when an account changes their delegate.\"},\"DelegateVotesChanged(address,uint256,uint256)\":{\"details\":\"Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.\"}},\"kind\":\"dev\",\"methods\":{\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote.\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`).\"},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":\"IVotes\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "fromDelegate", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "toDelegate", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "DelegateChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegate", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "previousBalance", - "type": "uint256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "newBalance", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "DelegateVotesChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "delegate" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiry", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "delegateBySig" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "delegates", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPastTotalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPastVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "delegate(address)": { - "details": "Delegates votes from the sender to `delegatee`." - }, - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": { - "details": "Delegates votes from signer to `delegatee`." - }, - "delegates(address)": { - "details": "Returns the delegate that `account` has chosen." - }, - "getPastTotalSupply(uint256)": { - "details": "Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote." - }, - "getPastVotes(address,uint256)": { - "details": "Returns the amount of votes that `account` had at the end of a past block (`blockNumber`)." - }, - "getVotes(address)": { - "details": "Returns the current amount of votes that `account` has." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol": "IVotes" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol": { - "keccak256": "0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0", - "urls": [ - "bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86", - "dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol", - "id": 24773, - "exportedSymbols": { - "IVotes": [ - 24772 - ] - }, - "nodeType": "SourceUnit", - "src": "110:1954:23", - "nodes": [ - { - "id": 24696, - "nodeType": "PragmaDirective", - "src": "110:23:23", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 24772, - "nodeType": "ContractDefinition", - "src": "268:1795:23", - "nodes": [ - { - "id": 24706, - "nodeType": "EventDefinition", - "src": "367:107:23", - "anonymous": false, - "documentation": { - "id": 24698, - "nodeType": "StructuredDocumentation", - "src": "291:71:23", - "text": " @dev Emitted when an account changes their delegate." - }, - "eventSelector": "3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f", - "name": "DelegateChanged", - "nameLocation": "373:15:23", - "parameters": { - "id": 24705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24700, - "indexed": true, - "mutability": "mutable", - "name": "delegator", - "nameLocation": "405:9:23", - "nodeType": "VariableDeclaration", - "scope": 24706, - "src": "389:25:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24699, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "389:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24702, - "indexed": true, - "mutability": "mutable", - "name": "fromDelegate", - "nameLocation": "432:12:23", - "nodeType": "VariableDeclaration", - "scope": 24706, - "src": "416:28:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24701, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "416:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24704, - "indexed": true, - "mutability": "mutable", - "name": "toDelegate", - "nameLocation": "462:10:23", - "nodeType": "VariableDeclaration", - "scope": 24706, - "src": "446:26:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24703, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "446:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "388:85:23" - } - }, - { - "id": 24715, - "nodeType": "EventDefinition", - "src": "609:98:23", - "anonymous": false, - "documentation": { - "id": 24707, - "nodeType": "StructuredDocumentation", - "src": "480:124:23", - "text": " @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes." - }, - "eventSelector": "dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724", - "name": "DelegateVotesChanged", - "nameLocation": "615:20:23", - "parameters": { - "id": 24714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24709, - "indexed": true, - "mutability": "mutable", - "name": "delegate", - "nameLocation": "652:8:23", - "nodeType": "VariableDeclaration", - "scope": 24715, - "src": "636:24:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24708, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "636:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24711, - "indexed": false, - "mutability": "mutable", - "name": "previousBalance", - "nameLocation": "670:15:23", - "nodeType": "VariableDeclaration", - "scope": 24715, - "src": "662:23:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24710, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "662:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24713, - "indexed": false, - "mutability": "mutable", - "name": "newBalance", - "nameLocation": "695:10:23", - "nodeType": "VariableDeclaration", - "scope": 24715, - "src": "687:18:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24712, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "687:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "635:71:23" - } - }, - { - "id": 24723, - "nodeType": "FunctionDefinition", - "src": "797:67:23", - "documentation": { - "id": 24716, - "nodeType": "StructuredDocumentation", - "src": "713:79:23", - "text": " @dev Returns the current amount of votes that `account` has." - }, - "functionSelector": "9ab24eb0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getVotes", - "nameLocation": "806:8:23", - "parameters": { - "id": 24719, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24718, - "mutability": "mutable", - "name": "account", - "nameLocation": "823:7:23", - "nodeType": "VariableDeclaration", - "scope": 24723, - "src": "815:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "815:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "814:17:23" - }, - "returnParameters": { - "id": 24722, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24721, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24723, - "src": "855:7:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24720, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "855:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "854:9:23" - }, - "scope": 24772, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24733, - "nodeType": "FunctionDefinition", - "src": "989:92:23", - "documentation": { - "id": 24724, - "nodeType": "StructuredDocumentation", - "src": "870:114:23", - "text": " @dev Returns the amount of votes that `account` had at the end of a past block (`blockNumber`)." - }, - "functionSelector": "3a46b1a8", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getPastVotes", - "nameLocation": "998:12:23", - "parameters": { - "id": 24729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24726, - "mutability": "mutable", - "name": "account", - "nameLocation": "1019:7:23", - "nodeType": "VariableDeclaration", - "scope": 24733, - "src": "1011:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1011:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24728, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "1036:11:23", - "nodeType": "VariableDeclaration", - "scope": 24733, - "src": "1028:19:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24727, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1028:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1010:38:23" - }, - "returnParameters": { - "id": 24732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24731, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24733, - "src": "1072:7:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24730, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1072:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1071:9:23" - }, - "scope": 24772, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24741, - "nodeType": "FunctionDefinition", - "src": "1457:81:23", - "documentation": { - "id": 24734, - "nodeType": "StructuredDocumentation", - "src": "1087:365:23", - "text": " @dev Returns the total supply of votes available at the end of a past block (`blockNumber`).\n NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.\n Votes that have not been delegated are still part of total supply, even though they would not participate in a\n vote." - }, - "functionSelector": "8e539e8c", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getPastTotalSupply", - "nameLocation": "1466:18:23", - "parameters": { - "id": 24737, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24736, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "1493:11:23", - "nodeType": "VariableDeclaration", - "scope": 24741, - "src": "1485:19:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24735, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1485:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1484:21:23" - }, - "returnParameters": { - "id": 24740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24739, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24741, - "src": "1529:7:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24738, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1529:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1528:9:23" - }, - "scope": 24772, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24749, - "nodeType": "FunctionDefinition", - "src": "1620:68:23", - "documentation": { - "id": 24742, - "nodeType": "StructuredDocumentation", - "src": "1544:71:23", - "text": " @dev Returns the delegate that `account` has chosen." - }, - "functionSelector": "587cde1e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegates", - "nameLocation": "1629:9:23", - "parameters": { - "id": 24745, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24744, - "mutability": "mutable", - "name": "account", - "nameLocation": "1647:7:23", - "nodeType": "VariableDeclaration", - "scope": 24749, - "src": "1639:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24743, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1639:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1638:17:23" - }, - "returnParameters": { - "id": 24748, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24747, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24749, - "src": "1679:7:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24746, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1679:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1678:9:23" - }, - "scope": 24772, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 24755, - "nodeType": "FunctionDefinition", - "src": "1770:46:23", - "documentation": { - "id": 24750, - "nodeType": "StructuredDocumentation", - "src": "1694:71:23", - "text": " @dev Delegates votes from the sender to `delegatee`." - }, - "functionSelector": "5c19a95c", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegate", - "nameLocation": "1779:8:23", - "parameters": { - "id": 24753, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24752, - "mutability": "mutable", - "name": "delegatee", - "nameLocation": "1796:9:23", - "nodeType": "VariableDeclaration", - "scope": 24755, - "src": "1788:17:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24751, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1788:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1787:19:23" - }, - "returnParameters": { - "id": 24754, - "nodeType": "ParameterList", - "parameters": [], - "src": "1815:0:23" - }, - "scope": 24772, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 24771, - "nodeType": "FunctionDefinition", - "src": "1894:167:23", - "documentation": { - "id": 24756, - "nodeType": "StructuredDocumentation", - "src": "1822:67:23", - "text": " @dev Delegates votes from signer to `delegatee`." - }, - "functionSelector": "c3cda520", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "delegateBySig", - "nameLocation": "1903:13:23", - "parameters": { - "id": 24769, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24758, - "mutability": "mutable", - "name": "delegatee", - "nameLocation": "1934:9:23", - "nodeType": "VariableDeclaration", - "scope": 24771, - "src": "1926:17:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24757, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1926:7:23", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24760, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "1961:5:23", - "nodeType": "VariableDeclaration", - "scope": 24771, - "src": "1953:13:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24759, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1953:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24762, - "mutability": "mutable", - "name": "expiry", - "nameLocation": "1984:6:23", - "nodeType": "VariableDeclaration", - "scope": 24771, - "src": "1976:14:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24761, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1976:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24764, - "mutability": "mutable", - "name": "v", - "nameLocation": "2006:1:23", - "nodeType": "VariableDeclaration", - "scope": 24771, - "src": "2000:7:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 24763, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2000:5:23", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24766, - "mutability": "mutable", - "name": "r", - "nameLocation": "2025:1:23", - "nodeType": "VariableDeclaration", - "scope": 24771, - "src": "2017:9:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 24765, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2017:7:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24768, - "mutability": "mutable", - "name": "s", - "nameLocation": "2044:1:23", - "nodeType": "VariableDeclaration", - "scope": 24771, - "src": "2036:9:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 24767, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2036:7:23", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1916:135:23" - }, - "returnParameters": { - "id": 24770, - "nodeType": "ParameterList", - "parameters": [], - "src": "2060:0:23" - }, - "scope": 24772, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "IVotes", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 24697, - "nodeType": "StructuredDocumentation", - "src": "135:132:23", - "text": " @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.\n _Available since v4.5._" - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 24772 - ], - "name": "IVotes", - "nameLocation": "278:6:23", - "scope": 24773, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 23 -} \ No newline at end of file +{"abi":[{"type":"function","name":"delegate","inputs":[{"name":"delegatee","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"delegateBySig","inputs":[{"name":"delegatee","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"expiry","type":"uint256","internalType":"uint256"},{"name":"v","type":"uint8","internalType":"uint8"},{"name":"r","type":"bytes32","internalType":"bytes32"},{"name":"s","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"delegates","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getPastTotalSupply","inputs":[{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getPastVotes","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getVotes","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"event","name":"DelegateChanged","inputs":[{"name":"delegator","type":"address","indexed":true,"internalType":"address"},{"name":"fromDelegate","type":"address","indexed":true,"internalType":"address"},{"name":"toDelegate","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"DelegateVotesChanged","inputs":[{"name":"delegate","type":"address","indexed":true,"internalType":"address"},{"name":"previousBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newBalance","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"delegate(address)":"5c19a95c","delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)":"c3cda520","delegates(address)":"587cde1e","getPastTotalSupply(uint256)":"8e539e8c","getPastVotes(address,uint256)":"3a46b1a8","getVotes(address)":"9ab24eb0"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts. _Available since v4.5._\",\"events\":{\"DelegateChanged(address,address,address)\":{\"details\":\"Emitted when an account changes their delegate.\"},\"DelegateVotesChanged(address,uint256,uint256)\":{\"details\":\"Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.\"}},\"kind\":\"dev\",\"methods\":{\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote.\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`).\"},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":\"IVotes\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"delegator","type":"address","indexed":true},{"internalType":"address","name":"fromDelegate","type":"address","indexed":true},{"internalType":"address","name":"toDelegate","type":"address","indexed":true}],"type":"event","name":"DelegateChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"delegate","type":"address","indexed":true},{"internalType":"uint256","name":"previousBalance","type":"uint256","indexed":false},{"internalType":"uint256","name":"newBalance","type":"uint256","indexed":false}],"type":"event","name":"DelegateVotesChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"delegate"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"delegateBySig"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"view","type":"function","name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"view","type":"function","name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]}],"devdoc":{"kind":"dev","methods":{"delegate(address)":{"details":"Delegates votes from the sender to `delegatee`."},"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)":{"details":"Delegates votes from signer to `delegatee`."},"delegates(address)":{"details":"Returns the delegate that `account` has chosen."},"getPastTotalSupply(uint256)":{"details":"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote."},"getPastVotes(address,uint256)":{"details":"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`)."},"getVotes(address)":{"details":"Returns the current amount of votes that `account` has."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol":"IVotes"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol":{"keccak256":"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0","urls":["bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86","dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY"],"license":"MIT"}},"version":1},"id":24} \ No newline at end of file diff --git a/out/JBOperatable.sol/JBOperatable.json b/out/JBOperatable.sol/JBOperatable.json index 509a9a3..d283706 100644 --- a/out/JBOperatable.sol/JBOperatable.json +++ b/out/JBOperatable.sol/JBOperatable.json @@ -1,2030 +1 @@ -{ - "abi": [ - { - "inputs": [], - "name": "UNAUTHORIZED", - "type": "error" - }, - { - "inputs": [], - "name": "operatorStore", - "outputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "operatorStore()": "ad007d63" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"UNAUTHORIZED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to - IJBOperatable: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"operatorStore()\":{\"notice\":\" A contract storing operator assignments.\"}},\"notice\":\"Modifiers to allow access to functions based on the message sender's operator status.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":\"JBOperatable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "type": "error", - "name": "UNAUTHORIZED" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "operatorStore", - "outputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "", - "type": "address" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "constructor": { - "params": { - "_operatorStore": "A contract storing operator assignments." - } - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "operatorStore()": { - "notice": " A contract storing operator assignments." - } - }, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol": "JBOperatable" - }, - "libraries": {} - }, - "sources": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol": { - "keccak256": "0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add", - "urls": [ - "bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735", - "dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol": { - "keccak256": "0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e", - "urls": [ - "bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b", - "dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol", - "id": 24349, - "exportedSymbols": { - "IJBOperatable": [ - 24358 - ], - "IJBOperatorStore": [ - 24426 - ], - "JBOperatable": [ - 24348 - ], - "JBOperatorData": [ - 24582 - ] - }, - "nodeType": "SourceUnit", - "src": "32:4551:14", - "nodes": [ - { - "id": 24204, - "nodeType": "PragmaDirective", - "src": "32:24:14", - "literals": [ - "solidity", - "^", - "0.8", - ".16" - ] - }, - { - "id": 24205, - "nodeType": "ImportDirective", - "src": "58:43:14", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol", - "file": "./../interfaces/IJBOperatable.sol", - "nameLocation": "-1:-1:-1", - "scope": 24349, - "sourceUnit": 24359, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24348, - "nodeType": "ContractDefinition", - "src": "377:4205:14", - "nodes": [ - { - "id": 24210, - "nodeType": "ErrorDefinition", - "src": "658:21:14", - "errorSelector": "075fd2b1", - "name": "UNAUTHORIZED", - "nameLocation": "664:12:14", - "parameters": { - "id": 24209, - "nodeType": "ParameterList", - "parameters": [], - "src": "676:2:14" - } - }, - { - "id": 24227, - "nodeType": "ModifierDefinition", - "src": "1208:177:14", - "body": { - "id": 24226, - "nodeType": "Block", - "src": "1312:73:14", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 24220, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24213, - "src": "1337:8:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24221, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24215, - "src": "1347:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24222, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24217, - "src": "1356:16:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 24219, - "name": "_requirePermission", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24303, - "src": "1318:18:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256) view" - } - }, - "id": 24223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1318:55:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24224, - "nodeType": "ExpressionStatement", - "src": "1318:55:14" - }, - { - "id": 24225, - "nodeType": "PlaceholderStatement", - "src": "1379:1:14" - } - ] - }, - "documentation": { - "id": 24211, - "nodeType": "StructuredDocumentation", - "src": "912:293:14", - "text": "@notice\nOnly allows the speficied account or an operator of the account to proceed. \n@param _account The account to check for.\n@param _domain The domain namespace to look for an operator within. \n@param _permissionIndex The index of the permission to check for. " - }, - "name": "requirePermission", - "nameLocation": "1217:17:14", - "parameters": { - "id": 24218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24213, - "mutability": "mutable", - "name": "_account", - "nameLocation": "1248:8:14", - "nodeType": "VariableDeclaration", - "scope": 24227, - "src": "1240:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1240:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24215, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "1270:7:14", - "nodeType": "VariableDeclaration", - "scope": 24227, - "src": "1262:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24214, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1262:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24217, - "mutability": "mutable", - "name": "_permissionIndex", - "nameLocation": "1291:16:14", - "nodeType": "VariableDeclaration", - "scope": 24227, - "src": "1283:24:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24216, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1283:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1234:77:14" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 24247, - "nodeType": "ModifierDefinition", - "src": "1767:240:14", - "body": { - "id": 24246, - "nodeType": "Block", - "src": "1907:100:14", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 24239, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24230, - "src": "1948:8:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24240, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24232, - "src": "1958:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24241, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24234, - "src": "1967:16:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24242, - "name": "_override", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24236, - "src": "1985:9:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 24238, - "name": "_requirePermissionAllowingOverride", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24347, - "src": "1913:34:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$_t_uint256_$_t_bool_$returns$__$", - "typeString": "function (address,uint256,uint256,bool) view" - } - }, - "id": 24243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1913:82:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24244, - "nodeType": "ExpressionStatement", - "src": "1913:82:14" - }, - { - "id": 24245, - "nodeType": "PlaceholderStatement", - "src": "2001:1:14" - } - ] - }, - "documentation": { - "id": 24228, - "nodeType": "StructuredDocumentation", - "src": "1389:375:14", - "text": "@notice\nOnly allows the speficied account, an operator of the account to proceed, or a truthy override flag. \n@param _account The account to check for.\n@param _domain The domain namespace to look for an operator within. \n@param _permissionIndex The index of the permission to check for. \n@param _override A condition to force allowance for." - }, - "name": "requirePermissionAllowingOverride", - "nameLocation": "1776:33:14", - "parameters": { - "id": 24237, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24230, - "mutability": "mutable", - "name": "_account", - "nameLocation": "1823:8:14", - "nodeType": "VariableDeclaration", - "scope": 24247, - "src": "1815:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1815:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24232, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "1845:7:14", - "nodeType": "VariableDeclaration", - "scope": 24247, - "src": "1837:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24231, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1837:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24234, - "mutability": "mutable", - "name": "_permissionIndex", - "nameLocation": "1866:16:14", - "nodeType": "VariableDeclaration", - "scope": 24247, - "src": "1858:24:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24233, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1858:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24236, - "mutability": "mutable", - "name": "_override", - "nameLocation": "1893:9:14", - "nodeType": "VariableDeclaration", - "scope": 24247, - "src": "1888:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24235, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1888:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1809:97:14" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 24252, - "nodeType": "VariableDeclaration", - "src": "2310:56:14", - "baseFunctions": [ - 24357 - ], - "constant": false, - "documentation": { - "id": 24248, - "nodeType": "StructuredDocumentation", - "src": "2240:67:14", - "text": "@notice \nA contract storing operator assignments." - }, - "functionSelector": "ad007d63", - "mutability": "immutable", - "name": "operatorStore", - "nameLocation": "2353:13:14", - "overrides": { - "id": 24251, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2344:8:14" - }, - "scope": 24348, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 24250, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24249, - "name": "IJBOperatorStore", - "nameLocations": [ - "2310:16:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24426, - "src": "2310:16:14" - }, - "referencedDeclaration": 24426, - "src": "2310:16:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "public" - }, - { - "id": 24264, - "nodeType": "FunctionDefinition", - "src": "2679:86:14", - "body": { - "id": 24263, - "nodeType": "Block", - "src": "2724:41:14", - "statements": [ - { - "expression": { - "id": 24261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 24259, - "name": "operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24252, - "src": "2730:13:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 24260, - "name": "_operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24256, - "src": "2746:14:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "src": "2730:30:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "id": 24262, - "nodeType": "ExpressionStatement", - "src": "2730:30:14" - } - ] - }, - "documentation": { - "id": 24253, - "nodeType": "StructuredDocumentation", - "src": "2600:76:14", - "text": "@param _operatorStore A contract storing operator assignments." - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 24257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24256, - "mutability": "mutable", - "name": "_operatorStore", - "nameLocation": "2708:14:14", - "nodeType": "VariableDeclaration", - "scope": 24264, - "src": "2691:31:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 24255, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24254, - "name": "IJBOperatorStore", - "nameLocations": [ - "2691:16:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24426, - "src": "2691:16:14" - }, - "referencedDeclaration": 24426, - "src": "2691:16:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "internal" - } - ], - "src": "2690:33:14" - }, - "returnParameters": { - "id": 24258, - "nodeType": "ParameterList", - "parameters": [], - "src": "2724:0:14" - }, - "scope": 24348, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24303, - "nodeType": "FunctionDefinition", - "src": "3361:359:14", - "body": { - "id": 24302, - "nodeType": "Block", - "src": "3480:240:14", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 24297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 24287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 24277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 24274, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "3497:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3501:6:14", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "3497:10:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 24276, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24267, - "src": "3511:8:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3497:22:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "id": 24286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3529:77:14", - "subExpression": { - "arguments": [ - { - "expression": { - "id": 24280, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "3558:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3562:6:14", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "3558:10:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24282, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24267, - "src": "3570:8:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24283, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24269, - "src": "3580:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24284, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24271, - "src": "3589:16:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24278, - "name": "operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24252, - "src": "3530:13:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "id": 24279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3544:13:14", - "memberName": "hasPermission", - "nodeType": "MemberAccess", - "referencedDeclaration": 24398, - "src": "3530:27:14", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,uint256) view external returns (bool)" - } - }, - "id": 24285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3530:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3497:109:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "id": 24296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3616:71:14", - "subExpression": { - "arguments": [ - { - "expression": { - "id": 24290, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "3645:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3649:6:14", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "3645:10:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24292, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24267, - "src": "3657:8:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "30", - "id": 24293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3667:1:14", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "id": 24294, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24271, - "src": "3670:16:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24288, - "name": "operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24252, - "src": "3617:13:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "id": 24289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3631:13:14", - "memberName": "hasPermission", - "nodeType": "MemberAccess", - "referencedDeclaration": 24398, - "src": "3617:27:14", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,uint256) view external returns (bool)" - } - }, - "id": 24295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3617:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3497:190:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 24301, - "nodeType": "IfStatement", - "src": "3486:229:14", - "trueBody": { - "errorCall": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 24298, - "name": "UNAUTHORIZED", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24210, - "src": "3701:12:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 24299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3701:14:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24300, - "nodeType": "RevertStatement", - "src": "3694:21:14" - } - } - ] - }, - "documentation": { - "id": 24265, - "nodeType": "StructuredDocumentation", - "src": "2998:360:14", - "text": "@notice\nRequire the message sender is either the account or has the specified permission.\n@param _account The account to allow.\n@param _domain The domain namespace within which the permission index will be checked.\n@param _permissionIndex The permission index that an operator must have within the specified domain to be allowed." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_requirePermission", - "nameLocation": "3370:18:14", - "parameters": { - "id": 24272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24267, - "mutability": "mutable", - "name": "_account", - "nameLocation": "3402:8:14", - "nodeType": "VariableDeclaration", - "scope": 24303, - "src": "3394:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24266, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3394:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24269, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "3424:7:14", - "nodeType": "VariableDeclaration", - "scope": 24303, - "src": "3416:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24268, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3416:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24271, - "mutability": "mutable", - "name": "_permissionIndex", - "nameLocation": "3445:16:14", - "nodeType": "VariableDeclaration", - "scope": 24303, - "src": "3437:24:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24270, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3437:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3388:77:14" - }, - "returnParameters": { - "id": 24273, - "nodeType": "ParameterList", - "parameters": [], - "src": "3480:0:14" - }, - "scope": 24348, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24347, - "nodeType": "FunctionDefinition", - "src": "4165:415:14", - "body": { - "id": 24346, - "nodeType": "Block", - "src": "4320:260:14", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 24341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 24331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 24321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 24316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "4337:10:14", - "subExpression": { - "id": 24315, - "name": "_override", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24312, - "src": "4338:9:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 24320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 24317, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4357:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4361:6:14", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "4357:10:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 24319, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24306, - "src": "4371:8:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4357:22:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4337:42:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "id": 24330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "4389:77:14", - "subExpression": { - "arguments": [ - { - "expression": { - "id": 24324, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4418:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4422:6:14", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "4418:10:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24326, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24306, - "src": "4430:8:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24327, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24308, - "src": "4440:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24328, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24310, - "src": "4449:16:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24322, - "name": "operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24252, - "src": "4390:13:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "id": 24323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4404:13:14", - "memberName": "hasPermission", - "nodeType": "MemberAccess", - "referencedDeclaration": 24398, - "src": "4390:27:14", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,uint256) view external returns (bool)" - } - }, - "id": 24329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4390:76:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4337:129:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "id": 24340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "4476:71:14", - "subExpression": { - "arguments": [ - { - "expression": { - "id": 24334, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4505:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4509:6:14", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "4505:10:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24336, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24306, - "src": "4517:8:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "30", - "id": 24337, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4527:1:14", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "id": 24338, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24310, - "src": "4530:16:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24332, - "name": "operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24252, - "src": "4477:13:14", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "id": 24333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4491:13:14", - "memberName": "hasPermission", - "nodeType": "MemberAccess", - "referencedDeclaration": 24398, - "src": "4477:27:14", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256,uint256) view external returns (bool)" - } - }, - "id": 24339, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4477:70:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4337:210:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 24345, - "nodeType": "IfStatement", - "src": "4326:249:14", - "trueBody": { - "errorCall": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 24342, - "name": "UNAUTHORIZED", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24210, - "src": "4561:12:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 24343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4561:14:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24344, - "nodeType": "RevertStatement", - "src": "4554:21:14" - } - } - ] - }, - "documentation": { - "id": 24304, - "nodeType": "StructuredDocumentation", - "src": "3724:438:14", - "text": "@notice\nRequire the message sender is either the account, has the specified permission, or the override condition is true.\n@param _account The account to allow.\n@param _domain The domain namespace within which the permission index will be checked.\n@param _domain The permission index that an operator must have within the specified domain to be allowed.\n@param _override The override condition to allow." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_requirePermissionAllowingOverride", - "nameLocation": "4174:34:14", - "parameters": { - "id": 24313, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24306, - "mutability": "mutable", - "name": "_account", - "nameLocation": "4222:8:14", - "nodeType": "VariableDeclaration", - "scope": 24347, - "src": "4214:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24305, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4214:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24308, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "4244:7:14", - "nodeType": "VariableDeclaration", - "scope": 24347, - "src": "4236:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24307, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4236:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24310, - "mutability": "mutable", - "name": "_permissionIndex", - "nameLocation": "4265:16:14", - "nodeType": "VariableDeclaration", - "scope": 24347, - "src": "4257:24:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24309, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4257:7:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24312, - "mutability": "mutable", - "name": "_override", - "nameLocation": "4292:9:14", - "nodeType": "VariableDeclaration", - "scope": 24347, - "src": "4287:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24311, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4287:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4208:97:14" - }, - "returnParameters": { - "id": 24314, - "nodeType": "ParameterList", - "parameters": [], - "src": "4320:0:14" - }, - "scope": 24348, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 24207, - "name": "IJBOperatable", - "nameLocations": [ - "411:13:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24358, - "src": "411:13:14" - }, - "id": 24208, - "nodeType": "InheritanceSpecifier", - "src": "411:13:14" - } - ], - "canonicalName": "JBOperatable", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 24206, - "nodeType": "StructuredDocumentation", - "src": "103:273:14", - "text": "@notice\nModifiers to allow access to functions based on the message sender's operator status.\n@dev\nAdheres to -\nIJBOperatable: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 24348, - 24358 - ], - "name": "JBOperatable", - "nameLocation": "395:12:14", - "scope": 24349, - "usedErrors": [ - 24210 - ] - } - ], - "license": "MIT" - }, - "id": 14 -} \ No newline at end of file +{"abi":[{"type":"function","name":"operatorStore","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBOperatorStore"}],"stateMutability":"view"},{"type":"error","name":"UNAUTHORIZED","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"operatorStore()":"ad007d63"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"UNAUTHORIZED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to - IJBOperatable: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"operatorStore()\":{\"notice\":\" A contract storing operator assignments.\"}},\"notice\":\"Modifiers to allow access to functions based on the message sender's operator status.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":\"JBOperatable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"UNAUTHORIZED"},{"inputs":[],"stateMutability":"view","type":"function","name":"operatorStore","outputs":[{"internalType":"contract IJBOperatorStore","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{"constructor":{"params":{"_operatorStore":"A contract storing operator assignments."}}},"version":1},"userdoc":{"kind":"user","methods":{"operatorStore()":{"notice":" A contract storing operator assignments."}},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol":"JBOperatable"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol":{"keccak256":"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add","urls":["bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735","dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":{"keccak256":"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e","urls":["bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b","dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"}},"version":1},"id":15} \ No newline at end of file diff --git a/out/JBOperations.sol/JBOperations.json b/out/JBOperations.sol/JBOperations.json index 83d832f..9c0233c 100644 --- a/out/JBOperations.sol/JBOperations.json +++ b/out/JBOperations.sol/JBOperations.json @@ -1,1393 +1 @@ -{ - "abi": [ - { - "inputs": [], - "name": "BURN", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "CLAIM", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ISSUE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MIGRATE_CONTROLLER", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MIGRATE_TERMINAL", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MINT", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "PROCESS_FEES", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "RECONFIGURE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "REDEEM", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "REQUIRE_CLAIM", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "SET_CONTROLLER", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "SET_METADATA", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "SET_PRIMARY_TERMINAL", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "SET_SPLITS", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "SET_TERMINALS", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "SET_TOKEN", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "TRANSFER", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "USE_ALLOWANCE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x6101fd61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101205760003560e01c80639694c99a116100ac578063b56dcf9e1161007b578063b56dcf9e1461019f578063c0a2526c146101a7578063c577af30146101af578063ef1b4f3b146101b7578063f5edee14146101bf57600080fd5b80639694c99a1461017f578063a264ed7814610187578063aae781031461018f578063af0c22a01461019757600080fd5b806373b6dec6116100f357806373b6dec61461015757806373d748761461015f578063757616e11461016757806376190b601461016f57806376420e1d1461017757600080fd5b80631d4b9a431461012557806332235cdf1461013f5780633e36f4c7146101475780636c1943be1461014f575b600080fd5b61012d600181565b60405190815260200160405180910390f35b61012d600781565b61012d600981565b61012d600f81565b61012d601181565b61012d600b81565b61012d600d81565b61012d600881565b61012d600c81565b61012d600581565b61012d600381565b61012d601081565b61012d600681565b61012d600481565b61012d600a81565b61012d600281565b61012d601281565b61012d600e8156fea264697066735822122026f096d46f0145592f39218647d411cd38b0ad4713f6f4de4fa2c42e8d4ddc6b64736f6c63430008100033", - "sourceMap": "57:818:19:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;57:818:19;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600436106101205760003560e01c80639694c99a116100ac578063b56dcf9e1161007b578063b56dcf9e1461019f578063c0a2526c146101a7578063c577af30146101af578063ef1b4f3b146101b7578063f5edee14146101bf57600080fd5b80639694c99a1461017f578063a264ed7814610187578063aae781031461018f578063af0c22a01461019757600080fd5b806373b6dec6116100f357806373b6dec61461015757806373d748761461015f578063757616e11461016757806376190b601461016f57806376420e1d1461017757600080fd5b80631d4b9a431461012557806332235cdf1461013f5780633e36f4c7146101475780636c1943be1461014f575b600080fd5b61012d600181565b60405190815260200160405180910390f35b61012d600781565b61012d600981565b61012d600f81565b61012d601181565b61012d600b81565b61012d600d81565b61012d600881565b61012d600c81565b61012d600581565b61012d600381565b61012d601081565b61012d600681565b61012d600481565b61012d600a81565b61012d600281565b61012d601281565b61012d600e8156fea264697066735822122026f096d46f0145592f39218647d411cd38b0ad4713f6f4de4fa2c42e8d4ddc6b64736f6c63430008100033", - "sourceMap": "57:818:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82:39;;120:1;82:39;;;;;168:25:43;;;156:2;141:18;82:39:19;;;;;;;349:33;;381:1;349:33;;427:32;;458:1;427:32;;688:42;;728:2;688:42;;787;;827:2;787:42;;500:34;;532:2;500:34;;579:42;;619:2;579:42;;386:37;;422:1;386:37;;538;;573:2;538:37;;261:40;;300:1;261:40;;163:46;;208:1;163:46;;734:49;;781:2;734:49;;305:40;;344:1;305:40;;213:44;;256:1;213:44;;463:33;;494:2;463:33;;125:34;;158:1;125:34;;833:39;;870:2;833:39;;641:43;;682:2;641:43;", - "linkReferences": {} - }, - "methodIdentifiers": { - "BURN()": "c0a2526c", - "CLAIM()": "73d74876", - "ISSUE()": "32235cdf", - "MIGRATE_CONTROLLER()": "a264ed78", - "MIGRATE_TERMINAL()": "b56dcf9e", - "MINT()": "3e36f4c7", - "PROCESS_FEES()": "9694c99a", - "RECONFIGURE()": "1d4b9a43", - "REDEEM()": "c577af30", - "REQUIRE_CLAIM()": "757616e1", - "SET_CONTROLLER()": "f5edee14", - "SET_METADATA()": "af0c22a0", - "SET_PRIMARY_TERMINAL()": "aae78103", - "SET_SPLITS()": "ef1b4f3b", - "SET_TERMINALS()": "6c1943be", - "SET_TOKEN()": "76190b60", - "TRANSFER()": "76420e1d", - "USE_ALLOWANCE()": "73b6dec6" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"BURN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CLAIM\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ISSUE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIGRATE_CONTROLLER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIGRATE_TERMINAL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROCESS_FEES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RECONFIGURE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REDEEM\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REQUIRE_CLAIM\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_CONTROLLER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_METADATA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_PRIMARY_TERMINAL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_SPLITS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_TERMINALS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_TOKEN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"USE_ALLOWANCE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol\":\"JBOperations\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol\":{\"keccak256\":\"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a\",\"dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "BURN", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "CLAIM", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "ISSUE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "MIGRATE_CONTROLLER", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "MIGRATE_TERMINAL", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "MINT", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "PROCESS_FEES", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "RECONFIGURE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "REDEEM", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "REQUIRE_CLAIM", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SET_CONTROLLER", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SET_METADATA", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SET_PRIMARY_TERMINAL", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SET_SPLITS", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SET_TERMINALS", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SET_TOKEN", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "TRANSFER", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "USE_ALLOWANCE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol": "JBOperations" - }, - "libraries": {} - }, - "sources": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol": { - "keccak256": "0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690", - "urls": [ - "bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a", - "dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol", - "id": 24573, - "exportedSymbols": { - "JBOperations": [ - 24572 - ] - }, - "nodeType": "SourceUnit", - "src": "32:844:19", - "nodes": [ - { - "id": 24517, - "nodeType": "PragmaDirective", - "src": "32:23:19", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 24572, - "nodeType": "ContractDefinition", - "src": "57:818:19", - "nodes": [ - { - "id": 24520, - "nodeType": "VariableDeclaration", - "src": "82:39:19", - "constant": true, - "functionSelector": "1d4b9a43", - "mutability": "constant", - "name": "RECONFIGURE", - "nameLocation": "106:11:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24518, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "82:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "31", - "id": 24519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "120:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "visibility": "public" - }, - { - "id": 24523, - "nodeType": "VariableDeclaration", - "src": "125:34:19", - "constant": true, - "functionSelector": "c577af30", - "mutability": "constant", - "name": "REDEEM", - "nameLocation": "149:6:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24521, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "125:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "32", - "id": 24522, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "158:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "visibility": "public" - }, - { - "id": 24526, - "nodeType": "VariableDeclaration", - "src": "163:46:19", - "constant": true, - "functionSelector": "a264ed78", - "mutability": "constant", - "name": "MIGRATE_CONTROLLER", - "nameLocation": "187:18:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24524, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "163:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "33", - "id": 24525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "208:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "visibility": "public" - }, - { - "id": 24529, - "nodeType": "VariableDeclaration", - "src": "213:44:19", - "constant": true, - "functionSelector": "b56dcf9e", - "mutability": "constant", - "name": "MIGRATE_TERMINAL", - "nameLocation": "237:16:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24527, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "213:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "34", - "id": 24528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "256:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "visibility": "public" - }, - { - "id": 24532, - "nodeType": "VariableDeclaration", - "src": "261:40:19", - "constant": true, - "functionSelector": "9694c99a", - "mutability": "constant", - "name": "PROCESS_FEES", - "nameLocation": "285:12:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24530, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "261:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "35", - "id": 24531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "300:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_5_by_1", - "typeString": "int_const 5" - }, - "value": "5" - }, - "visibility": "public" - }, - { - "id": 24535, - "nodeType": "VariableDeclaration", - "src": "305:40:19", - "constant": true, - "functionSelector": "af0c22a0", - "mutability": "constant", - "name": "SET_METADATA", - "nameLocation": "329:12:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24533, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "305:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "36", - "id": 24534, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "344:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_6_by_1", - "typeString": "int_const 6" - }, - "value": "6" - }, - "visibility": "public" - }, - { - "id": 24538, - "nodeType": "VariableDeclaration", - "src": "349:33:19", - "constant": true, - "functionSelector": "32235cdf", - "mutability": "constant", - "name": "ISSUE", - "nameLocation": "373:5:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24536, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "349:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "37", - "id": 24537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "381:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_7_by_1", - "typeString": "int_const 7" - }, - "value": "7" - }, - "visibility": "public" - }, - { - "id": 24541, - "nodeType": "VariableDeclaration", - "src": "386:37:19", - "constant": true, - "functionSelector": "76190b60", - "mutability": "constant", - "name": "SET_TOKEN", - "nameLocation": "410:9:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "386:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "38", - "id": 24540, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "422:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "visibility": "public" - }, - { - "id": 24544, - "nodeType": "VariableDeclaration", - "src": "427:32:19", - "constant": true, - "functionSelector": "3e36f4c7", - "mutability": "constant", - "name": "MINT", - "nameLocation": "451:4:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24542, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "427:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "39", - "id": 24543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "458:1:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_9_by_1", - "typeString": "int_const 9" - }, - "value": "9" - }, - "visibility": "public" - }, - { - "id": 24547, - "nodeType": "VariableDeclaration", - "src": "463:33:19", - "constant": true, - "functionSelector": "c0a2526c", - "mutability": "constant", - "name": "BURN", - "nameLocation": "487:4:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24545, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "463:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3130", - "id": 24546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "494:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "visibility": "public" - }, - { - "id": 24550, - "nodeType": "VariableDeclaration", - "src": "500:34:19", - "constant": true, - "functionSelector": "73d74876", - "mutability": "constant", - "name": "CLAIM", - "nameLocation": "524:5:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24548, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "500:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3131", - "id": 24549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "532:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_11_by_1", - "typeString": "int_const 11" - }, - "value": "11" - }, - "visibility": "public" - }, - { - "id": 24553, - "nodeType": "VariableDeclaration", - "src": "538:37:19", - "constant": true, - "functionSelector": "76420e1d", - "mutability": "constant", - "name": "TRANSFER", - "nameLocation": "562:8:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24551, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "538:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3132", - "id": 24552, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "573:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_12_by_1", - "typeString": "int_const 12" - }, - "value": "12" - }, - "visibility": "public" - }, - { - "id": 24556, - "nodeType": "VariableDeclaration", - "src": "579:42:19", - "constant": true, - "functionSelector": "757616e1", - "mutability": "constant", - "name": "REQUIRE_CLAIM", - "nameLocation": "603:13:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24554, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "579:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3133", - "id": 24555, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "619:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_13_by_1", - "typeString": "int_const 13" - }, - "value": "13" - }, - "visibility": "public" - }, - { - "id": 24559, - "nodeType": "VariableDeclaration", - "src": "641:43:19", - "constant": true, - "functionSelector": "f5edee14", - "mutability": "constant", - "name": "SET_CONTROLLER", - "nameLocation": "665:14:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "641:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3134", - "id": 24558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "682:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_14_by_1", - "typeString": "int_const 14" - }, - "value": "14" - }, - "visibility": "public" - }, - { - "id": 24562, - "nodeType": "VariableDeclaration", - "src": "688:42:19", - "constant": true, - "functionSelector": "6c1943be", - "mutability": "constant", - "name": "SET_TERMINALS", - "nameLocation": "712:13:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24560, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "688:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3135", - "id": 24561, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "728:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_15_by_1", - "typeString": "int_const 15" - }, - "value": "15" - }, - "visibility": "public" - }, - { - "id": 24565, - "nodeType": "VariableDeclaration", - "src": "734:49:19", - "constant": true, - "functionSelector": "aae78103", - "mutability": "constant", - "name": "SET_PRIMARY_TERMINAL", - "nameLocation": "758:20:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24563, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "734:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3136", - "id": 24564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "781:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "visibility": "public" - }, - { - "id": 24568, - "nodeType": "VariableDeclaration", - "src": "787:42:19", - "constant": true, - "functionSelector": "73b6dec6", - "mutability": "constant", - "name": "USE_ALLOWANCE", - "nameLocation": "811:13:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24566, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "787:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3137", - "id": 24567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "827:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_17_by_1", - "typeString": "int_const 17" - }, - "value": "17" - }, - "visibility": "public" - }, - { - "id": 24571, - "nodeType": "VariableDeclaration", - "src": "833:39:19", - "constant": true, - "functionSelector": "ef1b4f3b", - "mutability": "constant", - "name": "SET_SPLITS", - "nameLocation": "857:10:19", - "scope": 24572, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24569, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "833:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3138", - "id": 24570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "870:2:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_18_by_1", - "typeString": "int_const 18" - }, - "value": "18" - }, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "JBOperations", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 24572 - ], - "name": "JBOperations", - "nameLocation": "65:12:19", - "scope": 24573, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 19 -} \ No newline at end of file +{"abi":[{"type":"function","name":"BURN","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"CLAIM","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"ISSUE","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"MIGRATE_CONTROLLER","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"MIGRATE_TERMINAL","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"MINT","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"PROCESS_FEES","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"RECONFIGURE","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"REDEEM","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"REQUIRE_CLAIM","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"SET_CONTROLLER","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"SET_METADATA","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"SET_PRIMARY_TERMINAL","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"SET_SPLITS","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"SET_TERMINALS","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"SET_TOKEN","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"TRANSFER","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"USE_ALLOWANCE","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"}],"bytecode":{"object":"0x6101fd61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101205760003560e01c80639694c99a116100ac578063b56dcf9e1161007b578063b56dcf9e1461019f578063c0a2526c146101a7578063c577af30146101af578063ef1b4f3b146101b7578063f5edee14146101bf57600080fd5b80639694c99a1461017f578063a264ed7814610187578063aae781031461018f578063af0c22a01461019757600080fd5b806373b6dec6116100f357806373b6dec61461015757806373d748761461015f578063757616e11461016757806376190b601461016f57806376420e1d1461017757600080fd5b80631d4b9a431461012557806332235cdf1461013f5780633e36f4c7146101475780636c1943be1461014f575b600080fd5b61012d600181565b60405190815260200160405180910390f35b61012d600781565b61012d600981565b61012d600f81565b61012d601181565b61012d600b81565b61012d600d81565b61012d600881565b61012d600c81565b61012d600581565b61012d600381565b61012d601081565b61012d600681565b61012d600481565b61012d600a81565b61012d600281565b61012d601281565b61012d600e8156fea26469706673582212200a4a5775272e72a14cc960701c3c64f0bc4423fe2ae20c4db711ddf7281b8bba64736f6c63430008170033","sourceMap":"57:818:20:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;57:818:20;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600436106101205760003560e01c80639694c99a116100ac578063b56dcf9e1161007b578063b56dcf9e1461019f578063c0a2526c146101a7578063c577af30146101af578063ef1b4f3b146101b7578063f5edee14146101bf57600080fd5b80639694c99a1461017f578063a264ed7814610187578063aae781031461018f578063af0c22a01461019757600080fd5b806373b6dec6116100f357806373b6dec61461015757806373d748761461015f578063757616e11461016757806376190b601461016f57806376420e1d1461017757600080fd5b80631d4b9a431461012557806332235cdf1461013f5780633e36f4c7146101475780636c1943be1461014f575b600080fd5b61012d600181565b60405190815260200160405180910390f35b61012d600781565b61012d600981565b61012d600f81565b61012d601181565b61012d600b81565b61012d600d81565b61012d600881565b61012d600c81565b61012d600581565b61012d600381565b61012d601081565b61012d600681565b61012d600481565b61012d600a81565b61012d600281565b61012d601281565b61012d600e8156fea26469706673582212200a4a5775272e72a14cc960701c3c64f0bc4423fe2ae20c4db711ddf7281b8bba64736f6c63430008170033","sourceMap":"57:818:20:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82:39;;120:1;82:39;;;;;168:25:44;;;156:2;141:18;82:39:20;;;;;;;349:33;;381:1;349:33;;427:32;;458:1;427:32;;688:42;;728:2;688:42;;787;;827:2;787:42;;500:34;;532:2;500:34;;579:42;;619:2;579:42;;386:37;;422:1;386:37;;538;;573:2;538:37;;261:40;;300:1;261:40;;163:46;;208:1;163:46;;734:49;;781:2;734:49;;305:40;;344:1;305:40;;213:44;;256:1;213:44;;463:33;;494:2;463:33;;125:34;;158:1;125:34;;833:39;;870:2;833:39;;641:43;;682:2;641:43;","linkReferences":{}},"methodIdentifiers":{"BURN()":"c0a2526c","CLAIM()":"73d74876","ISSUE()":"32235cdf","MIGRATE_CONTROLLER()":"a264ed78","MIGRATE_TERMINAL()":"b56dcf9e","MINT()":"3e36f4c7","PROCESS_FEES()":"9694c99a","RECONFIGURE()":"1d4b9a43","REDEEM()":"c577af30","REQUIRE_CLAIM()":"757616e1","SET_CONTROLLER()":"f5edee14","SET_METADATA()":"af0c22a0","SET_PRIMARY_TERMINAL()":"aae78103","SET_SPLITS()":"ef1b4f3b","SET_TERMINALS()":"6c1943be","SET_TOKEN()":"76190b60","TRANSFER()":"76420e1d","USE_ALLOWANCE()":"73b6dec6"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"BURN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CLAIM\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ISSUE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIGRATE_CONTROLLER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIGRATE_TERMINAL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROCESS_FEES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RECONFIGURE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REDEEM\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REQUIRE_CLAIM\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_CONTROLLER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_METADATA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_PRIMARY_TERMINAL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_SPLITS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_TERMINALS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SET_TOKEN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"USE_ALLOWANCE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol\":\"JBOperations\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol\":{\"keccak256\":\"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a\",\"dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"view","type":"function","name":"BURN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"CLAIM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"ISSUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"MIGRATE_CONTROLLER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"MIGRATE_TERMINAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"PROCESS_FEES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"RECONFIGURE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"REDEEM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"REQUIRE_CLAIM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"SET_CONTROLLER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"SET_METADATA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"SET_PRIMARY_TERMINAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"SET_SPLITS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"SET_TERMINALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"SET_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"TRANSFER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"USE_ALLOWANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol":"JBOperations"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol":{"keccak256":"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690","urls":["bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a","dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9"],"license":"MIT"}},"version":1},"id":20} \ No newline at end of file diff --git a/out/JBOperations2.sol/JBOperations2.json b/out/JBOperations2.sol/JBOperations2.json index 78d504b..01c5fc1 100644 --- a/out/JBOperations2.sol/JBOperations2.json +++ b/out/JBOperations2.sol/JBOperations2.json @@ -1,186 +1 @@ -{ - "abi": [ - { - "inputs": [], - "name": "SET_ENS_NAME_FOR", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x6087610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c806333c658f1146038575b600080fd5b603f601381565b60405190815260200160405180910390f3fea2646970667358221220145b3af193c5d5e63850843110fb7530b7d26223cfbba3927a920404b63e36c264736f6c63430008100033", - "sourceMap": "58:74:2:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;58:74:2;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c806333c658f1146038575b600080fd5b603f601381565b60405190815260200160405180910390f3fea2646970667358221220145b3af193c5d5e63850843110fb7530b7d26223cfbba3927a920404b63e36c264736f6c63430008100033", - "sourceMap": "58:74:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;84:45;;127:2;84:45;;;;;168:25:43;;;156:2;141:18;84:45:2;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": { - "SET_ENS_NAME_FOR()": "33c658f1" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"SET_ENS_NAME_FOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/libraries/JBOperations2.sol\":\"JBOperations2\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SET_ENS_NAME_FOR", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "contracts/libraries/JBOperations2.sol": "JBOperations2" - }, - "libraries": {} - }, - "sources": { - "contracts/libraries/JBOperations2.sol": { - "keccak256": "0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29", - "urls": [ - "bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1", - "dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "contracts/libraries/JBOperations2.sol", - "id": 393, - "exportedSymbols": { - "JBOperations2": [ - 392 - ] - }, - "nodeType": "SourceUnit", - "src": "32:101:2", - "nodes": [ - { - "id": 388, - "nodeType": "PragmaDirective", - "src": "32:24:2", - "literals": [ - "solidity", - "^", - "0.8", - ".16" - ] - }, - { - "id": 392, - "nodeType": "ContractDefinition", - "src": "58:74:2", - "nodes": [ - { - "id": 391, - "nodeType": "VariableDeclaration", - "src": "84:45:2", - "constant": true, - "functionSelector": "33c658f1", - "mutability": "constant", - "name": "SET_ENS_NAME_FOR", - "nameLocation": "108:16:2", - "scope": 392, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 389, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "84:7:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "3139", - "id": 390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "127:2:2", - "typeDescriptions": { - "typeIdentifier": "t_rational_19_by_1", - "typeString": "int_const 19" - }, - "value": "19" - }, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "JBOperations2", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 392 - ], - "name": "JBOperations2", - "nameLocation": "66:13:2", - "scope": 393, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 2 -} \ No newline at end of file +{"abi":[{"type":"function","name":"SET_ENS_NAME_FOR","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"}],"bytecode":{"object":"0x6087610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c806333c658f1146038575b600080fd5b603f601381565b60405190815260200160405180910390f3fea264697066735822122058278c51c10f7f0409f078d8b40afd1b9dc26fdc81d9fe007fcca6b885449f0b64736f6c63430008170033","sourceMap":"58:74:2:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;58:74:2;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c806333c658f1146038575b600080fd5b603f601381565b60405190815260200160405180910390f3fea264697066735822122058278c51c10f7f0409f078d8b40afd1b9dc26fdc81d9fe007fcca6b885449f0b64736f6c63430008170033","sourceMap":"58:74:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;84:45;;127:2;84:45;;;;;168:25:44;;;156:2;141:18;84:45:2;;;;;;","linkReferences":{}},"methodIdentifiers":{"SET_ENS_NAME_FOR()":"33c658f1"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"SET_ENS_NAME_FOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/libraries/JBOperations2.sol\":\"JBOperations2\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"view","type":"function","name":"SET_ENS_NAME_FOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/libraries/JBOperations2.sol":"JBOperations2"},"evmVersion":"paris","libraries":{}},"sources":{"contracts/libraries/JBOperations2.sol":{"keccak256":"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29","urls":["bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1","dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg"],"license":"MIT"}},"version":1},"id":2} \ No newline at end of file diff --git a/out/JBOperatorStore.sol/JBOperatorStore.json b/out/JBOperatorStore.sol/JBOperatorStore.json index 63815e2..58dc347 100644 --- a/out/JBOperatorStore.sol/JBOperatorStore.json +++ b/out/JBOperatorStore.sol/JBOperatorStore.json @@ -1,3884 +1 @@ -{ - "abi": [ - { - "inputs": [], - "name": "PERMISSION_INDEX_OUT_OF_BOUNDS", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "packed", - "type": "uint256" - } - ], - "name": "SetOperator", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_permissionIndex", - "type": "uint256" - } - ], - "name": "hasPermission", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "_permissionIndexes", - "type": "uint256[]" - } - ], - "name": "hasPermissions", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "permissionsOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - } - ], - "internalType": "struct JBOperatorData", - "name": "_operatorData", - "type": "tuple" - } - ], - "name": "setOperator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - } - ], - "internalType": "struct JBOperatorData[]", - "name": "_operatorData", - "type": "tuple[]" - } - ], - "name": "setOperators", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x608060405234801561001057600080fd5b506107cd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630f5932f01461005c578063529cdd2e1461008457806380deb230146100995780638d5f697f146100d7578063c161c93f146100ea575b600080fd5b61006f61006a36600461054d565b6100fd565b60405190151581526020015b60405180910390f35b6100976100923660046105bc565b6101a4565b005b6100c96100a73660046105fe565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161007b565b6100976100e536600461063a565b610269565b61006f6100f836600461067c565b610421565b6000805b8281101561019557600084848381811061011d5761011d6106be565b90506020020135905060ff81111561014857604051638e9503a960e01b815260040160405180910390fd5b6001600160a01b03888116600090815260208181526040808320938b168352928152828220898352905290812054821c600116900361018c5760009250505061019b565b50600101610101565b50600190505b95945050505050565b60006101bb6101b660408401846106d4565b610482565b9050806000806101ce602086018661071e565b6001600160a01b03168152602080820192909252604090810160009081203380835290845282822087850180358085529190955292909120939093559190610216908561071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32061024d60408701876106d4565b8660405161025d93929190610739565b60405180910390a45050565b60005b8181101561041c5760006102ab84848481811061028b5761028b6106be565b905060200281019061029d9190610777565b6101b69060408101906106d4565b9050806000808686868181106102c3576102c36106be565b90506020028101906102d59190610777565b6102e390602081019061071e565b6001600160a01b031681526020808201929092526040908101600090812033825290925281209086868681811061031c5761031c6106be565b905060200281019061032e9190610777565b60200135815260200190815260200160002081905550838383818110610356576103566106be565b90506020028101906103689190610777565b602001353385858581811061037f5761037f6106be565b90506020028101906103919190610777565b61039f90602081019061071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3208787878181106103db576103db6106be565b90506020028101906103ed9190610777565b6103fb9060408101906106d4565b8660405161040b93929190610739565b60405180910390a45060010161026c565b505050565b600060ff82111561044557604051638e9503a960e01b815260040160405180910390fd5b506001600160a01b03808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156104de5760008484838181106104a2576104a26106be565b90506020020135905060ff8111156104cd57604051638e9503a960e01b815260040160405180910390fd5b60019081901b929092179101610486565b5092915050565b80356001600160a01b03811681146104fc57600080fd5b919050565b60008083601f84011261051357600080fd5b50813567ffffffffffffffff81111561052b57600080fd5b6020830191508360208260051b850101111561054657600080fd5b9250929050565b60008060008060006080868803121561056557600080fd5b61056e866104e5565b945061057c602087016104e5565b935060408601359250606086013567ffffffffffffffff81111561059f57600080fd5b6105ab88828901610501565b969995985093965092949392505050565b6000602082840312156105ce57600080fd5b813567ffffffffffffffff8111156105e557600080fd5b8201606081850312156105f757600080fd5b9392505050565b60008060006060848603121561061357600080fd5b61061c846104e5565b925061062a602085016104e5565b9150604084013590509250925092565b6000806020838503121561064d57600080fd5b823567ffffffffffffffff81111561066457600080fd5b61067085828601610501565b90969095509350505050565b6000806000806080858703121561069257600080fd5b61069b856104e5565b93506106a9602086016104e5565b93969395505050506040820135916060013590565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126106eb57600080fd5b83018035915067ffffffffffffffff82111561070657600080fd5b6020019150600581901b360382131561054657600080fd5b60006020828403121561073057600080fd5b6105f7826104e5565b6040808252810183905260006001600160fb1b0384111561075957600080fd5b8360051b808660608501376020830193909352500160600192915050565b60008235605e1983360301811261078d57600080fd5b919091019291505056fea26469706673582212201926e03f129c01ce3a16319ed5419b34a9479a82086308f85a3f3a61dd87bc7664736f6c63430008100033", - "sourceMap": "443:6053:12:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80630f5932f01461005c578063529cdd2e1461008457806380deb230146100995780638d5f697f146100d7578063c161c93f146100ea575b600080fd5b61006f61006a36600461054d565b6100fd565b60405190151581526020015b60405180910390f35b6100976100923660046105bc565b6101a4565b005b6100c96100a73660046105fe565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161007b565b6100976100e536600461063a565b610269565b61006f6100f836600461067c565b610421565b6000805b8281101561019557600084848381811061011d5761011d6106be565b90506020020135905060ff81111561014857604051638e9503a960e01b815260040160405180910390fd5b6001600160a01b03888116600090815260208181526040808320938b168352928152828220898352905290812054821c600116900361018c5760009250505061019b565b50600101610101565b50600190505b95945050505050565b60006101bb6101b660408401846106d4565b610482565b9050806000806101ce602086018661071e565b6001600160a01b03168152602080820192909252604090810160009081203380835290845282822087850180358085529190955292909120939093559190610216908561071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32061024d60408701876106d4565b8660405161025d93929190610739565b60405180910390a45050565b60005b8181101561041c5760006102ab84848481811061028b5761028b6106be565b905060200281019061029d9190610777565b6101b69060408101906106d4565b9050806000808686868181106102c3576102c36106be565b90506020028101906102d59190610777565b6102e390602081019061071e565b6001600160a01b031681526020808201929092526040908101600090812033825290925281209086868681811061031c5761031c6106be565b905060200281019061032e9190610777565b60200135815260200190815260200160002081905550838383818110610356576103566106be565b90506020028101906103689190610777565b602001353385858581811061037f5761037f6106be565b90506020028101906103919190610777565b61039f90602081019061071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3208787878181106103db576103db6106be565b90506020028101906103ed9190610777565b6103fb9060408101906106d4565b8660405161040b93929190610739565b60405180910390a45060010161026c565b505050565b600060ff82111561044557604051638e9503a960e01b815260040160405180910390fd5b506001600160a01b03808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156104de5760008484838181106104a2576104a26106be565b90506020020135905060ff8111156104cd57604051638e9503a960e01b815260040160405180910390fd5b60019081901b929092179101610486565b5092915050565b80356001600160a01b03811681146104fc57600080fd5b919050565b60008083601f84011261051357600080fd5b50813567ffffffffffffffff81111561052b57600080fd5b6020830191508360208260051b850101111561054657600080fd5b9250929050565b60008060008060006080868803121561056557600080fd5b61056e866104e5565b945061057c602087016104e5565b935060408601359250606086013567ffffffffffffffff81111561059f57600080fd5b6105ab88828901610501565b969995985093965092949392505050565b6000602082840312156105ce57600080fd5b813567ffffffffffffffff8111156105e557600080fd5b8201606081850312156105f757600080fd5b9392505050565b60008060006060848603121561061357600080fd5b61061c846104e5565b925061062a602085016104e5565b9150604084013590509250925092565b6000806020838503121561064d57600080fd5b823567ffffffffffffffff81111561066457600080fd5b61067085828601610501565b90969095509350505050565b6000806000806080858703121561069257600080fd5b61069b856104e5565b93506106a9602086016104e5565b93969395505050506040820135916060013590565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126106eb57600080fd5b83018035915067ffffffffffffffff82111561070657600080fd5b6020019150600581901b360382131561054657600080fd5b60006020828403121561073057600080fd5b6105f7826104e5565b6040808252810183905260006001600160fb1b0384111561075957600080fd5b8360051b808660608501376020830193909352500160600192915050565b60008235605e1983360301811261078d57600080fd5b919091019291505056fea26469706673582212201926e03f129c01ce3a16319ed5419b34a9479a82086308f85a3f3a61dd87bc7664736f6c63430008100033", - "sourceMap": "443:6053:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3411:545;;;;;;:::i;:::-;;:::i;:::-;;;1388:14:43;;1381:22;1363:41;;1351:2;1336:18;3411:545:12;;;;;;;;4397:473;;;;;;:::i;:::-;;:::i;:::-;;1747:97;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2293:25:43;;;2281:2;2266:18;1747:97:12;2147:177:43;5083:621:12;;;;;;:::i;:::-;;:::i;2571:331::-;;;;;;:::i;:::-;;:::i;3411:545::-;3580:4;3597:10;3592:343;3609:30;;;3592:343;;;3651:24;3678:18;;3697:2;3678:22;;;;;;;:::i;:::-;;;;;;;3651:49;;3732:3;3713:16;:22;3709:67;;;3744:32;;-1:-1:-1;;;3744:32:12;;;;;;;;;;;3709:67;-1:-1:-1;;;;;3791:24:12;;;:13;:24;;;;;;;;;;;:34;;;;;;;;;;;:43;;;;;;;;;:63;;3858:1;3790:69;3789:76;;3785:102;;3882:5;3875:12;;;;;;3785:102;-1:-1:-1;3916:4:12;;3592:343;;;;3947:4;3940:11;;3411:545;;;;;;;;:::o;4397:473::-;4521:15;4539:51;4558:31;;;;:13;:31;:::i;:::-;4539:18;:51::i;:::-;4521:69;-1:-1:-1;4521:69:12;4625:13;;4639:22;;;;:13;:22;:::i;:::-;-1:-1:-1;;;;;4625:37:12;;;;;;;;;;;;;;;-1:-1:-1;4625:37:12;;;4663:10;4625:49;;;;;;;;;4675:20;;;;;4625:71;;;;;;;;;;;:81;;;;4675:20;4663:10;4737:22;;4675:13;4737:22;:::i;:::-;-1:-1:-1;;;;;4718:147:12;;4813:31;;;;:13;:31;:::i;:::-;4852:7;4718:147;;;;;;;;:::i;:::-;;;;;;;;4475:395;4397:473;:::o;5083:621::-;5175:10;5170:530;5187:25;;;5170:530;;;5266:15;5284:55;5303:13;;5317:2;5303:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:35;;;;;;;:::i;5284:55::-;5266:73;;5460:7;5378:13;:41;5392:13;;5406:2;5392:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:26;;;;;;;:::i;:::-;-1:-1:-1;;;;;5378:41:12;;;;;;;;;;;;;;;-1:-1:-1;5378:41:12;;;5420:10;5378:53;;;;;;;;5432:13;;5446:2;5432:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:24;;;5378:79;;;;;;;;;;;:89;;;;5558:13;;5572:2;5558:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:24;;;5538:10;5502:13;;5516:2;5502:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:26;;;;;;;:::i;:::-;-1:-1:-1;;;;;5481:171:12;;5592:13;;5606:2;5592:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:35;;;;;;;:::i;:::-;5637:7;5481:171;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;5681:4:12;;5170:530;;;;5083:621;;:::o;2571:331::-;2726:4;2761:3;2742:16;:22;2738:67;;;2773:32;;-1:-1:-1;;;2773:32:12;;;;;;;;;;;2738:67;-1:-1:-1;;;;;;2822:24:12;;;:13;:24;;;;;;;;;;;:34;;;;;;;;;;;:43;;;;;;;2889:1;2822:63;;;2821:69;;2820:76;2571:331;;;;;;:::o;6128:366::-;6207:14;6234:10;6229:261;6246:20;;;6229:261;;;6278:14;6295:8;;6304:2;6295:12;;;;;;;:::i;:::-;;;;;;;6278:29;;6329:3;6320:6;:12;6316:57;;;6341:32;;-1:-1:-1;;;6341:32:12;;;;;;;;;;;6316:57;6431:1;:11;;;;6421:21;;;;;6471:4;6229:261;;;;6128:366;;;;:::o;14:173:43:-;82:20;;-1:-1:-1;;;;;131:31:43;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:43;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:654::-;677:6;685;693;701;709;762:3;750:9;741:7;737:23;733:33;730:53;;;779:1;776;769:12;730:53;802:29;821:9;802:29;:::i;:::-;792:39;;850:38;884:2;873:9;869:18;850:38;:::i;:::-;840:48;;935:2;924:9;920:18;907:32;897:42;;990:2;979:9;975:18;962:32;1017:18;1009:6;1006:30;1003:50;;;1049:1;1046;1039:12;1003:50;1088:70;1150:7;1141:6;1130:9;1126:22;1088:70;:::i;:::-;564:654;;;;-1:-1:-1;564:654:43;;-1:-1:-1;1177:8:43;;1062:96;564:654;-1:-1:-1;;;564:654:43:o;1415:394::-;1509:6;1562:2;1550:9;1541:7;1537:23;1533:32;1530:52;;;1578:1;1575;1568:12;1530:52;1618:9;1605:23;1651:18;1643:6;1640:30;1637:50;;;1683:1;1680;1673:12;1637:50;1706:22;;1762:2;1744:16;;;1740:25;1737:45;;;1778:1;1775;1768:12;1737:45;1801:2;1415:394;-1:-1:-1;;;1415:394:43:o;1814:328::-;1891:6;1899;1907;1960:2;1948:9;1939:7;1935:23;1931:32;1928:52;;;1976:1;1973;1966:12;1928:52;1999:29;2018:9;1999:29;:::i;:::-;1989:39;;2047:38;2081:2;2070:9;2066:18;2047:38;:::i;:::-;2037:48;;2132:2;2121:9;2117:18;2104:32;2094:42;;1814:328;;;;;:::o;2329:472::-;2450:6;2458;2511:2;2499:9;2490:7;2486:23;2482:32;2479:52;;;2527:1;2524;2517:12;2479:52;2567:9;2554:23;2600:18;2592:6;2589:30;2586:50;;;2632:1;2629;2622:12;2586:50;2671:70;2733:7;2724:6;2713:9;2709:22;2671:70;:::i;:::-;2760:8;;2645:96;;-1:-1:-1;2329:472:43;-1:-1:-1;;;;2329:472:43:o;2806:397::-;2892:6;2900;2908;2916;2969:3;2957:9;2948:7;2944:23;2940:33;2937:53;;;2986:1;2983;2976:12;2937:53;3009:29;3028:9;3009:29;:::i;:::-;2999:39;;3057:38;3091:2;3080:9;3076:18;3057:38;:::i;:::-;2806:397;;3047:48;;-1:-1:-1;;;;3142:2:43;3127:18;;3114:32;;3193:2;3178:18;3165:32;;2806:397::o;3208:127::-;3269:10;3264:3;3260:20;3257:1;3250:31;3300:4;3297:1;3290:15;3324:4;3321:1;3314:15;3340:545;3433:4;3439:6;3499:11;3486:25;3593:2;3589:7;3578:8;3562:14;3558:29;3554:43;3534:18;3530:68;3520:96;;3612:1;3609;3602:12;3520:96;3639:33;;3691:20;;;-1:-1:-1;3734:18:43;3723:30;;3720:50;;;3766:1;3763;3756:12;3720:50;3799:4;3787:17;;-1:-1:-1;3850:1:43;3846:14;;;3830;3826:35;3816:46;;3813:66;;;3875:1;3872;3865:12;3890:186;3949:6;4002:2;3990:9;3981:7;3977:23;3973:32;3970:52;;;4018:1;4015;4008:12;3970:52;4041:29;4060:9;4041:29;:::i;4081:516::-;4298:2;4280:21;;;4317:18;;4310:34;;;-1:-1:-1;;;;;;4356:31:43;;4353:51;;;4400:1;4397;4390:12;4353:51;4434:6;4431:1;4427:14;4491:6;4483;4478:2;4467:9;4463:18;4450:48;4577:4;4562:20;;4555:36;;;;-1:-1:-1;4519:22:43;4543:2;4515:31;;4081:516;-1:-1:-1;;4081:516:43:o;4602:332::-;4703:4;4761:11;4748:25;4855:2;4851:7;4840:8;4824:14;4820:29;4816:43;4796:18;4792:68;4782:96;;4874:1;4871;4864:12;4782:96;4895:33;;;;;4602:332;-1:-1:-1;;4602:332:43:o", - "linkReferences": {} - }, - "methodIdentifiers": { - "hasPermission(address,address,uint256,uint256)": "c161c93f", - "hasPermissions(address,address,uint256,uint256[])": "0f5932f0", - "permissionsOf(address,address,uint256)": "80deb230", - "setOperator((address,uint256,uint256[]))": "529cdd2e", - "setOperators((address,uint256,uint256[])[])": "8d5f697f" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"PERMISSION_INDEX_OUT_OF_BOUNDS\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"packed\",\"type\":\"uint256\"}],\"name\":\"SetOperator\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_permissionIndex\",\"type\":\"uint256\"}],\"name\":\"hasPermission\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"_permissionIndexes\",\"type\":\"uint256[]\"}],\"name\":\"hasPermissions\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"permissionsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData\",\"name\":\"_operatorData\",\"type\":\"tuple\"}],\"name\":\"setOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData[]\",\"name\":\"_operatorData\",\"type\":\"tuple[]\"}],\"name\":\"setOperators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to - IJBOperatorStore: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.\",\"kind\":\"dev\",\"methods\":{\"hasPermission(address,address,uint256,uint256)\":{\"params\":{\"_account\":\"The account that has given out permissions to the operator.\",\"_domain\":\"The domain that the operator has been given permissions to operate.\",\"_operator\":\"The operator to check.\",\"_permissionIndex\":\"The permission index to check for.\"},\"returns\":{\"_0\":\"A flag indicating whether the operator has the specified permission.\"}},\"hasPermissions(address,address,uint256,uint256[])\":{\"params\":{\"_account\":\"The account that has given out permissions to the operator.\",\"_domain\":\"The domain that the operator has been given permissions to operate.\",\"_operator\":\"The operator to check.\",\"_permissionIndexes\":\"An array of permission indexes to check for.\"},\"returns\":{\"_0\":\"A flag indicating whether the operator has all specified permissions.\"}},\"setOperator((address,uint256,uint256[]))\":{\"details\":\"Only an address can set its own operators.\",\"params\":{\"_operatorData\":\"The data that specifies the params for the operator being set.\"}},\"setOperators((address,uint256,uint256[])[])\":{\"details\":\"Only an address can set its own operators.\",\"params\":{\"_operatorData\":\"The data that specify the params for each operator being set.\"}}},\"stateVariables\":{\"permissionsOf\":{\"details\":\"An account can give an operator permissions that only pertain to a specific domain namespace. There is no domain with a value of 0 \\u2013 accounts can use the 0 domain to give an operator permissions to all domains on their behalf.Permissions are stored in a packed `uint256`. Each 256 bits represents the on/off state of a permission. Applications can specify the significance of each index. _operator The address of the operator. _account The address of the account being operated. _domain The domain within which the permissions apply. Applications can use the domain namespace as they wish.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"hasPermission(address,address,uint256,uint256)\":{\"notice\":\" Whether or not an operator has the permission to take a certain action pertaining to the specified domain.\"},\"hasPermissions(address,address,uint256,uint256[])\":{\"notice\":\" Whether or not an operator has the permission to take certain actions pertaining to the specified domain.\"},\"permissionsOf(address,address,uint256)\":{\"notice\":\"The permissions that an operator has been given to operate on a specific domain.\"},\"setOperator((address,uint256,uint256[]))\":{\"notice\":\"Sets permissions for an operators.\"},\"setOperators((address,uint256,uint256[])[])\":{\"notice\":\"Sets permissions for many operators.\"}},\"notice\":\"Stores operator permissions for all addresses. Addresses can give permissions to any other address to take specific indexed actions on their behalf.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol\":\"JBOperatorStore\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol\":{\"keccak256\":\"0x8f8f1c0438d6bc6bdf666643939dc988ad300e6a3401158ec97700fb6ec2600e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://88132980fb0587b7e95ba7bab45677304490dc9a98a25f4eec32e8a8631a987a\",\"dweb:/ipfs/QmbTW3WbbFcUjx34yh8vg1v7aJnv6twhYmvzzUNggmMPqL\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "type": "error", - "name": "PERMISSION_INDEX_OUT_OF_BOUNDS" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "account", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256", - "indexed": true - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]", - "indexed": false - }, - { - "internalType": "uint256", - "name": "packed", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "SetOperator", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_permissionIndex", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "hasPermission", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_operator", - "type": "address" - }, - { - "internalType": "address", - "name": "_account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "_permissionIndexes", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function", - "name": "hasPermissions", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "permissionsOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct JBOperatorData", - "name": "_operatorData", - "type": "tuple", - "components": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setOperator" - }, - { - "inputs": [ - { - "internalType": "struct JBOperatorData[]", - "name": "_operatorData", - "type": "tuple[]", - "components": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "permissionIndexes", - "type": "uint256[]" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setOperators" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "hasPermission(address,address,uint256,uint256)": { - "params": { - "_account": "The account that has given out permissions to the operator.", - "_domain": "The domain that the operator has been given permissions to operate.", - "_operator": "The operator to check.", - "_permissionIndex": "The permission index to check for." - }, - "returns": { - "_0": "A flag indicating whether the operator has the specified permission." - } - }, - "hasPermissions(address,address,uint256,uint256[])": { - "params": { - "_account": "The account that has given out permissions to the operator.", - "_domain": "The domain that the operator has been given permissions to operate.", - "_operator": "The operator to check.", - "_permissionIndexes": "An array of permission indexes to check for." - }, - "returns": { - "_0": "A flag indicating whether the operator has all specified permissions." - } - }, - "setOperator((address,uint256,uint256[]))": { - "details": "Only an address can set its own operators.", - "params": { - "_operatorData": "The data that specifies the params for the operator being set." - } - }, - "setOperators((address,uint256,uint256[])[])": { - "details": "Only an address can set its own operators.", - "params": { - "_operatorData": "The data that specify the params for each operator being set." - } - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "hasPermission(address,address,uint256,uint256)": { - "notice": " Whether or not an operator has the permission to take a certain action pertaining to the specified domain." - }, - "hasPermissions(address,address,uint256,uint256[])": { - "notice": " Whether or not an operator has the permission to take certain actions pertaining to the specified domain." - }, - "permissionsOf(address,address,uint256)": { - "notice": "The permissions that an operator has been given to operate on a specific domain." - }, - "setOperator((address,uint256,uint256[]))": { - "notice": "Sets permissions for an operators." - }, - "setOperators((address,uint256,uint256[])[])": { - "notice": "Sets permissions for many operators." - } - }, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol": "JBOperatorStore" - }, - "libraries": {} - }, - "sources": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol": { - "keccak256": "0x8f8f1c0438d6bc6bdf666643939dc988ad300e6a3401158ec97700fb6ec2600e", - "urls": [ - "bzz-raw://88132980fb0587b7e95ba7bab45677304490dc9a98a25f4eec32e8a8631a987a", - "dweb:/ipfs/QmbTW3WbbFcUjx34yh8vg1v7aJnv6twhYmvzzUNggmMPqL" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol", - "id": 23980, - "exportedSymbols": { - "IJBOperatorStore": [ - 24426 - ], - "JBOperatorData": [ - 24582 - ], - "JBOperatorStore": [ - 23979 - ] - }, - "nodeType": "SourceUnit", - "src": "32:6465:12", - "nodes": [ - { - "id": 23709, - "nodeType": "PragmaDirective", - "src": "32:24:12", - "literals": [ - "solidity", - "^", - "0.8", - ".16" - ] - }, - { - "id": 23710, - "nodeType": "ImportDirective", - "src": "58:43:12", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol", - "file": "./interfaces/IJBOperatorStore.sol", - "nameLocation": "-1:-1:-1", - "scope": 23980, - "sourceUnit": 24427, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 23979, - "nodeType": "ContractDefinition", - "src": "443:6053:12", - "nodes": [ - { - "id": 23715, - "nodeType": "ErrorDefinition", - "src": "720:39:12", - "errorSelector": "8e9503a9", - "name": "PERMISSION_INDEX_OUT_OF_BOUNDS", - "nameLocation": "726:30:12", - "parameters": { - "id": 23714, - "nodeType": "ParameterList", - "parameters": [], - "src": "756:2:12" - } - }, - { - "id": 23725, - "nodeType": "VariableDeclaration", - "src": "1747:97:12", - "baseFunctions": [ - 24385 - ], - "constant": false, - "documentation": { - "id": 23716, - "nodeType": "StructuredDocumentation", - "src": "992:752:12", - "text": "@notice\nThe permissions that an operator has been given to operate on a specific domain.\n@dev\nAn account can give an operator permissions that only pertain to a specific domain namespace.\nThere is no domain with a value of 0 – accounts can use the 0 domain to give an operator\npermissions to all domains on their behalf.\n@dev\nPermissions are stored in a packed `uint256`. Each 256 bits represents the on/off state of a permission. Applications can specify the significance of each index.\n_operator The address of the operator.\n_account The address of the account being operated.\n_domain The domain within which the permissions apply. Applications can use the domain namespace as they wish." - }, - "functionSelector": "80deb230", - "mutability": "mutable", - "name": "permissionsOf", - "nameLocation": "1831:13:12", - "overrides": { - "id": 23724, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1822:8:12" - }, - "scope": 23979, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))" - }, - "typeName": { - "id": 23723, - "keyType": { - "id": 23717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1755:7:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1747:67:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))" - }, - "valueType": { - "id": 23722, - "keyType": { - "id": 23718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1774:7:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1766:47:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(uint256 => uint256))" - }, - "valueType": { - "id": 23721, - "keyType": { - "id": 23719, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1793:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1785:27:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - }, - "valueType": { - "id": 23720, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1804:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - } - }, - "visibility": "public" - }, - { - "id": 23765, - "nodeType": "FunctionDefinition", - "src": "2571:331:12", - "body": { - "id": 23764, - "nodeType": "Block", - "src": "2732:170:12", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 23740, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23734, - "src": "2742:16:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "323535", - "id": 23741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2761:3:12", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "255" - }, - "src": "2742:22:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 23746, - "nodeType": "IfStatement", - "src": "2738:67:12", - "trueBody": { - "errorCall": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 23743, - "name": "PERMISSION_INDEX_OUT_OF_BOUNDS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23715, - "src": "2773:30:12", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 23744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2773:32:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23745, - "nodeType": "RevertStatement", - "src": "2766:39:12" - } - }, - { - "expression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "id": 23747, - "name": "permissionsOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23725, - "src": "2822:13:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))" - } - }, - "id": 23749, - "indexExpression": { - "id": 23748, - "name": "_operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23728, - "src": "2836:9:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2822:24:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(uint256 => uint256))" - } - }, - "id": 23751, - "indexExpression": { - "id": 23750, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23730, - "src": "2847:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2822:34:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 23753, - "indexExpression": { - "id": 23752, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23732, - "src": "2857:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2822:43:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "id": 23754, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23734, - "src": "2869:16:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2822:63:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 23756, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2821:65:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "31", - "id": 23757, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2889:1:12", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2821:69:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 23759, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2820:71:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 23760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2895:1:12", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2820:76:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 23762, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2819:78:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 23739, - "id": 23763, - "nodeType": "Return", - "src": "2812:85:12" - } - ] - }, - "baseFunctions": [ - 24398 - ], - "documentation": { - "id": 23726, - "nodeType": "StructuredDocumentation", - "src": "2078:490:12", - "text": "@notice \nWhether or not an operator has the permission to take a certain action pertaining to the specified domain.\n@param _operator The operator to check.\n@param _account The account that has given out permissions to the operator.\n@param _domain The domain that the operator has been given permissions to operate.\n@param _permissionIndex The permission index to check for.\n@return A flag indicating whether the operator has the specified permission." - }, - "functionSelector": "c161c93f", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hasPermission", - "nameLocation": "2580:13:12", - "overrides": { - "id": 23736, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2708:8:12" - }, - "parameters": { - "id": 23735, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23728, - "mutability": "mutable", - "name": "_operator", - "nameLocation": "2607:9:12", - "nodeType": "VariableDeclaration", - "scope": 23765, - "src": "2599:17:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2599:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23730, - "mutability": "mutable", - "name": "_account", - "nameLocation": "2630:8:12", - "nodeType": "VariableDeclaration", - "scope": 23765, - "src": "2622:16:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23729, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2622:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23732, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "2652:7:12", - "nodeType": "VariableDeclaration", - "scope": 23765, - "src": "2644:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23731, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2644:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23734, - "mutability": "mutable", - "name": "_permissionIndex", - "nameLocation": "2673:16:12", - "nodeType": "VariableDeclaration", - "scope": 23765, - "src": "2665:24:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23733, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2665:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2593:100:12" - }, - "returnParameters": { - "id": 23739, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23738, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23765, - "src": "2726:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23737, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2726:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "2725:6:12" - }, - "scope": 23979, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 23828, - "nodeType": "FunctionDefinition", - "src": "3411:545:12", - "body": { - "id": 23827, - "nodeType": "Block", - "src": "3586:370:12", - "statements": [ - { - "body": { - "id": 23823, - "nodeType": "Block", - "src": "3643:292:12", - "statements": [ - { - "assignments": [ - 23789 - ], - "declarations": [ - { - "constant": false, - "id": 23789, - "mutability": "mutable", - "name": "_permissionIndex", - "nameLocation": "3659:16:12", - "nodeType": "VariableDeclaration", - "scope": 23823, - "src": "3651:24:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23788, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3651:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 23793, - "initialValue": { - "baseExpression": { - "id": 23790, - "name": "_permissionIndexes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23775, - "src": "3678:18:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 23792, - "indexExpression": { - "id": 23791, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23782, - "src": "3697:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3678:22:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3651:49:12" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 23794, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23789, - "src": "3713:16:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "323535", - "id": 23795, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3732:3:12", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "255" - }, - "src": "3713:22:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 23800, - "nodeType": "IfStatement", - "src": "3709:67:12", - "trueBody": { - "errorCall": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 23797, - "name": "PERMISSION_INDEX_OUT_OF_BOUNDS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23715, - "src": "3744:30:12", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 23798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3744:32:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23799, - "nodeType": "RevertStatement", - "src": "3737:39:12" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "id": 23801, - "name": "permissionsOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23725, - "src": "3791:13:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))" - } - }, - "id": 23803, - "indexExpression": { - "id": 23802, - "name": "_operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23768, - "src": "3805:9:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3791:24:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(uint256 => uint256))" - } - }, - "id": 23805, - "indexExpression": { - "id": 23804, - "name": "_account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23770, - "src": "3816:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3791:34:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 23807, - "indexExpression": { - "id": 23806, - "name": "_domain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23772, - "src": "3826:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3791:43:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "id": 23808, - "name": "_permissionIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23789, - "src": "3838:16:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3791:63:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 23810, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3790:65:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "31", - "id": 23811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3858:1:12", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3790:69:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 23813, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3789:71:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 23814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3864:1:12", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3789:76:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 23818, - "nodeType": "IfStatement", - "src": "3785:102:12", - "trueBody": { - "expression": { - "hexValue": "66616c7365", - "id": 23816, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3882:5:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 23780, - "id": 23817, - "nodeType": "Return", - "src": "3875:12:12" - } - }, - { - "id": 23822, - "nodeType": "UncheckedBlock", - "src": "3896:33:12", - "statements": [ - { - "expression": { - "id": 23820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "3916:4:12", - "subExpression": { - "id": 23819, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23782, - "src": "3918:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 23821, - "nodeType": "ExpressionStatement", - "src": "3916:4:12" - } - ] - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 23784, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23782, - "src": "3609:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 23785, - "name": "_permissionIndexes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23775, - "src": "3614:18:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 23786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3633:6:12", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "3614:25:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3609:30:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 23824, - "initializationExpression": { - "assignments": [ - 23782 - ], - "declarations": [ - { - "constant": false, - "id": 23782, - "mutability": "mutable", - "name": "_i", - "nameLocation": "3605:2:12", - "nodeType": "VariableDeclaration", - "scope": 23824, - "src": "3597:10:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23781, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3597:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 23783, - "nodeType": "VariableDeclarationStatement", - "src": "3597:10:12" - }, - "nodeType": "ForStatement", - "src": "3592:343:12" - }, - { - "expression": { - "hexValue": "74727565", - "id": 23825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3947:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 23780, - "id": 23826, - "nodeType": "Return", - "src": "3940:11:12" - } - ] - }, - "baseFunctions": [ - 24412 - ], - "documentation": { - "id": 23766, - "nodeType": "StructuredDocumentation", - "src": "2906:502:12", - "text": "@notice \nWhether or not an operator has the permission to take certain actions pertaining to the specified domain.\n@param _operator The operator to check.\n@param _account The account that has given out permissions to the operator.\n@param _domain The domain that the operator has been given permissions to operate.\n@param _permissionIndexes An array of permission indexes to check for.\n@return A flag indicating whether the operator has all specified permissions." - }, - "functionSelector": "0f5932f0", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hasPermissions", - "nameLocation": "3420:14:12", - "overrides": { - "id": 23777, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3562:8:12" - }, - "parameters": { - "id": 23776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23768, - "mutability": "mutable", - "name": "_operator", - "nameLocation": "3448:9:12", - "nodeType": "VariableDeclaration", - "scope": 23828, - "src": "3440:17:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23767, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3440:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23770, - "mutability": "mutable", - "name": "_account", - "nameLocation": "3471:8:12", - "nodeType": "VariableDeclaration", - "scope": 23828, - "src": "3463:16:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3463:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23772, - "mutability": "mutable", - "name": "_domain", - "nameLocation": "3493:7:12", - "nodeType": "VariableDeclaration", - "scope": 23828, - "src": "3485:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23771, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3485:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23775, - "mutability": "mutable", - "name": "_permissionIndexes", - "nameLocation": "3525:18:12", - "nodeType": "VariableDeclaration", - "scope": 23828, - "src": "3506:37:12", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 23773, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3506:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 23774, - "nodeType": "ArrayTypeName", - "src": "3506:9:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "3434:113:12" - }, - "returnParameters": { - "id": 23780, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23779, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 23828, - "src": "3580:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23778, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3580:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "3579:6:12" - }, - "scope": 23979, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 23869, - "nodeType": "FunctionDefinition", - "src": "4397:473:12", - "body": { - "id": 23868, - "nodeType": "Block", - "src": "4475:395:12", - "statements": [ - { - "assignments": [ - 23837 - ], - "declarations": [ - { - "constant": false, - "id": 23837, - "mutability": "mutable", - "name": "_packed", - "nameLocation": "4529:7:12", - "nodeType": "VariableDeclaration", - "scope": 23868, - "src": "4521:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23836, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4521:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 23842, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 23839, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23832, - "src": "4558:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4572:17:12", - "memberName": "permissionIndexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 24581, - "src": "4558:31:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - ], - "id": 23838, - "name": "_packedPermissions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23978, - "src": "4539:18:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint256_$dyn_calldata_ptr_$returns$_t_uint256_$", - "typeString": "function (uint256[] calldata) pure returns (uint256)" - } - }, - "id": 23841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4539:51:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4521:69:12" - }, - { - "expression": { - "id": 23854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "id": 23843, - "name": "permissionsOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23725, - "src": "4625:13:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))" - } - }, - "id": 23850, - "indexExpression": { - "expression": { - "id": 23844, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23832, - "src": "4639:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4653:8:12", - "memberName": "operator", - "nodeType": "MemberAccess", - "referencedDeclaration": 24576, - "src": "4639:22:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4625:37:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(uint256 => uint256))" - } - }, - "id": 23851, - "indexExpression": { - "expression": { - "id": 23846, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4663:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 23847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4667:6:12", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "4663:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4625:49:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 23852, - "indexExpression": { - "expression": { - "id": 23848, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23832, - "src": "4675:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4689:6:12", - "memberName": "domain", - "nodeType": "MemberAccess", - "referencedDeclaration": 24578, - "src": "4675:20:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4625:71:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 23853, - "name": "_packed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23837, - "src": "4699:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4625:81:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 23855, - "nodeType": "ExpressionStatement", - "src": "4625:81:12" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 23857, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23832, - "src": "4737:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4751:8:12", - "memberName": "operator", - "nodeType": "MemberAccess", - "referencedDeclaration": 24576, - "src": "4737:22:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 23859, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "4767:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 23860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4771:6:12", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "4767:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 23861, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23832, - "src": "4785:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4799:6:12", - "memberName": "domain", - "nodeType": "MemberAccess", - "referencedDeclaration": 24578, - "src": "4785:20:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "expression": { - "id": 23863, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23832, - "src": "4813:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4827:17:12", - "memberName": "permissionIndexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 24581, - "src": "4813:31:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - { - "id": 23865, - "name": "_packed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23837, - "src": "4852:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 23856, - "name": "SetOperator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24374, - "src": "4718:11:12", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_array$_t_uint256_$dyn_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256,uint256[] memory,uint256)" - } - }, - "id": 23866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4718:147:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23867, - "nodeType": "EmitStatement", - "src": "4713:152:12" - } - ] - }, - "baseFunctions": [ - 24418 - ], - "documentation": { - "id": 23829, - "nodeType": "StructuredDocumentation", - "src": "4189:205:12", - "text": "@notice\nSets permissions for an operators.\n@dev\nOnly an address can set its own operators.\n@param _operatorData The data that specifies the params for the operator being set." - }, - "functionSelector": "529cdd2e", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setOperator", - "nameLocation": "4406:11:12", - "overrides": { - "id": 23834, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4466:8:12" - }, - "parameters": { - "id": 23833, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23832, - "mutability": "mutable", - "name": "_operatorData", - "nameLocation": "4442:13:12", - "nodeType": "VariableDeclaration", - "scope": 23869, - "src": "4418:37:12", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData" - }, - "typeName": { - "id": 23831, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 23830, - "name": "JBOperatorData", - "nameLocations": [ - "4418:14:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24582, - "src": "4418:14:12" - }, - "referencedDeclaration": 24582, - "src": "4418:14:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_storage_ptr", - "typeString": "struct JBOperatorData" - } - }, - "visibility": "internal" - } - ], - "src": "4417:39:12" - }, - "returnParameters": { - "id": 23835, - "nodeType": "ParameterList", - "parameters": [], - "src": "4475:0:12" - }, - "scope": 23979, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 23936, - "nodeType": "FunctionDefinition", - "src": "5083:621:12", - "body": { - "id": 23935, - "nodeType": "Block", - "src": "5164:540:12", - "statements": [ - { - "body": { - "id": 23933, - "nodeType": "Block", - "src": "5216:484:12", - "statements": [ - { - "assignments": [ - 23886 - ], - "declarations": [ - { - "constant": false, - "id": 23886, - "mutability": "mutable", - "name": "_packed", - "nameLocation": "5274:7:12", - "nodeType": "VariableDeclaration", - "scope": 23933, - "src": "5266:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23885, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5266:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 23893, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 23888, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23874, - "src": "5303:13:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData calldata[] calldata" - } - }, - "id": 23890, - "indexExpression": { - "id": 23889, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "5317:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5303:17:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5321:17:12", - "memberName": "permissionIndexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 24581, - "src": "5303:35:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - ], - "id": 23887, - "name": "_packedPermissions", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23978, - "src": "5284:18:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint256_$dyn_calldata_ptr_$returns$_t_uint256_$", - "typeString": "function (uint256[] calldata) pure returns (uint256)" - } - }, - "id": 23892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5284:55:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5266:73:12" - }, - { - "expression": { - "id": 23909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "id": 23894, - "name": "permissionsOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23725, - "src": "5378:13:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$", - "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))" - } - }, - "id": 23905, - "indexExpression": { - "expression": { - "baseExpression": { - "id": 23895, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23874, - "src": "5392:13:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData calldata[] calldata" - } - }, - "id": 23897, - "indexExpression": { - "id": 23896, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "5406:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5392:17:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5410:8:12", - "memberName": "operator", - "nodeType": "MemberAccess", - "referencedDeclaration": 24576, - "src": "5392:26:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5378:41:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(uint256 => uint256))" - } - }, - "id": 23906, - "indexExpression": { - "expression": { - "id": 23899, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "5420:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 23900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5424:6:12", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "5420:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5378:53:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 23907, - "indexExpression": { - "expression": { - "baseExpression": { - "id": 23901, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23874, - "src": "5432:13:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData calldata[] calldata" - } - }, - "id": 23903, - "indexExpression": { - "id": 23902, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "5446:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5432:17:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23904, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5450:6:12", - "memberName": "domain", - "nodeType": "MemberAccess", - "referencedDeclaration": 24578, - "src": "5432:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5378:79:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 23908, - "name": "_packed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23886, - "src": "5460:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5378:89:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 23910, - "nodeType": "ExpressionStatement", - "src": "5378:89:12" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 23912, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23874, - "src": "5502:13:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData calldata[] calldata" - } - }, - "id": 23914, - "indexExpression": { - "id": 23913, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "5516:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5502:17:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5520:8:12", - "memberName": "operator", - "nodeType": "MemberAccess", - "referencedDeclaration": 24576, - "src": "5502:26:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 23916, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "5538:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 23917, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5542:6:12", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "5538:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "baseExpression": { - "id": 23918, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23874, - "src": "5558:13:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData calldata[] calldata" - } - }, - "id": 23920, - "indexExpression": { - "id": 23919, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "5572:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5558:17:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5576:6:12", - "memberName": "domain", - "nodeType": "MemberAccess", - "referencedDeclaration": 24578, - "src": "5558:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "expression": { - "baseExpression": { - "id": 23922, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23874, - "src": "5592:13:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData calldata[] calldata" - } - }, - "id": 23924, - "indexExpression": { - "id": 23923, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "5606:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5592:17:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_calldata_ptr", - "typeString": "struct JBOperatorData calldata" - } - }, - "id": 23925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5610:17:12", - "memberName": "permissionIndexes", - "nodeType": "MemberAccess", - "referencedDeclaration": 24581, - "src": "5592:35:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - { - "id": 23926, - "name": "_packed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23886, - "src": "5637:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 23911, - "name": "SetOperator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24374, - "src": "5481:11:12", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_array$_t_uint256_$dyn_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256,uint256[] memory,uint256)" - } - }, - "id": 23927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5481:171:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23928, - "nodeType": "EmitStatement", - "src": "5476:176:12" - }, - { - "id": 23932, - "nodeType": "UncheckedBlock", - "src": "5661:33:12", - "statements": [ - { - "expression": { - "id": 23930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "5681:4:12", - "subExpression": { - "id": 23929, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "5683:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 23931, - "nodeType": "ExpressionStatement", - "src": "5681:4:12" - } - ] - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 23881, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "5187:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 23882, - "name": "_operatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23874, - "src": "5192:13:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData calldata[] calldata" - } - }, - "id": 23883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5206:6:12", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5192:20:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5187:25:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 23934, - "initializationExpression": { - "assignments": [ - 23879 - ], - "declarations": [ - { - "constant": false, - "id": 23879, - "mutability": "mutable", - "name": "_i", - "nameLocation": "5183:2:12", - "nodeType": "VariableDeclaration", - "scope": 23934, - "src": "5175:10:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23878, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5175:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 23880, - "nodeType": "VariableDeclarationStatement", - "src": "5175:10:12" - }, - "nodeType": "ForStatement", - "src": "5170:530:12" - } - ] - }, - "baseFunctions": [ - 24425 - ], - "documentation": { - "id": 23870, - "nodeType": "StructuredDocumentation", - "src": "4874:206:12", - "text": "@notice\nSets permissions for many operators.\n@dev\nOnly an address can set its own operators.\n@param _operatorData The data that specify the params for each operator being set." - }, - "functionSelector": "8d5f697f", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setOperators", - "nameLocation": "5092:12:12", - "overrides": { - "id": 23876, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5155:8:12" - }, - "parameters": { - "id": 23875, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23874, - "mutability": "mutable", - "name": "_operatorData", - "nameLocation": "5131:13:12", - "nodeType": "VariableDeclaration", - "scope": 23936, - "src": "5105:39:12", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_calldata_ptr_$dyn_calldata_ptr", - "typeString": "struct JBOperatorData[]" - }, - "typeName": { - "baseType": { - "id": 23872, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 23871, - "name": "JBOperatorData", - "nameLocations": [ - "5105:14:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24582, - "src": "5105:14:12" - }, - "referencedDeclaration": 24582, - "src": "5105:14:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24582_storage_ptr", - "typeString": "struct JBOperatorData" - } - }, - "id": 23873, - "nodeType": "ArrayTypeName", - "src": "5105:16:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_JBOperatorData_$24582_storage_$dyn_storage_ptr", - "typeString": "struct JBOperatorData[]" - } - }, - "visibility": "internal" - } - ], - "src": "5104:41:12" - }, - "returnParameters": { - "id": 23877, - "nodeType": "ParameterList", - "parameters": [], - "src": "5164:0:12" - }, - "scope": 23979, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 23978, - "nodeType": "FunctionDefinition", - "src": "6128:366:12", - "body": { - "id": 23977, - "nodeType": "Block", - "src": "6223:271:12", - "statements": [ - { - "body": { - "id": 23975, - "nodeType": "Block", - "src": "6270:220:12", - "statements": [ - { - "assignments": [ - 23953 - ], - "declarations": [ - { - "constant": false, - "id": 23953, - "mutability": "mutable", - "name": "_index", - "nameLocation": "6286:6:12", - "nodeType": "VariableDeclaration", - "scope": 23975, - "src": "6278:14:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6278:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 23957, - "initialValue": { - "baseExpression": { - "id": 23954, - "name": "_indexes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23940, - "src": "6295:8:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 23956, - "indexExpression": { - "id": 23955, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23946, - "src": "6304:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6295:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6278:29:12" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 23958, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23953, - "src": "6320:6:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "323535", - "id": 23959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6329:3:12", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "255" - }, - "src": "6320:12:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 23964, - "nodeType": "IfStatement", - "src": "6316:57:12", - "trueBody": { - "errorCall": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 23961, - "name": "PERMISSION_INDEX_OUT_OF_BOUNDS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23715, - "src": "6341:30:12", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 23962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6341:32:12", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23963, - "nodeType": "RevertStatement", - "src": "6334:39:12" - } - }, - { - "expression": { - "id": 23969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 23965, - "name": "packed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23943, - "src": "6421:6:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 23966, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6431:1:12", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "id": 23967, - "name": "_index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23953, - "src": "6436:6:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6431:11:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6421:21:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 23970, - "nodeType": "ExpressionStatement", - "src": "6421:21:12" - }, - { - "id": 23974, - "nodeType": "UncheckedBlock", - "src": "6451:33:12", - "statements": [ - { - "expression": { - "id": 23972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "6471:4:12", - "subExpression": { - "id": 23971, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23946, - "src": "6473:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 23973, - "nodeType": "ExpressionStatement", - "src": "6471:4:12" - } - ] - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 23951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 23948, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23946, - "src": "6246:2:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 23949, - "name": "_indexes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23940, - "src": "6251:8:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[] calldata" - } - }, - "id": 23950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6260:6:12", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6251:15:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6246:20:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 23976, - "initializationExpression": { - "assignments": [ - 23946 - ], - "declarations": [ - { - "constant": false, - "id": 23946, - "mutability": "mutable", - "name": "_i", - "nameLocation": "6242:2:12", - "nodeType": "VariableDeclaration", - "scope": 23976, - "src": "6234:10:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23945, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6234:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 23947, - "nodeType": "VariableDeclarationStatement", - "src": "6234:10:12" - }, - "nodeType": "ForStatement", - "src": "6229:261:12" - } - ] - }, - "documentation": { - "id": 23937, - "nodeType": "StructuredDocumentation", - "src": "5937:188:12", - "text": "@notice \nConverts an array of permission indexes to a packed `uint256`.\n@param _indexes The indexes of the permissions to pack.\n@return packed The packed value." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_packedPermissions", - "nameLocation": "6137:18:12", - "parameters": { - "id": 23941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23940, - "mutability": "mutable", - "name": "_indexes", - "nameLocation": "6175:8:12", - "nodeType": "VariableDeclaration", - "scope": 23978, - "src": "6156:27:12", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 23938, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6156:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 23939, - "nodeType": "ArrayTypeName", - "src": "6156:9:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "6155:29:12" - }, - "returnParameters": { - "id": 23944, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23943, - "mutability": "mutable", - "name": "packed", - "nameLocation": "6215:6:12", - "nodeType": "VariableDeclaration", - "scope": 23978, - "src": "6207:14:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23942, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6207:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6206:16:12" - }, - "scope": 23979, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 23712, - "name": "IJBOperatorStore", - "nameLocations": [ - "471:16:12" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24426, - "src": "471:16:12" - }, - "id": 23713, - "nodeType": "InheritanceSpecifier", - "src": "471:16:12" - } - ], - "canonicalName": "JBOperatorStore", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 23711, - "nodeType": "StructuredDocumentation", - "src": "103:339:12", - "text": "@notice\nStores operator permissions for all addresses. Addresses can give permissions to any other address to take specific indexed actions on their behalf.\n@dev\nAdheres to -\nIJBOperatorStore: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 23979, - 24426 - ], - "name": "JBOperatorStore", - "nameLocation": "452:15:12", - "scope": 23980, - "usedErrors": [ - 23715 - ] - } - ], - "license": "MIT" - }, - "id": 12 -} \ No newline at end of file +{"abi":[{"type":"function","name":"hasPermission","inputs":[{"name":"_operator","type":"address","internalType":"address"},{"name":"_account","type":"address","internalType":"address"},{"name":"_domain","type":"uint256","internalType":"uint256"},{"name":"_permissionIndex","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"hasPermissions","inputs":[{"name":"_operator","type":"address","internalType":"address"},{"name":"_account","type":"address","internalType":"address"},{"name":"_domain","type":"uint256","internalType":"uint256"},{"name":"_permissionIndexes","type":"uint256[]","internalType":"uint256[]"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"permissionsOf","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"setOperator","inputs":[{"name":"_operatorData","type":"tuple","internalType":"struct JBOperatorData","components":[{"name":"operator","type":"address","internalType":"address"},{"name":"domain","type":"uint256","internalType":"uint256"},{"name":"permissionIndexes","type":"uint256[]","internalType":"uint256[]"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setOperators","inputs":[{"name":"_operatorData","type":"tuple[]","internalType":"struct JBOperatorData[]","components":[{"name":"operator","type":"address","internalType":"address"},{"name":"domain","type":"uint256","internalType":"uint256"},{"name":"permissionIndexes","type":"uint256[]","internalType":"uint256[]"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"SetOperator","inputs":[{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"domain","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"permissionIndexes","type":"uint256[]","indexed":false,"internalType":"uint256[]"},{"name":"packed","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"PERMISSION_INDEX_OUT_OF_BOUNDS","inputs":[]}],"bytecode":{"object":"0x608060405234801561001057600080fd5b506107cd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630f5932f01461005c578063529cdd2e1461008457806380deb230146100995780638d5f697f146100d7578063c161c93f146100ea575b600080fd5b61006f61006a36600461054d565b6100fd565b60405190151581526020015b60405180910390f35b6100976100923660046105bc565b6101a4565b005b6100c96100a73660046105fe565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161007b565b6100976100e536600461063a565b610269565b61006f6100f836600461067c565b610421565b6000805b8281101561019557600084848381811061011d5761011d6106be565b90506020020135905060ff81111561014857604051638e9503a960e01b815260040160405180910390fd5b6001600160a01b03888116600090815260208181526040808320938b168352928152828220898352905290812054821c600116900361018c5760009250505061019b565b50600101610101565b50600190505b95945050505050565b60006101bb6101b660408401846106d4565b610482565b9050806000806101ce602086018661071e565b6001600160a01b03168152602080820192909252604090810160009081203380835290845282822087850180358085529190955292909120939093559190610216908561071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32061024d60408701876106d4565b8660405161025d93929190610739565b60405180910390a45050565b60005b8181101561041c5760006102ab84848481811061028b5761028b6106be565b905060200281019061029d9190610777565b6101b69060408101906106d4565b9050806000808686868181106102c3576102c36106be565b90506020028101906102d59190610777565b6102e390602081019061071e565b6001600160a01b031681526020808201929092526040908101600090812033825290925281209086868681811061031c5761031c6106be565b905060200281019061032e9190610777565b60200135815260200190815260200160002081905550838383818110610356576103566106be565b90506020028101906103689190610777565b602001353385858581811061037f5761037f6106be565b90506020028101906103919190610777565b61039f90602081019061071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3208787878181106103db576103db6106be565b90506020028101906103ed9190610777565b6103fb9060408101906106d4565b8660405161040b93929190610739565b60405180910390a45060010161026c565b505050565b600060ff82111561044557604051638e9503a960e01b815260040160405180910390fd5b506001600160a01b03808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156104de5760008484838181106104a2576104a26106be565b90506020020135905060ff8111156104cd57604051638e9503a960e01b815260040160405180910390fd5b60019081901b929092179101610486565b5092915050565b80356001600160a01b03811681146104fc57600080fd5b919050565b60008083601f84011261051357600080fd5b50813567ffffffffffffffff81111561052b57600080fd5b6020830191508360208260051b850101111561054657600080fd5b9250929050565b60008060008060006080868803121561056557600080fd5b61056e866104e5565b945061057c602087016104e5565b935060408601359250606086013567ffffffffffffffff81111561059f57600080fd5b6105ab88828901610501565b969995985093965092949392505050565b6000602082840312156105ce57600080fd5b813567ffffffffffffffff8111156105e557600080fd5b8201606081850312156105f757600080fd5b9392505050565b60008060006060848603121561061357600080fd5b61061c846104e5565b925061062a602085016104e5565b9150604084013590509250925092565b6000806020838503121561064d57600080fd5b823567ffffffffffffffff81111561066457600080fd5b61067085828601610501565b90969095509350505050565b6000806000806080858703121561069257600080fd5b61069b856104e5565b93506106a9602086016104e5565b93969395505050506040820135916060013590565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126106eb57600080fd5b83018035915067ffffffffffffffff82111561070657600080fd5b6020019150600581901b360382131561054657600080fd5b60006020828403121561073057600080fd5b6105f7826104e5565b6040808252810183905260006001600160fb1b0384111561075957600080fd5b8360051b808660608501376020830193909352500160600192915050565b60008235605e1983360301811261078d57600080fd5b919091019291505056fea26469706673582212209939340c0e296ae7bb5a129104f60fbb2eaa4526bc8724b1662e3ce32e84720364736f6c63430008170033","sourceMap":"443:6053:13:-:0;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561001057600080fd5b50600436106100575760003560e01c80630f5932f01461005c578063529cdd2e1461008457806380deb230146100995780638d5f697f146100d7578063c161c93f146100ea575b600080fd5b61006f61006a36600461054d565b6100fd565b60405190151581526020015b60405180910390f35b6100976100923660046105bc565b6101a4565b005b6100c96100a73660046105fe565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161007b565b6100976100e536600461063a565b610269565b61006f6100f836600461067c565b610421565b6000805b8281101561019557600084848381811061011d5761011d6106be565b90506020020135905060ff81111561014857604051638e9503a960e01b815260040160405180910390fd5b6001600160a01b03888116600090815260208181526040808320938b168352928152828220898352905290812054821c600116900361018c5760009250505061019b565b50600101610101565b50600190505b95945050505050565b60006101bb6101b660408401846106d4565b610482565b9050806000806101ce602086018661071e565b6001600160a01b03168152602080820192909252604090810160009081203380835290845282822087850180358085529190955292909120939093559190610216908561071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32061024d60408701876106d4565b8660405161025d93929190610739565b60405180910390a45050565b60005b8181101561041c5760006102ab84848481811061028b5761028b6106be565b905060200281019061029d9190610777565b6101b69060408101906106d4565b9050806000808686868181106102c3576102c36106be565b90506020028101906102d59190610777565b6102e390602081019061071e565b6001600160a01b031681526020808201929092526040908101600090812033825290925281209086868681811061031c5761031c6106be565b905060200281019061032e9190610777565b60200135815260200190815260200160002081905550838383818110610356576103566106be565b90506020028101906103689190610777565b602001353385858581811061037f5761037f6106be565b90506020028101906103919190610777565b61039f90602081019061071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3208787878181106103db576103db6106be565b90506020028101906103ed9190610777565b6103fb9060408101906106d4565b8660405161040b93929190610739565b60405180910390a45060010161026c565b505050565b600060ff82111561044557604051638e9503a960e01b815260040160405180910390fd5b506001600160a01b03808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156104de5760008484838181106104a2576104a26106be565b90506020020135905060ff8111156104cd57604051638e9503a960e01b815260040160405180910390fd5b60019081901b929092179101610486565b5092915050565b80356001600160a01b03811681146104fc57600080fd5b919050565b60008083601f84011261051357600080fd5b50813567ffffffffffffffff81111561052b57600080fd5b6020830191508360208260051b850101111561054657600080fd5b9250929050565b60008060008060006080868803121561056557600080fd5b61056e866104e5565b945061057c602087016104e5565b935060408601359250606086013567ffffffffffffffff81111561059f57600080fd5b6105ab88828901610501565b969995985093965092949392505050565b6000602082840312156105ce57600080fd5b813567ffffffffffffffff8111156105e557600080fd5b8201606081850312156105f757600080fd5b9392505050565b60008060006060848603121561061357600080fd5b61061c846104e5565b925061062a602085016104e5565b9150604084013590509250925092565b6000806020838503121561064d57600080fd5b823567ffffffffffffffff81111561066457600080fd5b61067085828601610501565b90969095509350505050565b6000806000806080858703121561069257600080fd5b61069b856104e5565b93506106a9602086016104e5565b93969395505050506040820135916060013590565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126106eb57600080fd5b83018035915067ffffffffffffffff82111561070657600080fd5b6020019150600581901b360382131561054657600080fd5b60006020828403121561073057600080fd5b6105f7826104e5565b6040808252810183905260006001600160fb1b0384111561075957600080fd5b8360051b808660608501376020830193909352500160600192915050565b60008235605e1983360301811261078d57600080fd5b919091019291505056fea26469706673582212209939340c0e296ae7bb5a129104f60fbb2eaa4526bc8724b1662e3ce32e84720364736f6c63430008170033","sourceMap":"443:6053:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3411:545;;;;;;:::i;:::-;;:::i;:::-;;;1388:14:44;;1381:22;1363:41;;1351:2;1336:18;3411:545:13;;;;;;;;4397:473;;;;;;:::i;:::-;;:::i;:::-;;1747:97;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2293:25:44;;;2281:2;2266:18;1747:97:13;2147:177:44;5083:621:13;;;;;;:::i;:::-;;:::i;2571:331::-;;;;;;:::i;:::-;;:::i;3411:545::-;3580:4;3597:10;3592:343;3609:30;;;3592:343;;;3651:24;3678:18;;3697:2;3678:22;;;;;;;:::i;:::-;;;;;;;3651:49;;3732:3;3713:16;:22;3709:67;;;3744:32;;-1:-1:-1;;;3744:32:13;;;;;;;;;;;3709:67;-1:-1:-1;;;;;3791:24:13;;;:13;:24;;;;;;;;;;;:34;;;;;;;;;;;:43;;;;;;;;;:63;;3858:1;3790:69;3789:76;;3785:102;;3882:5;3875:12;;;;;;3785:102;-1:-1:-1;3916:4:13;;3592:343;;;;3947:4;3940:11;;3411:545;;;;;;;;:::o;4397:473::-;4521:15;4539:51;4558:31;;;;:13;:31;:::i;:::-;4539:18;:51::i;:::-;4521:69;-1:-1:-1;4521:69:13;4625:13;;4639:22;;;;:13;:22;:::i;:::-;-1:-1:-1;;;;;4625:37:13;;;;;;;;;;;;;;;-1:-1:-1;4625:37:13;;;4663:10;4625:49;;;;;;;;;4675:20;;;;;4625:71;;;;;;;;;;;:81;;;;4675:20;4663:10;4737:22;;4675:13;4737:22;:::i;:::-;-1:-1:-1;;;;;4718:147:13;;4813:31;;;;:13;:31;:::i;:::-;4852:7;4718:147;;;;;;;;:::i;:::-;;;;;;;;4475:395;4397:473;:::o;5083:621::-;5175:10;5170:530;5187:25;;;5170:530;;;5266:15;5284:55;5303:13;;5317:2;5303:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:35;;;;;;;:::i;5284:55::-;5266:73;;5460:7;5378:13;:41;5392:13;;5406:2;5392:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:26;;;;;;;:::i;:::-;-1:-1:-1;;;;;5378:41:13;;;;;;;;;;;;;;;-1:-1:-1;5378:41:13;;;5420:10;5378:53;;;;;;;;5432:13;;5446:2;5432:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:24;;;5378:79;;;;;;;;;;;:89;;;;5558:13;;5572:2;5558:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:24;;;5538:10;5502:13;;5516:2;5502:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:26;;;;;;;:::i;:::-;-1:-1:-1;;;;;5481:171:13;;5592:13;;5606:2;5592:17;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:35;;;;;;;:::i;:::-;5637:7;5481:171;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;5681:4:13;;5170:530;;;;5083:621;;:::o;2571:331::-;2726:4;2761:3;2742:16;:22;2738:67;;;2773:32;;-1:-1:-1;;;2773:32:13;;;;;;;;;;;2738:67;-1:-1:-1;;;;;;2822:24:13;;;:13;:24;;;;;;;;;;;:34;;;;;;;;;;;:43;;;;;;;2889:1;2822:63;;;2821:69;;2820:76;2571:331;;;;;;:::o;6128:366::-;6207:14;6234:10;6229:261;6246:20;;;6229:261;;;6278:14;6295:8;;6304:2;6295:12;;;;;;;:::i;:::-;;;;;;;6278:29;;6329:3;6320:6;:12;6316:57;;;6341:32;;-1:-1:-1;;;6341:32:13;;;;;;;;;;;6316:57;6431:1;:11;;;;6421:21;;;;;6471:4;6229:261;;;;6128:366;;;;:::o;14:173:44:-;82:20;;-1:-1:-1;;;;;131:31:44;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:44;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:654::-;677:6;685;693;701;709;762:3;750:9;741:7;737:23;733:33;730:53;;;779:1;776;769:12;730:53;802:29;821:9;802:29;:::i;:::-;792:39;;850:38;884:2;873:9;869:18;850:38;:::i;:::-;840:48;;935:2;924:9;920:18;907:32;897:42;;990:2;979:9;975:18;962:32;1017:18;1009:6;1006:30;1003:50;;;1049:1;1046;1039:12;1003:50;1088:70;1150:7;1141:6;1130:9;1126:22;1088:70;:::i;:::-;564:654;;;;-1:-1:-1;564:654:44;;-1:-1:-1;1177:8:44;;1062:96;564:654;-1:-1:-1;;;564:654:44:o;1415:394::-;1509:6;1562:2;1550:9;1541:7;1537:23;1533:32;1530:52;;;1578:1;1575;1568:12;1530:52;1618:9;1605:23;1651:18;1643:6;1640:30;1637:50;;;1683:1;1680;1673:12;1637:50;1706:22;;1762:2;1744:16;;;1740:25;1737:45;;;1778:1;1775;1768:12;1737:45;1801:2;1415:394;-1:-1:-1;;;1415:394:44:o;1814:328::-;1891:6;1899;1907;1960:2;1948:9;1939:7;1935:23;1931:32;1928:52;;;1976:1;1973;1966:12;1928:52;1999:29;2018:9;1999:29;:::i;:::-;1989:39;;2047:38;2081:2;2070:9;2066:18;2047:38;:::i;:::-;2037:48;;2132:2;2121:9;2117:18;2104:32;2094:42;;1814:328;;;;;:::o;2329:472::-;2450:6;2458;2511:2;2499:9;2490:7;2486:23;2482:32;2479:52;;;2527:1;2524;2517:12;2479:52;2567:9;2554:23;2600:18;2592:6;2589:30;2586:50;;;2632:1;2629;2622:12;2586:50;2671:70;2733:7;2724:6;2713:9;2709:22;2671:70;:::i;:::-;2760:8;;2645:96;;-1:-1:-1;2329:472:44;-1:-1:-1;;;;2329:472:44:o;2806:397::-;2892:6;2900;2908;2916;2969:3;2957:9;2948:7;2944:23;2940:33;2937:53;;;2986:1;2983;2976:12;2937:53;3009:29;3028:9;3009:29;:::i;:::-;2999:39;;3057:38;3091:2;3080:9;3076:18;3057:38;:::i;:::-;2806:397;;3047:48;;-1:-1:-1;;;;3142:2:44;3127:18;;3114:32;;3193:2;3178:18;3165:32;;2806:397::o;3208:127::-;3269:10;3264:3;3260:20;3257:1;3250:31;3300:4;3297:1;3290:15;3324:4;3321:1;3314:15;3340:545;3433:4;3439:6;3499:11;3486:25;3593:2;3589:7;3578:8;3562:14;3558:29;3554:43;3534:18;3530:68;3520:96;;3612:1;3609;3602:12;3520:96;3639:33;;3691:20;;;-1:-1:-1;3734:18:44;3723:30;;3720:50;;;3766:1;3763;3756:12;3720:50;3799:4;3787:17;;-1:-1:-1;3850:1:44;3846:14;;;3830;3826:35;3816:46;;3813:66;;;3875:1;3872;3865:12;3890:186;3949:6;4002:2;3990:9;3981:7;3977:23;3973:32;3970:52;;;4018:1;4015;4008:12;3970:52;4041:29;4060:9;4041:29;:::i;4081:516::-;4298:2;4280:21;;;4317:18;;4310:34;;;-1:-1:-1;;;;;;4356:31:44;;4353:51;;;4400:1;4397;4390:12;4353:51;4434:6;4431:1;4427:14;4491:6;4483;4478:2;4467:9;4463:18;4450:48;4577:4;4562:20;;4555:36;;;;-1:-1:-1;4519:22:44;4543:2;4515:31;;4081:516;-1:-1:-1;;4081:516:44:o;4602:332::-;4703:4;4761:11;4748:25;4855:2;4851:7;4840:8;4824:14;4820:29;4816:43;4796:18;4792:68;4782:96;;4874:1;4871;4864:12;4782:96;4895:33;;;;;4602:332;-1:-1:-1;;4602:332:44:o","linkReferences":{}},"methodIdentifiers":{"hasPermission(address,address,uint256,uint256)":"c161c93f","hasPermissions(address,address,uint256,uint256[])":"0f5932f0","permissionsOf(address,address,uint256)":"80deb230","setOperator((address,uint256,uint256[]))":"529cdd2e","setOperators((address,uint256,uint256[])[])":"8d5f697f"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"PERMISSION_INDEX_OUT_OF_BOUNDS\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"packed\",\"type\":\"uint256\"}],\"name\":\"SetOperator\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_permissionIndex\",\"type\":\"uint256\"}],\"name\":\"hasPermission\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"_permissionIndexes\",\"type\":\"uint256[]\"}],\"name\":\"hasPermissions\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"permissionsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData\",\"name\":\"_operatorData\",\"type\":\"tuple\"}],\"name\":\"setOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"permissionIndexes\",\"type\":\"uint256[]\"}],\"internalType\":\"struct JBOperatorData[]\",\"name\":\"_operatorData\",\"type\":\"tuple[]\"}],\"name\":\"setOperators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to - IJBOperatorStore: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.\",\"kind\":\"dev\",\"methods\":{\"hasPermission(address,address,uint256,uint256)\":{\"params\":{\"_account\":\"The account that has given out permissions to the operator.\",\"_domain\":\"The domain that the operator has been given permissions to operate.\",\"_operator\":\"The operator to check.\",\"_permissionIndex\":\"The permission index to check for.\"},\"returns\":{\"_0\":\"A flag indicating whether the operator has the specified permission.\"}},\"hasPermissions(address,address,uint256,uint256[])\":{\"params\":{\"_account\":\"The account that has given out permissions to the operator.\",\"_domain\":\"The domain that the operator has been given permissions to operate.\",\"_operator\":\"The operator to check.\",\"_permissionIndexes\":\"An array of permission indexes to check for.\"},\"returns\":{\"_0\":\"A flag indicating whether the operator has all specified permissions.\"}},\"setOperator((address,uint256,uint256[]))\":{\"details\":\"Only an address can set its own operators.\",\"params\":{\"_operatorData\":\"The data that specifies the params for the operator being set.\"}},\"setOperators((address,uint256,uint256[])[])\":{\"details\":\"Only an address can set its own operators.\",\"params\":{\"_operatorData\":\"The data that specify the params for each operator being set.\"}}},\"stateVariables\":{\"permissionsOf\":{\"details\":\"An account can give an operator permissions that only pertain to a specific domain namespace. There is no domain with a value of 0 \\u2013 accounts can use the 0 domain to give an operator permissions to all domains on their behalf.Permissions are stored in a packed `uint256`. Each 256 bits represents the on/off state of a permission. Applications can specify the significance of each index. _operator The address of the operator. _account The address of the account being operated. _domain The domain within which the permissions apply. Applications can use the domain namespace as they wish.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"hasPermission(address,address,uint256,uint256)\":{\"notice\":\" Whether or not an operator has the permission to take a certain action pertaining to the specified domain.\"},\"hasPermissions(address,address,uint256,uint256[])\":{\"notice\":\" Whether or not an operator has the permission to take certain actions pertaining to the specified domain.\"},\"permissionsOf(address,address,uint256)\":{\"notice\":\"The permissions that an operator has been given to operate on a specific domain.\"},\"setOperator((address,uint256,uint256[]))\":{\"notice\":\"Sets permissions for an operators.\"},\"setOperators((address,uint256,uint256[])[])\":{\"notice\":\"Sets permissions for many operators.\"}},\"notice\":\"Stores operator permissions for all addresses. Addresses can give permissions to any other address to take specific indexed actions on their behalf.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol\":\"JBOperatorStore\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol\":{\"keccak256\":\"0x8f8f1c0438d6bc6bdf666643939dc988ad300e6a3401158ec97700fb6ec2600e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://88132980fb0587b7e95ba7bab45677304490dc9a98a25f4eec32e8a8631a987a\",\"dweb:/ipfs/QmbTW3WbbFcUjx34yh8vg1v7aJnv6twhYmvzzUNggmMPqL\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"PERMISSION_INDEX_OUT_OF_BOUNDS"},{"inputs":[{"internalType":"address","name":"operator","type":"address","indexed":true},{"internalType":"address","name":"account","type":"address","indexed":true},{"internalType":"uint256","name":"domain","type":"uint256","indexed":true},{"internalType":"uint256[]","name":"permissionIndexes","type":"uint256[]","indexed":false},{"internalType":"uint256","name":"packed","type":"uint256","indexed":false}],"type":"event","name":"SetOperator","anonymous":false},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_domain","type":"uint256"},{"internalType":"uint256","name":"_permissionIndex","type":"uint256"}],"stateMutability":"view","type":"function","name":"hasPermission","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_domain","type":"uint256"},{"internalType":"uint256[]","name":"_permissionIndexes","type":"uint256[]"}],"stateMutability":"view","type":"function","name":"hasPermissions","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","name":"permissionsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct JBOperatorData","name":"_operatorData","type":"tuple","components":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"domain","type":"uint256"},{"internalType":"uint256[]","name":"permissionIndexes","type":"uint256[]"}]}],"stateMutability":"nonpayable","type":"function","name":"setOperator"},{"inputs":[{"internalType":"struct JBOperatorData[]","name":"_operatorData","type":"tuple[]","components":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"domain","type":"uint256"},{"internalType":"uint256[]","name":"permissionIndexes","type":"uint256[]"}]}],"stateMutability":"nonpayable","type":"function","name":"setOperators"}],"devdoc":{"kind":"dev","methods":{"hasPermission(address,address,uint256,uint256)":{"params":{"_account":"The account that has given out permissions to the operator.","_domain":"The domain that the operator has been given permissions to operate.","_operator":"The operator to check.","_permissionIndex":"The permission index to check for."},"returns":{"_0":"A flag indicating whether the operator has the specified permission."}},"hasPermissions(address,address,uint256,uint256[])":{"params":{"_account":"The account that has given out permissions to the operator.","_domain":"The domain that the operator has been given permissions to operate.","_operator":"The operator to check.","_permissionIndexes":"An array of permission indexes to check for."},"returns":{"_0":"A flag indicating whether the operator has all specified permissions."}},"setOperator((address,uint256,uint256[]))":{"details":"Only an address can set its own operators.","params":{"_operatorData":"The data that specifies the params for the operator being set."}},"setOperators((address,uint256,uint256[])[])":{"details":"Only an address can set its own operators.","params":{"_operatorData":"The data that specify the params for each operator being set."}}},"version":1},"userdoc":{"kind":"user","methods":{"hasPermission(address,address,uint256,uint256)":{"notice":" Whether or not an operator has the permission to take a certain action pertaining to the specified domain."},"hasPermissions(address,address,uint256,uint256[])":{"notice":" Whether or not an operator has the permission to take certain actions pertaining to the specified domain."},"permissionsOf(address,address,uint256)":{"notice":"The permissions that an operator has been given to operate on a specific domain."},"setOperator((address,uint256,uint256[]))":{"notice":"Sets permissions for an operators."},"setOperators((address,uint256,uint256[])[])":{"notice":"Sets permissions for many operators."}},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol":"JBOperatorStore"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol":{"keccak256":"0x8f8f1c0438d6bc6bdf666643939dc988ad300e6a3401158ec97700fb6ec2600e","urls":["bzz-raw://88132980fb0587b7e95ba7bab45677304490dc9a98a25f4eec32e8a8631a987a","dweb:/ipfs/QmbTW3WbbFcUjx34yh8vg1v7aJnv6twhYmvzzUNggmMPqL"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"}},"version":1},"id":13} \ No newline at end of file diff --git a/out/JBProjectHandles.sol/JBProjectHandles.json b/out/JBProjectHandles.sol/JBProjectHandles.json index 0e0f93b..b30cfb7 100644 --- a/out/JBProjectHandles.sol/JBProjectHandles.json +++ b/out/JBProjectHandles.sol/JBProjectHandles.json @@ -1,5387 +1 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "contract IJBProjects", - "name": "_projects", - "type": "address" - }, - { - "internalType": "contract IJBOperatorStore", - "name": "_operatorStore", - "type": "address" - }, - { - "internalType": "contract IJBProjectHandles", - "name": "_oldJbProjectHandles", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [], - "name": "EMPTY_NAME_PART", - "type": "error" - }, - { - "inputs": [], - "name": "NO_PARTS", - "type": "error" - }, - { - "inputs": [], - "name": "UNAUTHORIZED", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "handle", - "type": "string" - }, - { - "indexed": false, - "internalType": "string[]", - "name": "parts", - "type": "string[]" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "SetEnsNameParts", - "type": "event" - }, - { - "inputs": [], - "name": "TEXT_KEY", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "name": "ensNamePartsOf", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ensRegistry", - "outputs": [ - { - "internalType": "contract ENS", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "name": "handleOf", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "oldJbProjectHandles", - "outputs": [ - { - "internalType": "contract IJBProjectHandles", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "operatorStore", - "outputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "projects", - "outputs": [ - { - "internalType": "contract IJBProjects", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - }, - { - "internalType": "string[]", - "name": "_parts", - "type": "string[]" - } - ], - "name": "setEnsNamePartsFor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x60e060405234801561001057600080fd5b50604051620013f0380380620013f083398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f1620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f16000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e6e565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e88565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9b565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec4565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610eda565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef6565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f20565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f20565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f20565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f20565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610f9f565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9b565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611050565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611069565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff919061109e565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061109e565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d6565b815181106108f6576108f6610ec4565b602002602001015160405160200161090f9291906110ef565b60405160208183030381529060405292508181101561094b5782604051602001610939919061111e565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec4565b60200260200101516040516020016109fa9190610eda565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611143565b9150610a969050600a83611172565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d6565b9150610b04600a86611186565b610b0f90603061119a565b60f81b818381518110610b2457610b24610ec4565b60200101906001600160f81b031916908160001a905350610b46600a86611172565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111fb565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f20565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610e6157601f19868403018952610e4f838351610dea565b98840198925090830190600101610e33565b5090979650505050505050565b602081526000610e816020830184610e16565b9392505050565b602081526000610e816020830184610dea565b600060208284031215610ead57600080fd5b81516001600160a01b0381168114610e8157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eec818460208701610dc6565b9190910192915050565b604081526000610f096040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3457607f821691505b602082108103610f5457634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6b57600080fd5b8151610f79610d0382610c85565b818152846020838601011115610f8e57600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb257600080fd5b825167ffffffffffffffff80821115610fca57600080fd5b818501915085601f830112610fde57600080fd5b8151610fec610d0382610c61565b81815260059190911b8301840190848101908883111561100b57600080fd5b8585015b83811015611043578051858111156110275760008081fd5b6110358b89838a0101610f5a565b84525091860191860161100f565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107b57600080fd5b815167ffffffffffffffff81111561109257600080fd5b610b4d84828501610f5a565b6000602082840312156110b057600080fd5b81518015158114610e8157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110e9576110e96110c0565b92915050565b60008351611101818460208801610dc6565b835190830190611115818360208801610dc6565b01949350505050565b60008251611130818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611155576111556110c0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111815761118161115c565b500490565b6000826111955761119561115c565b500690565b808201808211156110e9576110e96110c0565b601f8211156108c657600081815260208120601f850160051c810160208610156111d45750805b601f850160051c820191505b818110156111f3578281556001016111e0565b505050505050565b815167ffffffffffffffff81111561121557611215610c1a565b611229816112238454610f20565b846111ad565b602080601f83116001811461125e57600084156112465750858301515b600019600386901b1c1916600185901b1785556111f3565b600085815260208120601f198616915b8281101561128d5788860151825594840194600190910190840161126e565b50858210156112ab5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212206b5d832658cbd393fc3e01826739b06671e949a1ba66e37e18e55cfb216e196864736f6c63430008100033", - "sourceMap": "1213:8176:0:-:0;;;5946:232;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2730:30:15;;;;;6105:20:0;;::::1;;::::0;6131:42:::1;;::::0;1213:8176;;14:144:44;-1:-1:-1;;;;;102:31:44;;92:42;;82:70;;148:1;145;138:12;82:70;14:144;:::o;163:630::-;323:6;331;339;392:2;380:9;371:7;367:23;363:32;360:52;;;408:1;405;398:12;360:52;440:9;434:16;459:44;497:5;459:44;:::i;:::-;572:2;557:18;;551:25;522:5;;-1:-1:-1;585:46:44;551:25;585:46;:::i;:::-;702:2;687:18;;681:25;650:7;;-1:-1:-1;715:46:44;681:25;715:46;:::i;:::-;780:7;770:17;;;163:630;;;;;:::o;:::-;1213:8176:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e6e565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e88565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9b565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec4565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610eda565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef6565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f20565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f20565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f20565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f20565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610f9f565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9b565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611050565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611069565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff919061109e565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061109e565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d6565b815181106108f6576108f6610ec4565b602002602001015160405160200161090f9291906110ef565b60405160208183030381529060405292508181101561094b5782604051602001610939919061111e565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec4565b60200260200101516040516020016109fa9190610eda565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611143565b9150610a969050600a83611172565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d6565b9150610b04600a86611186565b610b0f90603061119a565b60f81b818381518110610b2457610b24610ec4565b60200101906001600160f81b031916908160001a905350610b46600a86611172565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111fb565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f20565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610e6157601f19868403018952610e4f838351610dea565b98840198925090830190600101610e33565b5090979650505050505050565b602081526000610e816020830184610e16565b9392505050565b602081526000610e816020830184610dea565b600060208284031215610ead57600080fd5b81516001600160a01b0381168114610e8157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eec818460208701610dc6565b9190910192915050565b604081526000610f096040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3457607f821691505b602082108103610f5457634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6b57600080fd5b8151610f79610d0382610c85565b818152846020838601011115610f8e57600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb257600080fd5b825167ffffffffffffffff80821115610fca57600080fd5b818501915085601f830112610fde57600080fd5b8151610fec610d0382610c61565b81815260059190911b8301840190848101908883111561100b57600080fd5b8585015b83811015611043578051858111156110275760008081fd5b6110358b89838a0101610f5a565b84525091860191860161100f565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107b57600080fd5b815167ffffffffffffffff81111561109257600080fd5b610b4d84828501610f5a565b6000602082840312156110b057600080fd5b81518015158114610e8157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110e9576110e96110c0565b92915050565b60008351611101818460208801610dc6565b835190830190611115818360208801610dc6565b01949350505050565b60008251611130818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611155576111556110c0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111815761118161115c565b500490565b6000826111955761119561115c565b500690565b808201808211156110e9576110e96110c0565b601f8211156108c657600081815260208120601f850160051c810160208610156111d45750805b601f850160051c820191505b818110156111f3578281556001016111e0565b505050505050565b815167ffffffffffffffff81111561121557611215610c1a565b611229816112238454610f20565b846111ad565b602080601f83116001811461125e57600084156112465750858301515b600019600386901b1c1916600185901b1785556111f3565b600085815260208120601f198616915b8281101561128d5788860151825594840194600190910190840161126e565b50858210156112ab5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212206b5d832658cbd393fc3e01826739b06671e949a1ba66e37e18e55cfb216e196864736f6c63430008100033", - "sourceMap": "1213:8176:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6808:758;;;;;;:::i;:::-;;:::i;:::-;;5394:138;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3797:1389;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3093:81::-;;3131:42;3093:81;;;;;-1:-1:-1;;;;;4555:32:44;;;4537:51;;4525:2;4510:18;3093:81:0;4378:216:44;2781:46:0;;;;;2310:56:15;;;;;2374:64:0;;;;;;;;;;;;;;;-1:-1:-1;;;2374:64:0;;;;;2935:54;;;;;6808:758;6928:28;;-1:-1:-1;;;6928:28:0;;;;;5441:25:44;;;6928:8:0;-1:-1:-1;;;;;6928:16:0;;;;5414:18:44;;6928:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6958:10;127:2:2;1318:55:15;1337:8;1347:7;1356:16;1318:18;:55::i;:::-;7100:13:0;;7077:20:::1;7167:18:::0;;;7163:41:::1;;7194:10;;-1:-1:-1::0;;;7194:10:0::1;;;;;;;;;;;7163:41;7262:10;7257:156;7283:12;7278:2;:17;7257:156;;;7317:6;7324:2;7317:10;;;;;;;;:::i;:::-;;;;;;;7311:24;7339:1;7311:29:::0;7307:59:::1;;7349:17;;-1:-1:-1::0;;;7349:17:0::1;;;;;;;;;;;7307:59;7394:4;;7257:156;;;-1:-1:-1::0;7443:15:0::1;:27:::0;;;::::1;::::0;;;;;;;:36;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;7519:21;7533:6;7519:13;:21::i;:::-;7491:70;;;;;;:::i;:::-;;;;;;;;7507:10;7491:70;7542:6;7550:10;7491:70;;;;;;;:::i;:::-;;;;;;;;7004:562;6808:758:::0;;;;;:::o;5394:138::-;5500:15;:27;;;;;;;;;;;5493:34;;;;;;;;;;;;;;;;;5470:15;;5493:34;;5500:27;;5493:34;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5394:138;;;:::o;3797:1389::-;3944:29;3976:27;;;;;;;;;;;3944:59;;;;;;;;;;;;;;;;;3867:13;;3944:29;;;:59;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4058:13;:20;4082:1;4058:25;4054:326;;4204:46;;-1:-1:-1;;;4204:46:0;;;;;5441:25:44;;;4204:19:0;-1:-1:-1;;;;;4204:34:0;;;;5414:18:44;;4204:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4204:46:0;;;;;;;;;;;;:::i;:::-;4188:62;;4337:13;:20;4361:1;4337:25;4334:39;;-1:-1:-1;;4364:9:0;;;;;;;;;-1:-1:-1;4364:9:0;;;3797:1389;-1:-1:-1;3797:1389:0:o;4334:39::-;4424:19;4446:24;4456:13;4446:9;:24::i;:::-;4576:33;;-1:-1:-1;;;4576:33:0;;;;;5441:25:44;;;4424:46:0;;-1:-1:-1;4553:20:0;;3131:42;;4576:20;;5414:18:44;;4576:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4553:56;-1:-1:-1;;;;;;4685:26:0;;4682:40;;-1:-1:-1;;4713:9:0;;;;;;;;;-1:-1:-1;4713:9:0;;;3797:1389;-1:-1:-1;;;3797:1389:0:o;4682:40::-;4888:8;;;;;;;;;;;-1:-1:-1;;;4888:8:0;;;;4842:55;;-1:-1:-1;;;4842:55:0;;4806:33;;-1:-1:-1;;;;;4842:32:0;;;;;:55;;4875:11;;4888:8;4842:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4842:55:0;;;;;;;;;;;;:::i;:::-;4806:91;;5046:28;5063:10;5046:16;:28::i;:::-;5030:46;;;;;;5005:19;4989:37;;;;;;:87;4985:108;;-1:-1:-1;;5084:9:0;;;;;;;;;-1:-1:-1;5084:9:0;;;3797:1389;-1:-1:-1;;;;3797:1389:0:o;4985:108::-;5153:28;5167:13;5153;:28::i;:::-;5146:35;3797:1389;-1:-1:-1;;;;;;3797:1389:0:o;3361:359:15:-;3497:10;-1:-1:-1;;;;;3497:22:15;;;;;;:109;;-1:-1:-1;3530:76:15;;-1:-1:-1;;;3530:76:15;;3558:10;3530:76;;;9640:34:44;-1:-1:-1;;;;;9710:15:44;;;9690:18;;;9683:43;9742:18;;;9735:34;;;9785:18;;;9778:34;;;3530:13:15;:27;;;;9574:19:44;;3530:76:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3529:77;3497:109;:190;;;;-1:-1:-1;3617:70:15;;-1:-1:-1;;;3617:70:15;;3645:10;3617:70;;;9640:34:44;-1:-1:-1;;;;;9710:15:44;;;9690:18;;;9683:43;3667:1:15;9742:18:44;;;9735:34;9785:18;;;9778:34;;;3617:13:15;:27;;;;9574:19:44;;3617:70:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3616:71;3497:190;3486:229;;;3701:14;;-1:-1:-1;;;3701:14:15;;;;;;;;;;;3486:229;3361:359;;;:::o;7983:580:0:-;8193:20;;8072:21;;8273:1;8255:304;8282:12;8276:2;:18;8255:304;;8340:7;8349:13;8363:17;8378:2;8363:12;:17;:::i;:::-;8349:32;;;;;;;;:::i;:::-;;;;;;;8323:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8306:77;;8449:12;8444:2;:17;8440:71;;;8497:7;8480:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;8463:48;;8440:71;8540:4;;8255:304;;;;8097:466;7983:580;;;:::o;8809:578::-;8882:16;8983:8;9003:23;;;;;;-1:-1:-1;;;11990:18:44;;12033:1;12024:11;;11788:253;9003:23:0;;;;;;;;;;;;;8993:34;;;;;;8966:62;;;;;;;;12203:19:44;;;12247:2;12238:12;;12231:28;12284:2;12275:12;;12046:247;8966:62:0;;;;;;;;;;;;;8956:73;;;;;;8945:84;;9103:19;9125:13;:20;9103:42;;9180:10;9175:208;9201:11;9196:2;:16;9175:208;;;9271:8;9308:13;9322:2;9308:17;;;;;;;;:::i;:::-;;;;;;;9291:35;;;;;;;;:::i;:::-;;;;;;;;;;;;;9281:46;;;;;;9254:74;;;;;;;;12203:19:44;;;12247:2;12238:12;;12231:28;12284:2;12275:12;;12046:247;9254:74:0;;;;-1:-1:-1;;9254:74:0;;;;;;;;;9235:101;;9254:74;9235:101;;;;;-1:-1:-1;9364:4:0;;9175:208;;328:703:36;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:36;;;;;;;;;;;;-1:-1:-1;;;627:10:36;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:36;;-1:-1:-1;773:2:36;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:36;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:36;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:36;;;;;;;;-1:-1:-1;972:11:36;981:2;972:11;;:::i;:::-;;;844:150;;;1017:6;328:703;-1:-1:-1;;;;328:703:36:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;14:127:44;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:275;217:2;211:9;282:2;263:13;;-1:-1:-1;;259:27:44;247:40;;317:18;302:34;;338:22;;;299:62;296:88;;;364:18;;:::i;:::-;400:2;393:22;146:275;;-1:-1:-1;146:275:44:o;426:182::-;485:4;518:18;510:6;507:30;504:56;;;540:18;;:::i;:::-;-1:-1:-1;585:1:44;581:14;597:4;577:25;;426:182::o;613:187::-;662:4;695:18;687:6;684:30;681:56;;;717:18;;:::i;:::-;-1:-1:-1;783:2:44;762:15;-1:-1:-1;;758:29:44;789:4;754:40;;613:187::o;805:1745::-;908:6;916;947:2;990;978:9;969:7;965:23;961:32;958:52;;;1006:1;1003;996:12;958:52;1042:9;1029:23;1019:33;;1071:2;1124;1113:9;1109:18;1096:32;1147:18;1188:2;1180:6;1177:14;1174:34;;;1204:1;1201;1194:12;1174:34;1242:6;1231:9;1227:22;1217:32;;1287:7;1280:4;1276:2;1272:13;1268:27;1258:55;;1309:1;1306;1299:12;1258:55;1345:2;1332:16;1368:59;1384:42;1423:2;1384:42;:::i;:::-;1368:59;:::i;:::-;1461:15;;;1543:1;1539:10;;;;1531:19;;1527:28;;;1492:12;;;;1567:19;;;1564:39;;;1599:1;1596;1589:12;1564:39;1631:2;1627;1623:11;1643:877;1659:6;1654:3;1651:15;1643:877;;;1745:3;1732:17;1781:2;1768:11;1765:19;1762:109;;;1825:1;1854:2;1850;1843:14;1762:109;1894:20;;1949:2;1941:11;;1937:25;-1:-1:-1;1927:123:44;;2004:1;2033:2;2029;2022:14;1927:123;2094:2;2090;2086:11;2073:25;2124:49;2140:32;2169:2;2140:32;:::i;2124:49::-;2200:2;2193:5;2186:17;2244:7;2239:2;2234;2230;2226:11;2222:20;2219:33;2216:126;;;2294:1;2324:3;2319;2312:16;2216:126;2397:2;2392;2388;2384:11;2379:2;2372:5;2368:14;2355:45;2445:1;2424:14;;;2420:23;;2413:34;;;;2460:18;;-1:-1:-1;2498:12:44;;;;1676;;1643:877;;;1647:3;2539:5;2529:15;;;;;;;;;805:1745;;;;;:::o;2555:180::-;2614:6;2667:2;2655:9;2646:7;2642:23;2638:32;2635:52;;;2683:1;2680;2673:12;2635:52;-1:-1:-1;2706:23:44;;2555:180;-1:-1:-1;2555:180:44:o;2740:250::-;2825:1;2835:113;2849:6;2846:1;2843:13;2835:113;;;2925:11;;;2919:18;2906:11;;;2899:39;2871:2;2864:10;2835:113;;;-1:-1:-1;;2982:1:44;2964:16;;2957:27;2740:250::o;2995:271::-;3037:3;3075:5;3069:12;3102:6;3097:3;3090:19;3118:76;3187:6;3180:4;3175:3;3171:14;3164:4;3157:5;3153:16;3118:76;:::i;:::-;3248:2;3227:15;-1:-1:-1;;3223:29:44;3214:39;;;;3255:4;3210:50;;2995:271;-1:-1:-1;;2995:271:44:o;3271:592::-;3323:3;3354;3386:5;3380:12;3413:6;3408:3;3401:19;3439:4;3468:2;3463:3;3459:12;3452:19;;3524:2;3514:6;3511:1;3507:14;3500:5;3496:26;3492:35;3561:2;3554:5;3550:14;3582:1;3592:245;3606:6;3603:1;3600:13;3592:245;;;3693:2;3689:7;3681:5;3675:4;3671:16;3667:30;3662:3;3655:43;3719:38;3752:4;3743:6;3737:13;3719:38;:::i;:::-;3815:12;;;;3711:46;-1:-1:-1;3780:15:44;;;;3628:1;3621:9;3592:245;;;-1:-1:-1;3853:4:44;;3271:592;-1:-1:-1;;;;;;;3271:592:44:o;3868:280::-;4067:2;4056:9;4049:21;4030:4;4087:55;4138:2;4127:9;4123:18;4115:6;4087:55;:::i;:::-;4079:63;3868:280;-1:-1:-1;;;3868:280:44:o;4153:220::-;4302:2;4291:9;4284:21;4265:4;4322:45;4363:2;4352:9;4348:18;4340:6;4322:45;:::i;5477:290::-;5547:6;5600:2;5588:9;5579:7;5575:23;5571:32;5568:52;;;5616:1;5613;5606:12;5568:52;5642:16;;-1:-1:-1;;;;;5687:31:44;;5677:42;;5667:70;;5733:1;5730;5723:12;5772:127;5833:10;5828:3;5824:20;5821:1;5814:31;5864:4;5861:1;5854:15;5888:4;5885:1;5878:15;5904:289;6035:3;6073:6;6067:13;6089:66;6148:6;6143:3;6136:4;6128:6;6124:17;6089:66;:::i;:::-;6171:16;;;;;5904:289;-1:-1:-1;;5904:289:44:o;6198:377::-;6425:2;6414:9;6407:21;6388:4;6445:55;6496:2;6485:9;6481:18;6473:6;6445:55;:::i;:::-;6437:63;;6565:1;6561;6556:3;6552:11;6548:19;6540:6;6536:32;6531:2;6520:9;6516:18;6509:60;6198:377;;;;;:::o;6580:380::-;6659:1;6655:12;;;;6702;;;6723:61;;6777:4;6769:6;6765:17;6755:27;;6723:61;6830:2;6822:6;6819:14;6799:18;6796:38;6793:161;;6876:10;6871:3;6867:20;6864:1;6857:31;6911:4;6908:1;6901:15;6939:4;6936:1;6929:15;6793:161;;6580:380;;;:::o;6965:443::-;7019:5;7072:3;7065:4;7057:6;7053:17;7049:27;7039:55;;7090:1;7087;7080:12;7039:55;7119:6;7113:13;7150:49;7166:32;7195:2;7166:32;:::i;7150:49::-;7224:2;7215:7;7208:19;7270:3;7263:4;7258:2;7250:6;7246:15;7242:26;7239:35;7236:55;;;7287:1;7284;7277:12;7236:55;7300:77;7374:2;7367:4;7358:7;7354:18;7347:4;7339:6;7335:17;7300:77;:::i;7413:1133::-;7518:6;7549:2;7592;7580:9;7571:7;7567:23;7563:32;7560:52;;;7608:1;7605;7598:12;7560:52;7641:9;7635:16;7670:18;7711:2;7703:6;7700:14;7697:34;;;7727:1;7724;7717:12;7697:34;7765:6;7754:9;7750:22;7740:32;;7810:7;7803:4;7799:2;7795:13;7791:27;7781:55;;7832:1;7829;7822:12;7781:55;7861:2;7855:9;7884:59;7900:42;7939:2;7900:42;:::i;7884:59::-;7977:15;;;8059:1;8055:10;;;;8047:19;;8043:28;;;8008:12;;;;8083:19;;;8080:39;;;8115:1;8112;8105:12;8080:39;8147:2;8143;8139:11;8159:357;8175:6;8170:3;8167:15;8159:357;;;8254:3;8248:10;8290:2;8277:11;8274:19;8271:109;;;8334:1;8363:2;8359;8352:14;8271:109;8405:68;8465:7;8460:2;8446:11;8442:2;8438:20;8434:29;8405:68;:::i;:::-;8393:81;;-1:-1:-1;8494:12:44;;;;8192;;8159:357;;;-1:-1:-1;8535:5:44;7413:1133;-1:-1:-1;;;;;;;;7413:1133:44:o;8733:291::-;8910:6;8899:9;8892:25;8953:2;8948;8937:9;8933:18;8926:30;8873:4;8973:45;9014:2;9003:9;8999:18;8991:6;8973:45;:::i;9029:337::-;9109:6;9162:2;9150:9;9141:7;9137:23;9133:32;9130:52;;;9178:1;9175;9168:12;9130:52;9211:9;9205:16;9244:18;9236:6;9233:30;9230:50;;;9276:1;9273;9266:12;9230:50;9299:61;9352:7;9343:6;9332:9;9328:22;9299:61;:::i;9823:277::-;9890:6;9943:2;9931:9;9922:7;9918:23;9914:32;9911:52;;;9959:1;9956;9949:12;9911:52;9991:9;9985:16;10044:5;10037:13;10030:21;10023:5;10020:32;10010:60;;10066:1;10063;10056:12;10565:127;10626:10;10621:3;10617:20;10614:1;10607:31;10657:4;10654:1;10647:15;10681:4;10678:1;10671:15;10697:128;10764:9;;;10785:11;;;10782:37;;;10799:18;;:::i;:::-;10697:128;;;;:::o;10830:496::-;11009:3;11047:6;11041:13;11063:66;11122:6;11117:3;11110:4;11102:6;11098:17;11063:66;:::i;:::-;11192:13;;11151:16;;;;11214:70;11192:13;11151:16;11261:4;11249:17;;11214:70;:::i;:::-;11300:20;;10830:496;-1:-1:-1;;;;10830:496:44:o;11331:452::-;11563:3;11601:6;11595:13;11617:66;11676:6;11671:3;11664:4;11656:6;11652:17;11617:66;:::i;:::-;-1:-1:-1;;;11705:16:44;;11730:18;;;-1:-1:-1;11775:1:44;11764:13;;11331:452;-1:-1:-1;11331:452:44:o;12298:135::-;12337:3;12358:17;;;12355:43;;12378:18;;:::i;:::-;-1:-1:-1;12425:1:44;12414:13;;12298:135::o;12438:127::-;12499:10;12494:3;12490:20;12487:1;12480:31;12530:4;12527:1;12520:15;12554:4;12551:1;12544:15;12570:120;12610:1;12636;12626:35;;12641:18;;:::i;:::-;-1:-1:-1;12675:9:44;;12570:120::o;12695:112::-;12727:1;12753;12743:35;;12758:18;;:::i;:::-;-1:-1:-1;12792:9:44;;12695:112::o;12812:125::-;12877:9;;;12898:10;;;12895:36;;;12911:18;;:::i;13068:545::-;13170:2;13165:3;13162:11;13159:448;;;13206:1;13231:5;13227:2;13220:17;13276:4;13272:2;13262:19;13346:2;13334:10;13330:19;13327:1;13323:27;13317:4;13313:38;13382:4;13370:10;13367:20;13364:47;;;-1:-1:-1;13405:4:44;13364:47;13460:2;13455:3;13451:12;13448:1;13444:20;13438:4;13434:31;13424:41;;13515:82;13533:2;13526:5;13523:13;13515:82;;;13578:17;;;13559:1;13548:13;13515:82;;;13519:3;;;13068:545;;;:::o;13789:1352::-;13915:3;13909:10;13942:18;13934:6;13931:30;13928:56;;;13964:18;;:::i;:::-;13993:97;14083:6;14043:38;14075:4;14069:11;14043:38;:::i;:::-;14037:4;13993:97;:::i;:::-;14145:4;;14209:2;14198:14;;14226:1;14221:663;;;;14928:1;14945:6;14942:89;;;-1:-1:-1;14997:19:44;;;14991:26;14942:89;-1:-1:-1;;13746:1:44;13742:11;;;13738:24;13734:29;13724:40;13770:1;13766:11;;;13721:57;15044:81;;14191:944;;14221:663;13015:1;13008:14;;;13052:4;13039:18;;-1:-1:-1;;14257:20:44;;;14375:236;14389:7;14386:1;14383:14;14375:236;;;14478:19;;;14472:26;14457:42;;14570:27;;;;14538:1;14526:14;;;;14405:19;;14375:236;;;14379:3;14639:6;14630:7;14627:19;14624:201;;;14700:19;;;14694:26;-1:-1:-1;;14783:1:44;14779:14;;;14795:3;14775:24;14771:37;14767:42;14752:58;14737:74;;14624:201;-1:-1:-1;;;;;14871:1:44;14855:14;;;14851:22;14838:36;;-1:-1:-1;13789:1352:44:o", - "linkReferences": {}, - "immutableReferences": { - "24424": [ - { - "start": 325, - "length": 32 - }, - { - "start": 1940, - "length": 32 - }, - { - "start": 2107, - "length": 32 - } - ], - "33": [ - { - "start": 286, - "length": 32 - }, - { - "start": 470, - "length": 32 - } - ], - "37": [ - { - "start": 414, - "length": 32 - }, - { - "start": 1317, - "length": 32 - } - ] - } - }, - "methodIdentifiers": { - "TEXT_KEY()": "c548f309", - "ensNamePartsOf(uint256)": "30abe987", - "ensRegistry()": "7d73b231", - "handleOf(uint256)": "49491987", - "oldJbProjectHandles()": "d9833b32", - "operatorStore()": "ad007d63", - "projects()": "8b79543c", - "setEnsNamePartsFor(uint256,string[])": "2b5b94ad" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IJBProjects\",\"name\":\"_projects\",\"type\":\"address\"},{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"_operatorStore\",\"type\":\"address\"},{\"internalType\":\"contract IJBProjectHandles\",\"name\":\"_oldJbProjectHandles\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"EMPTY_NAME_PART\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NO_PARTS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UNAUTHORIZED\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"handle\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"parts\",\"type\":\"string[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetEnsNameParts\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"TEXT_KEY\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"ensNamePartsOf\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ensRegistry\",\"outputs\":[{\"internalType\":\"contract ENS\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"handleOf\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oldJbProjectHandles\",\"outputs\":[{\"internalType\":\"contract IJBProjectHandles\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IJBProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"string[]\",\"name\":\"_parts\",\"type\":\"string[]\"}],\"name\":\"setEnsNamePartsFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\" peri, jango, drgorilla\",\"details\":\"Adheres to - IJBProjectHandles: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.Inherits from - JBOperatable: Several functions in this contract can only be accessed by a project owner, or an address that has been preconfifigured to be an operator of the project.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\",\"_projects\":\"A contract which mints ERC-721's that represent project ownership and transfers.\"}},\"ensNamePartsOf(uint256)\":{\"params\":{\"_projectId\":\"The ID of the project to get the ENS name of.\"},\"returns\":{\"_0\":\"The parts of the ENS name parts of a project.\"}},\"handleOf(uint256)\":{\"details\":\" Requires a TXT record for the `TEXT_KEY` that matches the `_projectId`. As some handles were set in the previous version, try to retrieve it too (this version takes precedence on the previous version)\",\"params\":{\"_projectId\":\"The ID of the project to get the handle of.\"},\"returns\":{\"_0\":\"The project's handle.\"}},\"setEnsNamePartsFor(uint256,string[])\":{\"details\":\"[\\\"jbx\\\", \\\"dao\\\", \\\"foo\\\"] represents foo.dao.jbx.eth.Only a project's owner or a designated operator can set its ENS name parts.\",\"params\":{\"_parts\":\"The parts of the ENS domain to use as the project handle, excluding the trailing .eth.\",\"_projectId\":\"The ID of the project to set an ENS handle for.\"}}},\"stateVariables\":{\"_ensNamePartsOf\":{\"details\":\"[\\\"jbx\\\", \\\"dao\\\", \\\"foo\\\"] represents foo.dao.jbx.eth. _projectId The ID of the project to get an ENS name for.\"},\"ensRegistry\":{\"details\":\"Same on every network\"}},\"title\":\" JBProjectHandles\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"TEXT_KEY()\":{\"notice\":\"The key of the ENS text record.\"},\"ensNamePartsOf(uint256)\":{\"notice\":\" The parts of the stored ENS name of a project.\"},\"ensRegistry()\":{\"notice\":\"The ENS registry contract address.\"},\"handleOf(uint256)\":{\"notice\":\" Returns the handle for a project.\"},\"oldJbProjectHandles()\":{\"notice\":\"The previous JBProjectHandles version, to not loose previously set handles\"},\"operatorStore()\":{\"notice\":\" A contract storing operator assignments.\"},\"projects()\":{\"notice\":\"A contract which mints ERC-721's that represent project ownership and transfers.\"},\"setEnsNamePartsFor(uint256,string[])\":{\"notice\":\" Associate an ENS name with a project.\"}},\"notice\":\" Manages reverse records that point from JB project IDs to ENS nodes. If the reverse record of a project ID is pointed to an ENS node with a TXT record matching the ID of that project, then the ENS node will be considered the \\\"handle\\\" for that project.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/JBProjectHandles.sol\":\"JBProjectHandles\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "contract IJBProjects", - "name": "_projects", - "type": "address" - }, - { - "internalType": "contract IJBOperatorStore", - "name": "_operatorStore", - "type": "address" - }, - { - "internalType": "contract IJBProjectHandles", - "name": "_oldJbProjectHandles", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [], - "type": "error", - "name": "EMPTY_NAME_PART" - }, - { - "inputs": [], - "type": "error", - "name": "NO_PARTS" - }, - { - "inputs": [], - "type": "error", - "name": "UNAUTHORIZED" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "handle", - "type": "string", - "indexed": true - }, - { - "internalType": "string[]", - "name": "parts", - "type": "string[]", - "indexed": false - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "SetEnsNameParts", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "TEXT_KEY", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ensNamePartsOf", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "ensRegistry", - "outputs": [ - { - "internalType": "contract ENS", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "handleOf", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "oldJbProjectHandles", - "outputs": [ - { - "internalType": "contract IJBProjectHandles", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "operatorStore", - "outputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "projects", - "outputs": [ - { - "internalType": "contract IJBProjects", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_projectId", - "type": "uint256" - }, - { - "internalType": "string[]", - "name": "_parts", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setEnsNamePartsFor" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "constructor": { - "params": { - "_operatorStore": "A contract storing operator assignments.", - "_projects": "A contract which mints ERC-721's that represent project ownership and transfers." - } - }, - "ensNamePartsOf(uint256)": { - "params": { - "_projectId": "The ID of the project to get the ENS name of." - }, - "returns": { - "_0": "The parts of the ENS name parts of a project." - } - }, - "handleOf(uint256)": { - "details": " Requires a TXT record for the `TEXT_KEY` that matches the `_projectId`. As some handles were set in the previous version, try to retrieve it too (this version takes precedence on the previous version)", - "params": { - "_projectId": "The ID of the project to get the handle of." - }, - "returns": { - "_0": "The project's handle." - } - }, - "setEnsNamePartsFor(uint256,string[])": { - "details": "[\"jbx\", \"dao\", \"foo\"] represents foo.dao.jbx.eth.Only a project's owner or a designated operator can set its ENS name parts.", - "params": { - "_parts": "The parts of the ENS domain to use as the project handle, excluding the trailing .eth.", - "_projectId": "The ID of the project to set an ENS handle for." - } - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "TEXT_KEY()": { - "notice": "The key of the ENS text record." - }, - "ensNamePartsOf(uint256)": { - "notice": " The parts of the stored ENS name of a project." - }, - "ensRegistry()": { - "notice": "The ENS registry contract address." - }, - "handleOf(uint256)": { - "notice": " Returns the handle for a project." - }, - "oldJbProjectHandles()": { - "notice": "The previous JBProjectHandles version, to not loose previously set handles" - }, - "operatorStore()": { - "notice": " A contract storing operator assignments." - }, - "projects()": { - "notice": "A contract which mints ERC-721's that represent project ownership and transfers." - }, - "setEnsNamePartsFor(uint256,string[])": { - "notice": " Associate an ENS name with a project." - } - }, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "contracts/JBProjectHandles.sol": "JBProjectHandles" - }, - "libraries": {} - }, - "sources": { - "contracts/JBProjectHandles.sol": { - "keccak256": "0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b", - "urls": [ - "bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659", - "dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5" - ], - "license": "MIT" - }, - "contracts/interfaces/IJBProjectHandles.sol": { - "keccak256": "0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6", - "urls": [ - "bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5", - "dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b" - ], - "license": "MIT" - }, - "contracts/libraries/JBOperations2.sol": { - "keccak256": "0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29", - "urls": [ - "bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1", - "dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg" - ], - "license": "MIT" - }, - "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol": { - "keccak256": "0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483", - "urls": [ - "bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed", - "dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV" - ], - "license": null - }, - "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol": { - "keccak256": "0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38", - "urls": [ - "bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba", - "dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol": { - "keccak256": "0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add", - "urls": [ - "bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735", - "dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol": { - "keccak256": "0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e", - "urls": [ - "bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b", - "dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": { - "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4", - "urls": [ - "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9", - "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": { - "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174", - "urls": [ - "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e", - "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol": { - "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0", - "urls": [ - "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494", - "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/interfaces/IERC721.sol": { - "keccak256": "0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c", - "urls": [ - "bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8", - "dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "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": "contracts/JBProjectHandles.sol", - "id": 373, - "exportedSymbols": { - "ENS": [ - 23858 - ], - "IERC165": [ - 27903 - ], - "IERC721": [ - 26383 - ], - "IJBOperatable": [ - 24530 - ], - "IJBOperatorStore": [ - 24598 - ], - "IJBProjectHandles": [ - 422 - ], - "IJBProjects": [ - 24677 - ], - "IJBTokenUriResolver": [ - 24687 - ], - "ITextResolver": [ - 23879 - ], - "JBOperatable": [ - 24520 - ], - "JBOperations2": [ - 428 - ], - "JBOperatorData": [ - 24754 - ], - "JBProjectHandles": [ - 372 - ], - "JBProjectMetadata": [ - 24761 - ], - "Strings": [ - 27306 - ] - }, - "nodeType": "SourceUnit", - "src": "32:9358:0", - "nodes": [ - { - "id": 1, - "nodeType": "PragmaDirective", - "src": "32:24:0", - "literals": [ - "solidity", - "^", - "0.8", - ".16" - ] - }, - { - "id": 2, - "nodeType": "ImportDirective", - "src": "58:62:0", - "absolutePath": "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol", - "file": "@ensdomains/ens-contracts/contracts/registry/ENS.sol", - "nameLocation": "-1:-1:-1", - "scope": 373, - "sourceUnit": 23859, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 3, - "nodeType": "ImportDirective", - "src": "148:82:0", - "absolutePath": "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol", - "file": "@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol", - "nameLocation": "-1:-1:-1", - "scope": 373, - "sourceUnit": 23880, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 4, - "nodeType": "ImportDirective", - "src": "231:78:0", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol", - "file": "@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol", - "nameLocation": "-1:-1:-1", - "scope": 373, - "sourceUnit": 24521, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 5, - "nodeType": "ImportDirective", - "src": "310:56:0", - "absolutePath": "node_modules/@openzeppelin/contracts/interfaces/IERC721.sol", - "file": "@openzeppelin/contracts/interfaces/IERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 373, - "sourceUnit": 25402, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 6, - "nodeType": "ImportDirective", - "src": "367:51:0", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "file": "@openzeppelin/contracts/utils/Strings.sol", - "nameLocation": "-1:-1:-1", - "scope": 373, - "sourceUnit": 27307, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 7, - "nodeType": "ImportDirective", - "src": "419:44:0", - "absolutePath": "contracts/interfaces/IJBProjectHandles.sol", - "file": "./interfaces/IJBProjectHandles.sol", - "nameLocation": "-1:-1:-1", - "scope": 373, - "sourceUnit": 423, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 8, - "nodeType": "ImportDirective", - "src": "464:39:0", - "absolutePath": "contracts/libraries/JBOperations2.sol", - "file": "./libraries/JBOperations2.sol", - "nameLocation": "-1:-1:-1", - "scope": 373, - "sourceUnit": 429, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 372, - "nodeType": "ContractDefinition", - "src": "1213:8176:0", - "nodes": [ - { - "id": 15, - "nodeType": "ErrorDefinition", - "src": "1506:24:0", - "errorSelector": "30dfc1a0", - "name": "EMPTY_NAME_PART", - "nameLocation": "1512:15:0", - "parameters": { - "id": 14, - "nodeType": "ParameterList", - "parameters": [], - "src": "1527:2:0" - } - }, - { - "id": 17, - "nodeType": "ErrorDefinition", - "src": "1533:17:0", - "errorSelector": "a0925708", - "name": "NO_PARTS", - "nameLocation": "1539:8:0", - "parameters": { - "id": 16, - "nodeType": "ParameterList", - "parameters": [], - "src": "1547:2:0" - } - }, - { - "id": 23, - "nodeType": "VariableDeclaration", - "src": "2027:53:0", - "constant": false, - "documentation": { - "id": 18, - "nodeType": "StructuredDocumentation", - "src": "1783:241:0", - "text": "@notice\nMapping of project ID to an array of strings that make up an ENS name and its subdomains.\n@dev\n[\"jbx\", \"dao\", \"foo\"] represents foo.dao.jbx.eth.\n_projectId The ID of the project to get an ENS name for." - }, - "mutability": "mutable", - "name": "_ensNamePartsOf", - "nameLocation": "2065:15:0", - "scope": 372, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_string_storage_$dyn_storage_$", - "typeString": "mapping(uint256 => string[])" - }, - "typeName": { - "id": 22, - "keyType": { - "id": 19, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2035:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "2027:28:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_string_storage_$dyn_storage_$", - "typeString": "mapping(uint256 => string[])" - }, - "valueType": { - "baseType": { - "id": 20, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2046:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 21, - "nodeType": "ArrayTypeName", - "src": "2046:8:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "visibility": "internal" - }, - { - "id": 28, - "nodeType": "VariableDeclaration", - "src": "2374:64:0", - "baseFunctions": [ - 408 - ], - "constant": true, - "documentation": { - "id": 24, - "nodeType": "StructuredDocumentation", - "src": "2314:57:0", - "text": "@notice\nThe key of the ENS text record." - }, - "functionSelector": "c548f309", - "mutability": "constant", - "name": "TEXT_KEY", - "nameLocation": "2406:8:0", - "overrides": { - "id": 26, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2397:8:0" - }, - "scope": 372, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 25, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2374:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": { - "hexValue": "6a75696365626f785f70726f6a6563745f6964", - "id": 27, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2417:21:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ed0cd091f153779f083a9f9361c66b2beb2553c6ac0bfc0df033548ae2cab0d5", - "typeString": "literal_string \"juicebox_project_id\"" - }, - "value": "juicebox_project_id" - }, - "visibility": "public" - }, - { - "id": 33, - "nodeType": "VariableDeclaration", - "src": "2781:46:0", - "baseFunctions": [ - 414 - ], - "constant": false, - "documentation": { - "id": 29, - "nodeType": "StructuredDocumentation", - "src": "2672:106:0", - "text": "@notice\nA contract which mints ERC-721's that represent project ownership and transfers." - }, - "functionSelector": "8b79543c", - "mutability": "immutable", - "name": "projects", - "nameLocation": "2819:8:0", - "overrides": { - "id": 32, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2810:8:0" - }, - "scope": 372, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - "typeName": { - "id": 31, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 30, - "name": "IJBProjects", - "nameLocations": [ - "2781:11:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24677, - "src": "2781:11:0" - }, - "referencedDeclaration": 24677, - "src": "2781:11:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "visibility": "public" - }, - { - "id": 37, - "nodeType": "VariableDeclaration", - "src": "2935:54:0", - "constant": false, - "documentation": { - "id": 34, - "nodeType": "StructuredDocumentation", - "src": "2832:100:0", - "text": "@notice\nThe previous JBProjectHandles version, to not loose previously set handles" - }, - "functionSelector": "d9833b32", - "mutability": "immutable", - "name": "oldJbProjectHandles", - "nameLocation": "2970:19:0", - "scope": 372, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - }, - "typeName": { - "id": 36, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 35, - "name": "IJBProjectHandles", - "nameLocations": [ - "2935:17:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 422, - "src": "2935:17:0" - }, - "referencedDeclaration": 422, - "src": "2935:17:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "visibility": "public" - }, - { - "id": 44, - "nodeType": "VariableDeclaration", - "src": "3093:81:0", - "constant": true, - "documentation": { - "id": 38, - "nodeType": "StructuredDocumentation", - "src": "2994:96:0", - "text": "@notice\nThe ENS registry contract address.\n@dev\nSame on every network" - }, - "functionSelector": "7d73b231", - "mutability": "constant", - "name": "ensRegistry", - "nameLocation": "3113:11:0", - "scope": 372, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23858", - "typeString": "contract ENS" - }, - "typeName": { - "id": 40, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39, - "name": "ENS", - "nameLocations": [ - "3093:3:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 23858, - "src": "3093:3:0" - }, - "referencedDeclaration": 23858, - "src": "3093:3:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23858", - "typeString": "contract ENS" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307830303030303030303030304332453037346543363941306446623239393742413643376432653165", - "id": 42, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3131:42:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 41, - "name": "ENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23858, - "src": "3127:3:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ENS_$23858_$", - "typeString": "type(contract ENS)" - } - }, - "id": 43, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3127:47:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23858", - "typeString": "contract ENS" - } - }, - "visibility": "public" - }, - { - "id": 138, - "nodeType": "FunctionDefinition", - "src": "3797:1389:0", - "body": { - "id": 137, - "nodeType": "Block", - "src": "3882:1304:0", - "statements": [ - { - "assignments": [ - 57 - ], - "declarations": [ - { - "constant": false, - "id": 57, - "mutability": "mutable", - "name": "_ensNameParts", - "nameLocation": "3960:13:0", - "nodeType": "VariableDeclaration", - "scope": 137, - "src": "3944:29:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 55, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3944:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 56, - "nodeType": "ArrayTypeName", - "src": "3944:8:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 61, - "initialValue": { - "baseExpression": { - "id": 58, - "name": "_ensNamePartsOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "3976:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_string_storage_$dyn_storage_$", - "typeString": "mapping(uint256 => string storage ref[] storage ref)" - } - }, - "id": 60, - "indexExpression": { - "id": 59, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "3992:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3976:27:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3944:59:0" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 65, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 62, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 57, - "src": "4058:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 63, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4072:6:0", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "4058:20:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 64, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4082:1:0", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "4058:25:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 81, - "nodeType": "IfStatement", - "src": "4054:326:0", - "trueBody": { - "id": 80, - "nodeType": "Block", - "src": "4085:295:0", - "statements": [ - { - "expression": { - "id": 71, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 66, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 57, - "src": "4188:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 69, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "4239:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 67, - "name": "oldJbProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 37, - "src": "4204:19:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "id": 68, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4224:14:0", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 403, - "src": "4204:34:0", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory[] memory)" - } - }, - "id": 70, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4204:46:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "4188:62:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 72, - "nodeType": "ExpressionStatement", - "src": "4188:62:0" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 76, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 73, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 57, - "src": "4337:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 74, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4351:6:0", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "4337:20:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 75, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4361:1:0", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "4337:25:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 79, - "nodeType": "IfStatement", - "src": "4334:39:0", - "trueBody": { - "expression": { - "hexValue": "", - "id": 77, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4371:2:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "functionReturnParameters": 52, - "id": 78, - "nodeType": "Return", - "src": "4364:9:0" - } - } - ] - } - }, - { - "assignments": [ - 83 - ], - "declarations": [ - { - "constant": false, - "id": 83, - "mutability": "mutable", - "name": "_hashedName", - "nameLocation": "4432:11:0", - "nodeType": "VariableDeclaration", - "scope": 137, - "src": "4424:19:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 82, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4424:7:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 87, - "initialValue": { - "arguments": [ - { - "id": 85, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 57, - "src": "4456:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 84, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 371, - "src": "4446:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 86, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4446:24:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4424:46:0" - }, - { - "assignments": [ - 89 - ], - "declarations": [ - { - "constant": false, - "id": 89, - "mutability": "mutable", - "name": "textResolver", - "nameLocation": "4561:12:0", - "nodeType": "VariableDeclaration", - "scope": 137, - "src": "4553:20:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 88, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4553:7:0", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 94, - "initialValue": { - "arguments": [ - { - "id": 92, - "name": "_hashedName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 83, - "src": "4597:11:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 90, - "name": "ensRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 44, - "src": "4576:11:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23858", - "typeString": "contract ENS" - } - }, - "id": 91, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4588:8:0", - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 23834, - "src": "4576:20:0", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) view external returns (address)" - } - }, - "id": 93, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4576:33:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4553:56:0" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 95, - "name": "textResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 89, - "src": "4685:12:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 98, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4709:1:0", - "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": 97, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4701:7:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 96, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4701:7:0", - "typeDescriptions": {} - } - }, - "id": 99, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4701:10:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4685:26:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 103, - "nodeType": "IfStatement", - "src": "4682:40:0", - "trueBody": { - "expression": { - "hexValue": "", - "id": 101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4720:2:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "functionReturnParameters": 52, - "id": 102, - "nodeType": "Return", - "src": "4713:9:0" - } - }, - { - "assignments": [ - 105 - ], - "declarations": [ - { - "constant": false, - "id": 105, - "mutability": "mutable", - "name": "textRecordProjectId", - "nameLocation": "4820:19:0", - "nodeType": "VariableDeclaration", - "scope": 137, - "src": "4806:33:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 104, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4806:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 113, - "initialValue": { - "arguments": [ - { - "id": 110, - "name": "_hashedName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 83, - "src": "4875:11:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 111, - "name": "TEXT_KEY", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "4888:8:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "arguments": [ - { - "id": 107, - "name": "textResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 89, - "src": "4856:12:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 106, - "name": "ITextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23879, - "src": "4842:13:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ITextResolver_$23879_$", - "typeString": "type(contract ITextResolver)" - } - }, - "id": 108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4842:27:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23879", - "typeString": "contract ITextResolver" - } - }, - "id": 109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4870:4:0", - "memberName": "text", - "nodeType": "MemberAccess", - "referencedDeclaration": 23878, - "src": "4842:32:0", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_bytes32_$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (bytes32,string memory) view external returns (string memory)" - } - }, - "id": 112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4842:55:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4806:91:0" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 117, - "name": "textRecordProjectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 105, - "src": "5005:19:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4999:5:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 115, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4999:5:0", - "typeDescriptions": {} - } - }, - "id": 118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4999:26:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 114, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4989:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4989:37:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 125, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "5063:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 123, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27306, - "src": "5046:7:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27306_$", - "typeString": "type(library Strings)" - } - }, - "id": 124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5054:8:0", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27188, - "src": "5046:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5046:28:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5040:5:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 121, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5040:5:0", - "typeDescriptions": {} - } - }, - "id": 127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5040:35:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 120, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "5030:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5030:46:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4989:87:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 132, - "nodeType": "IfStatement", - "src": "4985:108:0", - "trueBody": { - "expression": { - "hexValue": "", - "id": 130, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5091:2:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "functionReturnParameters": 52, - "id": 131, - "nodeType": "Return", - "src": "5084:9:0" - } - }, - { - "expression": { - "arguments": [ - { - "id": 134, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 57, - "src": "5167:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 133, - "name": "_formatHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 311, - "src": "5153:13:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory[] memory) pure returns (string memory)" - } - }, - "id": 135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5153:28:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 52, - "id": 136, - "nodeType": "Return", - "src": "5146:35:0" - } - ] - }, - "baseFunctions": [ - 421 - ], - "documentation": { - "id": 45, - "nodeType": "StructuredDocumentation", - "src": "3408:386:0", - "text": "@notice \nReturns the handle for a project.\n@dev \nRequires a TXT record for the `TEXT_KEY` that matches the `_projectId`.\nAs some handles were set in the previous version, try to retrieve it too\n(this version takes precedence on the previous version)\n@param _projectId The ID of the project to get the handle of.\n@return The project's handle." - }, - "functionSelector": "49491987", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "handleOf", - "nameLocation": "3806:8:0", - "overrides": { - "id": 49, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3849:8:0" - }, - "parameters": { - "id": 48, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 47, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "3823:10:0", - "nodeType": "VariableDeclaration", - "scope": 138, - "src": "3815:18:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 46, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3815:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3814:20:0" - }, - "returnParameters": { - "id": 52, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 51, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 138, - "src": "3867:13:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 50, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3867:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3866:15:0" - }, - "scope": 372, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 153, - "nodeType": "FunctionDefinition", - "src": "5394:138:0", - "body": { - "id": 152, - "nodeType": "Block", - "src": "5487:45:0", - "statements": [ - { - "expression": { - "baseExpression": { - "id": 148, - "name": "_ensNamePartsOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "5500:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_string_storage_$dyn_storage_$", - "typeString": "mapping(uint256 => string storage ref[] storage ref)" - } - }, - "id": 150, - "indexExpression": { - "id": 149, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 141, - "src": "5516:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5500:27:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "functionReturnParameters": 147, - "id": 151, - "nodeType": "Return", - "src": "5493:34:0" - } - ] - }, - "baseFunctions": [ - 403 - ], - "documentation": { - "id": 139, - "nodeType": "StructuredDocumentation", - "src": "5190:201:0", - "text": "@notice \nThe parts of the stored ENS name of a project.\n@param _projectId The ID of the project to get the ENS name of.\n@return The parts of the ENS name parts of a project." - }, - "functionSelector": "30abe987", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ensNamePartsOf", - "nameLocation": "5403:14:0", - "overrides": { - "id": 143, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5452:8:0" - }, - "parameters": { - "id": 142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 141, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "5426:10:0", - "nodeType": "VariableDeclaration", - "scope": 153, - "src": "5418:18:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 140, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5418:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5417:20:0" - }, - "returnParameters": { - "id": 147, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 146, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 153, - "src": "5470:15:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 144, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5470:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 145, - "nodeType": "ArrayTypeName", - "src": "5470:8:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "5469:17:0" - }, - "scope": 372, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 178, - "nodeType": "FunctionDefinition", - "src": "5946:232:0", - "body": { - "id": 177, - "nodeType": "Block", - "src": "6099:79:0", - "statements": [ - { - "expression": { - "id": 171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 169, - "name": "projects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 33, - "src": "6105:8:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 170, - "name": "_projects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "6116:9:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "src": "6105:20:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "id": 172, - "nodeType": "ExpressionStatement", - "src": "6105:20:0" - }, - { - "expression": { - "id": 175, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 173, - "name": "oldJbProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 37, - "src": "6131:19:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 174, - "name": "_oldJbProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 163, - "src": "6153:20:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "src": "6131:42:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "id": 176, - "nodeType": "ExpressionStatement", - "src": "6131:42:0" - } - ] - }, - "documentation": { - "id": 154, - "nodeType": "StructuredDocumentation", - "src": "5765:178:0", - "text": "@param _projects A contract which mints ERC-721's that represent project ownership and transfers.\n@param _operatorStore A contract storing operator assignments." - }, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "id": 166, - "name": "_operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "6083:14:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - } - ], - "id": 167, - "kind": "baseConstructorSpecifier", - "modifierName": { - "id": 165, - "name": "JBOperatable", - "nameLocations": [ - "6070:12:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24520, - "src": "6070:12:0" - }, - "nodeType": "ModifierInvocation", - "src": "6070:28:0" - } - ], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 157, - "mutability": "mutable", - "name": "_projects", - "nameLocation": "5975:9:0", - "nodeType": "VariableDeclaration", - "scope": 178, - "src": "5963:21:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - }, - "typeName": { - "id": 156, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 155, - "name": "IJBProjects", - "nameLocations": [ - "5963:11:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24677, - "src": "5963:11:0" - }, - "referencedDeclaration": 24677, - "src": "5963:11:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 160, - "mutability": "mutable", - "name": "_operatorStore", - "nameLocation": "6007:14:0", - "nodeType": "VariableDeclaration", - "scope": 178, - "src": "5990:31:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 159, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 158, - "name": "IJBOperatorStore", - "nameLocations": [ - "5990:16:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24598, - "src": "5990:16:0" - }, - "referencedDeclaration": 24598, - "src": "5990:16:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24598", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 163, - "mutability": "mutable", - "name": "_oldJbProjectHandles", - "nameLocation": "6045:20:0", - "nodeType": "VariableDeclaration", - "scope": 178, - "src": "6027:38:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - }, - "typeName": { - "id": 162, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 161, - "name": "IJBProjectHandles", - "nameLocations": [ - "6027:17:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 422, - "src": "6027:17:0" - }, - "referencedDeclaration": 422, - "src": "6027:17:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "visibility": "internal" - } - ], - "src": "5957:112:0" - }, - "returnParameters": { - "id": 168, - "nodeType": "ParameterList", - "parameters": [], - "src": "6099:0:0" - }, - "scope": 372, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 253, - "nodeType": "FunctionDefinition", - "src": "6808:758:0", - "body": { - "id": 252, - "nodeType": "Block", - "src": "7004:562:0", - "statements": [ - { - "assignments": [ - 198 - ], - "declarations": [ - { - "constant": false, - "id": 198, - "mutability": "mutable", - "name": "_partsLength", - "nameLocation": "7085:12:0", - "nodeType": "VariableDeclaration", - "scope": 252, - "src": "7077:20:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7077:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 201, - "initialValue": { - "expression": { - "id": 199, - "name": "_parts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 184, - "src": "7100:6:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7107:6:0", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7100:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7077:36:0" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 202, - "name": "_parts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 184, - "src": "7167:6:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7174:6:0", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7167:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 204, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7184:1:0", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7167:18:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 209, - "nodeType": "IfStatement", - "src": "7163:41:0", - "trueBody": { - "errorCall": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 206, - "name": "NO_PARTS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17, - "src": "7194:8:0", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7194:10:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 208, - "nodeType": "RevertStatement", - "src": "7187:17:0" - } - }, - { - "body": { - "id": 234, - "nodeType": "Block", - "src": "7299:114:0", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 219, - "name": "_parts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 184, - "src": "7317:6:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 221, - "indexExpression": { - "id": 220, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "7324:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7317:10:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7311:5:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 217, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7311:5:0", - "typeDescriptions": {} - } - }, - "id": 222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7311:17:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7329:6:0", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7311:24:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7339:1:0", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7311:29:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 229, - "nodeType": "IfStatement", - "src": "7307:59:0", - "trueBody": { - "errorCall": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 226, - "name": "EMPTY_NAME_PART", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "7349:15:0", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7349:17:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 228, - "nodeType": "RevertStatement", - "src": "7342:24:0" - } - }, - { - "id": 233, - "nodeType": "UncheckedBlock", - "src": "7374:33:0", - "statements": [ - { - "expression": { - "id": 231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "7394:4:0", - "subExpression": { - "id": 230, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "7396:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 232, - "nodeType": "ExpressionStatement", - "src": "7394:4:0" - } - ] - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 214, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "7278:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 215, - "name": "_partsLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 198, - "src": "7283:12:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7278:17:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 235, - "initializationExpression": { - "assignments": [ - 211 - ], - "declarations": [ - { - "constant": false, - "id": 211, - "mutability": "mutable", - "name": "_i", - "nameLocation": "7270:2:0", - "nodeType": "VariableDeclaration", - "scope": 235, - "src": "7262:10:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 210, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7262:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 213, - "initialValue": { - "hexValue": "30", - "id": 212, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7275:1:0", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7262:14:0" - }, - "nodeType": "ForStatement", - "src": "7257:156:0" - }, - { - "expression": { - "id": 240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 236, - "name": "_ensNamePartsOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "7443:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_string_storage_$dyn_storage_$", - "typeString": "mapping(uint256 => string storage ref[] storage ref)" - } - }, - "id": 238, - "indexExpression": { - "id": 237, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 181, - "src": "7459:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7443:27:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 239, - "name": "_parts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 184, - "src": "7473:6:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "7443:36:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 241, - "nodeType": "ExpressionStatement", - "src": "7443:36:0" - }, - { - "eventCall": { - "arguments": [ - { - "id": 243, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 181, - "src": "7507:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 245, - "name": "_parts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 184, - "src": "7533:6:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 244, - "name": "_formatHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 311, - "src": "7519:13:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory[] memory) pure returns (string memory)" - } - }, - "id": 246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7519:21:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 247, - "name": "_parts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 184, - "src": "7542:6:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "expression": { - "id": 248, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "7550:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7554:6:0", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "7550:10:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 242, - "name": "SetEnsNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 387, - "src": "7491:15:0", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (uint256,string memory,string memory[] memory,address)" - } - }, - "id": 250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7491:70:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 251, - "nodeType": "EmitStatement", - "src": "7486:75:0" - } - ] - }, - "baseFunctions": [ - 395 - ], - "documentation": { - "id": 179, - "nodeType": "StructuredDocumentation", - "src": "6411:394:0", - "text": "@notice \nAssociate an ENS name with a project.\n@dev\n[\"jbx\", \"dao\", \"foo\"] represents foo.dao.jbx.eth.\n@dev\nOnly a project's owner or a designated operator can set its ENS name parts.\n@param _projectId The ID of the project to set an ENS handle for.\n@param _parts The parts of the ENS domain to use as the project handle, excluding the trailing .eth." - }, - "functionSelector": "2b5b94ad", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 190, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 181, - "src": "6945:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 188, - "name": "projects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 33, - "src": "6928:8:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjects_$24677", - "typeString": "contract IJBProjects" - } - }, - "id": 189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6937:7:0", - "memberName": "ownerOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 26316, - "src": "6928:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view external returns (address)" - } - }, - "id": 191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6928:28:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 192, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 181, - "src": "6958:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "expression": { - "id": 193, - "name": "JBOperations2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "6970:13:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_JBOperations2_$428_$", - "typeString": "type(library JBOperations2)" - } - }, - "id": 194, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6984:16:0", - "memberName": "SET_ENS_NAME_FOR", - "nodeType": "MemberAccess", - "referencedDeclaration": 427, - "src": "6970:30:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 195, - "kind": "modifierInvocation", - "modifierName": { - "id": 187, - "name": "requirePermission", - "nameLocations": [ - "6910:17:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24399, - "src": "6910:17:0" - }, - "nodeType": "ModifierInvocation", - "src": "6910:91:0" - } - ], - "name": "setEnsNamePartsFor", - "nameLocation": "6817:18:0", - "overrides": { - "id": 186, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6897:8:0" - }, - "parameters": { - "id": 185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 181, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "6844:10:0", - "nodeType": "VariableDeclaration", - "scope": 253, - "src": "6836:18:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 180, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6836:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 184, - "mutability": "mutable", - "name": "_parts", - "nameLocation": "6872:6:0", - "nodeType": "VariableDeclaration", - "scope": 253, - "src": "6856:22:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 182, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6856:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 183, - "nodeType": "ArrayTypeName", - "src": "6856:8:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "6835:44:0" - }, - "returnParameters": { - "id": 196, - "nodeType": "ParameterList", - "parameters": [], - "src": "7004:0:0" - }, - "scope": 372, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 311, - "nodeType": "FunctionDefinition", - "src": "7983:580:0", - "body": { - "id": 310, - "nodeType": "Block", - "src": "8097:466:0", - "statements": [ - { - "assignments": [ - 263 - ], - "declarations": [ - { - "constant": false, - "id": 263, - "mutability": "mutable", - "name": "_partsLength", - "nameLocation": "8178:12:0", - "nodeType": "VariableDeclaration", - "scope": 310, - "src": "8170:20:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 262, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8170:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 266, - "initialValue": { - "expression": { - "id": 264, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "8193:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 265, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8207:6:0", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8193:20:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8170:43:0" - }, - { - "body": { - "id": 308, - "nodeType": "Block", - "src": "8298:261:0", - "statements": [ - { - "expression": { - "id": 287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 274, - "name": "_handle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "8306:7:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "id": 279, - "name": "_handle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "8340:7:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "baseExpression": { - "id": 280, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 257, - "src": "8349:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 284, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 281, - "name": "_partsLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "8363:12:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 282, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 268, - "src": "8378:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8363:17:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8349:32:0", - "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": 277, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8323:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8327:12:0", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "8323:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 285, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8323:59:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8316:6:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 275, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8316:6:0", - "typeDescriptions": {} - } - }, - "id": 286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8316:67:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "8306:77:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 288, - "nodeType": "ExpressionStatement", - "src": "8306:77:0" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 289, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 268, - "src": "8444:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 290, - "name": "_partsLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "8449:12:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8444:17:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 303, - "nodeType": "IfStatement", - "src": "8440:71:0", - "trueBody": { - "expression": { - "id": 301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 292, - "name": "_handle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "8463:7:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "id": 297, - "name": "_handle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 260, - "src": "8497:7:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e", - "id": 298, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8506:3:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - } - ], - "expression": { - "id": 295, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8480:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8484:12:0", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "8480:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8480:30:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8473:6:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8473:6:0", - "typeDescriptions": {} - } - }, - "id": 300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8473:38:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "8463:48:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 302, - "nodeType": "ExpressionStatement", - "src": "8463:48:0" - } - }, - { - "id": 307, - "nodeType": "UncheckedBlock", - "src": "8520:33:0", - "statements": [ - { - "expression": { - "id": 305, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "8540:4:0", - "subExpression": { - "id": 304, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 268, - "src": "8542:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 306, - "nodeType": "ExpressionStatement", - "src": "8540:4:0" - } - ] - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 271, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 268, - "src": "8276:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 272, - "name": "_partsLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 263, - "src": "8282:12:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8276:18:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 309, - "initializationExpression": { - "assignments": [ - 268 - ], - "declarations": [ - { - "constant": false, - "id": 268, - "mutability": "mutable", - "name": "_i", - "nameLocation": "8268:2:0", - "nodeType": "VariableDeclaration", - "scope": 309, - "src": "8260:10:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 267, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8260:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 270, - "initialValue": { - "hexValue": "31", - "id": 269, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8273:1:0", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8260:14:0" - }, - "nodeType": "ForStatement", - "src": "8255:304:0" - } - ] - }, - "documentation": { - "id": 254, - "nodeType": "StructuredDocumentation", - "src": "7799:181:0", - "text": "@notice \nFormats ENS name parts into a handle.\n@param _ensNameParts The ENS name parts to format into a handle.\n@return _handle The formatted ENS handle." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_formatHandle", - "nameLocation": "7992:13:0", - "parameters": { - "id": 258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 257, - "mutability": "mutable", - "name": "_ensNameParts", - "nameLocation": "8022:13:0", - "nodeType": "VariableDeclaration", - "scope": 311, - "src": "8006:29:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 255, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8006:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 256, - "nodeType": "ArrayTypeName", - "src": "8006:8:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "8005:31:0" - }, - "returnParameters": { - "id": 261, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 260, - "mutability": "mutable", - "name": "_handle", - "nameLocation": "8086:7:0", - "nodeType": "VariableDeclaration", - "scope": 311, - "src": "8072:21:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 259, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8072:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8071:23:0" - }, - "scope": 372, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 371, - "nodeType": "FunctionDefinition", - "src": "8809:578:0", - "body": { - "id": 370, - "nodeType": "Block", - "src": "8900:487:0", - "statements": [ - { - "expression": { - "id": 333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 320, - "name": "namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 318, - "src": "8945:8:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "id": 324, - "name": "namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 318, - "src": "8983:8:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "657468", - "id": 328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9020:5:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f5b812789fc606be1b3b16908db13fc7a9adf7ca72641f84d75b47069d3d7f0", - "typeString": "literal_string \"eth\"" - }, - "value": "eth" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f5b812789fc606be1b3b16908db13fc7a9adf7ca72641f84d75b47069d3d7f0", - "typeString": "literal_string \"eth\"" - } - ], - "expression": { - "id": 326, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9003:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9007:12:0", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9003:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 329, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9003:23:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 325, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8993:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8993:34:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 322, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8966:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8970:12:0", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "8966:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8966:62:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 321, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8956:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8956:73:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8945:84:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 334, - "nodeType": "ExpressionStatement", - "src": "8945:84:0" - }, - { - "assignments": [ - 336 - ], - "declarations": [ - { - "constant": false, - "id": 336, - "mutability": "mutable", - "name": "_nameLength", - "nameLocation": "9111:11:0", - "nodeType": "VariableDeclaration", - "scope": 370, - "src": "9103:19:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 335, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9103:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 339, - "initialValue": { - "expression": { - "id": 337, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 315, - "src": "9125:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9139:6:0", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9125:20:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9103:42:0" - }, - { - "body": { - "id": 368, - "nodeType": "Block", - "src": "9216:167:0", - "statements": [ - { - "expression": { - "id": 362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 347, - "name": "namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 318, - "src": "9224:8:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "id": 351, - "name": "namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 318, - "src": "9271:8:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "baseExpression": { - "id": 355, - "name": "_ensNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 315, - "src": "9308:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 357, - "indexExpression": { - "id": 356, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 341, - "src": "9322:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9308:17:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 353, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9291:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9295:12:0", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9291:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9291:35:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 352, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9281:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9281:46:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 349, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9254:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9258:12:0", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9254:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9254:74:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 348, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9235:9:0", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9235:101:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9224:112:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 363, - "nodeType": "ExpressionStatement", - "src": "9224:112:0" - }, - { - "id": 367, - "nodeType": "UncheckedBlock", - "src": "9344:33:0", - "statements": [ - { - "expression": { - "id": 365, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "9364:4:0", - "subExpression": { - "id": 364, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 341, - "src": "9366:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 366, - "nodeType": "ExpressionStatement", - "src": "9364:4:0" - } - ] - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 344, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 341, - "src": "9196:2:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 345, - "name": "_nameLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 336, - "src": "9201:11:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9196:16:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 369, - "initializationExpression": { - "assignments": [ - 341 - ], - "declarations": [ - { - "constant": false, - "id": 341, - "mutability": "mutable", - "name": "_i", - "nameLocation": "9188:2:0", - "nodeType": "VariableDeclaration", - "scope": 369, - "src": "9180:10:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9180:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 343, - "initialValue": { - "hexValue": "30", - "id": 342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9193:1:0", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9180:14:0" - }, - "nodeType": "ForStatement", - "src": "9175:208:0" - } - ] - }, - "documentation": { - "id": 312, - "nodeType": "StructuredDocumentation", - "src": "8567:239:0", - "text": "@notice \nReturns a namehash for an ENS name.\n@dev \nSee https://eips.ethereum.org/EIPS/eip-137.\n@param _ensNameParts The parts of an ENS name to hash.\n@return namehash The namehash for an ENS name parts." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_namehash", - "nameLocation": "8818:9:0", - "parameters": { - "id": 316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 315, - "mutability": "mutable", - "name": "_ensNameParts", - "nameLocation": "8844:13:0", - "nodeType": "VariableDeclaration", - "scope": 371, - "src": "8828:29:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 313, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8828:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 314, - "nodeType": "ArrayTypeName", - "src": "8828:8:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "8827:31:0" - }, - "returnParameters": { - "id": 319, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 318, - "mutability": "mutable", - "name": "namehash", - "nameLocation": "8890:8:0", - "nodeType": "VariableDeclaration", - "scope": 371, - "src": "8882:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 317, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8882:7:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "8881:18:0" - }, - "scope": 372, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 10, - "name": "IJBProjectHandles", - "nameLocations": [ - "1242:17:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 422, - "src": "1242:17:0" - }, - "id": 11, - "nodeType": "InheritanceSpecifier", - "src": "1242:17:0" - }, - { - "baseName": { - "id": 12, - "name": "JBOperatable", - "nameLocations": [ - "1261:12:0" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24520, - "src": "1261:12:0" - }, - "id": 13, - "nodeType": "InheritanceSpecifier", - "src": "1261:12:0" - } - ], - "canonicalName": "JBProjectHandles", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 9, - "nodeType": "StructuredDocumentation", - "src": "505:707:0", - "text": "@title \nJBProjectHandles\n@author \nperi, jango, drgorilla\n@notice \nManages reverse records that point from JB project IDs to ENS nodes. If the reverse record of a project ID is pointed to an ENS node with a TXT record matching the ID of that project, then the ENS node will be considered the \"handle\" for that project.\n@dev\nAdheres to -\nIJBProjectHandles: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.\n@dev\nInherits from -\nJBOperatable: Several functions in this contract can only be accessed by a project owner, or an address that has been preconfifigured to be an operator of the project." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 372, - 24520, - 24530, - 422 - ], - "name": "JBProjectHandles", - "nameLocation": "1222:16:0", - "scope": 373, - "usedErrors": [ - 15, - 17, - 24382 - ] - } - ], - "license": "MIT" - }, - "id": 0 -} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"_projects","type":"address","internalType":"contract IJBProjects"},{"name":"_operatorStore","type":"address","internalType":"contract IJBOperatorStore"},{"name":"_oldJbProjectHandles","type":"address","internalType":"contract IJBProjectHandles"}],"stateMutability":"nonpayable"},{"type":"function","name":"TEXT_KEY","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"ensNamePartsOf","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string[]","internalType":"string[]"}],"stateMutability":"view"},{"type":"function","name":"ensRegistry","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract ENS"}],"stateMutability":"view"},{"type":"function","name":"handleOf","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"oldJbProjectHandles","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBProjectHandles"}],"stateMutability":"view"},{"type":"function","name":"operatorStore","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBOperatorStore"}],"stateMutability":"view"},{"type":"function","name":"projects","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBProjects"}],"stateMutability":"view"},{"type":"function","name":"setEnsNamePartsFor","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"},{"name":"_parts","type":"string[]","internalType":"string[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"SetEnsNameParts","inputs":[{"name":"projectId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"handle","type":"string","indexed":true,"internalType":"string"},{"name":"parts","type":"string[]","indexed":false,"internalType":"string[]"},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"error","name":"EMPTY_NAME_PART","inputs":[]},{"type":"error","name":"NO_PARTS","inputs":[]},{"type":"error","name":"UNAUTHORIZED","inputs":[]}],"bytecode":{"object":"0x60e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c63430008170033","sourceMap":"1213:8176:0:-:0;;;5946:232;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2730:30:15;;;;;6105:20:0;;::::1;;::::0;6131:42:::1;;::::0;1213:8176;;14:144:44;-1:-1:-1;;;;;102:31:44;;92:42;;82:70;;148:1;145;138:12;82:70;14:144;:::o;163:630::-;323:6;331;339;392:2;380:9;371:7;367:23;363:32;360:52;;;408:1;405;398:12;360:52;440:9;434:16;459:44;497:5;459:44;:::i;:::-;572:2;557:18;;551:25;522:5;;-1:-1:-1;585:46:44;551:25;585:46;:::i;:::-;702:2;687:18;;681:25;650:7;;-1:-1:-1;715:46:44;681:25;715:46;:::i;:::-;780:7;770:17;;;163:630;;;;;:::o;:::-;1213:8176:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c63430008170033","sourceMap":"1213:8176:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6808:758;;;;;;:::i;:::-;;:::i;:::-;;5394:138;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3797:1389;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3093:81::-;;3131:42;3093:81;;;;;-1:-1:-1;;;;;4561:32:44;;;4543:51;;4531:2;4516:18;3093:81:0;4384:216:44;2781:46:0;;;;;2310:56:15;;;;;2374:64:0;;;;;;;;;;;;;;;-1:-1:-1;;;2374:64:0;;;;;2935:54;;;;;6808:758;6928:28;;-1:-1:-1;;;6928:28:0;;;;;5447:25:44;;;6928:8:0;-1:-1:-1;;;;;6928:16:0;;;;5420:18:44;;6928:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6958:10;127:2:2;1318:55:15;1337:8;1347:7;1356:16;1318:18;:55::i;:::-;7100:13:0;;7077:20:::1;7167:18:::0;;;7163:41:::1;;7194:10;;-1:-1:-1::0;;;7194:10:0::1;;;;;;;;;;;7163:41;7262:10;7257:156;7283:12;7278:2;:17;7257:156;;;7317:6;7324:2;7317:10;;;;;;;;:::i;:::-;;;;;;;7311:24;7339:1;7311:29:::0;7307:59:::1;;7349:17;;-1:-1:-1::0;;;7349:17:0::1;;;;;;;;;;;7307:59;7394:4;;7257:156;;;-1:-1:-1::0;7443:15:0::1;:27:::0;;;::::1;::::0;;;;;;;:36;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;7519:21;7533:6;7519:13;:21::i;:::-;7491:70;;;;;;:::i;:::-;;;;;;;;7507:10;7491:70;7542:6;7550:10;7491:70;;;;;;;:::i;:::-;;;;;;;;7004:562;6808:758:::0;;;;;:::o;5394:138::-;5500:15;:27;;;;;;;;;;;5493:34;;;;;;;;;;;;;;;;;5470:15;;5493:34;;5500:27;;5493:34;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5394:138;;;:::o;3797:1389::-;3944:29;3976:27;;;;;;;;;;;3944:59;;;;;;;;;;;;;;;;;3867:13;;3944:29;;;:59;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4058:13;:20;4082:1;4058:25;4054:326;;4204:46;;-1:-1:-1;;;4204:46:0;;;;;5447:25:44;;;4204:19:0;-1:-1:-1;;;;;4204:34:0;;;;5420:18:44;;4204:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4204:46:0;;;;;;;;;;;;:::i;:::-;4188:62;;4337:13;:20;4361:1;4337:25;4334:39;;-1:-1:-1;;4364:9:0;;;;;;;;;-1:-1:-1;4364:9:0;;;3797:1389;-1:-1:-1;3797:1389:0:o;4334:39::-;4424:19;4446:24;4456:13;4446:9;:24::i;:::-;4576:33;;-1:-1:-1;;;4576:33:0;;;;;5447:25:44;;;4424:46:0;;-1:-1:-1;4553:20:0;;3131:42;;4576:20;;5420:18:44;;4576:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4553:56;-1:-1:-1;;;;;;4685:26:0;;4682:40;;-1:-1:-1;;4713:9:0;;;;;;;;;-1:-1:-1;4713:9:0;;;3797:1389;-1:-1:-1;;;3797:1389:0:o;4682:40::-;4888:8;;;;;;;;;;;-1:-1:-1;;;4888:8:0;;;;4842:55;;-1:-1:-1;;;4842:55:0;;4806:33;;-1:-1:-1;;;;;4842:32:0;;;;;:55;;4875:11;;4888:8;4842:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4842:55:0;;;;;;;;;;;;:::i;:::-;4806:91;;5046:28;5063:10;5046:16;:28::i;:::-;5030:46;;;;;;5005:19;4989:37;;;;;;:87;4985:108;;-1:-1:-1;;5084:9:0;;;;;;;;;-1:-1:-1;5084:9:0;;;3797:1389;-1:-1:-1;;;;3797:1389:0:o;4985:108::-;5153:28;5167:13;5153;:28::i;:::-;5146:35;3797:1389;-1:-1:-1;;;;;;3797:1389:0:o;3361:359:15:-;3497:10;-1:-1:-1;;;;;3497:22:15;;;;;;:109;;-1:-1:-1;3530:76:15;;-1:-1:-1;;;3530:76:15;;3558:10;3530:76;;;9646:34:44;-1:-1:-1;;;;;9716:15:44;;;9696:18;;;9689:43;9748:18;;;9741:34;;;9791:18;;;9784:34;;;3530:13:15;:27;;;;9580:19:44;;3530:76:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3529:77;3497:109;:190;;;;-1:-1:-1;3617:70:15;;-1:-1:-1;;;3617:70:15;;3645:10;3617:70;;;9646:34:44;-1:-1:-1;;;;;9716:15:44;;;9696:18;;;9689:43;3667:1:15;9748:18:44;;;9741:34;9791:18;;;9784:34;;;3617:13:15;:27;;;;9580:19:44;;3617:70:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3616:71;3497:190;3486:229;;;3701:14;;-1:-1:-1;;;3701:14:15;;;;;;;;;;;3486:229;3361:359;;;:::o;7983:580:0:-;8193:20;;8072:21;;8273:1;8255:304;8282:12;8276:2;:18;8255:304;;8340:7;8349:13;8363:17;8378:2;8363:12;:17;:::i;:::-;8349:32;;;;;;;;:::i;:::-;;;;;;;8323:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8306:77;;8449:12;8444:2;:17;8440:71;;;8497:7;8480:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;8463:48;;8440:71;8540:4;;8255:304;;;;8097:466;7983:580;;;:::o;8809:578::-;8882:16;8983:8;9003:23;;;;;;-1:-1:-1;;;11996:18:44;;12039:1;12030:11;;11794:253;9003:23:0;;;;;;;;;;;;;8993:34;;;;;;8966:62;;;;;;;;12209:19:44;;;12253:2;12244:12;;12237:28;12290:2;12281:12;;12052:247;8966:62:0;;;;;;;;;;;;;8956:73;;;;;;8945:84;;9103:19;9125:13;:20;9103:42;;9180:10;9175:208;9201:11;9196:2;:16;9175:208;;;9271:8;9308:13;9322:2;9308:17;;;;;;;;:::i;:::-;;;;;;;9291:35;;;;;;;;:::i;:::-;;;;;;;;;;;;;9281:46;;;;;;9254:74;;;;;;;;12209:19:44;;;12253:2;12244:12;;12237:28;12290:2;12281:12;;12052:247;9254:74:0;;;;-1:-1:-1;;9254:74:0;;;;;;;;;9235:101;;9254:74;9235:101;;;;;-1:-1:-1;9364:4:0;;9175:208;;328:703:36;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:36;;;;;;;;;;;;-1:-1:-1;;;627:10:36;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:36;;-1:-1:-1;773:2:36;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:36;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:36;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:36;;;;;;;;-1:-1:-1;972:11:36;981:2;972:11;;:::i;:::-;;;844:150;;;1017:6;328:703;-1:-1:-1;;;;328:703:36:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;14:127:44;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:275;217:2;211:9;282:2;263:13;;-1:-1:-1;;259:27:44;247:40;;317:18;302:34;;338:22;;;299:62;296:88;;;364:18;;:::i;:::-;400:2;393:22;146:275;;-1:-1:-1;146:275:44:o;426:182::-;485:4;518:18;510:6;507:30;504:56;;;540:18;;:::i;:::-;-1:-1:-1;585:1:44;581:14;597:4;577:25;;426:182::o;613:187::-;662:4;695:18;687:6;684:30;681:56;;;717:18;;:::i;:::-;-1:-1:-1;783:2:44;762:15;-1:-1:-1;;758:29:44;789:4;754:40;;613:187::o;805:1745::-;908:6;916;947:2;990;978:9;969:7;965:23;961:32;958:52;;;1006:1;1003;996:12;958:52;1042:9;1029:23;1019:33;;1071:2;1124;1113:9;1109:18;1096:32;1147:18;1188:2;1180:6;1177:14;1174:34;;;1204:1;1201;1194:12;1174:34;1242:6;1231:9;1227:22;1217:32;;1287:7;1280:4;1276:2;1272:13;1268:27;1258:55;;1309:1;1306;1299:12;1258:55;1345:2;1332:16;1368:59;1384:42;1423:2;1384:42;:::i;:::-;1368:59;:::i;:::-;1461:15;;;1543:1;1539:10;;;;1531:19;;1527:28;;;1492:12;;;;1567:19;;;1564:39;;;1599:1;1596;1589:12;1564:39;1631:2;1627;1623:11;1643:877;1659:6;1654:3;1651:15;1643:877;;;1745:3;1732:17;1781:2;1768:11;1765:19;1762:109;;;1825:1;1854:2;1850;1843:14;1762:109;1894:20;;1949:2;1941:11;;1937:25;-1:-1:-1;1927:123:44;;2004:1;2033:2;2029;2022:14;1927:123;2094:2;2090;2086:11;2073:25;2124:49;2140:32;2169:2;2140:32;:::i;2124:49::-;2200:2;2193:5;2186:17;2244:7;2239:2;2234;2230;2226:11;2222:20;2219:33;2216:126;;;2294:1;2324:3;2319;2312:16;2216:126;2397:2;2392;2388;2384:11;2379:2;2372:5;2368:14;2355:45;2445:1;2424:14;;;2420:23;;2413:34;;;;2460:18;;-1:-1:-1;2498:12:44;;;;1676;;1643:877;;;1647:3;2539:5;2529:15;;;;;;;;;805:1745;;;;;:::o;2555:180::-;2614:6;2667:2;2655:9;2646:7;2642:23;2638:32;2635:52;;;2683:1;2680;2673:12;2635:52;-1:-1:-1;2706:23:44;;2555:180;-1:-1:-1;2555:180:44:o;2740:250::-;2825:1;2835:113;2849:6;2846:1;2843:13;2835:113;;;2925:11;;;2919:18;2906:11;;;2899:39;2871:2;2864:10;2835:113;;;-1:-1:-1;;2982:1:44;2964:16;;2957:27;2740:250::o;2995:271::-;3037:3;3075:5;3069:12;3102:6;3097:3;3090:19;3118:76;3187:6;3180:4;3175:3;3171:14;3164:4;3157:5;3153:16;3118:76;:::i;:::-;3248:2;3227:15;-1:-1:-1;;3223:29:44;3214:39;;;;3255:4;3210:50;;2995:271;-1:-1:-1;;2995:271:44:o;3271:598::-;3323:3;3354;3386:5;3380:12;3413:6;3408:3;3401:19;3439:4;3468;3463:3;3459:14;3452:21;;3526:4;3516:6;3513:1;3509:14;3502:5;3498:26;3494:37;3565:4;3558:5;3554:16;3588:1;3598:245;3612:6;3609:1;3606:13;3598:245;;;3699:2;3695:7;3687:5;3681:4;3677:16;3673:30;3668:3;3661:43;3725:38;3758:4;3749:6;3743:13;3725:38;:::i;:::-;3821:12;;;;3717:46;-1:-1:-1;3786:15:44;;;;3634:1;3627:9;3598:245;;;-1:-1:-1;3859:4:44;;3271:598;-1:-1:-1;;;;;;;3271:598:44:o;3874:280::-;4073:2;4062:9;4055:21;4036:4;4093:55;4144:2;4133:9;4129:18;4121:6;4093:55;:::i;:::-;4085:63;3874:280;-1:-1:-1;;;3874:280:44:o;4159:220::-;4308:2;4297:9;4290:21;4271:4;4328:45;4369:2;4358:9;4354:18;4346:6;4328:45;:::i;5483:290::-;5553:6;5606:2;5594:9;5585:7;5581:23;5577:32;5574:52;;;5622:1;5619;5612:12;5574:52;5648:16;;-1:-1:-1;;;;;5693:31:44;;5683:42;;5673:70;;5739:1;5736;5729:12;5778:127;5839:10;5834:3;5830:20;5827:1;5820:31;5870:4;5867:1;5860:15;5894:4;5891:1;5884:15;5910:289;6041:3;6079:6;6073:13;6095:66;6154:6;6149:3;6142:4;6134:6;6130:17;6095:66;:::i;:::-;6177:16;;;;;5910:289;-1:-1:-1;;5910:289:44:o;6204:377::-;6431:2;6420:9;6413:21;6394:4;6451:55;6502:2;6491:9;6487:18;6479:6;6451:55;:::i;:::-;6443:63;;6571:1;6567;6562:3;6558:11;6554:19;6546:6;6542:32;6537:2;6526:9;6522:18;6515:60;6204:377;;;;;:::o;6586:380::-;6665:1;6661:12;;;;6708;;;6729:61;;6783:4;6775:6;6771:17;6761:27;;6729:61;6836:2;6828:6;6825:14;6805:18;6802:38;6799:161;;6882:10;6877:3;6873:20;6870:1;6863:31;6917:4;6914:1;6907:15;6945:4;6942:1;6935:15;6799:161;;6586:380;;;:::o;6971:443::-;7025:5;7078:3;7071:4;7063:6;7059:17;7055:27;7045:55;;7096:1;7093;7086:12;7045:55;7125:6;7119:13;7156:49;7172:32;7201:2;7172:32;:::i;7156:49::-;7230:2;7221:7;7214:19;7276:3;7269:4;7264:2;7256:6;7252:15;7248:26;7245:35;7242:55;;;7293:1;7290;7283:12;7242:55;7306:77;7380:2;7373:4;7364:7;7360:18;7353:4;7345:6;7341:17;7306:77;:::i;7419:1133::-;7524:6;7555:2;7598;7586:9;7577:7;7573:23;7569:32;7566:52;;;7614:1;7611;7604:12;7566:52;7647:9;7641:16;7676:18;7717:2;7709:6;7706:14;7703:34;;;7733:1;7730;7723:12;7703:34;7771:6;7760:9;7756:22;7746:32;;7816:7;7809:4;7805:2;7801:13;7797:27;7787:55;;7838:1;7835;7828:12;7787:55;7867:2;7861:9;7890:59;7906:42;7945:2;7906:42;:::i;7890:59::-;7983:15;;;8065:1;8061:10;;;;8053:19;;8049:28;;;8014:12;;;;8089:19;;;8086:39;;;8121:1;8118;8111:12;8086:39;8153:2;8149;8145:11;8165:357;8181:6;8176:3;8173:15;8165:357;;;8260:3;8254:10;8296:2;8283:11;8280:19;8277:109;;;8340:1;8369:2;8365;8358:14;8277:109;8411:68;8471:7;8466:2;8452:11;8448:2;8444:20;8440:29;8411:68;:::i;:::-;8399:81;;-1:-1:-1;8500:12:44;;;;8198;;8165:357;;;-1:-1:-1;8541:5:44;7419:1133;-1:-1:-1;;;;;;;;7419:1133:44:o;8739:291::-;8916:6;8905:9;8898:25;8959:2;8954;8943:9;8939:18;8932:30;8879:4;8979:45;9020:2;9009:9;9005:18;8997:6;8979:45;:::i;9035:337::-;9115:6;9168:2;9156:9;9147:7;9143:23;9139:32;9136:52;;;9184:1;9181;9174:12;9136:52;9217:9;9211:16;9250:18;9242:6;9239:30;9236:50;;;9282:1;9279;9272:12;9236:50;9305:61;9358:7;9349:6;9338:9;9334:22;9305:61;:::i;9829:277::-;9896:6;9949:2;9937:9;9928:7;9924:23;9920:32;9917:52;;;9965:1;9962;9955:12;9917:52;9997:9;9991:16;10050:5;10043:13;10036:21;10029:5;10026:32;10016:60;;10072:1;10069;10062:12;10571:127;10632:10;10627:3;10623:20;10620:1;10613:31;10663:4;10660:1;10653:15;10687:4;10684:1;10677:15;10703:128;10770:9;;;10791:11;;;10788:37;;;10805:18;;:::i;:::-;10703:128;;;;:::o;10836:496::-;11015:3;11053:6;11047:13;11069:66;11128:6;11123:3;11116:4;11108:6;11104:17;11069:66;:::i;:::-;11198:13;;11157:16;;;;11220:70;11198:13;11157:16;11267:4;11255:17;;11220:70;:::i;:::-;11306:20;;10836:496;-1:-1:-1;;;;10836:496:44:o;11337:452::-;11569:3;11607:6;11601:13;11623:66;11682:6;11677:3;11670:4;11662:6;11658:17;11623:66;:::i;:::-;-1:-1:-1;;;11711:16:44;;11736:18;;;-1:-1:-1;11781:1:44;11770:13;;11337:452;-1:-1:-1;11337:452:44:o;12304:135::-;12343:3;12364:17;;;12361:43;;12384:18;;:::i;:::-;-1:-1:-1;12431:1:44;12420:13;;12304:135::o;12444:127::-;12505:10;12500:3;12496:20;12493:1;12486:31;12536:4;12533:1;12526:15;12560:4;12557:1;12550:15;12576:120;12616:1;12642;12632:35;;12647:18;;:::i;:::-;-1:-1:-1;12681:9:44;;12576:120::o;12701:112::-;12733:1;12759;12749:35;;12764:18;;:::i;:::-;-1:-1:-1;12798:9:44;;12701:112::o;12818:125::-;12883:9;;;12904:10;;;12901:36;;;12917:18;;:::i;13074:543::-;13176:2;13171:3;13168:11;13165:446;;;13212:1;13236:5;13233:1;13226:16;13280:4;13277:1;13267:18;13350:2;13338:10;13334:19;13331:1;13327:27;13321:4;13317:38;13386:4;13374:10;13371:20;13368:47;;;-1:-1:-1;13409:4:44;13368:47;13464:2;13459:3;13455:12;13452:1;13448:20;13442:4;13438:31;13428:41;;13519:82;13537:2;13530:5;13527:13;13519:82;;;13582:17;;;13563:1;13552:13;13519:82;;;13523:3;;;13074:543;;;:::o;13793:1345::-;13919:3;13913:10;13946:18;13938:6;13935:30;13932:56;;;13968:18;;:::i;:::-;13997:97;14087:6;14047:38;14079:4;14073:11;14047:38;:::i;:::-;14041:4;13997:97;:::i;:::-;14149:4;;14206:2;14195:14;;14223:1;14218:663;;;;14925:1;14942:6;14939:89;;;-1:-1:-1;14994:19:44;;;14988:26;14939:89;-1:-1:-1;;13750:1:44;13746:11;;;13742:24;13738:29;13728:40;13774:1;13770:11;;;13725:57;15041:81;;14188:944;;14218:663;13021:1;13014:14;;;13058:4;13045:18;;-1:-1:-1;;14254:20:44;;;14372:236;14386:7;14383:1;14380:14;14372:236;;;14475:19;;;14469:26;14454:42;;14567:27;;;;14535:1;14523:14;;;;14402:19;;14372:236;;;14376:3;14636:6;14627:7;14624:19;14621:201;;;14697:19;;;14691:26;-1:-1:-1;;14780:1:44;14776:14;;;14792:3;14772:24;14768:37;14764:42;14749:58;14734:74;;14621:201;-1:-1:-1;;;;;14868:1:44;14852:14;;;14848:22;14835:36;;-1:-1:-1;13793:1345:44:o","linkReferences":{},"immutableReferences":{"24650":[{"start":325,"length":32},{"start":1940,"length":32},{"start":2107,"length":32}],"33":[{"start":286,"length":32},{"start":470,"length":32}],"37":[{"start":414,"length":32},{"start":1317,"length":32}]}},"methodIdentifiers":{"TEXT_KEY()":"c548f309","ensNamePartsOf(uint256)":"30abe987","ensRegistry()":"7d73b231","handleOf(uint256)":"49491987","oldJbProjectHandles()":"d9833b32","operatorStore()":"ad007d63","projects()":"8b79543c","setEnsNamePartsFor(uint256,string[])":"2b5b94ad"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IJBProjects\",\"name\":\"_projects\",\"type\":\"address\"},{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"_operatorStore\",\"type\":\"address\"},{\"internalType\":\"contract IJBProjectHandles\",\"name\":\"_oldJbProjectHandles\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"EMPTY_NAME_PART\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NO_PARTS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UNAUTHORIZED\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"handle\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"parts\",\"type\":\"string[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetEnsNameParts\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"TEXT_KEY\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"ensNamePartsOf\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ensRegistry\",\"outputs\":[{\"internalType\":\"contract ENS\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"handleOf\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oldJbProjectHandles\",\"outputs\":[{\"internalType\":\"contract IJBProjectHandles\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IJBProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"string[]\",\"name\":\"_parts\",\"type\":\"string[]\"}],\"name\":\"setEnsNamePartsFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\" peri, jango, drgorilla\",\"details\":\"Adheres to - IJBProjectHandles: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.Inherits from - JBOperatable: Several functions in this contract can only be accessed by a project owner, or an address that has been preconfifigured to be an operator of the project.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\",\"_projects\":\"A contract which mints ERC-721's that represent project ownership and transfers.\"}},\"ensNamePartsOf(uint256)\":{\"params\":{\"_projectId\":\"The ID of the project to get the ENS name of.\"},\"returns\":{\"_0\":\"The parts of the ENS name parts of a project.\"}},\"handleOf(uint256)\":{\"details\":\" Requires a TXT record for the `TEXT_KEY` that matches the `_projectId`. As some handles were set in the previous version, try to retrieve it too (this version takes precedence on the previous version)\",\"params\":{\"_projectId\":\"The ID of the project to get the handle of.\"},\"returns\":{\"_0\":\"The project's handle.\"}},\"setEnsNamePartsFor(uint256,string[])\":{\"details\":\"[\\\"jbx\\\", \\\"dao\\\", \\\"foo\\\"] represents foo.dao.jbx.eth.Only a project's owner or a designated operator can set its ENS name parts.\",\"params\":{\"_parts\":\"The parts of the ENS domain to use as the project handle, excluding the trailing .eth.\",\"_projectId\":\"The ID of the project to set an ENS handle for.\"}}},\"stateVariables\":{\"_ensNamePartsOf\":{\"details\":\"[\\\"jbx\\\", \\\"dao\\\", \\\"foo\\\"] represents foo.dao.jbx.eth. _projectId The ID of the project to get an ENS name for.\"},\"ensRegistry\":{\"details\":\"Same on every network\"}},\"title\":\" JBProjectHandles\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"TEXT_KEY()\":{\"notice\":\"The key of the ENS text record.\"},\"ensNamePartsOf(uint256)\":{\"notice\":\" The parts of the stored ENS name of a project.\"},\"ensRegistry()\":{\"notice\":\"The ENS registry contract address.\"},\"handleOf(uint256)\":{\"notice\":\" Returns the handle for a project.\"},\"oldJbProjectHandles()\":{\"notice\":\"The previous JBProjectHandles version, to not loose previously set handles\"},\"operatorStore()\":{\"notice\":\" A contract storing operator assignments.\"},\"projects()\":{\"notice\":\"A contract which mints ERC-721's that represent project ownership and transfers.\"},\"setEnsNamePartsFor(uint256,string[])\":{\"notice\":\" Associate an ENS name with a project.\"}},\"notice\":\" Manages reverse records that point from JB project IDs to ENS nodes. If the reverse record of a project ID is pointed to an ENS node with a TXT record matching the ID of that project, then the ENS node will be considered the \\\"handle\\\" for that project.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/JBProjectHandles.sol\":\"JBProjectHandles\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"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.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"contract IJBProjects","name":"_projects","type":"address"},{"internalType":"contract IJBOperatorStore","name":"_operatorStore","type":"address"},{"internalType":"contract IJBProjectHandles","name":"_oldJbProjectHandles","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"EMPTY_NAME_PART"},{"inputs":[],"type":"error","name":"NO_PARTS"},{"inputs":[],"type":"error","name":"UNAUTHORIZED"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256","indexed":true},{"internalType":"string","name":"handle","type":"string","indexed":true},{"internalType":"string[]","name":"parts","type":"string[]","indexed":false},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"SetEnsNameParts","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"TEXT_KEY","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"stateMutability":"view","type":"function","name":"ensNamePartsOf","outputs":[{"internalType":"string[]","name":"","type":"string[]"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"ensRegistry","outputs":[{"internalType":"contract ENS","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"stateMutability":"view","type":"function","name":"handleOf","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"oldJbProjectHandles","outputs":[{"internalType":"contract IJBProjectHandles","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"operatorStore","outputs":[{"internalType":"contract IJBOperatorStore","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"projects","outputs":[{"internalType":"contract IJBProjects","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string[]","name":"_parts","type":"string[]"}],"stateMutability":"nonpayable","type":"function","name":"setEnsNamePartsFor"}],"devdoc":{"kind":"dev","methods":{"constructor":{"params":{"_operatorStore":"A contract storing operator assignments.","_projects":"A contract which mints ERC-721's that represent project ownership and transfers."}},"ensNamePartsOf(uint256)":{"params":{"_projectId":"The ID of the project to get the ENS name of."},"returns":{"_0":"The parts of the ENS name parts of a project."}},"handleOf(uint256)":{"details":" Requires a TXT record for the `TEXT_KEY` that matches the `_projectId`. As some handles were set in the previous version, try to retrieve it too (this version takes precedence on the previous version)","params":{"_projectId":"The ID of the project to get the handle of."},"returns":{"_0":"The project's handle."}},"setEnsNamePartsFor(uint256,string[])":{"details":"[\"jbx\", \"dao\", \"foo\"] represents foo.dao.jbx.eth.Only a project's owner or a designated operator can set its ENS name parts.","params":{"_parts":"The parts of the ENS domain to use as the project handle, excluding the trailing .eth.","_projectId":"The ID of the project to set an ENS handle for."}}},"version":1},"userdoc":{"kind":"user","methods":{"TEXT_KEY()":{"notice":"The key of the ENS text record."},"ensNamePartsOf(uint256)":{"notice":" The parts of the stored ENS name of a project."},"ensRegistry()":{"notice":"The ENS registry contract address."},"handleOf(uint256)":{"notice":" Returns the handle for a project."},"oldJbProjectHandles()":{"notice":"The previous JBProjectHandles version, to not loose previously set handles"},"operatorStore()":{"notice":" A contract storing operator assignments."},"projects()":{"notice":"A contract which mints ERC-721's that represent project ownership and transfers."},"setEnsNamePartsFor(uint256,string[])":{"notice":" Associate an ENS name with a project."}},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/JBProjectHandles.sol":"JBProjectHandles"},"evmVersion":"paris","libraries":{}},"sources":{"contracts/JBProjectHandles.sol":{"keccak256":"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b","urls":["bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659","dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5"],"license":"MIT"},"contracts/interfaces/IJBProjectHandles.sol":{"keccak256":"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6","urls":["bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5","dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b"],"license":"MIT"},"contracts/libraries/JBOperations2.sol":{"keccak256":"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29","urls":["bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1","dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg"],"license":"MIT"},"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol":{"keccak256":"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483","urls":["bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed","dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV"],"license":null},"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol":{"keccak256":"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38","urls":["bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba","dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol":{"keccak256":"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add","urls":["bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735","dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":{"keccak256":"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e","urls":["bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b","dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":{"keccak256":"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4","urls":["bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9","dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol":{"keccak256":"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0","urls":["bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494","dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol":{"keccak256":"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c","urls":["bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8","dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],"license":"MIT"}},"version":1},"id":0} \ No newline at end of file diff --git a/out/JBProjectHandles.t.sol/ContractTest.json b/out/JBProjectHandles.t.sol/ContractTest.json index 8bc7f4a..0ae099e 100644 --- a/out/JBProjectHandles.t.sol/ContractTest.json +++ b/out/JBProjectHandles.t.sol/ContractTest.json @@ -1,26192 +1 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "string", - "name": "ensName", - "type": "string" - }, - { - "indexed": false, - "internalType": "string[]", - "name": "parts", - "type": "string[]" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "SetEnsNameParts", - "type": "event" - }, - { - "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_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "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": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_reverseId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "name": "testHandleOf_returnsEmptyStringIfENSIsNotRegistered", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - } - ], - "name": "testHandleOf_returnsEmptyStringIfNoHandleSet", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_reverseId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "name": "testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "name": "testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "name": "testHandleOf_returnsHandleIfReverseIdMatchProjectId", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "name": "testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint96", - "name": "authorizationIndex", - "type": "uint96" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "testSetEnsNameFor_revertIfNotAuthorized", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "name": "testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "name": "testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "name": "testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x6080604052600080546201000162ff00ff19909116179055600880546001600160a01b03199081166269ed75179091556009805490911662010f2c17905534801561004957600080fd5b50619be0806200005a6000396000f3fe60806040523480156200001157600080fd5b5060043610620001215760003560e01c8063804febd711620000af578063a1296985116200007a578063a1296985146200024c578063ba414fa61462000263578063d33518fd146200027e578063f8ccbf471462000288578063fa7626d4146200029c57600080fd5b8063804febd714620001f05780638bbdf5ba14620002075780638f5f00e4146200021e5780639edca9cd146200023557600080fd5b806319f37fcc11620000f057806319f37fcc14620001775780633a768463146200018e5780635c17d79914620001c257806379ee9c1614620001d957600080fd5b80630a9254e414620001265780630bc1349a1462000132578063156d3f6314620001495780631641e69d1462000160575b600080fd5b62000130620002aa565b005b6200013062000143366004620046ec565b620006ff565b620001306200015a36600462004790565b62000f3a565b620001306200017136600462004918565b620014ec565b620001306200018836600462004790565b620018cb565b620001a560008051602062009b8b83398151915281565b6040516001600160a01b0390911681526020015b60405180910390f35b62000130620001d3366004620046ec565b62001ca7565b62000130620001ea366004620049aa565b62002239565b620001306200020136600462004a08565b62002609565b620001306200021836600462004918565b62002ac8565b620001306200022f36600462004a61565b62002ef0565b6200013062000246366004620046ec565b62003030565b620001306200025d36600462004a7b565b6200357d565b6200026d62003c04565b6040519015158152602001620001b9565b6200013062003d2f565b6000546200026d9062010000900460ff1681565b6000546200026d9060ff1681565b600954604051635a6b63c160e11b815260008051602062009b8b8339815191529163b4d6c78291620002e9916001600160a01b03169060040162004af1565b600060405180830381600087803b1580156200030457600080fd5b505af115801562000319573d6000803e3d6000fd5b5050604051635a6b63c160e11b815260008051602062009b8b833981519152925063b4d6c782915062000360906e0c2e074ec69a0dfb2997ba6c7d2e1e9060040162004af1565b600060405180830381600087803b1580156200037b57600080fd5b505af115801562000390573d6000803e3d6000fd5b5050604051635a6b63c160e11b815260008051602062009b8b833981519152925063b4d6c7829150620003dc907341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060040162004af1565b600060405180830381600087803b158015620003f757600080fd5b505af11580156200040c573d6000803e3d6000fd5b5050600954604080516318caf8e360e31b81526001600160a01b0390921660048301526024820152600f60448201526e32b739aa32bc3a2932b9b7b63b32b960891b606482015260008051602062009b8b833981519152925063c657c7189150608401600060405180830381600087803b1580156200048a57600080fd5b505af11580156200049f573d6000803e3d6000fd5b5050604080516318caf8e360e31b81526e0c2e074ec69a0dfb2997ba6c7d2e1e60048201526024810191909152600b60448201526a656e73526567697374727960a81b606482015260008051602062009b8b833981519152925063c657c7189150608401600060405180830381600087803b1580156200051e57600080fd5b505af115801562000533573d6000803e3d6000fd5b5050604080516318caf8e360e31b81527341126ec99f8a989feb503ac7bb4c5e5d40e06fa46004820152602481019190915260096044820152686f6c6448616e646c6560b81b606482015260008051602062009b8b833981519152925063c657c7189150608401600060405180830381600087803b158015620005b557600080fd5b505af1158015620005ca573d6000803e3d6000fd5b50505050604051620005dc9062004676565b604051809103906000f080158015620005f9573d6000803e3d6000fd5b50600a80546001600160a01b0319166001600160a01b03929092169182179055604051620006279062004684565b6001600160a01b039091168152602001604051809103906000f08015801562000654573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b03928316908117909155600a54604051919216907341126ec99f8a989feb503ac7bb4c5e5d40e06fa4906200069f9062004692565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f080158015620006dc573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602062009b8b833981519152634c63e56286158015906200072357508415155b80156200072f57508215155b6040518263ffffffff1660e01b815260040162000750911515815260200190565b600060405180830381600087803b1580156200076b57600080fd5b505af115801562000780573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620007e79316919060040162004b75565b6020604051808303816000875af115801562000807573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200082d919062004bb7565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000885573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620008af919081019062004c1d565b6040805160038082526080820190925291925060009190816020015b6060815260200190600190039081620008cb57905050905084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062000930576200093062004c56565b602002602001018190525086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062000989576200098962004c56565b602002602001018190525088888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508351849250600291508110620009e257620009e262004c56565b602090810291909101015260408051600380825260808201909252600091816020015b606081526020019060019003908162000a0557905050905060405180604001604052806008815260200167697420687572747360c01b8152508160008151811062000a545762000a5462004c56565b6020026020010181905250604051806040016040528060128152602001711cdbc819195c1c9958d85d1959081d1a185d60721b8152508160018151811062000aa05762000aa062004c56565b6020026020010181905250604051806040016040528060048152602001634920616d60e01b8152508160028151811062000ade5762000ade62004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b15801562000b3e57600080fd5b505af115801562000b53573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062000b8b908790869060040162004cc5565b600060405180830381600087803b15801562000ba657600080fd5b505af115801562000bbb573d6000803e3d6000fd5b5060008051602062009b8b833981519152925063b96213e491506e0c2e074ec69a0dfb2997ba6c7d2e1e9050630178b8bf60e01b62000bfa8662003fac565b60405160240162000c0d91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b90941690915262000c7b939260440162004ce0565b600060405180830381600087803b15801562000c9657600080fd5b505af115801562000cab573d6000803e3d6000fd5b505060095460008051602062009b8b833981519152925063b96213e491506001600160a01b0316631674750f60e21b62000ce58662003fac565b8760405160240162000cf992919062004d24565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915262000d3688620040af565b60405160200162000d48919062004d3f565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162000d779392919062004ce0565b600060405180830381600087803b15801562000d9257600080fd5b505af115801562000da7573d6000803e3d6000fd5b50506040516024810187905260008051602062009b8b833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051601f19818403018152918152602080830180516001600160e01b03166330abe98760e01b179052905162000e209187910162004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162000e4f9392919062004ce0565b600060405180830381600087803b15801562000e6a57600080fd5b505af115801562000e7f573d6000803e3d6000fd5b5050600c54604051634949198760e01b81526004810188905262000f2e93506001600160a01b039091169150634949198790602401600060405180830381865afa15801562000ed2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000efc919081019062004c1d565b8b8b8b8b8b8b60405160200162000f199695949392919062004d70565b604051602081830303815290604052620041d0565b50505050505050505050565b604051632631f2b160e11b815287891415600482015260008051602062009b8b83398151915290634c63e56290602401600060405180830381600087803b15801562000f8557600080fd5b505af115801562000f9a573d6000803e3d6000fd5b5050604051602481018b905260008051602062009b8b833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b03909116179052815160008082529181019092526200102e565b6060815260200190600190039081620010185790505b5060405160200162001041919062004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401620010709392919062004ce0565b600060405180830381600087803b1580156200108b57600080fd5b505af1158015620010a0573d6000803e3d6000fd5b505050506000620010b188620040af565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001109573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001133919081019062004c1d565b6040805160038082526080820190925291925060009190816020015b60608152602001906001900390816200114f57905050905084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620011b457620011b462004c56565b602002602001018190525086868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505083518492506001915081106200120d576200120d62004c56565b602002602001018190525088888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001266576200126662004c56565b602090810291909101015260008051602062009b8b83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b620012a98562003fac565b604051602401620012bc91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b9094169091526200132a939260440162004ce0565b600060405180830381600087803b1580156200134557600080fd5b505af11580156200135a573d6000803e3d6000fd5b505060095460008051602062009b8b833981519152925063b96213e491506001600160a01b0316631674750f60e21b620013948562003fac565b86604051602401620013a892919062004d24565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031990951694909417909352519091620013ec9189910162004d3f565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016200141b9392919062004ce0565b600060405180830381600087803b1580156200143657600080fd5b505af11580156200144b573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018f9052620014df93506001600160a01b0390911691506349491987906024015b600060405180830381865afa1580156200149f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014c9919081019062004c1d565b60405180602001604052806000815250620041d0565b5050505050505050505050565b825160008051602062009b8b83398151915290634c63e5629015806200151157508351155b806200151c57508251155b6040518263ffffffff1660e01b81526004016200153d911515815260200190565b600060405180830381600087803b1580156200155857600080fd5b505af11580156200156d573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620015d49316919060040162004b75565b6020604051808303816000875af1158015620015f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200161a919062004bb7565b6040805160038082526080820190925291925060009190816020015b606081526020019060019003908162001636579050509050828160008151811062001665576200166562004c56565b6020026020010181905250838160018151811062001687576200168762004c56565b60200260200101819052508481600281518110620016a957620016a962004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b1580156200170957600080fd5b505af11580156200171e573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b0316630186fe0d60e51b179052915163f28dceb360e01b815260008051602062009b8b833981519152945063f28dceb393506200177a920162004d3f565b600060405180830381600087803b1580156200179557600080fd5b505af1158015620017aa573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620017e2908590859060040162004cc5565b600060405180830381600087803b158015620017fd57600080fd5b505af115801562001812573d6000803e3d6000fd5b5050600c546040516330abe98760e01b815260048101869052620018c493506001600160a01b0390911691506330abe987906024015b600060405180830381865afa15801562001866573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001890919081019062004dae565b6040805160008082526020820190925290620018bd565b6060815260200190600190039081620018a75790505b5062004319565b5050505050565b604051632631f2b160e11b815287891415600482015260008051602062009b8b83398151915290634c63e56290602401600060405180830381600087803b1580156200191657600080fd5b505af11580156200192b573d6000803e3d6000fd5b5050604051602481018b905260008051602062009b8b833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b0390911617905281516000808252918101909252620019bf565b6060815260200190600190039081620019a95790505b50604051602001620019d2919062004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162001a019392919062004ce0565b600060405180830381600087803b15801562001a1c57600080fd5b505af115801562001a31573d6000803e3d6000fd5b50600092506003915062001a429050565b60405190808252806020026020018201604052801562001a7757816020015b606081526020019060019003908162001a615790505b50905082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062001ac75762001ac762004c56565b602002602001018190525084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062001b205762001b2062004c56565b602002602001018190525086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001b795762001b7962004c56565b602090810291909101015260008051602062009b8b83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b62001bbc8562003fac565b60405160240162001bcf91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b03199586161790528151600081830152825180820390920182528083019283905260e087901b90941690915262001c31939260440162004ce0565b600060405180830381600087803b15801562001c4c57600080fd5b505af115801562001c61573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018d905262001c9c93506001600160a01b03909116915063494919879060240162001481565b505050505050505050565b60008051602062009b8b833981519152634c63e562861580159062001ccb57508415155b801562001cd757508215155b6040518263ffffffff1660e01b815260040162001cf8911515815260200190565b600060405180830381600087803b15801562001d1357600080fd5b505af115801562001d28573d6000803e3d6000fd5b50506040805160038082526080820190925262010f2c93506000925090816020015b606081526020019060019003908162001d4a57905050905083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062001daf5762001daf62004c56565b602002602001018190525085858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062001e085762001e0862004c56565b602002602001018190525087878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001e615762001e6162004c56565b6020908102919091010152600c546040805163c548f30960e01b815290516000926001600160a01b03169163c548f30991600480830192869291908290030181865afa15801562001eb6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ee0919081019062004c1d565b905060008051602062009b8b83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b62001f1a8662003fac565b60405160240162001f2d91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b90941690915262001f9b939260440162004ce0565b600060405180830381600087803b15801562001fb657600080fd5b505af115801562001fcb573d6000803e3d6000fd5b505060095460008051602062009b8b833981519152925063b96213e491506001600160a01b0316631674750f60e21b620020058662003fac565b856040516024016200201992919062004d24565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526200205687620040af565b60405160200162002068919062004d3f565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401620020979392919062004ce0565b600060405180830381600087803b158015620020b257600080fd5b505af1158015620020c7573d6000803e3d6000fd5b50506040516024810186905260008051602062009b8b833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051601f19818403018152918152602080830180516001600160e01b03166330abe98760e01b1790529051620021409188910162004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016200216f9392919062004ce0565b600060405180830381600087803b1580156200218a57600080fd5b505af11580156200219f573d6000803e3d6000fd5b5050600c54604051634949198760e01b81526004810187905262001c9c93506001600160a01b039091169150634949198790602401600060405180830381865afa158015620021f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200221c919081019062004c1d565b8a8a8a8a8a8a60405160200162000f199695949392919062004d70565b604051632631f2b160e11b8152811515600482015260008051602062009b8b83398151915290634c63e56290602401600060405180830381600087803b1580156200228357600080fd5b505af115801562002298573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620022ff9316919060040162004b75565b6020604051808303816000875af11580156200231f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002345919062004bb7565b60408051600180825281830190925291925060009190816020015b60608152602001906001900390816200236057905050905083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620023c557620023c562004c56565b602090810291909101015260405163248e63e160e11b81526001600482018190526024820181905260448201819052606482015260008051602062009b8b8339815191529063491cc7c290608401600060405180830381600087803b1580156200242e57600080fd5b505af115801562002443573d6000803e3d6000fd5b5050505083836040516200245992919062004e7f565b604051908190038120600854909184917f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c91620024a49186916001600160a01b039091169062004e8f565b60405180910390a360085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b1580156200250157600080fd5b505af115801562002516573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad91506200254e908590859060040162004cc5565b600060405180830381600087803b1580156200256957600080fd5b505af11580156200257e573d6000803e3d6000fd5b5050600c546040516330abe98760e01b8152600481018690526200260393506001600160a01b0390911691506330abe987906024015b600060405180830381865afa158015620025d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620025fc919081019062004dae565b8262004319565b50505050565b604051632631f2b160e11b8152811515600482015260008051602062009b8b83398151915290634c63e56290602401600060405180830381600087803b1580156200265357600080fd5b505af115801562002668573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620026cf9316919060040162004b75565b6020604051808303816000875af1158015620026ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002715919062004bb7565b604080516001808252818301909252919250600091906020808301908036833701905050905060138160008151811062002753576200275362004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b158015620027b357600080fd5b505af1158015620027c8573d6000803e3d6000fd5b5050600a54604080516060810182526001600160a01b038a8116825260016020830152818301879052915163294e6e9760e11b815291909216935063529cdd2e925062002819919060040162004ebb565b600060405180830381600087803b1580156200283457600080fd5b505af115801562002849573d6000803e3d6000fd5b5060009250600191506200285a9050565b6040519080825280602002602001820160405280156200288f57816020015b6060815260200190600190039081620028795790505b50905084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620028df57620028df62004c56565b602090810291909101015260405163248e63e160e11b81526001600482018190526024820181905260448201819052606482015260008051602062009b8b8339815191529063491cc7c290608401600060405180830381600087803b1580156200294857600080fd5b505af11580156200295d573d6000803e3d6000fd5b5050505084846040516200297392919062004e7f565b6040518091039020837f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8389604051620029af92919062004e8f565b60405180910390a360405163ca669fa760e01b81526001600160a01b038716600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b15801562002a0857600080fd5b505af115801562002a1d573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062002a55908690859060040162004cc5565b600060405180830381600087803b15801562002a7057600080fd5b505af115801562002a85573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262002ac093506001600160a01b0390911691506330abe98790602401620025b4565b505050505050565b825160008051602062009b8b83398151915290634c63e562901580159062002af1575060008451115b801562002aff575060008351115b6040518263ffffffff1660e01b815260040162002b20911515815260200190565b600060405180830381600087803b15801562002b3b57600080fd5b505af115801562002b50573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a09362002bb79316919060040162004b75565b6020604051808303816000875af115801562002bd7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002bfd919062004bb7565b6040805160038082526080820190925291925060009190816020015b606081526020019060019003908162002c19579050509050828160008151811062002c485762002c4862004c56565b6020026020010181905250838160018151811062002c6a5762002c6a62004c56565b6020026020010181905250848160028151811062002c8c5762002c8c62004c56565b6020026020010181905250600085858560405160200162002cb09392919062004f2a565b60408051808303601f190181529082905263248e63e160e11b825260016004830181905260248301819052604483018190526064830152915060008051602062009b8b8339815191529063491cc7c290608401600060405180830381600087803b15801562002d1e57600080fd5b505af115801562002d33573d6000803e3d6000fd5b505050508060405162002d47919062004f8a565b604051908190038120600854909185917f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c9162002d929187916001600160a01b039091169062004e8f565b60405180910390a360085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b15801562002def57600080fd5b505af115801562002e04573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062002e3c908690869060040162004cc5565b600060405180830381600087803b15801562002e5757600080fd5b505af115801562002e6c573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262002ac093506001600160a01b0390911691506330abe98790602401600060405180830381865afa15801562002ebf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ee9919081019062004dae565b8362004319565b6040516024810182905260008051602062009b8b8339815191529063b96213e4907341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b039091161790528151600080825291810190925262002f80565b606081526020019060019003908162002f6a5790505b5060405160200162002f93919062004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162002fc29392919062004ce0565b600060405180830381600087803b15801562002fdd57600080fd5b505af115801562002ff2573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018590526200302d93506001600160a01b03909116915063494919879060240162001481565b50565b60008051602062009b8b833981519152634c63e56286158015906200305457508415155b80156200306057508215155b6040518263ffffffff1660e01b815260040162003081911515815260200190565b600060405180830381600087803b1580156200309c57600080fd5b505af1158015620030b1573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620031189316919060040162004b75565b6020604051808303816000875af115801562003138573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200315e919062004bb7565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa158015620031b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620031e0919081019062004c1d565b6040805160038082526080820190925291925060009190816020015b6060815260200190600190039081620031fc57905050905084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062003261576200326162004c56565b602002602001018190525086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508351849250600191508110620032ba57620032ba62004c56565b602002602001018190525088888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062003313576200331362004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b1580156200337357600080fd5b505af115801562003388573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620033c0908690859060040162004cc5565b600060405180830381600087803b158015620033db57600080fd5b505af1158015620033f0573d6000803e3d6000fd5b5060008051602062009b8b833981519152925063b96213e491506e0c2e074ec69a0dfb2997ba6c7d2e1e9050630178b8bf60e01b6200342f8562003fac565b6040516024016200344291815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b909416909152620034b0939260440162004ce0565b600060405180830381600087803b158015620034cb57600080fd5b505af1158015620034e0573d6000803e3d6000fd5b505060095460008051602062009b8b833981519152925063b96213e491506001600160a01b0316631674750f60e21b6200351a8562003fac565b866040516024016200352e92919062004d24565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526200356b87620040af565b60405160200162002140919062004d3f565b60008051602062009b8b833981519152634c63e5626001600160601b038616601314801590620035b6575060ff866001600160601b0316105b6040518263ffffffff1660e01b8152600401620035d7911515815260200190565b600060405180830381600087803b158015620035f257600080fd5b505af115801562003607573d6000803e3d6000fd5b5050600854604051632631f2b160e11b81526001600160a01b0387811692169190911415600482015260008051602062009b8b8339815191529250634c63e5629150602401600060405180830381600087803b1580156200366757600080fd5b505af11580156200367c573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620036e39316919060040162004b75565b6020604051808303816000875af115801562003703573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003729919062004bb7565b60408051600180825281830190925291925060009190816020015b60608152602001906001900390816200374457905050905083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620037a957620037a962004c56565b602090810291909101015260405163ca669fa760e01b81526001600160a01b038616600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b1580156200380557600080fd5b505af11580156200381a573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b031663075fd2b160e01b179052915163f28dceb360e01b815260008051602062009b8b833981519152945063f28dceb3935062003876920162004d3f565b600060405180830381600087803b1580156200389157600080fd5b505af1158015620038a6573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620038de908590859060040162004cc5565b600060405180830381600087803b158015620038f957600080fd5b505af11580156200390e573d6000803e3d6000fd5b5060009250600191506200391f9050565b60405190808252806020026020018201604052801562003949578160200160208202803683370190505b509050866001600160601b0316816000815181106200396c576200396c62004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b158015620039cc57600080fd5b505af1158015620039e1573d6000803e3d6000fd5b5050600a54604080516060810182526001600160a01b038b8116825260016020830152818301879052915163294e6e9760e11b815291909216935063529cdd2e925062003a32919060040162004ebb565b600060405180830381600087803b15801562003a4d57600080fd5b505af115801562003a62573d6000803e3d6000fd5b505060405163ca669fa760e01b81526001600160a01b038916600482015260008051602062009b8b833981519152925063ca669fa79150602401600060405180830381600087803b15801562003ab757600080fd5b505af115801562003acc573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b031663075fd2b160e01b179052915163f28dceb360e01b815260008051602062009b8b833981519152945063f28dceb3935062003b28920162004d3f565b600060405180830381600087803b15801562003b4357600080fd5b505af115801562003b58573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062003b90908690869060040162004cc5565b600060405180830381600087803b15801562003bab57600080fd5b505af115801562003bc0573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262003bfb93506001600160a01b0390911691506330abe9879060240162001848565b50505050505050565b60008054610100900460ff161562003c255750600054610100900460ff1690565b600060008051602062009b8b8339815191523b1562003d2a576040805160008051602062009b8b833981519152602082018190526519985a5b195960d21b8284015282518083038401815260608301909352600092909162003cac917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800162004fa8565b60408051601f198184030181529082905262003cc89162004f8a565b6000604051808303816000865af19150503d806000811462003d07576040519150601f19603f3d011682016040523d82523d6000602084013e62003d0c565b606091505b509150508080602001905181019062003d26919062004fdb565b9150505b919050565b600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b81526000936001600160a01b039081169363666d87a09362003d9493929091169160040162004b75565b6020604051808303816000875af115801562003db4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003dda919062004bb7565b60408051600080825260208201909252919250908162003e0b565b606081526020019060019003908162003df55790505b5060085460405163ca669fa760e01b81526001600160a01b03909116600482015290915060008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b15801562003e6457600080fd5b505af115801562003e79573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b03166314124ae160e31b179052915163f28dceb360e01b815260008051602062009b8b833981519152945063f28dceb3935062003ed5920162004d3f565b600060405180830381600087803b15801562003ef057600080fd5b505af115801562003f05573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062003f3d908590859060040162004cc5565b600060405180830381600087803b15801562003f5857600080fd5b505af115801562003f6d573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810186905262003fa893506001600160a01b0390911691506330abe9879060240162001848565b5050565b60008060405160200162003fc990620cae8d60eb1b815260030190565b6040516020818303038152906040528051906020012060405160200162003ffa929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b81811015620040a857828482815181106200403a576200403a62004c56565b602002602001015160405160200162004054919062004f8a565b6040516020818303038152906040528051906020012060405160200162004085929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016200401b565b5050919050565b606081600003620040d75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115620041075780620040ee8162005015565b9150620040ff9050600a8362005047565b9150620040db565b60008167ffffffffffffffff81111562004125576200412562004847565b6040519080825280601f01601f19166020018201604052801562004150576020820181803683370190505b5090505b8415620041c857620041686001836200505e565b915062004177600a866200507a565b6200418490603062005091565b60f81b8183815181106200419c576200419c62004c56565b60200101906001600160f81b031916908160001a905350620041c0600a8662005047565b945062004154565b949350505050565b80604051602001620041e3919062004f8a565b60405160208183030381529060405280519060200120826040516020016200420c919062004f8a565b604051602081830303815290604052805190602001201462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620042959060208082526024908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b737472604082015263696e675d60e01b606082015260800190565b60405180910390a17f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf358381604051620042ce9190620050a7565b60405180910390a17f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf358382604051620043079190620050e6565b60405180910390a162003fa8620043a0565b6200432782518251620044a9565b60005b82518110156200439b57620043868382815181106200434d576200434d62004c56565b60200260200101518051906020012083838151811062004371576200437162004c56565b6020026020010151805190602001206200458e565b80620043928162005015565b9150506200432a565b505050565b60008051602062009b8b8339815191523b1562004498576040805160008051602062009b8b833981519152602082018190526519985a5b195960d21b9282019290925260016060820152600091907f70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc49060800160408051601f198184030181529082905262004433929160200162004fa8565b60408051601f19818403018152908290526200444f9162004f8a565b6000604051808303816000865af19150503d80600081146200448e576040519150601f19603f3d011682016040523d82523d6000602084013e62004493565b606091505b505050505b6000805461ff001916610100179055565b80821462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506040516200451c9060208082526022908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e604082015261745d60f01b606082015260800190565b60405180910390a17fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a88160405162004555919062005111565b60405180910390a17fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a8826040516200430791906200514a565b80821462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620046049060208082526025908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b627974604082015264657333325d60d81b606082015260800190565b60405180910390a17fafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99816040516200463d919062005111565b60405180910390a17fafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99826040516200430791906200514a565b6107ed806200517683390190565b612e38806200596383390190565b6113f0806200879b83390190565b60008083601f840112620046b357600080fd5b50813567ffffffffffffffff811115620046cc57600080fd5b602083019150836020828501011115620046e557600080fd5b9250929050565b600080600080600080606087890312156200470657600080fd5b863567ffffffffffffffff808211156200471f57600080fd5b6200472d8a838b01620046a0565b909850965060208901359150808211156200474757600080fd5b620047558a838b01620046a0565b909650945060408901359150808211156200476f57600080fd5b506200477e89828a01620046a0565b979a9699509497509295939492505050565b60008060008060008060008060a0898b031215620047ad57600080fd5b8835975060208901359650604089013567ffffffffffffffff80821115620047d457600080fd5b620047e28c838d01620046a0565b909850965060608b0135915080821115620047fc57600080fd5b6200480a8c838d01620046a0565b909650945060808b01359150808211156200482457600080fd5b50620048338b828c01620046a0565b999c989b5096995094979396929594505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171562004889576200488962004847565b604052919050565b600067ffffffffffffffff821115620048ae57620048ae62004847565b50601f01601f191660200190565b600082601f830112620048ce57600080fd5b8135620048e5620048df8262004891565b6200485d565b818152846020838601011115620048fb57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156200492e57600080fd5b833567ffffffffffffffff808211156200494757600080fd5b6200495587838801620048bc565b945060208601359150808211156200496c57600080fd5b6200497a87838801620048bc565b935060408601359150808211156200499157600080fd5b50620049a086828701620048bc565b9150509250925092565b60008060208385031215620049be57600080fd5b823567ffffffffffffffff811115620049d657600080fd5b620049e485828601620046a0565b90969095509350505050565b80356001600160a01b038116811462003d2a57600080fd5b60008060006040848603121562004a1e57600080fd5b62004a2984620049f0565b9250602084013567ffffffffffffffff81111562004a4657600080fd5b62004a5486828701620046a0565b9497909650939450505050565b60006020828403121562004a7457600080fd5b5035919050565b6000806000806060858703121562004a9257600080fd5b84356001600160601b038116811462004aaa57600080fd5b935062004aba60208601620049f0565b9250604085013567ffffffffffffffff81111562004ad757600080fd5b62004ae587828801620046a0565b95989497509550505050565b6001600160a01b03919091168152604060208201819052600490820152633078363960e01b606082015260800190565b60005b8381101562004b3e57818101518382015260200162004b24565b50506000910152565b6000815180845262004b6181602086016020860162004b21565b601f01601f19169290920160200192915050565b60018060a01b0383168152604060208201526000825160408084015262004ba0608084018262004b47565b905060208401516060840152809150509392505050565b60006020828403121562004bca57600080fd5b5051919050565b600082601f83011262004be357600080fd5b815162004bf4620048df8262004891565b81815284602083860101111562004c0a57600080fd5b620041c882602083016020870162004b21565b60006020828403121562004c3057600080fd5b815167ffffffffffffffff81111562004c4857600080fd5b620041c88482850162004bd1565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501808196508360051b8101915082860160005b8581101562004cb857828403895262004ca584835162004b47565b9885019893509084019060010162004c8a565b5091979650505050505050565b828152604060208201526000620041c8604083018462004c6c565b6001600160a01b038416815260606020820181905260009062004d069083018562004b47565b828103604084015262004d1a818562004b47565b9695505050505050565b828152604060208201526000620041c8604083018462004b47565b60208152600062004d54602083018462004b47565b9392505050565b60208152600062004d54602083018462004c6c565b858782376000868201601760f91b80825286886001840137600191870191820152838560028301376000930160020192835250909695505050505050565b6000602080838503121562004dc257600080fd5b825167ffffffffffffffff8082111562004ddb57600080fd5b818501915085601f83011262004df057600080fd5b81518181111562004e055762004e0562004847565b8060051b62004e168582016200485d565b918252838101850191858101908984111562004e3157600080fd5b86860192505b8383101562004e725782518581111562004e515760008081fd5b62004e618b89838a010162004bd1565b835250918601919086019062004e37565b9998505050505050505050565b8183823760009101908152919050565b60408152600062004ea4604083018562004c6c565b905060018060a01b03831660208301529392505050565b602080825282516001600160a01b0316828201528281015160408084019190915283015160608084015280516080840181905260009291820190839060a08601905b8083101562004f1f578351825292840192600192909201919084019062004efd565b509695505050505050565b6000845162004f3e81846020890162004b21565b8083019050601760f91b808252855162004f60816001850160208a0162004b21565b6001920191820152835162004f7d81600284016020880162004b21565b0160020195945050505050565b6000825162004f9e81846020870162004b21565b9190910192915050565b6001600160e01b031983168152815160009062004fcd81600485016020870162004b21565b919091016004019392505050565b60006020828403121562004fee57600080fd5b8151801515811462004d5457600080fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016200502a576200502a62004fff565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008262005059576200505962005031565b500490565b8181038181111562005074576200507462004fff565b92915050565b6000826200508c576200508c62005031565b500690565b8082018082111562005074576200507462004fff565b604081526000620050d260408301600a8152690808115e1c1958dd195960b21b602082015260400190565b8281036020840152620041c8818562004b47565b604081526000620050d260408301600a815269080808081058dd1d585b60b21b602082015260400190565b6040815260006200513c60408301600a8152690808115e1c1958dd195960b21b602082015260400190565b905082602083015292915050565b6040815260006200513c60408301600a815269080808081058dd1d585b60b21b60208201526040019056fe608060405234801561001057600080fd5b506107cd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630f5932f01461005c578063529cdd2e1461008457806380deb230146100995780638d5f697f146100d7578063c161c93f146100ea575b600080fd5b61006f61006a36600461054d565b6100fd565b60405190151581526020015b60405180910390f35b6100976100923660046105bc565b6101a4565b005b6100c96100a73660046105fe565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161007b565b6100976100e536600461063a565b610269565b61006f6100f836600461067c565b610421565b6000805b8281101561019557600084848381811061011d5761011d6106be565b90506020020135905060ff81111561014857604051638e9503a960e01b815260040160405180910390fd5b6001600160a01b03888116600090815260208181526040808320938b168352928152828220898352905290812054821c600116900361018c5760009250505061019b565b50600101610101565b50600190505b95945050505050565b60006101bb6101b660408401846106d4565b610482565b9050806000806101ce602086018661071e565b6001600160a01b03168152602080820192909252604090810160009081203380835290845282822087850180358085529190955292909120939093559190610216908561071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32061024d60408701876106d4565b8660405161025d93929190610739565b60405180910390a45050565b60005b8181101561041c5760006102ab84848481811061028b5761028b6106be565b905060200281019061029d9190610777565b6101b69060408101906106d4565b9050806000808686868181106102c3576102c36106be565b90506020028101906102d59190610777565b6102e390602081019061071e565b6001600160a01b031681526020808201929092526040908101600090812033825290925281209086868681811061031c5761031c6106be565b905060200281019061032e9190610777565b60200135815260200190815260200160002081905550838383818110610356576103566106be565b90506020028101906103689190610777565b602001353385858581811061037f5761037f6106be565b90506020028101906103919190610777565b61039f90602081019061071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3208787878181106103db576103db6106be565b90506020028101906103ed9190610777565b6103fb9060408101906106d4565b8660405161040b93929190610739565b60405180910390a45060010161026c565b505050565b600060ff82111561044557604051638e9503a960e01b815260040160405180910390fd5b506001600160a01b03808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156104de5760008484838181106104a2576104a26106be565b90506020020135905060ff8111156104cd57604051638e9503a960e01b815260040160405180910390fd5b60019081901b929092179101610486565b5092915050565b80356001600160a01b03811681146104fc57600080fd5b919050565b60008083601f84011261051357600080fd5b50813567ffffffffffffffff81111561052b57600080fd5b6020830191508360208260051b850101111561054657600080fd5b9250929050565b60008060008060006080868803121561056557600080fd5b61056e866104e5565b945061057c602087016104e5565b935060408601359250606086013567ffffffffffffffff81111561059f57600080fd5b6105ab88828901610501565b969995985093965092949392505050565b6000602082840312156105ce57600080fd5b813567ffffffffffffffff8111156105e557600080fd5b8201606081850312156105f757600080fd5b9392505050565b60008060006060848603121561061357600080fd5b61061c846104e5565b925061062a602085016104e5565b9150604084013590509250925092565b6000806020838503121561064d57600080fd5b823567ffffffffffffffff81111561066457600080fd5b61067085828601610501565b90969095509350505050565b6000806000806080858703121561069257600080fd5b61069b856104e5565b93506106a9602086016104e5565b93969395505050506040820135916060013590565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126106eb57600080fd5b83018035915067ffffffffffffffff82111561070657600080fd5b6020019150600581901b360382131561054657600080fd5b60006020828403121561073057600080fd5b6105f7826104e5565b6040808252810183905260006001600160fb1b0384111561075957600080fd5b8360051b808660608501376020830193909352500160600192915050565b60008235605e1983360301811261078d57600080fd5b919091019291505056fea26469706673582212201926e03f129c01ce3a16319ed5419b34a9479a82086308f85a3f3a61dd87bc7664736f6c634300081000336101606040526000600b553480156200001757600080fd5b5060405162002e3838038062002e388339810160408190526200003a91620001ce565b6040805180820182526011808252704a75696365626f782050726f6a6563747360781b60208084018290528451808601865260018152603160f81b81830152855180870187529384528382019290925284518086019095526008855267094aa92868a849eb60c31b908501526001600160a01b03851660805291926000620000c38382620002a5565b506001620000d28282620002a5565b505082516020938401208251928401929092206101008390526101208190524660c0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81890181905281830197909752606081019490945260808401929092523060a080850182905283518086038201815294909201909252825192909501919091209093525060e0919091526101405262000175336200017c565b5062000371565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215620001e157600080fd5b81516001600160a01b0381168114620001f957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022b57607f821691505b6020821081036200024c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a057600081815260208120601f850160051c810160208610156200027b5750805b601f850160051c820191505b818110156200029c5782815560010162000287565b5050505b505050565b81516001600160401b03811115620002c157620002c162000200565b620002d981620002d2845462000216565b8462000252565b602080601f831160018114620003115760008415620002f85750858301515b600019600386901b1c1916600185901b1785556200029c565b600085815260208120601f198616915b82811015620003425788860151825594840194600190910190840162000321565b5085821015620003615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516101205161014051612a5e620003da600039600061127c015260006112cb015260006112a6015260006111ff01526000611229015260006112530152600081816103e20152818161136001526114070152612a5e6000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063666d87a01161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042a578063e131fc0c1461043d578063e985e9c514610450578063f2fde38b1461048c57600080fd5b8063a22cb465146103ca578063ad007d63146103dd578063b88d4fde14610404578063c3cda5201461041757600080fd5b80638da5cb5b116100de5780638da5cb5b1461038b5780638e539e8c1461039c57806395d89b41146103af5780639ab24eb0146103b757600080fd5b8063666d87a01461034a57806370a082311461035d578063715018a6146103705780637ecebe001461037857600080fd5b80633644e5151161018757806342842e0e1161015657806342842e0e146102e5578063587cde1e146102f85780635c19a95c146103245780636352211e1461033757600080fd5b80633644e515146102a457806336574975146102ac57806339fbc775146102bf5780633a46b1a8146102d257600080fd5b8063081812fc116101c3578063081812fc1461023e578063095ea7b31461026957806323b872dd1461027e5780632407497e1461029157600080fd5b806301ffc9a7146101ea57806306661abd1461021257806306fdde0314610229575b600080fd5b6101fd6101f83660046121c1565b61049f565b60405190151581526020015b60405180910390f35b61021b600b5481565b604051908152602001610209565b6102316104e5565b604051610209919061222e565b61025161024c366004612241565b610577565b6040516001600160a01b039091168152602001610209565b61027c61027736600461226f565b610611565b005b61027c61028c36600461229b565b610726565b61027c61029f3660046122dc565b610757565b61021b6107d5565b61027c6102ba36600461230b565b6107e4565b6102316102cd366004612352565b61086f565b61021b6102e036600461226f565b610914565b61027c6102f336600461229b565b61093d565b6102516103063660046122dc565b6001600160a01b039081166000908152600660205260409020541690565b61027c6103323660046122dc565b610958565b610251610345366004612241565b610967565b61021b610358366004612374565b6109de565b61021b61036b3660046122dc565b610a92565b61027c610b19565b61021b6103863660046122dc565b610b4f565b600a546001600160a01b0316610251565b61021b6103aa366004612241565b610b6d565b610231610bc9565b61021b6103c53660046122dc565b610bd8565b61027c6103d83660046123bc565b610bf9565b6102517f000000000000000000000000000000000000000000000000000000000000000081565b61027c610412366004612464565b610c04565b61027c610425366004612513565b610c3c565b610231610438366004612241565b610d69565b600d54610251906001600160a01b031681565b6101fd61045e366004612575565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61027c61049a3660046122dc565b610e00565b60006001600160e01b0319821663aa91a66f60e01b14806104d057506001600160e01b0319821663ad007d6360e01b145b806104df57506104df82610e9b565b92915050565b6060600080546104f4906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906125a3565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061061c82610967565b9050806001600160a01b0316836001600160a01b0316036106895760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ec565b336001600160a01b03821614806106a557506106a5813361045e565b6107175760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b6107218383610eeb565b505050565b6107303382610f59565b61074c5760405162461bcd60e51b81526004016105ec906125d7565b610721838383611050565b600a546001600160a01b031633146107815760405162461bcd60e51b81526004016105ec90612628565b600d80546001600160a01b0319166001600160a01b0383169081179091556040513381527fe7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c169060200160405180910390a250565b60006107df6111f2565b905090565b6107ed82610967565b8260066107fb838383611319565b610805848061265d565b6000878152600c6020908152604080832089830135845290915290209161082d9190836126f2565b50847fd07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e685336040516108609291906127b3565b60405180910390a25050505050565b600c60209081526000928352604080842090915290825290208054610893906125a3565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906125a3565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b505050505081565b6001600160a01b03821660009081526007602052604081206109369083611492565b9392505050565b61072183838360405180602001604052806000815250610c04565b3361096381836115a1565b5050565b6000818152600260205260408120546001600160a01b0316806104df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ec565b6000600b600081546109ef9061285b565b91829055509050610a008382611613565b6000610a0c838061265d565b90501115610a4857610a1e828061265d565b6000838152600c60209081526040808320878301358452909152902091610a469190836126f2565b505b826001600160a01b0316817fa1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d48433604051610a849291906127b3565b60405180910390a392915050565b60006001600160a01b038216610afd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b435760405162461bcd60e51b81526004016105ec90612628565b610b4d600061162d565b565b6001600160a01b0381166000908152600960205260408120546104df565b6000438210610bbe5760405162461bcd60e51b815260206004820152601a60248201527f566f7465733a20626c6f636b206e6f7420796574206d696e656400000000000060448201526064016105ec565b6104df600883611492565b6060600180546104f4906125a3565b6001600160a01b03811660009081526007602052604081206104df9061167f565b6109633383836116db565b610c0e3383610f59565b610c2a5760405162461bcd60e51b81526004016105ec906125d7565b610c36848484846117a9565b50505050565b83421115610c8c5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e61747572652065787069726564000000000000000060448201526064016105ec565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206117dc565b85858561182a565b9050610d1181611852565b8614610d565760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b60448201526064016105ec565b610d6081886115a1565b50505050505050565b600d546060906001600160a01b031680610d93575050604080516020810190915260008152919050565b604051636d02a25560e11b8152600481018490526001600160a01b0382169063da0544aa90602401600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109369190810190612874565b600a546001600160a01b03163314610e2a5760405162461bcd60e51b81526004016105ec90612628565b6001600160a01b038116610e8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b610e988161162d565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ecc57506001600160e01b03198216635b5e139f60e01b145b806104df57506301ffc9a760e01b6001600160e01b03198316146104df565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2082610967565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ec565b6000610fdd83610967565b9050806001600160a01b0316846001600160a01b031614806110185750836001600160a01b031661100d84610577565b6001600160a01b0316145b8061104857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106382610967565b6001600160a01b0316146110c75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105ec565b6001600160a01b0382166111295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b611134600082610eeb565b6001600160a01b038316600090815260036020526040812080546001929061115d9084906128eb565b90915550506001600160a01b038216600090815260036020526040812080546001929061118b9084906128fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461072183838361187a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561124b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561127557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b336001600160a01b038416148015906113cd575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612911565b155b8015611474575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa15801561144e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114729190612911565b155b156107215760405163075fd2b160e01b815260040160405180910390fd5b60004382106114e35760405162461bcd60e51b815260206004820181905260248201527f436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e656460448201526064016105ec565b825460005b818110156115485760006114fc8284611886565b9050848660000182815481106115145761151461292e565b60009182526020909120015463ffffffff16111561153457809250611542565b61153f8160016128fe565b91505b506114e8565b811561158c578461155a6001846128eb565b8154811061156a5761156a61292e565b60009182526020909120015464010000000090046001600160e01b031661158f565b60005b6001600160e01b031695945050505050565b6001600160a01b0382811660008181526006602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610721818361160e866118a1565b6118ac565b6109638282604051806020016040528060008152506119da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805460009080156116c857826116966001836128eb565b815481106116a6576116a661292e565b60009182526020909120015464010000000090046001600160e01b03166116cb565b60005b6001600160e01b03169392505050565b816001600160a01b0316836001600160a01b03160361173c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117b4848484611050565b6117c084848484611a0d565b610c365760405162461bcd60e51b81526004016105ec90612944565b60006104df6117e96111f2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183b87878787611b0b565b9150915061184881611bf8565b5095945050505050565b6001600160a01b03811660009081526009602052604090208054600181018255905b50919050565b61072183836001611dae565b60006118956002848418612996565b610936908484166128fe565b60006104df82610a92565b816001600160a01b0316836001600160a01b0316141580156118ce5750600081115b15610721576001600160a01b0383161561195c576001600160a01b0383166000908152600760205260408120819061190990611e1e85611e2a565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611951929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610721576001600160a01b0382166000908152600760205260408120819061199290611e5885611e2a565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051610860929190918252602082015260400190565b6119e48383611e64565b6119f16000848484611a0d565b6107215760405162461bcd60e51b81526004016105ec90612944565b60006001600160a01b0384163b15611b0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a519033908990889088906004016129b8565b6020604051808303816000875af1925050508015611a8c575060408051601f3d908101601f19168201909252611a89918101906129f5565b60015b611ae9573d808015611aba576040519150601f19603f3d011682016040523d82523d6000602084013e611abf565b606091505b508051600003611ae15760405162461bcd60e51b81526004016105ec90612944565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611048565b506001611048565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b425750600090506003611bef565b8460ff16601b14158015611b5a57508460ff16601c14155b15611b6b5750600090506004611bef565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bbf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611be857600060019250925050611bef565b9150600090505b94509492505050565b6000816004811115611c0c57611c0c612a12565b03611c145750565b6001816004811115611c2857611c28612a12565b03611c755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ec565b6002816004811115611c8957611c89612a12565b03611cd65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ec565b6003816004811115611cea57611cea612a12565b03611d425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ec565b6004816004811115611d5657611d56612a12565b03610e985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ec565b6001600160a01b038316611dcd57611dca6008611e5883611e2a565b50505b6001600160a01b038216611dec57611de96008611e1e83611e2a565b50505b6001600160a01b03838116600090815260066020526040808220548584168352912054610721929182169116836118ac565b600061093682846128eb565b600080611e4c85611e47611e3d8861167f565b868863ffffffff16565b611fae565b91509150935093915050565b600061093682846128fe565b6001600160a01b038216611eba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b031615611f1f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b0382166000908152600360205260408120805460019290611f489084906128fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109636000838361187a565b8154600090819081611fbf8661167f565b9050600082118015611ffd57504386611fd96001856128eb565b81548110611fe957611fe961292e565b60009182526020909120015463ffffffff16145b1561205d5761200b856120d9565b866120176001856128eb565b815481106120275761202761292e565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506120cb565b85600001604051806040016040528061207543612146565b63ffffffff168152602001612089886120d9565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b9250839150505b9250929050565b60006001600160e01b038211156121425760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ec565b5090565b600063ffffffff8211156121425760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ec565b6001600160e01b031981168114610e9857600080fd5b6000602082840312156121d357600080fd5b8135610936816121ab565b60005b838110156121f95781810151838201526020016121e1565b50506000910152565b6000815180845261221a8160208601602086016121de565b601f01601f19169290920160200192915050565b6020815260006109366020830184612202565b60006020828403121561225357600080fd5b5035919050565b6001600160a01b0381168114610e9857600080fd5b6000806040838503121561228257600080fd5b823561228d8161225a565b946020939093013593505050565b6000806000606084860312156122b057600080fd5b83356122bb8161225a565b925060208401356122cb8161225a565b929592945050506040919091013590565b6000602082840312156122ee57600080fd5b81356109368161225a565b60006040828403121561187457600080fd5b6000806040838503121561231e57600080fd5b82359150602083013567ffffffffffffffff81111561233c57600080fd5b612348858286016122f9565b9150509250929050565b6000806040838503121561236557600080fd5b50508035926020909101359150565b6000806040838503121561238757600080fd5b82356123928161225a565b9150602083013567ffffffffffffffff81111561233c57600080fd5b8015158114610e9857600080fd5b600080604083850312156123cf57600080fd5b82356123da8161225a565b915060208301356123ea816123ae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612434576124346123f5565b604052919050565b600067ffffffffffffffff821115612456576124566123f5565b50601f01601f191660200190565b6000806000806080858703121561247a57600080fd5b84356124858161225a565b935060208501356124958161225a565b925060408501359150606085013567ffffffffffffffff8111156124b857600080fd5b8501601f810187136124c957600080fd5b80356124dc6124d78261243c565b61240b565b8181528860208385010111156124f157600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c0878903121561252c57600080fd5b86356125378161225a565b95506020870135945060408701359350606087013560ff8116811461255b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561258857600080fd5b82356125938161225a565b915060208301356123ea8161225a565b600181811c908216806125b757607f821691505b60208210810361187457634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e1984360301811261267457600080fd5b83018035915067ffffffffffffffff82111561268f57600080fd5b6020019150368190038213156120d257600080fd5b601f82111561072157600081815260208120601f850160051c810160208610156126cb5750805b601f850160051c820191505b818110156126ea578281556001016126d7565b505050505050565b67ffffffffffffffff83111561270a5761270a6123f5565b61271e8361271883546125a3565b836126a4565b6000601f841160018114612752576000851561273a5750838201355b600019600387901b1c1916600186901b1783556127ac565b600083815260209020601f19861690835b828110156127835786850135825560209485019460019092019101612763565b50868210156127a05760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6040815260008335601e198536030181126127cd57600080fd5b840160208101903567ffffffffffffffff8111156127ea57600080fd5b8036038213156127f957600080fd5b604080850152806080850152808260a0860137600060a082860101526020860135606085015260a0601f19601f8301168501019250505061093660208301846001600160a01b03169052565b634e487b7160e01b600052601160045260246000fd5b60006001820161286d5761286d612845565b5060010190565b60006020828403121561288657600080fd5b815167ffffffffffffffff81111561289d57600080fd5b8201601f810184136128ae57600080fd5b80516128bc6124d78261243c565b8181528560208385010111156128d157600080fd5b6128e28260208301602086016121de565b95945050505050565b818103818111156104df576104df612845565b808201808211156104df576104df612845565b60006020828403121561292357600080fd5b8151610936816123ae565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826129b357634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129eb90830184612202565b9695505050505050565b600060208284031215612a0757600080fd5b8151610936816121ab565b634e487b7160e01b600052602160045260246000fdfea264697066735822122051d42021051642f53d1d1aedfb9274462f7b8b56e0b54d4ec8da05a2a0e001f464736f6c6343000810003360e060405234801561001057600080fd5b50604051620013f0380380620013f083398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f1620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f16000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e6e565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e88565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9b565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec4565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610eda565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef6565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f20565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f20565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f20565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f20565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610f9f565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9b565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611050565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611069565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff919061109e565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061109e565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d6565b815181106108f6576108f6610ec4565b602002602001015160405160200161090f9291906110ef565b60405160208183030381529060405292508181101561094b5782604051602001610939919061111e565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec4565b60200260200101516040516020016109fa9190610eda565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611143565b9150610a969050600a83611172565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d6565b9150610b04600a86611186565b610b0f90603061119a565b60f81b818381518110610b2457610b24610ec4565b60200101906001600160f81b031916908160001a905350610b46600a86611172565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111fb565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f20565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610e6157601f19868403018952610e4f838351610dea565b98840198925090830190600101610e33565b5090979650505050505050565b602081526000610e816020830184610e16565b9392505050565b602081526000610e816020830184610dea565b600060208284031215610ead57600080fd5b81516001600160a01b0381168114610e8157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eec818460208701610dc6565b9190910192915050565b604081526000610f096040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3457607f821691505b602082108103610f5457634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6b57600080fd5b8151610f79610d0382610c85565b818152846020838601011115610f8e57600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb257600080fd5b825167ffffffffffffffff80821115610fca57600080fd5b818501915085601f830112610fde57600080fd5b8151610fec610d0382610c61565b81815260059190911b8301840190848101908883111561100b57600080fd5b8585015b83811015611043578051858111156110275760008081fd5b6110358b89838a0101610f5a565b84525091860191860161100f565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107b57600080fd5b815167ffffffffffffffff81111561109257600080fd5b610b4d84828501610f5a565b6000602082840312156110b057600080fd5b81518015158114610e8157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110e9576110e96110c0565b92915050565b60008351611101818460208801610dc6565b835190830190611115818360208801610dc6565b01949350505050565b60008251611130818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611155576111556110c0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111815761118161115c565b500490565b6000826111955761119561115c565b500690565b808201808211156110e9576110e96110c0565b601f8211156108c657600081815260208120601f850160051c810160208610156111d45750805b601f850160051c820191505b818110156111f3578281556001016111e0565b505050505050565b815167ffffffffffffffff81111561121557611215610c1a565b611229816112238454610f20565b846111ad565b602080601f83116001811461125e57600084156112465750858301515b600019600386901b1c1916600185901b1785556111f3565b600085815260208120601f198616915b8281101561128d5788860151825594840194600190910190840161126e565b50858210156112ab5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212206b5d832658cbd393fc3e01826739b06671e949a1ba66e37e18e55cfb216e196864736f6c634300081000330000000000000000000000007109709ecfa91a80626ff3989d68f67f5b1dd12da2646970667358221220b1885c016f9d193c5b39832a3b9564b74fb018fd2cdf1680bf46e03ddad6ff7164736f6c63430008100033", - "sourceMap": "732:14932:42:-:0;;;1572:26:3;;;170:28:4;-1:-1:-1;;170:28:4;;;;;;930:39:42;;;-1:-1:-1;;;;;;930:39:42;;;961:7;930:39;;;;974:61;;;;;;1028:5;974:61;;;732:14932;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x60806040523480156200001157600080fd5b5060043610620001215760003560e01c8063804febd711620000af578063a1296985116200007a578063a1296985146200024c578063ba414fa61462000263578063d33518fd146200027e578063f8ccbf471462000288578063fa7626d4146200029c57600080fd5b8063804febd714620001f05780638bbdf5ba14620002075780638f5f00e4146200021e5780639edca9cd146200023557600080fd5b806319f37fcc11620000f057806319f37fcc14620001775780633a768463146200018e5780635c17d79914620001c257806379ee9c1614620001d957600080fd5b80630a9254e414620001265780630bc1349a1462000132578063156d3f6314620001495780631641e69d1462000160575b600080fd5b62000130620002aa565b005b6200013062000143366004620046ec565b620006ff565b620001306200015a36600462004790565b62000f3a565b620001306200017136600462004918565b620014ec565b620001306200018836600462004790565b620018cb565b620001a560008051602062009b8b83398151915281565b6040516001600160a01b0390911681526020015b60405180910390f35b62000130620001d3366004620046ec565b62001ca7565b62000130620001ea366004620049aa565b62002239565b620001306200020136600462004a08565b62002609565b620001306200021836600462004918565b62002ac8565b620001306200022f36600462004a61565b62002ef0565b6200013062000246366004620046ec565b62003030565b620001306200025d36600462004a7b565b6200357d565b6200026d62003c04565b6040519015158152602001620001b9565b6200013062003d2f565b6000546200026d9062010000900460ff1681565b6000546200026d9060ff1681565b600954604051635a6b63c160e11b815260008051602062009b8b8339815191529163b4d6c78291620002e9916001600160a01b03169060040162004af1565b600060405180830381600087803b1580156200030457600080fd5b505af115801562000319573d6000803e3d6000fd5b5050604051635a6b63c160e11b815260008051602062009b8b833981519152925063b4d6c782915062000360906e0c2e074ec69a0dfb2997ba6c7d2e1e9060040162004af1565b600060405180830381600087803b1580156200037b57600080fd5b505af115801562000390573d6000803e3d6000fd5b5050604051635a6b63c160e11b815260008051602062009b8b833981519152925063b4d6c7829150620003dc907341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060040162004af1565b600060405180830381600087803b158015620003f757600080fd5b505af11580156200040c573d6000803e3d6000fd5b5050600954604080516318caf8e360e31b81526001600160a01b0390921660048301526024820152600f60448201526e32b739aa32bc3a2932b9b7b63b32b960891b606482015260008051602062009b8b833981519152925063c657c7189150608401600060405180830381600087803b1580156200048a57600080fd5b505af11580156200049f573d6000803e3d6000fd5b5050604080516318caf8e360e31b81526e0c2e074ec69a0dfb2997ba6c7d2e1e60048201526024810191909152600b60448201526a656e73526567697374727960a81b606482015260008051602062009b8b833981519152925063c657c7189150608401600060405180830381600087803b1580156200051e57600080fd5b505af115801562000533573d6000803e3d6000fd5b5050604080516318caf8e360e31b81527341126ec99f8a989feb503ac7bb4c5e5d40e06fa46004820152602481019190915260096044820152686f6c6448616e646c6560b81b606482015260008051602062009b8b833981519152925063c657c7189150608401600060405180830381600087803b158015620005b557600080fd5b505af1158015620005ca573d6000803e3d6000fd5b50505050604051620005dc9062004676565b604051809103906000f080158015620005f9573d6000803e3d6000fd5b50600a80546001600160a01b0319166001600160a01b03929092169182179055604051620006279062004684565b6001600160a01b039091168152602001604051809103906000f08015801562000654573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b03928316908117909155600a54604051919216907341126ec99f8a989feb503ac7bb4c5e5d40e06fa4906200069f9062004692565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f080158015620006dc573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602062009b8b833981519152634c63e56286158015906200072357508415155b80156200072f57508215155b6040518263ffffffff1660e01b815260040162000750911515815260200190565b600060405180830381600087803b1580156200076b57600080fd5b505af115801562000780573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620007e79316919060040162004b75565b6020604051808303816000875af115801562000807573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200082d919062004bb7565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000885573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620008af919081019062004c1d565b6040805160038082526080820190925291925060009190816020015b6060815260200190600190039081620008cb57905050905084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062000930576200093062004c56565b602002602001018190525086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062000989576200098962004c56565b602002602001018190525088888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508351849250600291508110620009e257620009e262004c56565b602090810291909101015260408051600380825260808201909252600091816020015b606081526020019060019003908162000a0557905050905060405180604001604052806008815260200167697420687572747360c01b8152508160008151811062000a545762000a5462004c56565b6020026020010181905250604051806040016040528060128152602001711cdbc819195c1c9958d85d1959081d1a185d60721b8152508160018151811062000aa05762000aa062004c56565b6020026020010181905250604051806040016040528060048152602001634920616d60e01b8152508160028151811062000ade5762000ade62004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b15801562000b3e57600080fd5b505af115801562000b53573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062000b8b908790869060040162004cc5565b600060405180830381600087803b15801562000ba657600080fd5b505af115801562000bbb573d6000803e3d6000fd5b5060008051602062009b8b833981519152925063b96213e491506e0c2e074ec69a0dfb2997ba6c7d2e1e9050630178b8bf60e01b62000bfa8662003fac565b60405160240162000c0d91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b90941690915262000c7b939260440162004ce0565b600060405180830381600087803b15801562000c9657600080fd5b505af115801562000cab573d6000803e3d6000fd5b505060095460008051602062009b8b833981519152925063b96213e491506001600160a01b0316631674750f60e21b62000ce58662003fac565b8760405160240162000cf992919062004d24565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915262000d3688620040af565b60405160200162000d48919062004d3f565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162000d779392919062004ce0565b600060405180830381600087803b15801562000d9257600080fd5b505af115801562000da7573d6000803e3d6000fd5b50506040516024810187905260008051602062009b8b833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051601f19818403018152918152602080830180516001600160e01b03166330abe98760e01b179052905162000e209187910162004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162000e4f9392919062004ce0565b600060405180830381600087803b15801562000e6a57600080fd5b505af115801562000e7f573d6000803e3d6000fd5b5050600c54604051634949198760e01b81526004810188905262000f2e93506001600160a01b039091169150634949198790602401600060405180830381865afa15801562000ed2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000efc919081019062004c1d565b8b8b8b8b8b8b60405160200162000f199695949392919062004d70565b604051602081830303815290604052620041d0565b50505050505050505050565b604051632631f2b160e11b815287891415600482015260008051602062009b8b83398151915290634c63e56290602401600060405180830381600087803b15801562000f8557600080fd5b505af115801562000f9a573d6000803e3d6000fd5b5050604051602481018b905260008051602062009b8b833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b03909116179052815160008082529181019092526200102e565b6060815260200190600190039081620010185790505b5060405160200162001041919062004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401620010709392919062004ce0565b600060405180830381600087803b1580156200108b57600080fd5b505af1158015620010a0573d6000803e3d6000fd5b505050506000620010b188620040af565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001109573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001133919081019062004c1d565b6040805160038082526080820190925291925060009190816020015b60608152602001906001900390816200114f57905050905084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620011b457620011b462004c56565b602002602001018190525086868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505083518492506001915081106200120d576200120d62004c56565b602002602001018190525088888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001266576200126662004c56565b602090810291909101015260008051602062009b8b83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b620012a98562003fac565b604051602401620012bc91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b9094169091526200132a939260440162004ce0565b600060405180830381600087803b1580156200134557600080fd5b505af11580156200135a573d6000803e3d6000fd5b505060095460008051602062009b8b833981519152925063b96213e491506001600160a01b0316631674750f60e21b620013948562003fac565b86604051602401620013a892919062004d24565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031990951694909417909352519091620013ec9189910162004d3f565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016200141b9392919062004ce0565b600060405180830381600087803b1580156200143657600080fd5b505af11580156200144b573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018f9052620014df93506001600160a01b0390911691506349491987906024015b600060405180830381865afa1580156200149f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014c9919081019062004c1d565b60405180602001604052806000815250620041d0565b5050505050505050505050565b825160008051602062009b8b83398151915290634c63e5629015806200151157508351155b806200151c57508251155b6040518263ffffffff1660e01b81526004016200153d911515815260200190565b600060405180830381600087803b1580156200155857600080fd5b505af11580156200156d573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620015d49316919060040162004b75565b6020604051808303816000875af1158015620015f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200161a919062004bb7565b6040805160038082526080820190925291925060009190816020015b606081526020019060019003908162001636579050509050828160008151811062001665576200166562004c56565b6020026020010181905250838160018151811062001687576200168762004c56565b60200260200101819052508481600281518110620016a957620016a962004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b1580156200170957600080fd5b505af11580156200171e573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b0316630186fe0d60e51b179052915163f28dceb360e01b815260008051602062009b8b833981519152945063f28dceb393506200177a920162004d3f565b600060405180830381600087803b1580156200179557600080fd5b505af1158015620017aa573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620017e2908590859060040162004cc5565b600060405180830381600087803b158015620017fd57600080fd5b505af115801562001812573d6000803e3d6000fd5b5050600c546040516330abe98760e01b815260048101869052620018c493506001600160a01b0390911691506330abe987906024015b600060405180830381865afa15801562001866573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001890919081019062004dae565b6040805160008082526020820190925290620018bd565b6060815260200190600190039081620018a75790505b5062004319565b5050505050565b604051632631f2b160e11b815287891415600482015260008051602062009b8b83398151915290634c63e56290602401600060405180830381600087803b1580156200191657600080fd5b505af11580156200192b573d6000803e3d6000fd5b5050604051602481018b905260008051602062009b8b833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b0390911617905281516000808252918101909252620019bf565b6060815260200190600190039081620019a95790505b50604051602001620019d2919062004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162001a019392919062004ce0565b600060405180830381600087803b15801562001a1c57600080fd5b505af115801562001a31573d6000803e3d6000fd5b50600092506003915062001a429050565b60405190808252806020026020018201604052801562001a7757816020015b606081526020019060019003908162001a615790505b50905082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062001ac75762001ac762004c56565b602002602001018190525084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062001b205762001b2062004c56565b602002602001018190525086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001b795762001b7962004c56565b602090810291909101015260008051602062009b8b83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b62001bbc8562003fac565b60405160240162001bcf91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b03199586161790528151600081830152825180820390920182528083019283905260e087901b90941690915262001c31939260440162004ce0565b600060405180830381600087803b15801562001c4c57600080fd5b505af115801562001c61573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018d905262001c9c93506001600160a01b03909116915063494919879060240162001481565b505050505050505050565b60008051602062009b8b833981519152634c63e562861580159062001ccb57508415155b801562001cd757508215155b6040518263ffffffff1660e01b815260040162001cf8911515815260200190565b600060405180830381600087803b15801562001d1357600080fd5b505af115801562001d28573d6000803e3d6000fd5b50506040805160038082526080820190925262010f2c93506000925090816020015b606081526020019060019003908162001d4a57905050905083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062001daf5762001daf62004c56565b602002602001018190525085858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062001e085762001e0862004c56565b602002602001018190525087878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001e615762001e6162004c56565b6020908102919091010152600c546040805163c548f30960e01b815290516000926001600160a01b03169163c548f30991600480830192869291908290030181865afa15801562001eb6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ee0919081019062004c1d565b905060008051602062009b8b83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b62001f1a8662003fac565b60405160240162001f2d91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b90941690915262001f9b939260440162004ce0565b600060405180830381600087803b15801562001fb657600080fd5b505af115801562001fcb573d6000803e3d6000fd5b505060095460008051602062009b8b833981519152925063b96213e491506001600160a01b0316631674750f60e21b620020058662003fac565b856040516024016200201992919062004d24565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526200205687620040af565b60405160200162002068919062004d3f565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401620020979392919062004ce0565b600060405180830381600087803b158015620020b257600080fd5b505af1158015620020c7573d6000803e3d6000fd5b50506040516024810186905260008051602062009b8b833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051601f19818403018152918152602080830180516001600160e01b03166330abe98760e01b1790529051620021409188910162004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016200216f9392919062004ce0565b600060405180830381600087803b1580156200218a57600080fd5b505af11580156200219f573d6000803e3d6000fd5b5050600c54604051634949198760e01b81526004810187905262001c9c93506001600160a01b039091169150634949198790602401600060405180830381865afa158015620021f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200221c919081019062004c1d565b8a8a8a8a8a8a60405160200162000f199695949392919062004d70565b604051632631f2b160e11b8152811515600482015260008051602062009b8b83398151915290634c63e56290602401600060405180830381600087803b1580156200228357600080fd5b505af115801562002298573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620022ff9316919060040162004b75565b6020604051808303816000875af11580156200231f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002345919062004bb7565b60408051600180825281830190925291925060009190816020015b60608152602001906001900390816200236057905050905083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620023c557620023c562004c56565b602090810291909101015260405163248e63e160e11b81526001600482018190526024820181905260448201819052606482015260008051602062009b8b8339815191529063491cc7c290608401600060405180830381600087803b1580156200242e57600080fd5b505af115801562002443573d6000803e3d6000fd5b5050505083836040516200245992919062004e7f565b604051908190038120600854909184917f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c91620024a49186916001600160a01b039091169062004e8f565b60405180910390a360085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b1580156200250157600080fd5b505af115801562002516573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad91506200254e908590859060040162004cc5565b600060405180830381600087803b1580156200256957600080fd5b505af11580156200257e573d6000803e3d6000fd5b5050600c546040516330abe98760e01b8152600481018690526200260393506001600160a01b0390911691506330abe987906024015b600060405180830381865afa158015620025d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620025fc919081019062004dae565b8262004319565b50505050565b604051632631f2b160e11b8152811515600482015260008051602062009b8b83398151915290634c63e56290602401600060405180830381600087803b1580156200265357600080fd5b505af115801562002668573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620026cf9316919060040162004b75565b6020604051808303816000875af1158015620026ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002715919062004bb7565b604080516001808252818301909252919250600091906020808301908036833701905050905060138160008151811062002753576200275362004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b158015620027b357600080fd5b505af1158015620027c8573d6000803e3d6000fd5b5050600a54604080516060810182526001600160a01b038a8116825260016020830152818301879052915163294e6e9760e11b815291909216935063529cdd2e925062002819919060040162004ebb565b600060405180830381600087803b1580156200283457600080fd5b505af115801562002849573d6000803e3d6000fd5b5060009250600191506200285a9050565b6040519080825280602002602001820160405280156200288f57816020015b6060815260200190600190039081620028795790505b50905084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620028df57620028df62004c56565b602090810291909101015260405163248e63e160e11b81526001600482018190526024820181905260448201819052606482015260008051602062009b8b8339815191529063491cc7c290608401600060405180830381600087803b1580156200294857600080fd5b505af11580156200295d573d6000803e3d6000fd5b5050505084846040516200297392919062004e7f565b6040518091039020837f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8389604051620029af92919062004e8f565b60405180910390a360405163ca669fa760e01b81526001600160a01b038716600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b15801562002a0857600080fd5b505af115801562002a1d573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062002a55908690859060040162004cc5565b600060405180830381600087803b15801562002a7057600080fd5b505af115801562002a85573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262002ac093506001600160a01b0390911691506330abe98790602401620025b4565b505050505050565b825160008051602062009b8b83398151915290634c63e562901580159062002af1575060008451115b801562002aff575060008351115b6040518263ffffffff1660e01b815260040162002b20911515815260200190565b600060405180830381600087803b15801562002b3b57600080fd5b505af115801562002b50573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a09362002bb79316919060040162004b75565b6020604051808303816000875af115801562002bd7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002bfd919062004bb7565b6040805160038082526080820190925291925060009190816020015b606081526020019060019003908162002c19579050509050828160008151811062002c485762002c4862004c56565b6020026020010181905250838160018151811062002c6a5762002c6a62004c56565b6020026020010181905250848160028151811062002c8c5762002c8c62004c56565b6020026020010181905250600085858560405160200162002cb09392919062004f2a565b60408051808303601f190181529082905263248e63e160e11b825260016004830181905260248301819052604483018190526064830152915060008051602062009b8b8339815191529063491cc7c290608401600060405180830381600087803b15801562002d1e57600080fd5b505af115801562002d33573d6000803e3d6000fd5b505050508060405162002d47919062004f8a565b604051908190038120600854909185917f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c9162002d929187916001600160a01b039091169062004e8f565b60405180910390a360085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b15801562002def57600080fd5b505af115801562002e04573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062002e3c908690869060040162004cc5565b600060405180830381600087803b15801562002e5757600080fd5b505af115801562002e6c573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262002ac093506001600160a01b0390911691506330abe98790602401600060405180830381865afa15801562002ebf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ee9919081019062004dae565b8362004319565b6040516024810182905260008051602062009b8b8339815191529063b96213e4907341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b039091161790528151600080825291810190925262002f80565b606081526020019060019003908162002f6a5790505b5060405160200162002f93919062004d5b565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162002fc29392919062004ce0565b600060405180830381600087803b15801562002fdd57600080fd5b505af115801562002ff2573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018590526200302d93506001600160a01b03909116915063494919879060240162001481565b50565b60008051602062009b8b833981519152634c63e56286158015906200305457508415155b80156200306057508215155b6040518263ffffffff1660e01b815260040162003081911515815260200190565b600060405180830381600087803b1580156200309c57600080fd5b505af1158015620030b1573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620031189316919060040162004b75565b6020604051808303816000875af115801562003138573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200315e919062004bb7565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa158015620031b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620031e0919081019062004c1d565b6040805160038082526080820190925291925060009190816020015b6060815260200190600190039081620031fc57905050905084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062003261576200326162004c56565b602002602001018190525086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508351849250600191508110620032ba57620032ba62004c56565b602002602001018190525088888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062003313576200331362004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b1580156200337357600080fd5b505af115801562003388573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620033c0908690859060040162004cc5565b600060405180830381600087803b158015620033db57600080fd5b505af1158015620033f0573d6000803e3d6000fd5b5060008051602062009b8b833981519152925063b96213e491506e0c2e074ec69a0dfb2997ba6c7d2e1e9050630178b8bf60e01b6200342f8562003fac565b6040516024016200344291815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b909416909152620034b0939260440162004ce0565b600060405180830381600087803b158015620034cb57600080fd5b505af1158015620034e0573d6000803e3d6000fd5b505060095460008051602062009b8b833981519152925063b96213e491506001600160a01b0316631674750f60e21b6200351a8562003fac565b866040516024016200352e92919062004d24565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526200356b87620040af565b60405160200162002140919062004d3f565b60008051602062009b8b833981519152634c63e5626001600160601b038616601314801590620035b6575060ff866001600160601b0316105b6040518263ffffffff1660e01b8152600401620035d7911515815260200190565b600060405180830381600087803b158015620035f257600080fd5b505af115801562003607573d6000803e3d6000fd5b5050600854604051632631f2b160e11b81526001600160a01b0387811692169190911415600482015260008051602062009b8b8339815191529250634c63e5629150602401600060405180830381600087803b1580156200366757600080fd5b505af11580156200367c573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620036e39316919060040162004b75565b6020604051808303816000875af115801562003703573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003729919062004bb7565b60408051600180825281830190925291925060009190816020015b60608152602001906001900390816200374457905050905083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620037a957620037a962004c56565b602090810291909101015260405163ca669fa760e01b81526001600160a01b038616600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b1580156200380557600080fd5b505af11580156200381a573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b031663075fd2b160e01b179052915163f28dceb360e01b815260008051602062009b8b833981519152945063f28dceb3935062003876920162004d3f565b600060405180830381600087803b1580156200389157600080fd5b505af1158015620038a6573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620038de908590859060040162004cc5565b600060405180830381600087803b158015620038f957600080fd5b505af11580156200390e573d6000803e3d6000fd5b5060009250600191506200391f9050565b60405190808252806020026020018201604052801562003949578160200160208202803683370190505b509050866001600160601b0316816000815181106200396c576200396c62004c56565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b158015620039cc57600080fd5b505af1158015620039e1573d6000803e3d6000fd5b5050600a54604080516060810182526001600160a01b038b8116825260016020830152818301879052915163294e6e9760e11b815291909216935063529cdd2e925062003a32919060040162004ebb565b600060405180830381600087803b15801562003a4d57600080fd5b505af115801562003a62573d6000803e3d6000fd5b505060405163ca669fa760e01b81526001600160a01b038916600482015260008051602062009b8b833981519152925063ca669fa79150602401600060405180830381600087803b15801562003ab757600080fd5b505af115801562003acc573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b031663075fd2b160e01b179052915163f28dceb360e01b815260008051602062009b8b833981519152945063f28dceb3935062003b28920162004d3f565b600060405180830381600087803b15801562003b4357600080fd5b505af115801562003b58573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062003b90908690869060040162004cc5565b600060405180830381600087803b15801562003bab57600080fd5b505af115801562003bc0573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262003bfb93506001600160a01b0390911691506330abe9879060240162001848565b50505050505050565b60008054610100900460ff161562003c255750600054610100900460ff1690565b600060008051602062009b8b8339815191523b1562003d2a576040805160008051602062009b8b833981519152602082018190526519985a5b195960d21b8284015282518083038401815260608301909352600092909162003cac917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800162004fa8565b60408051601f198184030181529082905262003cc89162004f8a565b6000604051808303816000865af19150503d806000811462003d07576040519150601f19603f3d011682016040523d82523d6000602084013e62003d0c565b606091505b509150508080602001905181019062003d26919062004fdb565b9150505b919050565b600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b81526000936001600160a01b039081169363666d87a09362003d9493929091169160040162004b75565b6020604051808303816000875af115801562003db4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003dda919062004bb7565b60408051600080825260208201909252919250908162003e0b565b606081526020019060019003908162003df55790505b5060085460405163ca669fa760e01b81526001600160a01b03909116600482015290915060008051602062009b8b8339815191529063ca669fa790602401600060405180830381600087803b15801562003e6457600080fd5b505af115801562003e79573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b03166314124ae160e31b179052915163f28dceb360e01b815260008051602062009b8b833981519152945063f28dceb3935062003ed5920162004d3f565b600060405180830381600087803b15801562003ef057600080fd5b505af115801562003f05573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062003f3d908590859060040162004cc5565b600060405180830381600087803b15801562003f5857600080fd5b505af115801562003f6d573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810186905262003fa893506001600160a01b0390911691506330abe9879060240162001848565b5050565b60008060405160200162003fc990620cae8d60eb1b815260030190565b6040516020818303038152906040528051906020012060405160200162003ffa929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b81811015620040a857828482815181106200403a576200403a62004c56565b602002602001015160405160200162004054919062004f8a565b6040516020818303038152906040528051906020012060405160200162004085929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016200401b565b5050919050565b606081600003620040d75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115620041075780620040ee8162005015565b9150620040ff9050600a8362005047565b9150620040db565b60008167ffffffffffffffff81111562004125576200412562004847565b6040519080825280601f01601f19166020018201604052801562004150576020820181803683370190505b5090505b8415620041c857620041686001836200505e565b915062004177600a866200507a565b6200418490603062005091565b60f81b8183815181106200419c576200419c62004c56565b60200101906001600160f81b031916908160001a905350620041c0600a8662005047565b945062004154565b949350505050565b80604051602001620041e3919062004f8a565b60405160208183030381529060405280519060200120826040516020016200420c919062004f8a565b604051602081830303815290604052805190602001201462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620042959060208082526024908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b737472604082015263696e675d60e01b606082015260800190565b60405180910390a17f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf358381604051620042ce9190620050a7565b60405180910390a17f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf358382604051620043079190620050e6565b60405180910390a162003fa8620043a0565b6200432782518251620044a9565b60005b82518110156200439b57620043868382815181106200434d576200434d62004c56565b60200260200101518051906020012083838151811062004371576200437162004c56565b6020026020010151805190602001206200458e565b80620043928162005015565b9150506200432a565b505050565b60008051602062009b8b8339815191523b1562004498576040805160008051602062009b8b833981519152602082018190526519985a5b195960d21b9282019290925260016060820152600091907f70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc49060800160408051601f198184030181529082905262004433929160200162004fa8565b60408051601f19818403018152908290526200444f9162004f8a565b6000604051808303816000865af19150503d80600081146200448e576040519150601f19603f3d011682016040523d82523d6000602084013e62004493565b606091505b505050505b6000805461ff001916610100179055565b80821462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506040516200451c9060208082526022908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e604082015261745d60f01b606082015260800190565b60405180910390a17fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a88160405162004555919062005111565b60405180910390a17fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a8826040516200430791906200514a565b80821462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620046049060208082526025908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b627974604082015264657333325d60d81b606082015260800190565b60405180910390a17fafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99816040516200463d919062005111565b60405180910390a17fafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99826040516200430791906200514a565b6107ed806200517683390190565b612e38806200596383390190565b6113f0806200879b83390190565b60008083601f840112620046b357600080fd5b50813567ffffffffffffffff811115620046cc57600080fd5b602083019150836020828501011115620046e557600080fd5b9250929050565b600080600080600080606087890312156200470657600080fd5b863567ffffffffffffffff808211156200471f57600080fd5b6200472d8a838b01620046a0565b909850965060208901359150808211156200474757600080fd5b620047558a838b01620046a0565b909650945060408901359150808211156200476f57600080fd5b506200477e89828a01620046a0565b979a9699509497509295939492505050565b60008060008060008060008060a0898b031215620047ad57600080fd5b8835975060208901359650604089013567ffffffffffffffff80821115620047d457600080fd5b620047e28c838d01620046a0565b909850965060608b0135915080821115620047fc57600080fd5b6200480a8c838d01620046a0565b909650945060808b01359150808211156200482457600080fd5b50620048338b828c01620046a0565b999c989b5096995094979396929594505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171562004889576200488962004847565b604052919050565b600067ffffffffffffffff821115620048ae57620048ae62004847565b50601f01601f191660200190565b600082601f830112620048ce57600080fd5b8135620048e5620048df8262004891565b6200485d565b818152846020838601011115620048fb57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156200492e57600080fd5b833567ffffffffffffffff808211156200494757600080fd5b6200495587838801620048bc565b945060208601359150808211156200496c57600080fd5b6200497a87838801620048bc565b935060408601359150808211156200499157600080fd5b50620049a086828701620048bc565b9150509250925092565b60008060208385031215620049be57600080fd5b823567ffffffffffffffff811115620049d657600080fd5b620049e485828601620046a0565b90969095509350505050565b80356001600160a01b038116811462003d2a57600080fd5b60008060006040848603121562004a1e57600080fd5b62004a2984620049f0565b9250602084013567ffffffffffffffff81111562004a4657600080fd5b62004a5486828701620046a0565b9497909650939450505050565b60006020828403121562004a7457600080fd5b5035919050565b6000806000806060858703121562004a9257600080fd5b84356001600160601b038116811462004aaa57600080fd5b935062004aba60208601620049f0565b9250604085013567ffffffffffffffff81111562004ad757600080fd5b62004ae587828801620046a0565b95989497509550505050565b6001600160a01b03919091168152604060208201819052600490820152633078363960e01b606082015260800190565b60005b8381101562004b3e57818101518382015260200162004b24565b50506000910152565b6000815180845262004b6181602086016020860162004b21565b601f01601f19169290920160200192915050565b60018060a01b0383168152604060208201526000825160408084015262004ba0608084018262004b47565b905060208401516060840152809150509392505050565b60006020828403121562004bca57600080fd5b5051919050565b600082601f83011262004be357600080fd5b815162004bf4620048df8262004891565b81815284602083860101111562004c0a57600080fd5b620041c882602083016020870162004b21565b60006020828403121562004c3057600080fd5b815167ffffffffffffffff81111562004c4857600080fd5b620041c88482850162004bd1565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501808196508360051b8101915082860160005b8581101562004cb857828403895262004ca584835162004b47565b9885019893509084019060010162004c8a565b5091979650505050505050565b828152604060208201526000620041c8604083018462004c6c565b6001600160a01b038416815260606020820181905260009062004d069083018562004b47565b828103604084015262004d1a818562004b47565b9695505050505050565b828152604060208201526000620041c8604083018462004b47565b60208152600062004d54602083018462004b47565b9392505050565b60208152600062004d54602083018462004c6c565b858782376000868201601760f91b80825286886001840137600191870191820152838560028301376000930160020192835250909695505050505050565b6000602080838503121562004dc257600080fd5b825167ffffffffffffffff8082111562004ddb57600080fd5b818501915085601f83011262004df057600080fd5b81518181111562004e055762004e0562004847565b8060051b62004e168582016200485d565b918252838101850191858101908984111562004e3157600080fd5b86860192505b8383101562004e725782518581111562004e515760008081fd5b62004e618b89838a010162004bd1565b835250918601919086019062004e37565b9998505050505050505050565b8183823760009101908152919050565b60408152600062004ea4604083018562004c6c565b905060018060a01b03831660208301529392505050565b602080825282516001600160a01b0316828201528281015160408084019190915283015160608084015280516080840181905260009291820190839060a08601905b8083101562004f1f578351825292840192600192909201919084019062004efd565b509695505050505050565b6000845162004f3e81846020890162004b21565b8083019050601760f91b808252855162004f60816001850160208a0162004b21565b6001920191820152835162004f7d81600284016020880162004b21565b0160020195945050505050565b6000825162004f9e81846020870162004b21565b9190910192915050565b6001600160e01b031983168152815160009062004fcd81600485016020870162004b21565b919091016004019392505050565b60006020828403121562004fee57600080fd5b8151801515811462004d5457600080fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016200502a576200502a62004fff565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008262005059576200505962005031565b500490565b8181038181111562005074576200507462004fff565b92915050565b6000826200508c576200508c62005031565b500690565b8082018082111562005074576200507462004fff565b604081526000620050d260408301600a8152690808115e1c1958dd195960b21b602082015260400190565b8281036020840152620041c8818562004b47565b604081526000620050d260408301600a815269080808081058dd1d585b60b21b602082015260400190565b6040815260006200513c60408301600a8152690808115e1c1958dd195960b21b602082015260400190565b905082602083015292915050565b6040815260006200513c60408301600a815269080808081058dd1d585b60b21b60208201526040019056fe608060405234801561001057600080fd5b506107cd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630f5932f01461005c578063529cdd2e1461008457806380deb230146100995780638d5f697f146100d7578063c161c93f146100ea575b600080fd5b61006f61006a36600461054d565b6100fd565b60405190151581526020015b60405180910390f35b6100976100923660046105bc565b6101a4565b005b6100c96100a73660046105fe565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161007b565b6100976100e536600461063a565b610269565b61006f6100f836600461067c565b610421565b6000805b8281101561019557600084848381811061011d5761011d6106be565b90506020020135905060ff81111561014857604051638e9503a960e01b815260040160405180910390fd5b6001600160a01b03888116600090815260208181526040808320938b168352928152828220898352905290812054821c600116900361018c5760009250505061019b565b50600101610101565b50600190505b95945050505050565b60006101bb6101b660408401846106d4565b610482565b9050806000806101ce602086018661071e565b6001600160a01b03168152602080820192909252604090810160009081203380835290845282822087850180358085529190955292909120939093559190610216908561071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32061024d60408701876106d4565b8660405161025d93929190610739565b60405180910390a45050565b60005b8181101561041c5760006102ab84848481811061028b5761028b6106be565b905060200281019061029d9190610777565b6101b69060408101906106d4565b9050806000808686868181106102c3576102c36106be565b90506020028101906102d59190610777565b6102e390602081019061071e565b6001600160a01b031681526020808201929092526040908101600090812033825290925281209086868681811061031c5761031c6106be565b905060200281019061032e9190610777565b60200135815260200190815260200160002081905550838383818110610356576103566106be565b90506020028101906103689190610777565b602001353385858581811061037f5761037f6106be565b90506020028101906103919190610777565b61039f90602081019061071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3208787878181106103db576103db6106be565b90506020028101906103ed9190610777565b6103fb9060408101906106d4565b8660405161040b93929190610739565b60405180910390a45060010161026c565b505050565b600060ff82111561044557604051638e9503a960e01b815260040160405180910390fd5b506001600160a01b03808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156104de5760008484838181106104a2576104a26106be565b90506020020135905060ff8111156104cd57604051638e9503a960e01b815260040160405180910390fd5b60019081901b929092179101610486565b5092915050565b80356001600160a01b03811681146104fc57600080fd5b919050565b60008083601f84011261051357600080fd5b50813567ffffffffffffffff81111561052b57600080fd5b6020830191508360208260051b850101111561054657600080fd5b9250929050565b60008060008060006080868803121561056557600080fd5b61056e866104e5565b945061057c602087016104e5565b935060408601359250606086013567ffffffffffffffff81111561059f57600080fd5b6105ab88828901610501565b969995985093965092949392505050565b6000602082840312156105ce57600080fd5b813567ffffffffffffffff8111156105e557600080fd5b8201606081850312156105f757600080fd5b9392505050565b60008060006060848603121561061357600080fd5b61061c846104e5565b925061062a602085016104e5565b9150604084013590509250925092565b6000806020838503121561064d57600080fd5b823567ffffffffffffffff81111561066457600080fd5b61067085828601610501565b90969095509350505050565b6000806000806080858703121561069257600080fd5b61069b856104e5565b93506106a9602086016104e5565b93969395505050506040820135916060013590565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126106eb57600080fd5b83018035915067ffffffffffffffff82111561070657600080fd5b6020019150600581901b360382131561054657600080fd5b60006020828403121561073057600080fd5b6105f7826104e5565b6040808252810183905260006001600160fb1b0384111561075957600080fd5b8360051b808660608501376020830193909352500160600192915050565b60008235605e1983360301811261078d57600080fd5b919091019291505056fea26469706673582212201926e03f129c01ce3a16319ed5419b34a9479a82086308f85a3f3a61dd87bc7664736f6c634300081000336101606040526000600b553480156200001757600080fd5b5060405162002e3838038062002e388339810160408190526200003a91620001ce565b6040805180820182526011808252704a75696365626f782050726f6a6563747360781b60208084018290528451808601865260018152603160f81b81830152855180870187529384528382019290925284518086019095526008855267094aa92868a849eb60c31b908501526001600160a01b03851660805291926000620000c38382620002a5565b506001620000d28282620002a5565b505082516020938401208251928401929092206101008390526101208190524660c0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81890181905281830197909752606081019490945260808401929092523060a080850182905283518086038201815294909201909252825192909501919091209093525060e0919091526101405262000175336200017c565b5062000371565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215620001e157600080fd5b81516001600160a01b0381168114620001f957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022b57607f821691505b6020821081036200024c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a057600081815260208120601f850160051c810160208610156200027b5750805b601f850160051c820191505b818110156200029c5782815560010162000287565b5050505b505050565b81516001600160401b03811115620002c157620002c162000200565b620002d981620002d2845462000216565b8462000252565b602080601f831160018114620003115760008415620002f85750858301515b600019600386901b1c1916600185901b1785556200029c565b600085815260208120601f198616915b82811015620003425788860151825594840194600190910190840162000321565b5085821015620003615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516101205161014051612a5e620003da600039600061127c015260006112cb015260006112a6015260006111ff01526000611229015260006112530152600081816103e20152818161136001526114070152612a5e6000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063666d87a01161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042a578063e131fc0c1461043d578063e985e9c514610450578063f2fde38b1461048c57600080fd5b8063a22cb465146103ca578063ad007d63146103dd578063b88d4fde14610404578063c3cda5201461041757600080fd5b80638da5cb5b116100de5780638da5cb5b1461038b5780638e539e8c1461039c57806395d89b41146103af5780639ab24eb0146103b757600080fd5b8063666d87a01461034a57806370a082311461035d578063715018a6146103705780637ecebe001461037857600080fd5b80633644e5151161018757806342842e0e1161015657806342842e0e146102e5578063587cde1e146102f85780635c19a95c146103245780636352211e1461033757600080fd5b80633644e515146102a457806336574975146102ac57806339fbc775146102bf5780633a46b1a8146102d257600080fd5b8063081812fc116101c3578063081812fc1461023e578063095ea7b31461026957806323b872dd1461027e5780632407497e1461029157600080fd5b806301ffc9a7146101ea57806306661abd1461021257806306fdde0314610229575b600080fd5b6101fd6101f83660046121c1565b61049f565b60405190151581526020015b60405180910390f35b61021b600b5481565b604051908152602001610209565b6102316104e5565b604051610209919061222e565b61025161024c366004612241565b610577565b6040516001600160a01b039091168152602001610209565b61027c61027736600461226f565b610611565b005b61027c61028c36600461229b565b610726565b61027c61029f3660046122dc565b610757565b61021b6107d5565b61027c6102ba36600461230b565b6107e4565b6102316102cd366004612352565b61086f565b61021b6102e036600461226f565b610914565b61027c6102f336600461229b565b61093d565b6102516103063660046122dc565b6001600160a01b039081166000908152600660205260409020541690565b61027c6103323660046122dc565b610958565b610251610345366004612241565b610967565b61021b610358366004612374565b6109de565b61021b61036b3660046122dc565b610a92565b61027c610b19565b61021b6103863660046122dc565b610b4f565b600a546001600160a01b0316610251565b61021b6103aa366004612241565b610b6d565b610231610bc9565b61021b6103c53660046122dc565b610bd8565b61027c6103d83660046123bc565b610bf9565b6102517f000000000000000000000000000000000000000000000000000000000000000081565b61027c610412366004612464565b610c04565b61027c610425366004612513565b610c3c565b610231610438366004612241565b610d69565b600d54610251906001600160a01b031681565b6101fd61045e366004612575565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61027c61049a3660046122dc565b610e00565b60006001600160e01b0319821663aa91a66f60e01b14806104d057506001600160e01b0319821663ad007d6360e01b145b806104df57506104df82610e9b565b92915050565b6060600080546104f4906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906125a3565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061061c82610967565b9050806001600160a01b0316836001600160a01b0316036106895760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ec565b336001600160a01b03821614806106a557506106a5813361045e565b6107175760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b6107218383610eeb565b505050565b6107303382610f59565b61074c5760405162461bcd60e51b81526004016105ec906125d7565b610721838383611050565b600a546001600160a01b031633146107815760405162461bcd60e51b81526004016105ec90612628565b600d80546001600160a01b0319166001600160a01b0383169081179091556040513381527fe7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c169060200160405180910390a250565b60006107df6111f2565b905090565b6107ed82610967565b8260066107fb838383611319565b610805848061265d565b6000878152600c6020908152604080832089830135845290915290209161082d9190836126f2565b50847fd07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e685336040516108609291906127b3565b60405180910390a25050505050565b600c60209081526000928352604080842090915290825290208054610893906125a3565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906125a3565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b505050505081565b6001600160a01b03821660009081526007602052604081206109369083611492565b9392505050565b61072183838360405180602001604052806000815250610c04565b3361096381836115a1565b5050565b6000818152600260205260408120546001600160a01b0316806104df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ec565b6000600b600081546109ef9061285b565b91829055509050610a008382611613565b6000610a0c838061265d565b90501115610a4857610a1e828061265d565b6000838152600c60209081526040808320878301358452909152902091610a469190836126f2565b505b826001600160a01b0316817fa1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d48433604051610a849291906127b3565b60405180910390a392915050565b60006001600160a01b038216610afd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b435760405162461bcd60e51b81526004016105ec90612628565b610b4d600061162d565b565b6001600160a01b0381166000908152600960205260408120546104df565b6000438210610bbe5760405162461bcd60e51b815260206004820152601a60248201527f566f7465733a20626c6f636b206e6f7420796574206d696e656400000000000060448201526064016105ec565b6104df600883611492565b6060600180546104f4906125a3565b6001600160a01b03811660009081526007602052604081206104df9061167f565b6109633383836116db565b610c0e3383610f59565b610c2a5760405162461bcd60e51b81526004016105ec906125d7565b610c36848484846117a9565b50505050565b83421115610c8c5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e61747572652065787069726564000000000000000060448201526064016105ec565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206117dc565b85858561182a565b9050610d1181611852565b8614610d565760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b60448201526064016105ec565b610d6081886115a1565b50505050505050565b600d546060906001600160a01b031680610d93575050604080516020810190915260008152919050565b604051636d02a25560e11b8152600481018490526001600160a01b0382169063da0544aa90602401600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109369190810190612874565b600a546001600160a01b03163314610e2a5760405162461bcd60e51b81526004016105ec90612628565b6001600160a01b038116610e8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b610e988161162d565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ecc57506001600160e01b03198216635b5e139f60e01b145b806104df57506301ffc9a760e01b6001600160e01b03198316146104df565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2082610967565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ec565b6000610fdd83610967565b9050806001600160a01b0316846001600160a01b031614806110185750836001600160a01b031661100d84610577565b6001600160a01b0316145b8061104857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106382610967565b6001600160a01b0316146110c75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105ec565b6001600160a01b0382166111295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b611134600082610eeb565b6001600160a01b038316600090815260036020526040812080546001929061115d9084906128eb565b90915550506001600160a01b038216600090815260036020526040812080546001929061118b9084906128fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461072183838361187a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561124b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561127557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b336001600160a01b038416148015906113cd575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612911565b155b8015611474575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa15801561144e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114729190612911565b155b156107215760405163075fd2b160e01b815260040160405180910390fd5b60004382106114e35760405162461bcd60e51b815260206004820181905260248201527f436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e656460448201526064016105ec565b825460005b818110156115485760006114fc8284611886565b9050848660000182815481106115145761151461292e565b60009182526020909120015463ffffffff16111561153457809250611542565b61153f8160016128fe565b91505b506114e8565b811561158c578461155a6001846128eb565b8154811061156a5761156a61292e565b60009182526020909120015464010000000090046001600160e01b031661158f565b60005b6001600160e01b031695945050505050565b6001600160a01b0382811660008181526006602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610721818361160e866118a1565b6118ac565b6109638282604051806020016040528060008152506119da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805460009080156116c857826116966001836128eb565b815481106116a6576116a661292e565b60009182526020909120015464010000000090046001600160e01b03166116cb565b60005b6001600160e01b03169392505050565b816001600160a01b0316836001600160a01b03160361173c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117b4848484611050565b6117c084848484611a0d565b610c365760405162461bcd60e51b81526004016105ec90612944565b60006104df6117e96111f2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183b87878787611b0b565b9150915061184881611bf8565b5095945050505050565b6001600160a01b03811660009081526009602052604090208054600181018255905b50919050565b61072183836001611dae565b60006118956002848418612996565b610936908484166128fe565b60006104df82610a92565b816001600160a01b0316836001600160a01b0316141580156118ce5750600081115b15610721576001600160a01b0383161561195c576001600160a01b0383166000908152600760205260408120819061190990611e1e85611e2a565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611951929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610721576001600160a01b0382166000908152600760205260408120819061199290611e5885611e2a565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051610860929190918252602082015260400190565b6119e48383611e64565b6119f16000848484611a0d565b6107215760405162461bcd60e51b81526004016105ec90612944565b60006001600160a01b0384163b15611b0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a519033908990889088906004016129b8565b6020604051808303816000875af1925050508015611a8c575060408051601f3d908101601f19168201909252611a89918101906129f5565b60015b611ae9573d808015611aba576040519150601f19603f3d011682016040523d82523d6000602084013e611abf565b606091505b508051600003611ae15760405162461bcd60e51b81526004016105ec90612944565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611048565b506001611048565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b425750600090506003611bef565b8460ff16601b14158015611b5a57508460ff16601c14155b15611b6b5750600090506004611bef565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bbf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611be857600060019250925050611bef565b9150600090505b94509492505050565b6000816004811115611c0c57611c0c612a12565b03611c145750565b6001816004811115611c2857611c28612a12565b03611c755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ec565b6002816004811115611c8957611c89612a12565b03611cd65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ec565b6003816004811115611cea57611cea612a12565b03611d425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ec565b6004816004811115611d5657611d56612a12565b03610e985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ec565b6001600160a01b038316611dcd57611dca6008611e5883611e2a565b50505b6001600160a01b038216611dec57611de96008611e1e83611e2a565b50505b6001600160a01b03838116600090815260066020526040808220548584168352912054610721929182169116836118ac565b600061093682846128eb565b600080611e4c85611e47611e3d8861167f565b868863ffffffff16565b611fae565b91509150935093915050565b600061093682846128fe565b6001600160a01b038216611eba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b031615611f1f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b0382166000908152600360205260408120805460019290611f489084906128fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109636000838361187a565b8154600090819081611fbf8661167f565b9050600082118015611ffd57504386611fd96001856128eb565b81548110611fe957611fe961292e565b60009182526020909120015463ffffffff16145b1561205d5761200b856120d9565b866120176001856128eb565b815481106120275761202761292e565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506120cb565b85600001604051806040016040528061207543612146565b63ffffffff168152602001612089886120d9565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b9250839150505b9250929050565b60006001600160e01b038211156121425760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ec565b5090565b600063ffffffff8211156121425760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ec565b6001600160e01b031981168114610e9857600080fd5b6000602082840312156121d357600080fd5b8135610936816121ab565b60005b838110156121f95781810151838201526020016121e1565b50506000910152565b6000815180845261221a8160208601602086016121de565b601f01601f19169290920160200192915050565b6020815260006109366020830184612202565b60006020828403121561225357600080fd5b5035919050565b6001600160a01b0381168114610e9857600080fd5b6000806040838503121561228257600080fd5b823561228d8161225a565b946020939093013593505050565b6000806000606084860312156122b057600080fd5b83356122bb8161225a565b925060208401356122cb8161225a565b929592945050506040919091013590565b6000602082840312156122ee57600080fd5b81356109368161225a565b60006040828403121561187457600080fd5b6000806040838503121561231e57600080fd5b82359150602083013567ffffffffffffffff81111561233c57600080fd5b612348858286016122f9565b9150509250929050565b6000806040838503121561236557600080fd5b50508035926020909101359150565b6000806040838503121561238757600080fd5b82356123928161225a565b9150602083013567ffffffffffffffff81111561233c57600080fd5b8015158114610e9857600080fd5b600080604083850312156123cf57600080fd5b82356123da8161225a565b915060208301356123ea816123ae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612434576124346123f5565b604052919050565b600067ffffffffffffffff821115612456576124566123f5565b50601f01601f191660200190565b6000806000806080858703121561247a57600080fd5b84356124858161225a565b935060208501356124958161225a565b925060408501359150606085013567ffffffffffffffff8111156124b857600080fd5b8501601f810187136124c957600080fd5b80356124dc6124d78261243c565b61240b565b8181528860208385010111156124f157600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c0878903121561252c57600080fd5b86356125378161225a565b95506020870135945060408701359350606087013560ff8116811461255b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561258857600080fd5b82356125938161225a565b915060208301356123ea8161225a565b600181811c908216806125b757607f821691505b60208210810361187457634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e1984360301811261267457600080fd5b83018035915067ffffffffffffffff82111561268f57600080fd5b6020019150368190038213156120d257600080fd5b601f82111561072157600081815260208120601f850160051c810160208610156126cb5750805b601f850160051c820191505b818110156126ea578281556001016126d7565b505050505050565b67ffffffffffffffff83111561270a5761270a6123f5565b61271e8361271883546125a3565b836126a4565b6000601f841160018114612752576000851561273a5750838201355b600019600387901b1c1916600186901b1783556127ac565b600083815260209020601f19861690835b828110156127835786850135825560209485019460019092019101612763565b50868210156127a05760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6040815260008335601e198536030181126127cd57600080fd5b840160208101903567ffffffffffffffff8111156127ea57600080fd5b8036038213156127f957600080fd5b604080850152806080850152808260a0860137600060a082860101526020860135606085015260a0601f19601f8301168501019250505061093660208301846001600160a01b03169052565b634e487b7160e01b600052601160045260246000fd5b60006001820161286d5761286d612845565b5060010190565b60006020828403121561288657600080fd5b815167ffffffffffffffff81111561289d57600080fd5b8201601f810184136128ae57600080fd5b80516128bc6124d78261243c565b8181528560208385010111156128d157600080fd5b6128e28260208301602086016121de565b95945050505050565b818103818111156104df576104df612845565b808201808211156104df576104df612845565b60006020828403121561292357600080fd5b8151610936816123ae565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826129b357634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129eb90830184612202565b9695505050505050565b600060208284031215612a0757600080fd5b8151610936816121ab565b634e487b7160e01b600052602160045260246000fdfea264697066735822122051d42021051642f53d1d1aedfb9274462f7b8b56e0b54d4ec8da05a2a0e001f464736f6c6343000810003360e060405234801561001057600080fd5b50604051620013f0380380620013f083398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f1620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f16000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e6e565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e88565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9b565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec4565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610eda565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef6565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f20565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f20565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f20565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f20565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610f9f565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9b565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611050565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611069565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff919061109e565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061109e565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d6565b815181106108f6576108f6610ec4565b602002602001015160405160200161090f9291906110ef565b60405160208183030381529060405292508181101561094b5782604051602001610939919061111e565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec4565b60200260200101516040516020016109fa9190610eda565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611143565b9150610a969050600a83611172565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d6565b9150610b04600a86611186565b610b0f90603061119a565b60f81b818381518110610b2457610b24610ec4565b60200101906001600160f81b031916908160001a905350610b46600a86611172565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111fb565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f20565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610e6157601f19868403018952610e4f838351610dea565b98840198925090830190600101610e33565b5090979650505050505050565b602081526000610e816020830184610e16565b9392505050565b602081526000610e816020830184610dea565b600060208284031215610ead57600080fd5b81516001600160a01b0381168114610e8157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eec818460208701610dc6565b9190910192915050565b604081526000610f096040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3457607f821691505b602082108103610f5457634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6b57600080fd5b8151610f79610d0382610c85565b818152846020838601011115610f8e57600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb257600080fd5b825167ffffffffffffffff80821115610fca57600080fd5b818501915085601f830112610fde57600080fd5b8151610fec610d0382610c61565b81815260059190911b8301840190848101908883111561100b57600080fd5b8585015b83811015611043578051858111156110275760008081fd5b6110358b89838a0101610f5a565b84525091860191860161100f565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107b57600080fd5b815167ffffffffffffffff81111561109257600080fd5b610b4d84828501610f5a565b6000602082840312156110b057600080fd5b81518015158114610e8157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110e9576110e96110c0565b92915050565b60008351611101818460208801610dc6565b835190830190611115818360208801610dc6565b01949350505050565b60008251611130818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611155576111556110c0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111815761118161115c565b500490565b6000826111955761119561115c565b500690565b808201808211156110e9576110e96110c0565b601f8211156108c657600081815260208120601f850160051c810160208610156111d45750805b601f850160051c820191505b818110156111f3578281556001016111e0565b505050505050565b815167ffffffffffffffff81111561121557611215610c1a565b611229816112238454610f20565b846111ad565b602080601f83116001811461125e57600084156112465750858301515b600019600386901b1c1916600185901b1785556111f3565b600085815260208120601f198616915b8281101561128d5788860151825594840194600190910190840161126e565b50858210156112ab5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212206b5d832658cbd393fc3e01826739b06671e949a1ba66e37e18e55cfb216e196864736f6c634300081000330000000000000000000000007109709ecfa91a80626ff3989d68f67f5b1dd12da2646970667358221220b1885c016f9d193c5b39832a3b9564b74fb018fd2cdf1680bf46e03ddad6ff7164736f6c63430008100033", - "sourceMap": "732:14932:42:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1144:495;;;:::i;:::-;;9434:1768;;;;;;:::i;:::-;;:::i;12108:1207::-;;;;;;:::i;:::-;;:::i;5980:947::-;;;;;;:::i;:::-;;:::i;11206:898::-;;;;;;:::i;:::-;;:::i;321:38:4:-;;-1:-1:-1;;;;;;;;;;;321:38:4;;;;;-1:-1:-1;;;;;4531:32:43;;;4513:51;;4501:2;4486:18;321:38:4;;;;;;;;8129:1301:42;;;;;;:::i;:::-;;:::i;1872:701::-;;;;;;:::i;:::-;;:::i;2577:1019::-;;;;;;:::i;:::-;;:::i;3600:1108::-;;;;;;:::i;:::-;;:::i;7788:337::-;;;;;;:::i;:::-;;:::i;13319:1303::-;;;;;;:::i;:::-;;:::i;4712:1264::-;;;;;;:::i;:::-;;:::i;1819:584:3:-;;;:::i;:::-;;;6679:14:43;;6672:22;6654:41;;6642:2;6627:18;1819:584:3;6514:187:43;6931:624:42;;;:::i;170:28:4:-;;;;;;;;;;;;1572:26:3;;;;;;;;;1144:495:42;1190:15;;1174:41;;-1:-1:-1;;;1174:41:42;;-1:-1:-1;;;;;;;;;;;250:64:4;1174:7:42;;:41;;-1:-1:-1;;;;;1190:15:42;;1174:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1221:37:42;;-1:-1:-1;;;1221:37:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;1221:7:42;;-1:-1:-1;1221:37:42;;584:42;;1221:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1264:35:42;;-1:-1:-1;;;1264:35:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;1264:7:42;;-1:-1:-1;1264:35:42;;686:42;;1264:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1322:15:42;;1305:53;;;-1:-1:-1;;;1305:53:42;;-1:-1:-1;;;;;1322:15:42;;;1305:53;;;7347:51:43;7414:18;;;7407:30;7473:2;7453:18;;;7446:30;-1:-1:-1;;;7492:18:43;;;7485:45;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;1305:8:42;;-1:-1:-1;7547:19:43;;1305:53:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1364:45:42;;;-1:-1:-1;;;1364:45:42;;584:42;1364:45;;;7789:51:43;7856:18;;;7849:30;;;;7915:2;7895:18;;;7888:30;-1:-1:-1;;;7934:18:43;;;7927:41;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;1364:8:42;;-1:-1:-1;7985:19:43;;1364:45:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1415:41:42;;;-1:-1:-1;;;1415:41:42;;686:42;1415:41;;;8227:51:43;8294:18;;;8287:30;;;;8353:1;8333:18;;;8326:29;-1:-1:-1;;;8371:18:43;;;8364:39;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;1415:8:42;;-1:-1:-1;8420:19:43;;1415:41:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1481:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1463:15:42;:39;;-1:-1:-1;;;;;;1463:39:42;-1:-1:-1;;;;;1463:39:42;;;;;;;;;1521:31;;;;;:::i;:::-;-1:-1:-1;;;;;4531:32:43;;;4513:51;;4501:2;4486:18;1521:31:42;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1508:10:42;:44;;-1:-1:-1;;;;;;1508:44:42;-1:-1:-1;;;;;1508:44:42;;;;;;;;;1607:15;;1574:60;;1508:44;;1607:15;;686:42;;1574:60;;;:::i;:::-;-1:-1:-1;;;;;9011:15:43;;;8993:34;;9063:15;;;9058:2;9043:18;;9036:43;9115:15;;;9110:2;9095:18;;9088:43;8943:2;8928:18;1574:60:42;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1558:13:42;:76;;-1:-1:-1;;;;;;1558:76:42;-1:-1:-1;;;;;1558:76:42;;;;;;;;;;1144:495::o;9434:1768::-;-1:-1:-1;;;;;;;;;;;9626:9:42;9643:23;;;;;:55;;-1:-1:-1;9670:28:42;;;9643:55;:90;;;;-1:-1:-1;9702:31:42;;;9643:90;9626:113;;;;;;;;;;;;;6679:14:43;6672:22;6654:41;;6642:2;6627:18;;6514:187;9626:113:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9767:10:42;;9795:12;;9815:50;;;;;;;;;;;;;;;-1:-1:-1;;;9815:50:42;;;;;;9767:10;9815:50;;;;9767:104;;-1:-1:-1;;;9767:104:42;;9746:18;;-1:-1:-1;;;;;;9767:10:42;;;;-1:-1:-1;9767:20:42;;:104;;9795:12;;9815:50;9767:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9746:125;;9878:17;9898:13;;;;;;;;;-1:-1:-1;;;;;9898:13:42;-1:-1:-1;;;;;9898:22:42;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9898:24:42;;;;;;;;;;;;:::i;:::-;10050:15;;;10063:1;10050:15;;;;;;;;;9878:44;;-1:-1:-1;10021:26:42;;10050:15;;;;;;;;;;;;;;;;;;;;;10021:44;;10087:13;;10071:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10071:13:42;;:10;;-1:-1:-1;10071:29:42;;-1:-1:-1;10071:13:42;;;-1:-1:-1;10071:13:42;;;;:::i;:::-;;;;;;:29;;;;10122:10;;10106:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10106:13:42;;:10;;-1:-1:-1;10117:1:42;;-1:-1:-1;10106:13:42;;;;;;:::i;:::-;;;;;;:26;;;;10154:5;;10138:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10138:13:42;;:10;;-1:-1:-1;10149:1:42;;-1:-1:-1;10138:13:42;;;;;;:::i;:::-;;;;;;;;;;:21;10246:15;;;10259:1;10246:15;;;;;;;;;10215:28;;10246:15;;;;;;;;;;;;;;;;;;;;10215:46;;10267:28;;;;;;;;;;;;;-1:-1:-1;;;10267:28:42;;;:12;10280:1;10267:15;;;;;;;;:::i;:::-;;;;;;:28;;;;10301:38;;;;;;;;;;;;;-1:-1:-1;;;10301:38:42;;;:12;10314:1;10301:15;;;;;;;;:::i;:::-;;;;;;:38;;;;10345:24;;;;;;;;;;;;;-1:-1:-1;;;10345:24:42;;;:12;10358:1;10345:15;;;;;;;;:::i;:::-;;;;;;;;;;:24;10385:12;;10376:22;;-1:-1:-1;;;10376:22:42;;-1:-1:-1;;;;;10385:12:42;;;10376:22;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;10376:8:42;;4486:18:43;;10376:22:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10404:13:42;;:56;;-1:-1:-1;;;10404:56:42;;-1:-1:-1;;;;;10404:13:42;;;;-1:-1:-1;10404:32:42;;-1:-1:-1;10404:56:42;;10437:10;;10449;;10404:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;250:64:4;-1:-1:-1;10467:11:42;;-1:-1:-1;584:42:42;;-1:-1:-1;;;;10560:21:42;10570:10;10560:9;:21::i;:::-;10514:68;;;;;;12665:25:43;;12653:2;12638:18;;12519:177;10514:68:42;;;;-1:-1:-1;;10514:68:42;;;;;;;;;;;;;;;-1:-1:-1;;;;;10514:68:42;-1:-1:-1;;;;;;10514:68:42;;;;;;10609:15;;10590:36;;-1:-1:-1;;;;;10609:15:42;;;10590:36;;;4513:51:43;10590:36:42;;;;;;;;;;4486:18:43;;;10590:36:42;;;;10467:165;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10666:15:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;10639:11:42;;-1:-1:-1;;;;;;10666:15:42;-1:-1:-1;;;10742:21:42;10752:10;10742:9;:21::i;:::-;10765:3;10690:79;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;10690:79:42;;;;;;;;;;;;;;-1:-1:-1;;;;;10690:79:42;-1:-1:-1;;;;;;10690:79:42;;;;;;;;;;10788:28;10805:10;10788:16;:28::i;:::-;10777:40;;;;;;;;:::i;:::-;;;;;;;;;;;;;10639:184;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10915:62:42;;;;;12665:25:43;;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;10883:11:42;;-1:-1:-1;686:42:42;;12638:18:43;;10915:62:42;;;-1:-1:-1;;10915:62:42;;;;;;;;;;;;;;;-1:-1:-1;;;;;10915:62:42;-1:-1:-1;;;10915:62:42;;;10979:24;;;;10990:12;;10979:24;;:::i;:::-;;;;;;;;;;;;;10883:121;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11081:13:42;;:34;;-1:-1:-1;;;11081:34:42;;;;;12665:25:43;;;11065:132:42;;-1:-1:-1;;;;;;11081:13:42;;;;-1:-1:-1;11081:22:42;;12638:18:43;;11081:34:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11081:34:42;;;;;;;;;;;;:::i;:::-;11147:5;;11159:10;;11176:13;;11130:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;11065:8;:132::i;:::-;9620:1582;;;;9434:1768;;;;;;:::o;12108:1207::-;12339:34;;-1:-1:-1;;;12339:34:42;;12349:23;;;;12339:34;;;6654:41:43;-1:-1:-1;;;;;;;;;;;250:64:4;12339:9:42;;6627:18:43;;12339:34:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12473:61:42;;;;;12665:25:43;;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;12441:11:42;;-1:-1:-1;686:42:42;;12638:18:43;;12473:61:42;;;;;;-1:-1:-1;;12473:61:42;;;;;;;;;;;;-1:-1:-1;;;;;;;;12473:61:42;;;;;;12547:15;;-1:-1:-1;12547:15:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12536:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;12441:123;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12571:23;12597:28;12614:10;12597:16;:28::i;:::-;12571:54;;12631:17;12651:13;;;;;;;;;-1:-1:-1;;;;;12651:13:42;-1:-1:-1;;;;;12651:22:42;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12651:24:42;;;;;;;;;;;;:::i;:::-;12803:15;;;12816:1;12803:15;;;;;;;;;12631:44;;-1:-1:-1;12774:26:42;;12803:15;;;;;;;;;;;;;;;;;;;;;12774:44;;12840:13;;12824:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12824:13:42;;:10;;-1:-1:-1;12824:29:42;;-1:-1:-1;12824:13:42;;;-1:-1:-1;12824:13:42;;;;:::i;:::-;;;;;;:29;;;;12875:10;;12859:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12859:13:42;;:10;;-1:-1:-1;12870:1:42;;-1:-1:-1;12859:13:42;;;;;;:::i;:::-;;;;;;:26;;;;12907:5;;12891:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12891:13:42;;:10;;-1:-1:-1;12902:1:42;;-1:-1:-1;12891:13:42;;;;;;:::i;:::-;;;;;;;;;;:21;-1:-1:-1;;;;;;;;;;;12919:11:42;584:42;-1:-1:-1;;;13012:21:42;13022:10;13012:9;:21::i;:::-;12966:68;;;;;;12665:25:43;;12653:2;12638:18;;12519:177;12966:68:42;;;;-1:-1:-1;;12966:68:42;;;;;;;;;;;;;;;-1:-1:-1;;;;;12966:68:42;-1:-1:-1;;;;;;12966:68:42;;;;;;13061:15;;13042:36;;-1:-1:-1;;;;;13061:15:42;;;13042:36;;;4513:51:43;13042:36:42;;;;;;;;;;4486:18:43;;;13042:36:42;;;;12919:165;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13118:15:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;13091:11:42;;-1:-1:-1;;;;;;13118:15:42;-1:-1:-1;;;13194:21:42;13204:10;13194:9;:21::i;:::-;13217:3;13142:79;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;13142:79:42;;;;;;;;;;;;;;;-1:-1:-1;;;;;13142:79:42;-1:-1:-1;;;;;;13142:79:42;;;;;;;;;;13229:21;13142:79;;13229:21;;13240:9;;13229:21;;:::i;:::-;;;;;;;;;;;;;13091:165;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13272:13:42;;:33;;-1:-1:-1;;;13272:33:42;;;;;12665:25:43;;;13263:47:42;;-1:-1:-1;;;;;;13272:13:42;;;;-1:-1:-1;13272:22:42;;12638:18:43;;13272:33:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13272:33:42;;;;;;;;;;;;:::i;:::-;13263:47;;;;;;;;;;;;:8;:47::i;:::-;12333:982;;;12108:1207;;;;;;;;:::o;5980:947::-;6174:19;;-1:-1:-1;;;;;;;;;;;250:64:4;6157:9:42;;6174:24;;:57;;-1:-1:-1;6202:24:42;;:29;6174:57;:93;;;-1:-1:-1;6235:27:42;;:32;6174:93;6157:116;;;;;;;;;;;;;6679:14:43;6672:22;6654:41;;6642:2;6627:18;;6514:187;6157:116:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6301:10:42;;6329:12;;6349:50;;;;;;;;;;;;;;;-1:-1:-1;;;6349:50:42;;;;;;6301:10;6349:50;;;;6301:104;;-1:-1:-1;;;6301:104:42;;6280:18;;-1:-1:-1;;;;;;6301:10:42;;;;-1:-1:-1;6301:20:42;;:104;;6329:12;;6349:50;6301:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6533:15;;;6546:1;6533:15;;;;;;;;;6280:125;;-1:-1:-1;6504:26:42;;6533:15;;;;;;;;;;;;;;;;;;;;;6504:44;;6570:13;6554:10;6565:1;6554:13;;;;;;;;:::i;:::-;;;;;;:29;;;;6605:10;6589;6600:1;6589:13;;;;;;;;:::i;:::-;;;;;;:26;;;;6637:5;6621:10;6632:1;6621:13;;;;;;;;:::i;:::-;;;;;;;;;;:21;6658:12;;6649:22;;-1:-1:-1;;;6649:22:42;;-1:-1:-1;;;;;6658:12:42;;;6649:22;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;6649:8:42;;4486:18:43;;6649:22:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6693:44:42;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6693:44:42;-1:-1:-1;;;6693:44:42;;;6677:61;;-1:-1:-1;;;6677:61:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;6677:15:42;;-1:-1:-1;6677:61:42;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6744:13:42;;:56;;-1:-1:-1;;;6744:56:42;;-1:-1:-1;;;;;6744:13:42;;;;-1:-1:-1;6744:32:42;;-1:-1:-1;6744:56:42;;6777:10;;6789;;6744:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6864:13:42;;:40;;-1:-1:-1;;;6864:40:42;;;;;12665:25:43;;;6855:67:42;;-1:-1:-1;;;;;;6864:13:42;;;;-1:-1:-1;6864:28:42;;12638:18:43;;6864:40:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6864:40:42;;;;;;;;;;;;:::i;:::-;6906:15;;;6919:1;6906:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6855:8;:67::i;:::-;6151:776;;5980:947;;;:::o;11206:898::-;11425:34;;-1:-1:-1;;;11425:34:42;;11435:23;;;;11425:34;;;6654:41:43;-1:-1:-1;;;;;;;;;;;250:64:4;11425:9:42;;6627:18:43;;11425:34:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11559:61:42;;;;;12665:25:43;;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;11527:11:42;;-1:-1:-1;686:42:42;;12638:18:43;;11559:61:42;;;;;;-1:-1:-1;;11559:61:42;;;;;;;;;;;;-1:-1:-1;;;;;;;;11559:61:42;;;;;;11633:15;;-1:-1:-1;11633:15:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11622:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;11527:123;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11749:26:42;;-1:-1:-1;11791:1:42;;-1:-1:-1;11778:15:42;;-1:-1:-1;11778:15:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11749:44;;11815:13;;11799:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11799:13:42;;:10;;-1:-1:-1;11799:29:42;;-1:-1:-1;11799:13:42;;;-1:-1:-1;11799:13:42;;;;:::i;:::-;;;;;;:29;;;;11850:10;;11834:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11834:13:42;;:10;;-1:-1:-1;11845:1:42;;-1:-1:-1;11834:13:42;;;;;;:::i;:::-;;;;;;:26;;;;11882:5;;11866:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11866:13:42;;:10;;-1:-1:-1;11877:1:42;;-1:-1:-1;11866:13:42;;;;;;:::i;:::-;;;;;;;;;;:21;-1:-1:-1;;;;;;;;;;;11894:11:42;584:42;-1:-1:-1;;;11987:21:42;11997:10;11987:9;:21::i;:::-;11941:68;;;;;;12665:25:43;;12653:2;12638:18;;12519:177;11941:68:42;;;;-1:-1:-1;;11941:68:42;;;;;;;;;;;;;;;-1:-1:-1;;;;;11941:68:42;-1:-1:-1;;;;;;11941:68:42;;;;;;12017:22;;-1:-1:-1;12017:22:42;;;4513:51:43;12017:22:42;;;;;;;;;;4486:18:43;;;12017:22:42;;;;11894:151;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12061:13:42;;:33;;-1:-1:-1;;;12061:33:42;;;;;12665:25:43;;;12052:47:42;;-1:-1:-1;;;;;;12061:13:42;;;;-1:-1:-1;12061:22:42;;12638:18:43;;12061:33:42;12519:177:43;12052:47:42;11419:685;11206:898;;;;;;;;:::o;8129:1301::-;-1:-1:-1;;;;;;;;;;;8309:9:42;8326:23;;;;;:55;;-1:-1:-1;8353:28:42;;;8326:55;:90;;;;-1:-1:-1;8385:31:42;;;8326:90;8309:113;;;;;;;;;;;;;6679:14:43;6672:22;6654:41;;6642:2;6627:18;;6514:187;8309:113:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8582:15:42;;;8595:1;8582:15;;;;;;;;;8449:5;;-1:-1:-1;8429:17:42;;-1:-1:-1;8582:15:42;;;;;;;;;;;;;;;;;;;;;8553:44;;8619:13;;8603:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8603:13:42;;:10;;-1:-1:-1;8603:29:42;;-1:-1:-1;8603:13:42;;;-1:-1:-1;8603:13:42;;;;:::i;:::-;;;;;;:29;;;;8654:10;;8638:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8638:13:42;;:10;;-1:-1:-1;8649:1:42;;-1:-1:-1;8638:13:42;;;;;;:::i;:::-;;;;;;:26;;;;8686:5;;8670:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8670:13:42;;:10;;-1:-1:-1;8681:1:42;;-1:-1:-1;8670:13:42;;;;;;:::i;:::-;;;;;;;;;;:21;8718:13;;:24;;;-1:-1:-1;;;8718:24:42;;;;8698:17;;-1:-1:-1;;;;;8718:13:42;;:22;;:24;;;;;8698:17;;8718:24;;;;;;;:13;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8718:24:42;;;;;;;;;;;;:::i;:::-;8698:44;-1:-1:-1;;;;;;;;;;;;8749:11:42;584:42;-1:-1:-1;;;8842:21:42;8852:10;8842:9;:21::i;:::-;8796:68;;;;;;12665:25:43;;12653:2;12638:18;;12519:177;8796:68:42;;;;-1:-1:-1;;8796:68:42;;;;;;;;;;;;;;;-1:-1:-1;;;;;8796:68:42;-1:-1:-1;;;;;;8796:68:42;;;;;;8891:15;;8872:36;;-1:-1:-1;;;;;8891:15:42;;;8872:36;;;4513:51:43;8872:36:42;;;;;;;;;;4486:18:43;;;8872:36:42;;;;8749:165;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8948:15:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;8921:11:42;;-1:-1:-1;;;;;;8948:15:42;-1:-1:-1;;;9024:21:42;9034:10;9024:9;:21::i;:::-;9047:3;8972:79;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;8972:79:42;;;;;;;;;;;;;;-1:-1:-1;;;;;8972:79:42;-1:-1:-1;;;;;;8972:79:42;;;;;;;;;;9070:27;9087:9;9070:16;:27::i;:::-;9059:39;;;;;;;;:::i;:::-;;;;;;;;;;;;;8921:183;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9219:61:42;;;;;12665:25:43;;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;9187:11:42;;-1:-1:-1;686:42:42;;12638:18:43;;9219:61:42;;;-1:-1:-1;;9219:61:42;;;;;;;;;;;;;;;-1:-1:-1;;;;;9219:61:42;-1:-1:-1;;;9219:61:42;;;9282:22;;;;9293:10;;9282:22;;:::i;:::-;;;;;;;;;;;;;9187:118;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9321:13:42;;:33;;-1:-1:-1;;;9321:33:42;;;;;12665:25:43;;;9312:113:42;;-1:-1:-1;;;;;;9321:13:42;;;;-1:-1:-1;9321:22:42;;12638:18:43;;9321:33:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9321:33:42;;;;;;;;;;;;:::i;:::-;9380:5;;9392:10;;9409:13;;9363:60;;;;;;;;;;;;;:::i;1872:701::-;1984:35;;-1:-1:-1;;;1984:35:42;;1994:24;;;1984:35;;;6654:41:43;-1:-1:-1;;;;;;;;;;;250:64:4;1984:9:42;;6627:18:43;;1984:35:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2047:10:42;;2075:12;;2095:50;;;;;;;;;;;;;;;-1:-1:-1;;;2095:50:42;;;;;;2047:10;2095:50;;;;2047:104;;-1:-1:-1;;;2047:104:42;;2026:18;;-1:-1:-1;;;;;;2047:10:42;;;;-1:-1:-1;2047:20:42;;:104;;2075:12;;2095:50;2047:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2187:15;;;2200:1;2187:15;;;;;;;;;2026:125;;-1:-1:-1;2158:26:42;;2187:15;;;;;;;;;;;;;;;;;;;;;2158:44;;2224:5;;2208:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2208:13:42;;:10;;-1:-1:-1;2208:21:42;;-1:-1:-1;2208:13:42;;;-1:-1:-1;2208:13:42;;;;:::i;:::-;;;;;;;;;;:21;2266:37;;-1:-1:-1;;;2266:37:42;;2280:4;2266:37;;;16619:41:43;;;16676:18;;;16669:50;;;16735:18;;;16728:50;;;16794:18;;;16787:50;-1:-1:-1;;;;;;;;;;;250:64:4;2266:13:42;;16591:19:43;;2266:37:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2342:5;;2314:60;;;;;;;:::i;:::-;;;;;;;;;2361:12;;2314:60;;2330:10;;2314:60;;;;2349:10;;-1:-1:-1;;;;;2361:12:42;;;;2314:60;:::i;:::-;;;;;;;;2390:12;;2381:22;;-1:-1:-1;;;2381:22:42;;-1:-1:-1;;;;;2390:12:42;;;2381:22;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;2381:8:42;;4486:18:43;;2381:22:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2409:13:42;;:56;;-1:-1:-1;;;2409:56:42;;-1:-1:-1;;;;;2409:13:42;;;;-1:-1:-1;2409:32:42;;-1:-1:-1;2409:56:42;;2442:10;;2454;;2409:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2515:13:42;;:40;;-1:-1:-1;;;2515:40:42;;;;;12665:25:43;;;2506:62:42;;-1:-1:-1;;;;;;2515:13:42;;;;-1:-1:-1;2515:28:42;;12638:18:43;;2515:40:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2515:40:42;;;;;;;;;;;;:::i;:::-;2557:10;2506:8;:62::i;:::-;1978:595;;1872:701;;:::o;2577:1019::-;2702:35;;-1:-1:-1;;;2702:35:42;;2712:24;;;2702:35;;;6654:41:43;-1:-1:-1;;;;;;;;;;;250:64:4;2702:9:42;;6627:18:43;;2702:35:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2765:10:42;;2793:12;;2813:50;;;;;;;;;;;;;;;-1:-1:-1;;;2813:50:42;;;;;;2765:10;2813:50;;;;2765:104;;-1:-1:-1;;;2765:104:42;;2744:18;;-1:-1:-1;;;;;;2765:10:42;;;;-1:-1:-1;2765:20:42;;:104;;2793:12;;2813:50;2765:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2964:16;;;2978:1;2964:16;;;;;;;;;2744:125;;-1:-1:-1;2927:34:42;;2964:16;;;;;;;;;;;;-1:-1:-1;2964:16:42;2927:53;;127:2:2;2986:17:42;3004:1;2986:20;;;;;;;;:::i;:::-;;;;;;;;;;:53;3055:12;;3046:22;;-1:-1:-1;;;3046:22:42;;-1:-1:-1;;;;;3055:12:42;;;3046:22;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;3046:8:42;;4486:18:43;;3046:22:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3074:15:42;;3109:83;;;;;;;;-1:-1:-1;;;;;3109:83:42;;;;;3074:15;3109:83;;;;;;;;;;3074:124;;-1:-1:-1;;;3074:124:42;;:15;;;;;-1:-1:-1;3074:27:42;;-1:-1:-1;3074:124:42;;3109:83;3074:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3205:26:42;;-1:-1:-1;3247:1:42;;-1:-1:-1;3234:15:42;;-1:-1:-1;3234:15:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3205:44;;3271:5;;3255:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3255:13:42;;:10;;-1:-1:-1;3255:21:42;;-1:-1:-1;3255:13:42;;;-1:-1:-1;3255:13:42;;;;:::i;:::-;;;;;;;;;;:21;3301:37;;-1:-1:-1;;;3301:37:42;;3315:4;3301:37;;;16619:41:43;;;16676:18;;;16669:50;;;16735:18;;;16728:50;;;16794:18;;;16787:50;-1:-1:-1;;;;;;;;;;;250:64:4;3301:13:42;;16591:19:43;;3301:37:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3377:5;;3349:54;;;;;;;:::i;:::-;;;;;;;;3365:10;3349:54;3384:10;3396:6;3349:54;;;;;;;:::i;:::-;;;;;;;;3410:16;;-1:-1:-1;;;3410:16:42;;-1:-1:-1;;;;;4531:32:43;;3410:16:42;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;3410:8:42;;4486:18:43;;3410:16:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3432:13:42;;:56;;-1:-1:-1;;;3432:56:42;;-1:-1:-1;;;;;3432:13:42;;;;-1:-1:-1;3432:32:42;;-1:-1:-1;3432:56:42;;3465:10;;3477;;3432:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3538:13:42;;:40;;-1:-1:-1;;;3538:40:42;;;;;12665:25:43;;;3529:62:42;;-1:-1:-1;;;;;;3538:13:42;;;;-1:-1:-1;3538:28:42;;12638:18:43;;3538:40:42;12519:177:43;3529:62:42;2696:900;;;2577:1019;;;:::o;3600:1108::-;3792:19;;-1:-1:-1;;;;;;;;;;;250:64:4;3775:9:42;;3792:23;;;;:55;;;3846:1;3825:10;3819:24;:28;3792:55;:90;;;;;3881:1;3857:13;3851:27;:31;3792:90;3775:113;;;;;;;;;;;;;6679:14:43;6672:22;6654:41;;6642:2;6627:18;;6514:187;3775:113:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3916:10:42;;3944:12;;3964:50;;;;;;;;;;;;;;;-1:-1:-1;;;3964:50:42;;;;;;3916:10;3964:50;;;;3916:104;;-1:-1:-1;;;3916:104:42;;3895:18;;-1:-1:-1;;;;;;3916:10:42;;;;-1:-1:-1;3916:20:42;;:104;;3944:12;;3964:50;3916:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4148:15;;;4161:1;4148:15;;;;;;;;;3895:125;;-1:-1:-1;4119:26:42;;4148:15;;;;;;;;;;;;;;;;;;;;;4119:44;;4185:13;4169:10;4180:1;4169:13;;;;;;;;:::i;:::-;;;;;;:29;;;;4220:10;4204;4215:1;4204:13;;;;;;;;:::i;:::-;;;;;;:26;;;;4252:5;4236:10;4247:1;4236:13;;;;;;;;:::i;:::-;;;;;;:21;;;;4264:23;4314:5;4326:10;4343:13;4297:60;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;4297:60:42;;;;;;;-1:-1:-1;;;4383:37:42;;4397:4;4383:37;;;16619:41:43;;;16676:18;;;16669:50;;;16735:18;;;16728:50;;;16794:18;;;16787:50;4297:60:42;-1:-1:-1;;;;;;;;;;;;250:64:4;4383:13:42;;16591:19:43;;4383:37:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4459:9;4431:64;;;;;;:::i;:::-;;;;;;;;;4482:12;;4431:64;;4447:10;;4431:64;;;;4470:10;;-1:-1:-1;;;;;4482:12:42;;;;4431:64;:::i;:::-;;;;;;;;4511:12;;4502:22;;-1:-1:-1;;;4502:22:42;;-1:-1:-1;;;;;4511:12:42;;;4502:22;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;4502:8:42;;4486:18:43;;4502:22:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4530:13:42;;:56;;-1:-1:-1;;;4530:56:42;;-1:-1:-1;;;;;4530:13:42;;;;-1:-1:-1;4530:32:42;;-1:-1:-1;4530:56:42;;4563:10;;4575;;4530:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4650:13:42;;:40;;-1:-1:-1;;;4650:40:42;;;;;12665:25:43;;;4641:62:42;;-1:-1:-1;;;;;;4650:13:42;;;;-1:-1:-1;4650:28:42;;12638:18:43;;4650:40:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4650:40:42;;;;;;;;;;;;:::i;:::-;4692:10;4641:8;:62::i;7788:337::-;7975:61;;;;;12665:25:43;;;-1:-1:-1;;;;;;;;;;;250:64:4;7943:11:42;;686:42;;12638:18:43;;7975:61:42;;;;;;-1:-1:-1;;7975:61:42;;;;;;;;;;;;-1:-1:-1;;;;;;;;7975:61:42;;;;;;8049:15;;-1:-1:-1;8049:15:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8038:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;7943:123;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8082:13:42;;:33;;-1:-1:-1;;;8082:33:42;;;;;12665:25:43;;;8073:47:42;;-1:-1:-1;;;;;;8082:13:42;;;;-1:-1:-1;8082:22:42;;12638:18:43;;8082:33:42;12519:177:43;8073:47:42;7788:337;:::o;13319:1303::-;-1:-1:-1;;;;;;;;;;;13491:9:42;13508:23;;;;;:55;;-1:-1:-1;13535:28:42;;;13508:55;:90;;;;-1:-1:-1;13567:31:42;;;13508:90;13491:113;;;;;;;;;;;;;6679:14:43;6672:22;6654:41;;6642:2;6627:18;;6514:187;13491:113:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13632:10:42;;13660:12;;13680:50;;;;;;;;;;;;;;;-1:-1:-1;;;13680:50:42;;;;;;13632:10;13680:50;;;;13632:104;;-1:-1:-1;;;13632:104:42;;13611:18;;-1:-1:-1;;;;;;13632:10:42;;;;-1:-1:-1;13632:20:42;;:104;;13660:12;;13680:50;13632:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13611:125;;13743:17;13763:13;;;;;;;;;-1:-1:-1;;;;;13763:13:42;-1:-1:-1;;;;;13763:22:42;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13763:24:42;;;;;;;;;;;;:::i;:::-;13915:15;;;13928:1;13915:15;;;;;;;;;13743:44;;-1:-1:-1;13886:26:42;;13915:15;;;;;;;;;;;;;;;;;;;;;13886:44;;13952:13;;13936:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13936:13:42;;:10;;-1:-1:-1;13936:29:42;;-1:-1:-1;13936:13:42;;;-1:-1:-1;13936:13:42;;;;:::i;:::-;;;;;;:29;;;;13987:10;;13971:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13971:13:42;;:10;;-1:-1:-1;13982:1:42;;-1:-1:-1;13971:13:42;;;;;;:::i;:::-;;;;;;:26;;;;14019:5;;14003:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14003:13:42;;:10;;-1:-1:-1;14014:1:42;;-1:-1:-1;14003:13:42;;;;;;:::i;:::-;;;;;;;;;;:21;14040:12;;14031:22;;-1:-1:-1;;;14031:22:42;;-1:-1:-1;;;;;14040:12:42;;;14031:22;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;14031:8:42;;4486:18:43;;14031:22:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14059:13:42;;:56;;-1:-1:-1;;;14059:56:42;;-1:-1:-1;;;;;14059:13:42;;;;-1:-1:-1;14059:32:42;;-1:-1:-1;14059:56:42;;14092:10;;14104;;14059:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;250:64:4;-1:-1:-1;14122:11:42;;-1:-1:-1;584:42:42;;-1:-1:-1;;;;14215:21:42;14225:10;14215:9;:21::i;:::-;14169:68;;;;;;12665:25:43;;12653:2;12638:18;;12519:177;14169:68:42;;;;-1:-1:-1;;14169:68:42;;;;;;;;;;;;;;;-1:-1:-1;;;;;14169:68:42;-1:-1:-1;;;;;;14169:68:42;;;;;;14264:15;;14245:36;;-1:-1:-1;;;;;14264:15:42;;;14245:36;;;4513:51:43;14245:36:42;;;;;;;;;;4486:18:43;;;14245:36:42;;;;14122:165;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14321:15:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;14294:11:42;;-1:-1:-1;;;;;;14321:15:42;-1:-1:-1;;;14397:21:42;14407:10;14397:9;:21::i;:::-;14420:3;14345:79;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;14345:79:42;;;;;;;;;;;;;;-1:-1:-1;;;;;14345:79:42;-1:-1:-1;;;;;;14345:79:42;;;;;;;;;;14443:28;14460:10;14443:16;:28::i;:::-;14432:40;;;;;;;;:::i;4712:1264::-;-1:-1:-1;;;;;;;;;;;4856:9:42;-1:-1:-1;;;;;4866:52:42;;127:2:2;4866:52:42;;;;:80;;;4943:3;4922:18;-1:-1:-1;;;;;4922:24:42;;4866:80;4856:91;;;;;;;;;;;;;6679:14:43;6672:22;6654:41;;6642:2;6627:18;;6514:187;4856:91:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4973:12:42;;4953:33;;-1:-1:-1;;;4953:33:42;;-1:-1:-1;;;;;4963:22:42;;;4973:12;;4963:22;;;;;4953:33;;;6654:41:43;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;4953:9:42;;-1:-1:-1;6627:18:43;;4953:33:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5013:10:42;;5041:12;;5061:50;;;;;;;;;;;;;;;-1:-1:-1;;;5061:50:42;;;;;;5013:10;5061:50;;;;5013:104;;-1:-1:-1;;;5013:104:42;;4992:18;;-1:-1:-1;;;;;;5013:10:42;;;;-1:-1:-1;5013:20:42;;:104;;5041:12;;5061:50;5013:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5153:15;;;5166:1;5153:15;;;;;;;;;4992:125;;-1:-1:-1;5124:26:42;;5153:15;;;;;;;;;;;;;;;;;;;;;5124:44;;5190:5;;5174:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5174:13:42;;:10;;-1:-1:-1;5174:21:42;;-1:-1:-1;5174:13:42;;;-1:-1:-1;5174:13:42;;;;:::i;:::-;;;;;;;;;;:21;5250:16;;-1:-1:-1;;;5250:16:42;;-1:-1:-1;;;;;4531:32:43;;5250:16:42;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;5250:8:42;;4486:18:43;;5250:16:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5288:41:42;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5288:41:42;-1:-1:-1;;;5288:41:42;;;5272:58;;-1:-1:-1;;;5272:58:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;5272:15:42;;-1:-1:-1;5272:58:42;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5336:13:42;;:56;;-1:-1:-1;;;5336:56:42;;-1:-1:-1;;;;;5336:13:42;;;;-1:-1:-1;5336:32:42;;-1:-1:-1;5336:56:42;;5369:10;;5381;;5336:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5454:34:42;;-1:-1:-1;5505:1:42;;-1:-1:-1;5491:16:42;;-1:-1:-1;5491:16:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5491:16:42;;5454:53;;5536:18;-1:-1:-1;;;;;5513:41:42;:17;5531:1;5513:20;;;;;;;;:::i;:::-;;;;;;;;;;:41;5570:12;;5561:22;;-1:-1:-1;;;5561:22:42;;-1:-1:-1;;;;;5570:12:42;;;5561:22;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;5561:8:42;;4486:18:43;;5561:22:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5589:15:42;;5624:83;;;;;;;;-1:-1:-1;;;;;5624:83:42;;;;;5589:15;5624:83;;;;;;;;;;5589:124;;-1:-1:-1;;;5589:124:42;;:15;;;;;-1:-1:-1;5589:27:42;;-1:-1:-1;5589:124:42;;5624:83;5589:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5720:16:42;;-1:-1:-1;;;5720:16:42;;-1:-1:-1;;;;;4531:32:43;;5720:16:42;;;4513:51:43;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;5720:8:42;;-1:-1:-1;4486:18:43;;5720:16:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5758:41:42;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5758:41:42;-1:-1:-1;;;5758:41:42;;;5742:58;;-1:-1:-1;;;5742:58:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;5742:15:42;;-1:-1:-1;5742:58:42;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5806:13:42;;:56;;-1:-1:-1;;;5806:56:42;;-1:-1:-1;;;;;5806:13:42;;;;-1:-1:-1;5806:32:42;;-1:-1:-1;5806:56:42;;5839:10;;5851;;5806:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5913:13:42;;:40;;-1:-1:-1;;;5913:40:42;;;;;12665:25:43;;;5904:67:42;;-1:-1:-1;;;;;;5913:13:42;;;;-1:-1:-1;5913:28:42;;12638:18:43;;5913:40:42;12519:177:43;5904:67:42;4850:1126;;;4712:1264;;;;:::o;1819:584:3:-;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:3;;;;;;;;1819:584::o;1869:528::-;1941:17;-1:-1:-1;;;;;;;;;;;2978:55:3;3059:16;1980:374;;2196:43;;;-1:-1:-1;;;;;;;;;;;2196:43:3;;;19876:51:43;;;-1:-1:-1;;;19943:18:43;;;19936:34;2196:43:3;;;;;;;;;19849:18:43;;;2196:43:3;;;-1:-1:-1;;1671:64:3;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:3;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:3:o;6931:624:42:-;7030:10;;7058:12;;7078:50;;;;;;;;;;;;;;;-1:-1:-1;;;7078:50:42;;;;;;7030:10;7078:50;;;;7030:104;;-1:-1:-1;;;7030:104:42;;-1:-1:-1;;;;;;;7030:10:42;;;;:20;;:104;;7058:12;;;;;7030:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7262:15;;;7233:26;7262:15;;;;;;;;;7009:125;;-1:-1:-1;7233:26:42;;7262:15;;;;;;;;;;;;;;;;;;;-1:-1:-1;7293:12:42;;7284:22;;-1:-1:-1;;;7284:22:42;;-1:-1:-1;;;;;7293:12:42;;;7284:22;;;4513:51:43;7233:44:42;;-1:-1:-1;;;;;;;;;;;;250:64:4;7284:8:42;;4486:18:43;;7284:22:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7328:37:42;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7328:37:42;-1:-1:-1;;;7328:37:42;;;7312:54;;-1:-1:-1;;;7312:54:42;;-1:-1:-1;;;;;;;;;;;250:64:4;-1:-1:-1;7312:15:42;;-1:-1:-1;7312:54:42;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7372:13:42;;:56;;-1:-1:-1;;;7372:56:42;;-1:-1:-1;;;;;7372:13:42;;;;-1:-1:-1;7372:32:42;;-1:-1:-1;7372:56:42;;7405:10;;7417;;7372:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7492:13:42;;:40;;-1:-1:-1;;;7492:40:42;;;;;12665:25:43;;;7483:67:42;;-1:-1:-1;;;;;;7492:13:42;;;;-1:-1:-1;7492:28:42;;12638:18:43;;7492:40:42;12519:177:43;7483:67:42;7003:552;;6931:624::o;15154:508::-;15222:16;15284:8;15304:23;;;;;;-1:-1:-1;;;21146:18:43;;21189:1;21180:11;;20944:253;15304:23:42;;;;;;;;;;;;;15294:34;;;;;;15267:62;;;;;;;;21359:19:43;;;21403:2;21394:12;;21387:28;21440:2;21431:12;;21202:247;15267:62:42;;;;;;;;;;;;;15257:73;;;;;;15246:84;;15404:19;15426:8;:15;15404:37;;15476:10;15471:187;15497:11;15492:2;:16;15471:187;;;15558:8;15595;15604:2;15595:12;;;;;;;;:::i;:::-;;;;;;;15578:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;15568:41;;;;;;15541:69;;;;;;;;21359:19:43;;;21403:2;21394:12;;21387:28;21440:2;21431:12;;21202:247;15541:69:42;;;;-1:-1:-1;;15541:69:42;;;;;;;;;15531:80;;15541:69;15531:80;;;;;-1:-1:-1;15639:4:42;;15471:187;;;;15240:422;15154:508;;;:::o;328:703:35:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:35;;;;;;;;;;;;-1:-1:-1;;;627:10:35;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:35;;-1:-1:-1;773:2:35;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:35;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:35;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:35;;;;;;;;-1:-1:-1;972:11:35;981:2;972:11;;:::i;:::-;;;844:150;;;1017:6;328:703;-1:-1:-1;;;;328:703:35:o;14688:344:3:-;14824:1;14807:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;14797:30;;;;;;14790:1;14773:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;14763:30;;;;;;:64;14759:267;;14848:43;;;;;22565:2:43;22547:21;;;22604:2;22584:18;;;22577:30;22643:34;22638:2;22623:18;;22616:62;-1:-1:-1;;;22709:2:43;22694:18;;22687:34;22753:3;22738:19;;22363:400;14848:43:3;;;;;;;;14910:33;14941:1;14910:33;;;;;;:::i;:::-;;;;;;;;14962;14993:1;14962:33;;;;;;:::i;:::-;;;;;;;;15009:6;:4;:6::i;14900:250:42:-;14982:39;14991:6;:13;15006:7;:14;14982:8;:39::i;:::-;15032:10;15027:118;15049:6;:13;15044:2;:18;15027:118;;;15076:69;15101:6;15108:2;15101:10;;;;;;;;:::i;:::-;;;;;;;15085:28;;;;;;15131:7;15139:2;15131:11;;;;;;;;:::i;:::-;;;;;;;15115:29;;;;;;15076:8;:69::i;:::-;15064:4;;;;:::i;:::-;;;;15027:118;;;;14900:250;;:::o;2410:424:3:-;-1:-1:-1;;;;;;;;;;;2978:55:3;3059:16;2445:359;;2645:67;;;-1:-1:-1;;;;;;;;;;;2645:67:3;;;24188:51:43;;;-1:-1:-1;;;24255:18:43;;;24248:34;;;;2705:4:3;24298:18:43;;;24291:34;2482:11:3;;1671:64;2579:43;;24161:18:43;;2645:67:3;;;-1:-1:-1;;2645:67:3;;;;;;;;;;2534:196;;;2645:67;2534:196;;:::i;:::-;;;;-1:-1:-1;;2534:196:3;;;;;;;;;;2499:245;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2445:359:3;2813:7;:14;;-1:-1:-1;;2813:14:3;;;;;2410:424::o;5202:262::-;5264:1;5259;:6;5255:203;;5286:41;;;;;24538:2:43;24520:21;;;24577:2;24557:18;;;24550:30;24616:34;24611:2;24596:18;;24589:62;-1:-1:-1;;;24682:2:43;24667:18;;24660:32;24724:3;24709:19;;24336:398;5286:41:3;;;;;;;;5346:31;5375:1;5346:31;;;;;;:::i;:::-;;;;;;;;5396;5425:1;5396:31;;;;;;:::i;4088:277::-;4156:1;4151;:6;4147:212;;4178:44;;;;;25647:2:43;25629:21;;;25686:2;25666:18;;;25659:30;25725:34;25720:2;25705:18;;25698:62;-1:-1:-1;;;25791:2:43;25776:18;;25769:35;25836:3;25821:19;;25445:401;4178:44:3;;;;;;;;4241:34;4273:1;4241:34;;;;;;:::i;:::-;;;;;;;;4294;4326:1;4294:34;;;;;;:::i;-1:-1:-1:-;;;;;;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;:::o;14:348:43:-;66:8;76:6;130:3;123:4;115:6;111:17;107:27;97:55;;148:1;145;138:12;97:55;-1:-1:-1;171:20:43;;214:18;203:30;;200:50;;;246:1;243;236:12;200:50;283:4;275:6;271:17;259:29;;335:3;328:4;319:6;311;307:19;303:30;300:39;297:59;;;352:1;349;342:12;297:59;14:348;;;;;:::o;367:1010::-;480:6;488;496;504;512;520;573:2;561:9;552:7;548:23;544:32;541:52;;;589:1;586;579:12;541:52;629:9;616:23;658:18;699:2;691:6;688:14;685:34;;;715:1;712;705:12;685:34;754:59;805:7;796:6;785:9;781:22;754:59;:::i;:::-;832:8;;-1:-1:-1;728:85:43;-1:-1:-1;920:2:43;905:18;;892:32;;-1:-1:-1;936:16:43;;;933:36;;;965:1;962;955:12;933:36;1004:61;1057:7;1046:8;1035:9;1031:24;1004:61;:::i;:::-;1084:8;;-1:-1:-1;978:87:43;-1:-1:-1;1172:2:43;1157:18;;1144:32;;-1:-1:-1;1188:16:43;;;1185:36;;;1217:1;1214;1207:12;1185:36;;1256:61;1309:7;1298:8;1287:9;1283:24;1256:61;:::i;:::-;367:1010;;;;-1:-1:-1;367:1010:43;;-1:-1:-1;367:1010:43;;1336:8;;367:1010;-1:-1:-1;;;367:1010:43:o;1382:1148::-;1513:6;1521;1529;1537;1545;1553;1561;1569;1622:3;1610:9;1601:7;1597:23;1593:33;1590:53;;;1639:1;1636;1629:12;1590:53;1675:9;1662:23;1652:33;;1732:2;1721:9;1717:18;1704:32;1694:42;;1787:2;1776:9;1772:18;1759:32;1810:18;1851:2;1843:6;1840:14;1837:34;;;1867:1;1864;1857:12;1837:34;1906:59;1957:7;1948:6;1937:9;1933:22;1906:59;:::i;:::-;1984:8;;-1:-1:-1;1880:85:43;-1:-1:-1;2072:2:43;2057:18;;2044:32;;-1:-1:-1;2088:16:43;;;2085:36;;;2117:1;2114;2107:12;2085:36;2156:61;2209:7;2198:8;2187:9;2183:24;2156:61;:::i;:::-;2236:8;;-1:-1:-1;2130:87:43;-1:-1:-1;2324:3:43;2309:19;;2296:33;;-1:-1:-1;2341:16:43;;;2338:36;;;2370:1;2367;2360:12;2338:36;;2409:61;2462:7;2451:8;2440:9;2436:24;2409:61;:::i;:::-;1382:1148;;;;-1:-1:-1;1382:1148:43;;-1:-1:-1;1382:1148:43;;;;;;2489:8;-1:-1:-1;;;1382:1148:43:o;2535:127::-;2596:10;2591:3;2587:20;2584:1;2577:31;2627:4;2624:1;2617:15;2651:4;2648:1;2641:15;2667:275;2738:2;2732:9;2803:2;2784:13;;-1:-1:-1;;2780:27:43;2768:40;;2838:18;2823:34;;2859:22;;;2820:62;2817:88;;;2885:18;;:::i;:::-;2921:2;2914:22;2667:275;;-1:-1:-1;2667:275:43:o;2947:187::-;2996:4;3029:18;3021:6;3018:30;3015:56;;;3051:18;;:::i;:::-;-1:-1:-1;3117:2:43;3096:15;-1:-1:-1;;3092:29:43;3123:4;3088:40;;2947:187::o;3139:464::-;3182:5;3235:3;3228:4;3220:6;3216:17;3212:27;3202:55;;3253:1;3250;3243:12;3202:55;3289:6;3276:20;3320:49;3336:32;3365:2;3336:32;:::i;:::-;3320:49;:::i;:::-;3394:2;3385:7;3378:19;3440:3;3433:4;3428:2;3420:6;3416:15;3412:26;3409:35;3406:55;;;3457:1;3454;3447:12;3406:55;3522:2;3515:4;3507:6;3503:17;3496:4;3487:7;3483:18;3470:55;3570:1;3545:16;;;3563:4;3541:27;3534:38;;;;3549:7;3139:464;-1:-1:-1;;;3139:464:43:o;3608:743::-;3715:6;3723;3731;3784:2;3772:9;3763:7;3759:23;3755:32;3752:52;;;3800:1;3797;3790:12;3752:52;3840:9;3827:23;3869:18;3910:2;3902:6;3899:14;3896:34;;;3926:1;3923;3916:12;3896:34;3949:50;3991:7;3982:6;3971:9;3967:22;3949:50;:::i;:::-;3939:60;;4052:2;4041:9;4037:18;4024:32;4008:48;;4081:2;4071:8;4068:16;4065:36;;;4097:1;4094;4087:12;4065:36;4120:52;4164:7;4153:8;4142:9;4138:24;4120:52;:::i;:::-;4110:62;;4225:2;4214:9;4210:18;4197:32;4181:48;;4254:2;4244:8;4241:16;4238:36;;;4270:1;4267;4260:12;4238:36;;4293:52;4337:7;4326:8;4315:9;4311:24;4293:52;:::i;:::-;4283:62;;;3608:743;;;;;:::o;4575:411::-;4646:6;4654;4707:2;4695:9;4686:7;4682:23;4678:32;4675:52;;;4723:1;4720;4713:12;4675:52;4763:9;4750:23;4796:18;4788:6;4785:30;4782:50;;;4828:1;4825;4818:12;4782:50;4867:59;4918:7;4909:6;4898:9;4894:22;4867:59;:::i;:::-;4945:8;;4841:85;;-1:-1:-1;4575:411:43;-1:-1:-1;;;;4575:411:43:o;4991:173::-;5059:20;;-1:-1:-1;;;;;5108:31:43;;5098:42;;5088:70;;5154:1;5151;5144:12;5169:485;5249:6;5257;5265;5318:2;5306:9;5297:7;5293:23;5289:32;5286:52;;;5334:1;5331;5324:12;5286:52;5357:29;5376:9;5357:29;:::i;:::-;5347:39;;5437:2;5426:9;5422:18;5409:32;5464:18;5456:6;5453:30;5450:50;;;5496:1;5493;5486:12;5450:50;5535:59;5586:7;5577:6;5566:9;5562:22;5535:59;:::i;:::-;5169:485;;5613:8;;-1:-1:-1;5509:85:43;;-1:-1:-1;;;;5169:485:43:o;5659:180::-;5718:6;5771:2;5759:9;5750:7;5746:23;5742:32;5739:52;;;5787:1;5784;5777:12;5739:52;-1:-1:-1;5810:23:43;;5659:180;-1:-1:-1;5659:180:43:o;5844:665::-;5932:6;5940;5948;5956;6009:2;5997:9;5988:7;5984:23;5980:32;5977:52;;;6025:1;6022;6015:12;5977:52;6064:9;6051:23;-1:-1:-1;;;;;6107:5:43;6103:38;6096:5;6093:49;6083:77;;6156:1;6153;6146:12;6083:77;6179:5;-1:-1:-1;6203:38:43;6237:2;6222:18;;6203:38;:::i;:::-;6193:48;;6292:2;6281:9;6277:18;6264:32;6319:18;6311:6;6308:30;6305:50;;;6351:1;6348;6341:12;6305:50;6390:59;6441:7;6432:6;6421:9;6417:22;6390:59;:::i;:::-;5844:665;;;;-1:-1:-1;6468:8:43;-1:-1:-1;;;;5844:665:43:o;6706:424::-;-1:-1:-1;;;;;6935:32:43;;;;6917:51;;7004:2;6999;6984:18;;6977:30;;;7043:1;7023:18;;;7016:29;-1:-1:-1;;;7076:2:43;7061:18;;7054:34;7120:3;7105:19;;6706:424::o;9142:250::-;9227:1;9237:113;9251:6;9248:1;9245:13;9237:113;;;9327:11;;;9321:18;9308:11;;;9301:39;9273:2;9266:10;9237:113;;;-1:-1:-1;;9384:1:43;9366:16;;9359:27;9142:250::o;9397:271::-;9439:3;9477:5;9471:12;9504:6;9499:3;9492:19;9520:76;9589:6;9582:4;9577:3;9573:14;9566:4;9559:5;9555:16;9520:76;:::i;:::-;9650:2;9629:15;-1:-1:-1;;9625:29:43;9616:39;;;;9657:4;9612:50;;9397:271;-1:-1:-1;;9397:271:43:o;9673:545::-;9931:1;9927;9922:3;9918:11;9914:19;9906:6;9902:32;9891:9;9884:51;9971:2;9966;9955:9;9951:18;9944:30;9865:4;10009:6;10003:13;10052:2;10047;10036:9;10032:18;10025:30;10078:52;10125:3;10114:9;10110:19;10096:12;10078:52;:::i;:::-;10064:66;;10184:2;10176:6;10172:15;10166:22;10161:2;10150:9;10146:18;10139:50;10206:6;10198:14;;;9673:545;;;;;:::o;10223:184::-;10293:6;10346:2;10334:9;10325:7;10321:23;10317:32;10314:52;;;10362:1;10359;10352:12;10314:52;-1:-1:-1;10385:16:43;;10223:184;-1:-1:-1;10223:184:43:o;10412:443::-;10466:5;10519:3;10512:4;10504:6;10500:17;10496:27;10486:55;;10537:1;10534;10527:12;10486:55;10566:6;10560:13;10597:49;10613:32;10642:2;10613:32;:::i;10597:49::-;10671:2;10662:7;10655:19;10717:3;10710:4;10705:2;10697:6;10693:15;10689:26;10686:35;10683:55;;;10734:1;10731;10724:12;10683:55;10747:77;10821:2;10814:4;10805:7;10801:18;10794:4;10786:6;10782:17;10747:77;:::i;10860:337::-;10940:6;10993:2;10981:9;10972:7;10968:23;10964:32;10961:52;;;11009:1;11006;10999:12;10961:52;11042:9;11036:16;11075:18;11067:6;11064:30;11061:50;;;11107:1;11104;11097:12;11061:50;11130:61;11183:7;11174:6;11163:9;11159:22;11130:61;:::i;11202:127::-;11263:10;11258:3;11254:20;11251:1;11244:31;11294:4;11291:1;11284:15;11318:4;11315:1;11308:15;11542:616;11594:3;11632:5;11626:12;11659:6;11654:3;11647:19;11685:4;11726:2;11721:3;11717:12;11751:11;11778;11771:18;;11828:6;11825:1;11821:14;11814:5;11810:26;11798:38;;11870:2;11863:5;11859:14;11891:1;11901:231;11915:6;11912:1;11909:13;11901:231;;;11986:5;11980:4;11976:16;11971:3;11964:29;12014:38;12047:4;12038:6;12032:13;12014:38;:::i;:::-;12110:12;;;;12006:46;-1:-1:-1;12075:15:43;;;;11937:1;11930:9;11901:231;;;-1:-1:-1;12148:4:43;;11542:616;-1:-1:-1;;;;;;;11542:616:43:o;12163:351::-;12390:6;12379:9;12372:25;12433:2;12428;12417:9;12413:18;12406:30;12353:4;12453:55;12504:2;12493:9;12489:18;12481:6;12453:55;:::i;12701:476::-;-1:-1:-1;;;;;12922:32:43;;12904:51;;12991:2;12986;12971:18;;12964:30;;;-1:-1:-1;;13017:45:43;;13043:18;;13035:6;13017:45;:::i;:::-;13110:9;13102:6;13098:22;13093:2;13082:9;13078:18;13071:50;13138:33;13164:6;13156;13138:33;:::i;:::-;13130:41;12701:476;-1:-1:-1;;;;;;12701:476:43:o;13182:291::-;13359:6;13348:9;13341:25;13402:2;13397;13386:9;13382:18;13375:30;13322:4;13422:45;13463:2;13452:9;13448:18;13440:6;13422:45;:::i;13478:220::-;13627:2;13616:9;13609:21;13590:4;13647:45;13688:2;13677:9;13673:18;13665:6;13647:45;:::i;:::-;13639:53;13478:220;-1:-1:-1;;;13478:220:43:o;13885:280::-;14084:2;14073:9;14066:21;14047:4;14104:55;14155:2;14144:9;14140:18;14132:6;14104:55;:::i;14170:841::-;14673:6;14665;14660:3;14647:33;14629:3;14708:6;14703:3;14699:16;-1:-1:-1;;;14757:2:43;14753;14746:14;14802:6;14794;14790:1;14786:2;14782:10;14769:40;14867:1;14828:15;;;14859:10;;;14852:22;14916:6;14908;14904:1;14896:10;;14883:40;14985:1;14946:15;;14963:1;14942:23;14974:13;;;-1:-1:-1;14942:23:43;;14170:841;-1:-1:-1;;;;;;14170:841:43:o;15239:1168::-;15344:6;15375:2;15418;15406:9;15397:7;15393:23;15389:32;15386:52;;;15434:1;15431;15424:12;15386:52;15467:9;15461:16;15496:18;15537:2;15529:6;15526:14;15523:34;;;15553:1;15550;15543:12;15523:34;15591:6;15580:9;15576:22;15566:32;;15636:7;15629:4;15625:2;15621:13;15617:27;15607:55;;15658:1;15655;15648:12;15607:55;15687:2;15681:9;15709:2;15705;15702:10;15699:36;;;15715:18;;:::i;:::-;15761:2;15758:1;15754:10;15784:28;15808:2;15804;15800:11;15784:28;:::i;:::-;15846:15;;;15916:11;;;15912:20;;;15877:12;;;;15944:19;;;15941:39;;;15976:1;15973;15966:12;15941:39;16008:2;16004;16000:11;15989:22;;16020:357;16036:6;16031:3;16028:15;16020:357;;;16115:3;16109:10;16151:2;16138:11;16135:19;16132:109;;;16195:1;16224:2;16220;16213:14;16132:109;16266:68;16326:7;16321:2;16307:11;16303:2;16299:20;16295:29;16266:68;:::i;:::-;16254:81;;-1:-1:-1;16053:12:43;;;;16355;;;;16020:357;;;16396:5;15239:1168;-1:-1:-1;;;;;;;;;15239:1168:43:o;16848:273::-;17033:6;17025;17020:3;17007:33;16989:3;17059:16;;17084:13;;;17059:16;16848:273;-1:-1:-1;16848:273:43:o;17126:377::-;17353:2;17342:9;17335:21;17316:4;17373:55;17424:2;17413:9;17409:18;17401:6;17373:55;:::i;:::-;17365:63;;17493:1;17489;17484:3;17480:11;17476:19;17468:6;17464:32;17459:2;17448:9;17444:18;17437:60;17126:377;;;;;:::o;17508:891::-;17695:2;17706:21;;;17809:13;;-1:-1:-1;;;;;17805:39:43;17785:18;;;17778:67;17887:15;;;17881:22;17876:2;17861:18;;;17854:50;;;;17939:15;;17933:22;17993:4;17971:20;;;17964:34;18047:19;;17765:3;17750:19;;18075:22;;;17666:4;;17695:2;18155:21;;;17666:4;;17832:3;18113:19;;;18204:169;18218:6;18215:1;18212:13;18204:169;;;18279:13;;18267:26;;18348:15;;;;18240:1;18233:9;;;;;18313:12;;;;18204:169;;;-1:-1:-1;18390:3:43;17508:891;-1:-1:-1;;;;;;17508:891:43:o;18404:999::-;18833:3;18871:6;18865:13;18887:66;18946:6;18941:3;18934:4;18926:6;18922:17;18887:66;:::i;:::-;18984:6;18979:3;18975:16;18962:29;;-1:-1:-1;;;19036:2:43;19029:5;19022:17;19070:6;19064:13;19086:78;19155:8;19151:1;19144:5;19140:13;19133:4;19125:6;19121:17;19086:78;:::i;:::-;19227:1;19183:20;;19219:10;;;19212:22;19259:13;;19281:75;19259:13;19343:1;19335:10;;19328:4;19316:17;;19281:75;:::i;:::-;19376:17;19395:1;19372:25;;18404:999;-1:-1:-1;;;;;18404:999:43:o;19408:289::-;19539:3;19577:6;19571:13;19593:66;19652:6;19647:3;19640:4;19632:6;19628:17;19593:66;:::i;:::-;19675:16;;;;;19408:289;-1:-1:-1;;19408:289:43:o;19981:384::-;-1:-1:-1;;;;;;20166:33:43;;20154:46;;20223:13;;20136:3;;20245:74;20223:13;20308:1;20299:11;;20292:4;20280:17;;20245:74;:::i;:::-;20339:16;;;;20357:1;20335:24;;19981:384;-1:-1:-1;;;19981:384:43:o;20662:277::-;20729:6;20782:2;20770:9;20761:7;20757:23;20753:32;20750:52;;;20798:1;20795;20788:12;20750:52;20830:9;20824:16;20883:5;20876:13;20869:21;20862:5;20859:32;20849:60;;20905:1;20902;20895:12;21454:127;21515:10;21510:3;21506:20;21503:1;21496:31;21546:4;21543:1;21536:15;21570:4;21567:1;21560:15;21586:135;21625:3;21646:17;;;21643:43;;21666:18;;:::i;:::-;-1:-1:-1;21713:1:43;21702:13;;21586:135::o;21726:127::-;21787:10;21782:3;21778:20;21775:1;21768:31;21818:4;21815:1;21808:15;21842:4;21839:1;21832:15;21858:120;21898:1;21924;21914:35;;21929:18;;:::i;:::-;-1:-1:-1;21963:9:43;;21858:120::o;21983:128::-;22050:9;;;22071:11;;;22068:37;;;22085:18;;:::i;:::-;21983:128;;;;:::o;22116:112::-;22148:1;22174;22164:35;;22179:18;;:::i;:::-;-1:-1:-1;22213:9:43;;22116:112::o;22233:125::-;22298:9;;;22319:10;;;22316:36;;;22332:18;;:::i;22932:440::-;23182:2;23171:9;23164:21;23145:4;23208:49;23253:2;23242:9;23238:18;22845:2;22833:15;;-1:-1:-1;;;22873:4:43;22864:14;;22857:36;22918:2;22909:12;;22768:159;23208:49;23305:9;23297:6;23293:22;23288:2;23277:9;23273:18;23266:50;23333:33;23359:6;23351;23333:33;:::i;23541:440::-;23791:2;23780:9;23773:21;23754:4;23817:49;23862:2;23851:9;23847:18;23454:2;23442:15;;-1:-1:-1;;;23482:4:43;23473:14;;23466:36;23527:2;23518:12;;23377:159;24739:348;24969:2;24958:9;24951:21;24932:4;24989:49;25034:2;25023:9;25019:18;22845:2;22833:15;;-1:-1:-1;;;22873:4:43;22864:14;;22857:36;22918:2;22909:12;;22768:159;24989:49;24981:57;;25074:6;25069:2;25058:9;25054:18;25047:34;24739:348;;;;:::o;25092:::-;25322:2;25311:9;25304:21;25285:4;25342:49;25387:2;25376:9;25372:18;23454:2;23442:15;;-1:-1:-1;;;23482:4:43;23473:14;;23466:36;23527:2;23518:12;;23377:159", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_SCRIPT()": "f8ccbf47", - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6", - "setUp()": "0a9254e4", - "testHandleOf_returnsEmptyStringIfENSIsNotRegistered(uint256,uint256,string,string,string)": "19f37fcc", - "testHandleOf_returnsEmptyStringIfNoHandleSet(uint256)": "8f5f00e4", - "testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId(uint256,uint256,string,string,string)": "156d3f63", - "testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew(string,string,string)": "0bc1349a", - "testHandleOf_returnsHandleIfReverseIdMatchProjectId(string,string,string)": "9edca9cd", - "testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion(string,string,string)": "5c17d799", - "testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName(address,string)": "804febd7", - "testSetEnsNameFor_revertIfNotAuthorized(uint96,address,string)": "a1296985", - "testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName(string)": "79ee9c16", - "testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts(string,string,string)": "1641e69d", - "testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts()": "d33518fd", - "testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels(string,string,string)": "8bbdf5ba", - "vm()": "3a768463" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"ensName\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"parts\",\"type\":\"string[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetEnsNameParts\",\"type\":\"event\"},{\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reverseId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsEmptyStringIfENSIsNotRegistered\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"name\":\"testHandleOf_returnsEmptyStringIfNoHandleSet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reverseId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsHandleIfReverseIdMatchProjectId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"authorizationIndex\",\"type\":\"uint96\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"testSetEnsNameFor_revertIfNotAuthorized\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"test/JBProjectHandles.t.sol\":\"ContractTest\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol\":{\"keccak256\":\"0x8f8f1c0438d6bc6bdf666643939dc988ad300e6a3401158ec97700fb6ec2600e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://88132980fb0587b7e95ba7bab45677304490dc9a98a25f4eec32e8a8631a987a\",\"dweb:/ipfs/QmbTW3WbbFcUjx34yh8vg1v7aJnv6twhYmvzzUNggmMPqL\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol\":{\"keccak256\":\"0x7578efb357e78844d1f629aa6644606d5d66e6e70cf793ef67dd40ecd4753b0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5f849b5b91a1baf7e1638a307136fe893e402b8f0421b90ba74b1e474eaa6a92\",\"dweb:/ipfs/QmYcVZnKgriwH3woJntwH1XRscQ289TYN2g8gPs4WXiNU8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol\":{\"keccak256\":\"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a\",\"dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981\",\"dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51\"]},\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]},\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":{\"keccak256\":\"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767\",\"dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f\",\"dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol\":{\"keccak256\":\"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff\",\"dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]},\"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\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]},\"test/JBProjectHandles.t.sol\":{\"keccak256\":\"0x6ad1dd880c9ca4175c8482f7ce44042f95790f019667efdfd102b08ebedaea84\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://6eb8560a72bb11b99be83233abc5541c985ebbe7e237b5d6b49603d5d7fdaa81\",\"dweb:/ipfs/QmYfw8aHXGjPk37uNXYa1QYkMsJadjbCNMo351LawFjrnv\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256", - "indexed": true - }, - { - "internalType": "string", - "name": "ensName", - "type": "string", - "indexed": true - }, - { - "internalType": "string[]", - "name": "parts", - "type": "string[]", - "indexed": false - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "SetEnsNameParts", - "anonymous": false - }, - { - "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_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "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": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_reverseId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testHandleOf_returnsEmptyStringIfENSIsNotRegistered" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testHandleOf_returnsEmptyStringIfNoHandleSet" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_reverseId", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testHandleOf_returnsHandleIfReverseIdMatchProjectId" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName" - }, - { - "inputs": [ - { - "internalType": "uint96", - "name": "authorizationIndex", - "type": "uint96" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetEnsNameFor_revertIfNotAuthorized" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_subdomain", - "type": "string" - }, - { - "internalType": "string", - "name": "_subsubdomain", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "test/JBProjectHandles.t.sol": "ContractTest" - }, - "libraries": {} - }, - "sources": { - "contracts/JBProjectHandles.sol": { - "keccak256": "0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b", - "urls": [ - "bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659", - "dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5" - ], - "license": "MIT" - }, - "contracts/interfaces/IJBProjectHandles.sol": { - "keccak256": "0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6", - "urls": [ - "bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5", - "dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b" - ], - "license": "MIT" - }, - "contracts/libraries/JBOperations2.sol": { - "keccak256": "0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29", - "urls": [ - "bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1", - "dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg" - ], - "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/Script.sol": { - "keccak256": "0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00", - "urls": [ - "bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b", - "dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b", - "urls": [ - "bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2", - "dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "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": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - }, - "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol": { - "keccak256": "0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483", - "urls": [ - "bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed", - "dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV" - ], - "license": null - }, - "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol": { - "keccak256": "0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38", - "urls": [ - "bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba", - "dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol": { - "keccak256": "0x8f8f1c0438d6bc6bdf666643939dc988ad300e6a3401158ec97700fb6ec2600e", - "urls": [ - "bzz-raw://88132980fb0587b7e95ba7bab45677304490dc9a98a25f4eec32e8a8631a987a", - "dweb:/ipfs/QmbTW3WbbFcUjx34yh8vg1v7aJnv6twhYmvzzUNggmMPqL" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol": { - "keccak256": "0x7578efb357e78844d1f629aa6644606d5d66e6e70cf793ef67dd40ecd4753b0c", - "urls": [ - "bzz-raw://5f849b5b91a1baf7e1638a307136fe893e402b8f0421b90ba74b1e474eaa6a92", - "dweb:/ipfs/QmYcVZnKgriwH3woJntwH1XRscQ289TYN2g8gPs4WXiNU8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol": { - "keccak256": "0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add", - "urls": [ - "bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735", - "dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol": { - "keccak256": "0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e", - "urls": [ - "bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b", - "dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": { - "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4", - "urls": [ - "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9", - "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": { - "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174", - "urls": [ - "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e", - "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol": { - "keccak256": "0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690", - "urls": [ - "bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a", - "dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol": { - "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0", - "urls": [ - "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494", - "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/Ownable.sol": { - "keccak256": "0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9", - "urls": [ - "bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981", - "dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol": { - "keccak256": "0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0", - "urls": [ - "bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86", - "dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/governance/utils/Votes.sol": { - "keccak256": "0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474", - "urls": [ - "bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767", - "dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/interfaces/IERC721.sol": { - "keccak256": "0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c", - "urls": [ - "bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8", - "dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": { - "keccak256": "0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de", - "urls": [ - "bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f", - "dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f", - "urls": [ - "bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f", - "dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a" - ], - "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/token/ERC721/extensions/draft-ERC721Votes.sol": { - "keccak256": "0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658", - "urls": [ - "bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff", - "dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "keccak256": "0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87", - "urls": [ - "bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58", - "dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Checkpoints.sol": { - "keccak256": "0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c", - "urls": [ - "bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb", - "dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ" - ], - "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": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": { - "keccak256": "0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29", - "urls": [ - "bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7", - "dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol": { - "keccak256": "0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7", - "urls": [ - "bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba", - "dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT" - ], - "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": "0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2", - "urls": [ - "bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6", - "dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": { - "keccak256": "0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7", - "urls": [ - "bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1", - "dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E" - ], - "license": "MIT" - }, - "test/JBProjectHandles.t.sol": { - "keccak256": "0x6ad1dd880c9ca4175c8482f7ce44042f95790f019667efdfd102b08ebedaea84", - "urls": [ - "bzz-raw://6eb8560a72bb11b99be83233abc5541c985ebbe7e237b5d6b49603d5d7fdaa81", - "dweb:/ipfs/QmYfw8aHXGjPk37uNXYa1QYkMsJadjbCNMo351LawFjrnv" - ], - "license": "UNLICENSED" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "test/JBProjectHandles.t.sol", - "id": 30036, - "exportedSymbols": { - "Address": [ - 26681 - ], - "Checkpoints": [ - 26915 - ], - "Context": [ - 26937 - ], - "ContractTest": [ - 30035 - ], - "Counters": [ - 27011 - ], - "DSTest": [ - 2215 - ], - "ECDSA": [ - 27621 - ], - "EIP712": [ - 27775 - ], - "ENS": [ - 23766 - ], - "ERC165": [ - 27799 - ], - "ERC721": [ - 26175 - ], - "ERC721Votes": [ - 26386 - ], - "IERC165": [ - 27811 - ], - "IERC721": [ - 26291 - ], - "IERC721Metadata": [ - 26336 - ], - "IERC721Receiver": [ - 26309 - ], - "IJBOperatable": [ - 24438 - ], - "IJBOperatorStore": [ - 24506 - ], - "IJBProjectHandles": [ - 422 - ], - "IJBProjects": [ - 24585 - ], - "IJBTokenUriResolver": [ - 24595 - ], - "ITextResolver": [ - 23787 - ], - "IVotes": [ - 24852 - ], - "JBOperatable": [ - 24428 - ], - "JBOperations": [ - 24652 - ], - "JBOperations2": [ - 428 - ], - "JBOperatorData": [ - 24662 - ], - "JBOperatorStore": [ - 24059 - ], - "JBProjectHandles": [ - 372 - ], - "JBProjectMetadata": [ - 24669 - ], - "JBProjects": [ - 24282 - ], - "Math": [ - 27899 - ], - "Ownable": [ - 24774 - ], - "SafeCast": [ - 28292 - ], - "Script": [ - 2478 - ], - "StdStorage": [ - 5506 - ], - "Strings": [ - 27214 - ], - "Test": [ - 5408 - ], - "Vm": [ - 7501 - ], - "Votes": [ - 25306 - ], - "console": [ - 15565 - ], - "console2": [ - 23629 - ], - "ensRegistry": [ - 28308 - ], - "oldHandle": [ - 28314 - ], - "stdError": [ - 5478 - ], - "stdJson": [ - 2838 - ], - "stdMath": [ - 6747 - ], - "stdStorage": [ - 6608 - ] - }, - "nodeType": "SourceUnit", - "src": "39:15626:42", - "nodes": [ - { - "id": 28294, - "nodeType": "PragmaDirective", - "src": "39:23:42", - "literals": [ - "solidity", - "^", - "0.8", - ".6" - ] - }, - { - "id": 28295, - "nodeType": "ImportDirective", - "src": "64:28:42", - "absolutePath": "lib/forge-std/src/Test.sol", - "file": "forge-std/Test.sol", - "nameLocation": "-1:-1:-1", - "scope": 30036, - "sourceUnit": 6748, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28296, - "nodeType": "ImportDirective", - "src": "94:62:42", - "absolutePath": "node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol", - "file": "@ensdomains/ens-contracts/contracts/registry/ENS.sol", - "nameLocation": "-1:-1:-1", - "scope": 30036, - "sourceUnit": 23767, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28297, - "nodeType": "ImportDirective", - "src": "184:82:42", - "absolutePath": "node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol", - "file": "@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol", - "nameLocation": "-1:-1:-1", - "scope": 30036, - "sourceUnit": 23788, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28298, - "nodeType": "ImportDirective", - "src": "267:67:42", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol", - "file": "@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol", - "nameLocation": "-1:-1:-1", - "scope": 30036, - "sourceUnit": 24283, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28299, - "nodeType": "ImportDirective", - "src": "335:72:42", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol", - "file": "@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol", - "nameLocation": "-1:-1:-1", - "scope": 30036, - "sourceUnit": 24060, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28300, - "nodeType": "ImportDirective", - "src": "408:51:42", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "file": "@openzeppelin/contracts/utils/Strings.sol", - "nameLocation": "-1:-1:-1", - "scope": 30036, - "sourceUnit": 27215, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28301, - "nodeType": "ImportDirective", - "src": "461:41:42", - "absolutePath": "contracts/JBProjectHandles.sol", - "file": "@contracts/JBProjectHandles.sol", - "nameLocation": "-1:-1:-1", - "scope": 30036, - "sourceUnit": 373, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28302, - "nodeType": "ImportDirective", - "src": "503:48:42", - "absolutePath": "contracts/libraries/JBOperations2.sol", - "file": "@contracts/libraries/JBOperations2.sol", - "nameLocation": "-1:-1:-1", - "scope": 30036, - "sourceUnit": 429, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 28308, - "nodeType": "VariableDeclaration", - "src": "553:74:42", - "constant": true, - "mutability": "constant", - "name": "ensRegistry", - "nameLocation": "566:11:42", - "scope": 30036, - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - }, - "typeName": { - "id": 28304, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28303, - "name": "ENS", - "nameLocations": [ - "553:3:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 23766, - "src": "553:3:42" - }, - "referencedDeclaration": 23766, - "src": "553:3:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307830303030303030303030304332453037346543363941306446623239393742413643376432653165", - "id": 28306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "584:42:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 28305, - "name": "ENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23766, - "src": "580:3:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ENS_$23766_$", - "typeString": "type(contract ENS)" - } - }, - "id": 28307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "580:47:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - }, - "visibility": "internal" - }, - { - "id": 28314, - "nodeType": "VariableDeclaration", - "src": "629:100:42", - "constant": true, - "mutability": "constant", - "name": "oldHandle", - "nameLocation": "656:9:42", - "scope": 30036, - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - }, - "typeName": { - "id": 28310, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28309, - "name": "IJBProjectHandles", - "nameLocations": [ - "629:17:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 422, - "src": "629:17:42" - }, - "referencedDeclaration": 422, - "src": "629:17:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307834313132366543393946384139383966454235303361633762423463356535443430453036464134", - "id": 28312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "686:42:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x41126eC99F8A989fEB503ac7bB4c5e5D40E06FA4" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 28311, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "668:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 28313, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "668:61:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 30035, - "nodeType": "ContractDefinition", - "src": "732:14932:42", - "nodes": [ - { - "id": 28327, - "nodeType": "EventDefinition", - "src": "801:125:42", - "anonymous": false, - "eventSelector": "2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c", - "name": "SetEnsNameParts", - "nameLocation": "807:15:42", - "parameters": { - "id": 28326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28318, - "indexed": true, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "844:9:42", - "nodeType": "VariableDeclaration", - "scope": 28327, - "src": "828:25:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "828:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28320, - "indexed": true, - "mutability": "mutable", - "name": "ensName", - "nameLocation": "874:7:42", - "nodeType": "VariableDeclaration", - "scope": 28327, - "src": "859:22:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "859:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28323, - "indexed": false, - "mutability": "mutable", - "name": "parts", - "nameLocation": "896:5:42", - "nodeType": "VariableDeclaration", - "scope": 28327, - "src": "887:14:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 28321, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "887:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28322, - "nodeType": "ArrayTypeName", - "src": "887:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28325, - "indexed": false, - "mutability": "mutable", - "name": "caller", - "nameLocation": "915:6:42", - "nodeType": "VariableDeclaration", - "scope": 28327, - "src": "907:14:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 28324, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "907:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "822:103:42" - } - }, - { - "id": 28333, - "nodeType": "VariableDeclaration", - "src": "930:39:42", - "constant": false, - "mutability": "mutable", - "name": "projectOwner", - "nameLocation": "938:12:42", - "scope": 30035, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 28328, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "930:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "hexValue": "36393432303639", - "id": 28331, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "961:7:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_6942069_by_1", - "typeString": "int_const 6942069" - }, - "value": "6942069" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_6942069_by_1", - "typeString": "int_const 6942069" - } - ], - "id": 28330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "953:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28329, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "953:7:42", - "typeDescriptions": {} - } - }, - "id": 28332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "953:16:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "id": 28342, - "nodeType": "VariableDeclaration", - "src": "974:61:42", - "constant": false, - "mutability": "mutable", - "name": "ensTextResolver", - "nameLocation": "988:15:42", - "scope": 30035, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - }, - "typeName": { - "id": 28335, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28334, - "name": "ITextResolver", - "nameLocations": [ - "974:13:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 23787, - "src": "974:13:42" - }, - "referencedDeclaration": 23787, - "src": "974:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "3639343230", - "id": 28339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1028:5:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_69420_by_1", - "typeString": "int_const 69420" - }, - "value": "69420" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_69420_by_1", - "typeString": "int_const 69420" - } - ], - "id": 28338, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1020:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28337, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1020:7:42", - "typeDescriptions": {} - } - }, - "id": 28340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1020:14:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 28336, - "name": "ITextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23787, - "src": "1006:13:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ITextResolver_$23787_$", - "typeString": "type(contract ITextResolver)" - } - }, - "id": 28341, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1006:29:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - }, - "visibility": "internal" - }, - { - "id": 28345, - "nodeType": "VariableDeclaration", - "src": "1049:31:42", - "constant": false, - "mutability": "mutable", - "name": "jbOperatorStore", - "nameLocation": "1065:15:42", - "scope": 30035, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - }, - "typeName": { - "id": 28344, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28343, - "name": "JBOperatorStore", - "nameLocations": [ - "1049:15:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24059, - "src": "1049:15:42" - }, - "referencedDeclaration": 24059, - "src": "1049:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - }, - "visibility": "internal" - }, - { - "id": 28348, - "nodeType": "VariableDeclaration", - "src": "1084:21:42", - "constant": false, - "mutability": "mutable", - "name": "jbProjects", - "nameLocation": "1095:10:42", - "scope": 30035, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - }, - "typeName": { - "id": 28347, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28346, - "name": "JBProjects", - "nameLocations": [ - "1084:10:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24282, - "src": "1084:10:42" - }, - "referencedDeclaration": 24282, - "src": "1084:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "visibility": "internal" - }, - { - "id": 28351, - "nodeType": "VariableDeclaration", - "src": "1109:30:42", - "constant": false, - "mutability": "mutable", - "name": "projectHandle", - "nameLocation": "1126:13:42", - "scope": 30035, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - }, - "typeName": { - "id": 28350, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28349, - "name": "JBProjectHandles", - "nameLocations": [ - "1109:16:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "1109:16:42" - }, - "referencedDeclaration": 372, - "src": "1109:16:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "visibility": "internal" - }, - { - "id": 28440, - "nodeType": "FunctionDefinition", - "src": "1144:495:42", - "body": { - "id": 28439, - "nodeType": "Block", - "src": "1168:471:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28359, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "1190:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 28358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1182:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28357, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1182:7:42", - "typeDescriptions": {} - } - }, - "id": 28360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1182:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "30783639", - "id": 28361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1208:6:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a29cfe8c2b8f0cea8c67af4a20c2c9286d2562a6abf037a24a6ead629a47193d", - "typeString": "literal_string \"0x69\"" - }, - "value": "0x69" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a29cfe8c2b8f0cea8c67af4a20c2c9286d2562a6abf037a24a6ead629a47193d", - "typeString": "literal_string \"0x69\"" - } - ], - "expression": { - "id": 28354, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "1174:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1177:4:42", - "memberName": "etch", - "nodeType": "MemberAccess", - "referencedDeclaration": 7008, - "src": "1174:7:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) external" - } - }, - "id": 28362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1174:41:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28363, - "nodeType": "ExpressionStatement", - "src": "1174:41:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28369, - "name": "ensRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28308, - "src": "1237:11:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - ], - "id": 28368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1229:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28367, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1229:7:42", - "typeDescriptions": {} - } - }, - "id": 28370, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1229:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "30783639", - "id": 28371, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1251:6:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a29cfe8c2b8f0cea8c67af4a20c2c9286d2562a6abf037a24a6ead629a47193d", - "typeString": "literal_string \"0x69\"" - }, - "value": "0x69" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a29cfe8c2b8f0cea8c67af4a20c2c9286d2562a6abf037a24a6ead629a47193d", - "typeString": "literal_string \"0x69\"" - } - ], - "expression": { - "id": 28364, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "1221:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1224:4:42", - "memberName": "etch", - "nodeType": "MemberAccess", - "referencedDeclaration": 7008, - "src": "1221:7:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) external" - } - }, - "id": 28372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1221:37:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28373, - "nodeType": "ExpressionStatement", - "src": "1221:37:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28379, - "name": "oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28314, - "src": "1280:9:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 28378, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1272:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28377, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1272:7:42", - "typeDescriptions": {} - } - }, - "id": 28380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1272:18:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "30783639", - "id": 28381, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1292:6:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a29cfe8c2b8f0cea8c67af4a20c2c9286d2562a6abf037a24a6ead629a47193d", - "typeString": "literal_string \"0x69\"" - }, - "value": "0x69" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_a29cfe8c2b8f0cea8c67af4a20c2c9286d2562a6abf037a24a6ead629a47193d", - "typeString": "literal_string \"0x69\"" - } - ], - "expression": { - "id": 28374, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "1264:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1267:4:42", - "memberName": "etch", - "nodeType": "MemberAccess", - "referencedDeclaration": 7008, - "src": "1264:7:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) external" - } - }, - "id": 28382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1264:35:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28383, - "nodeType": "ExpressionStatement", - "src": "1264:35:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28389, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "1322:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 28388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1314:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28387, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1314:7:42", - "typeDescriptions": {} - } - }, - "id": 28390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1314:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "656e73546578745265736f6c766572", - "id": 28391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1340:17:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9e9ede7e41c2599d51e820505833ba14fd83ed205f41916feda5044b3dcca74e", - "typeString": "literal_string \"ensTextResolver\"" - }, - "value": "ensTextResolver" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_9e9ede7e41c2599d51e820505833ba14fd83ed205f41916feda5044b3dcca74e", - "typeString": "literal_string \"ensTextResolver\"" - } - ], - "expression": { - "id": 28384, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "1305:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28386, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1308:5:42", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 7119, - "src": "1305:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 28392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1305:53:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28393, - "nodeType": "ExpressionStatement", - "src": "1305:53:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28399, - "name": "ensRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28308, - "src": "1381:11:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - ], - "id": 28398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1373:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28397, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1373:7:42", - "typeDescriptions": {} - } - }, - "id": 28400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1373:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "656e735265676973747279", - "id": 28401, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1395:13:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bf73a8f25960de5ebfb3a8385bf0b70b6598db027255cebc160e88c4507ca172", - "typeString": "literal_string \"ensRegistry\"" - }, - "value": "ensRegistry" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_bf73a8f25960de5ebfb3a8385bf0b70b6598db027255cebc160e88c4507ca172", - "typeString": "literal_string \"ensRegistry\"" - } - ], - "expression": { - "id": 28394, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "1364:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1367:5:42", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 7119, - "src": "1364:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 28402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1364:45:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28403, - "nodeType": "ExpressionStatement", - "src": "1364:45:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28409, - "name": "oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28314, - "src": "1432:9:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 28408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1424:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 28407, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1424:7:42", - "typeDescriptions": {} - } - }, - "id": 28410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1424:18:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6f6c6448616e646c65", - "id": 28411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1444:11:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2927529fb0248cb168193031b96af45573a3769cf34f9536130acc7a0c0db15b", - "typeString": "literal_string \"oldHandle\"" - }, - "value": "oldHandle" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_2927529fb0248cb168193031b96af45573a3769cf34f9536130acc7a0c0db15b", - "typeString": "literal_string \"oldHandle\"" - } - ], - "expression": { - "id": 28404, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "1415:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1418:5:42", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 7119, - "src": "1415:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 28412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1415:41:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28413, - "nodeType": "ExpressionStatement", - "src": "1415:41:42" - }, - { - "expression": { - "id": 28419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28414, - "name": "jbOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28345, - "src": "1463:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 28417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1481:19:42", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_JBOperatorStore_$24059_$", - "typeString": "function () returns (contract JBOperatorStore)" - }, - "typeName": { - "id": 28416, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28415, - "name": "JBOperatorStore", - "nameLocations": [ - "1485:15:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24059, - "src": "1485:15:42" - }, - "referencedDeclaration": 24059, - "src": "1485:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - } - }, - "id": 28418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1481:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - }, - "src": "1463:39:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - }, - "id": 28420, - "nodeType": "ExpressionStatement", - "src": "1463:39:42" - }, - { - "expression": { - "id": 28427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28421, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "1508:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 28425, - "name": "jbOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28345, - "src": "1536:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - ], - "id": 28424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1521:14:42", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_contract$_IJBOperatorStore_$24506_$returns$_t_contract$_JBProjects_$24282_$", - "typeString": "function (contract IJBOperatorStore) returns (contract JBProjects)" - }, - "typeName": { - "id": 28423, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28422, - "name": "JBProjects", - "nameLocations": [ - "1525:10:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24282, - "src": "1525:10:42" - }, - "referencedDeclaration": 24282, - "src": "1525:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - } - }, - "id": 28426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1521:31:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "src": "1508:44:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 28428, - "nodeType": "ExpressionStatement", - "src": "1508:44:42" - }, - { - "expression": { - "id": 28437, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28429, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "1558:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 28433, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "1595:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - { - "id": 28434, - "name": "jbOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28345, - "src": "1607:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - }, - { - "id": 28435, - "name": "oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28314, - "src": "1624:9:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - }, - { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - }, - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 28432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1574:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_contract$_IJBProjects_$24585_$_t_contract$_IJBOperatorStore_$24506_$_t_contract$_IJBProjectHandles_$422_$returns$_t_contract$_JBProjectHandles_$372_$", - "typeString": "function (contract IJBProjects,contract IJBOperatorStore,contract IJBProjectHandles) returns (contract JBProjectHandles)" - }, - "typeName": { - "id": 28431, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 28430, - "name": "JBProjectHandles", - "nameLocations": [ - "1578:16:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 372, - "src": "1578:16:42" - }, - "referencedDeclaration": 372, - "src": "1578:16:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - } - }, - "id": 28436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1574:60:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "src": "1558:76:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28438, - "nodeType": "ExpressionStatement", - "src": "1558:76:42" - } - ] - }, - "functionSelector": "0a9254e4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setUp", - "nameLocation": "1153:5:42", - "parameters": { - "id": 28352, - "nodeType": "ParameterList", - "parameters": [], - "src": "1158:2:42" - }, - "returnParameters": { - "id": 28353, - "nodeType": "ParameterList", - "parameters": [], - "src": "1168:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28523, - "nodeType": "FunctionDefinition", - "src": "1872:701:42", - "body": { - "id": 28522, - "nodeType": "Block", - "src": "1978:595:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 28450, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28442, - "src": "2000:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 28449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1994:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 28448, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1994:5:42", - "typeDescriptions": {} - } - }, - "id": 28451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1994:12:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 28452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2007:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1994:19:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "hexValue": "30", - "id": 28453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2017:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1994:24:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28445, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "1984:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1987:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "1984:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 28455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1984:35:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28456, - "nodeType": "ExpressionStatement", - "src": "1984:35:42" - }, - { - "assignments": [ - 28458 - ], - "declarations": [ - { - "constant": false, - "id": 28458, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "2034:10:42", - "nodeType": "VariableDeclaration", - "scope": 28522, - "src": "2026:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28457, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2026:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28467, - "initialValue": { - "arguments": [ - { - "id": 28461, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "2075:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "636f6e74656e74", - "id": 28463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2123:9:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - "value": "content" - }, - { - "hexValue": "31", - "id": 28464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2142:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28462, - "name": "JBProjectMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24669, - "src": "2095:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBProjectMetadata_$24669_storage_ptr_$", - "typeString": "type(struct JBProjectMetadata storage pointer)" - } - }, - "id": 28465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "2114:7:42", - "2134:6:42" - ], - "names": [ - "content", - "domain" - ], - "nodeType": "FunctionCall", - "src": "2095:50:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - ], - "expression": { - "id": 28459, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "2047:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 28460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2058:9:42", - "memberName": "createFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 24224, - "src": "2047:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBProjectMetadata_$24669_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,struct JBProjectMetadata memory) external returns (uint256)" - } - }, - "id": 28466, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2047:104:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2026:125:42" - }, - { - "assignments": [ - 28472 - ], - "declarations": [ - { - "constant": false, - "id": 28472, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "2174:10:42", - "nodeType": "VariableDeclaration", - "scope": 28522, - "src": "2158:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 28470, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2158:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28471, - "nodeType": "ArrayTypeName", - "src": "2158:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 28478, - "initialValue": { - "arguments": [ - { - "hexValue": "31", - "id": 28476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2200:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2187:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 28473, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2191:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28474, - "nodeType": "ArrayTypeName", - "src": "2191:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 28477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2187:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2158:44:42" - }, - { - "expression": { - "id": 28483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28479, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28472, - "src": "2208:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28481, - "indexExpression": { - "hexValue": "30", - "id": 28480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2219:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2208:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28482, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28442, - "src": "2224:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "2208:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28484, - "nodeType": "ExpressionStatement", - "src": "2208:21:42" - }, - { - "expression": { - "arguments": [ - { - "hexValue": "74727565", - "id": 28488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2280:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2286:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2292:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2298:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28485, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "2266:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2269:10:42", - "memberName": "expectEmit", - "nodeType": "MemberAccess", - "referencedDeclaration": 7046, - "src": "2266:13:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$_t_bool_$_t_bool_$_t_bool_$returns$__$", - "typeString": "function (bool,bool,bool,bool) external" - } - }, - "id": 28492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2266:37:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28493, - "nodeType": "ExpressionStatement", - "src": "2266:37:42" - }, - { - "eventCall": { - "arguments": [ - { - "id": 28495, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "2330:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 28496, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28442, - "src": "2342:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "id": 28497, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28472, - "src": "2349:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "id": 28498, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "2361:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 28494, - "name": "SetEnsNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28327, - "src": "2314:15:42", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (uint256,string memory,string memory[] memory,address)" - } - }, - "id": 28499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2314:60:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28500, - "nodeType": "EmitStatement", - "src": "2309:65:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28504, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "2390:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 28501, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "2381:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2384:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "2381:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 28505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2381:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28506, - "nodeType": "ExpressionStatement", - "src": "2381:22:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28510, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "2442:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 28511, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28472, - "src": "2454:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 28507, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "2409:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2423:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "2409:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 28512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2409:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28513, - "nodeType": "ExpressionStatement", - "src": "2409:56:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28517, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28458, - "src": "2544:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 28515, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "2515:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2529:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 153, - "src": "2515:28:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory[] memory)" - } - }, - "id": 28518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2515:40:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "id": 28519, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28472, - "src": "2557:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 28514, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 29975, - "src": "2506:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory[] memory,string memory[] memory)" - } - }, - "id": 28520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2506:62:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28521, - "nodeType": "ExpressionStatement", - "src": "2506:62:42" - } - ] - }, - "functionSelector": "79ee9c16", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName", - "nameLocation": "1881:60:42", - "parameters": { - "id": 28443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28442, - "mutability": "mutable", - "name": "_name", - "nameLocation": "1958:5:42", - "nodeType": "VariableDeclaration", - "scope": 28523, - "src": "1942:21:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28441, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1942:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1941:23:42" - }, - "returnParameters": { - "id": 28444, - "nodeType": "ParameterList", - "parameters": [], - "src": "1978:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28642, - "nodeType": "FunctionDefinition", - "src": "2577:1019:42", - "body": { - "id": 28641, - "nodeType": "Block", - "src": "2696:900:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 28535, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28527, - "src": "2718:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 28534, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2712:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 28533, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2712:5:42", - "typeDescriptions": {} - } - }, - "id": 28536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2712:12:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 28537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2725:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "2712:19:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "hexValue": "30", - "id": 28538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2735:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "2712:24:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28530, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "2702:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2705:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "2702:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 28540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2702:35:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28541, - "nodeType": "ExpressionStatement", - "src": "2702:35:42" - }, - { - "assignments": [ - 28543 - ], - "declarations": [ - { - "constant": false, - "id": 28543, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "2752:10:42", - "nodeType": "VariableDeclaration", - "scope": 28641, - "src": "2744:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28542, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2744:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28552, - "initialValue": { - "arguments": [ - { - "id": 28546, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "2793:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "636f6e74656e74", - "id": 28548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2841:9:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - "value": "content" - }, - { - "hexValue": "31", - "id": 28549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2860:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28547, - "name": "JBProjectMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24669, - "src": "2813:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBProjectMetadata_$24669_storage_ptr_$", - "typeString": "type(struct JBProjectMetadata storage pointer)" - } - }, - "id": 28550, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "2832:7:42", - "2852:6:42" - ], - "names": [ - "content", - "domain" - ], - "nodeType": "FunctionCall", - "src": "2813:50:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - ], - "expression": { - "id": 28544, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "2765:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 28545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2776:9:42", - "memberName": "createFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 24224, - "src": "2765:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBProjectMetadata_$24669_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,struct JBProjectMetadata memory) external returns (uint256)" - } - }, - "id": 28551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2765:104:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2744:125:42" - }, - { - "assignments": [ - 28557 - ], - "declarations": [ - { - "constant": false, - "id": 28557, - "mutability": "mutable", - "name": "permissionIndexes", - "nameLocation": "2944:17:42", - "nodeType": "VariableDeclaration", - "scope": 28641, - "src": "2927:34:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 28555, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2927:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28556, - "nodeType": "ArrayTypeName", - "src": "2927:9:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "id": 28563, - "initialValue": { - "arguments": [ - { - "hexValue": "31", - "id": 28561, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2978:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "2964:13:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (uint256[] memory)" - }, - "typeName": { - "baseType": { - "id": 28558, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2968:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28559, - "nodeType": "ArrayTypeName", - "src": "2968:9:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - } - }, - "id": 28562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2964:16:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2927:53:42" - }, - { - "expression": { - "id": 28569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28564, - "name": "permissionIndexes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28557, - "src": "2986:17:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 28566, - "indexExpression": { - "hexValue": "30", - "id": 28565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3004:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2986:20:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 28567, - "name": "JBOperations2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "3009:13:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_JBOperations2_$428_$", - "typeString": "type(library JBOperations2)" - } - }, - "id": 28568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3023:16:42", - "memberName": "SET_ENS_NAME_FOR", - "nodeType": "MemberAccess", - "referencedDeclaration": 427, - "src": "3009:30:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2986:53:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28570, - "nodeType": "ExpressionStatement", - "src": "2986:53:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28574, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "3055:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 28571, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "3046:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3049:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "3046:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 28575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3046:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28576, - "nodeType": "ExpressionStatement", - "src": "3046:22:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28581, - "name": "caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28525, - "src": "3135:6:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "31", - "id": 28582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3151:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - { - "id": 28583, - "name": "permissionIndexes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28557, - "src": "3173:17:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "id": 28580, - "name": "JBOperatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24662, - "src": "3109:14:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBOperatorData_$24662_storage_ptr_$", - "typeString": "type(struct JBOperatorData storage pointer)" - } - }, - "id": 28584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "3125:8:42", - "3143:6:42", - "3154:17:42" - ], - "names": [ - "operator", - "domain", - "permissionIndexes" - ], - "nodeType": "FunctionCall", - "src": "3109:83:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24662_memory_ptr", - "typeString": "struct JBOperatorData memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_JBOperatorData_$24662_memory_ptr", - "typeString": "struct JBOperatorData memory" - } - ], - "expression": { - "id": 28577, - "name": "jbOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28345, - "src": "3074:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - }, - "id": 28579, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3090:11:42", - "memberName": "setOperator", - "nodeType": "MemberAccess", - "referencedDeclaration": 23949, - "src": "3074:27:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_JBOperatorData_$24662_memory_ptr_$returns$__$", - "typeString": "function (struct JBOperatorData memory) external" - } - }, - "id": 28585, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3074:124:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28586, - "nodeType": "ExpressionStatement", - "src": "3074:124:42" - }, - { - "assignments": [ - 28591 - ], - "declarations": [ - { - "constant": false, - "id": 28591, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "3221:10:42", - "nodeType": "VariableDeclaration", - "scope": 28641, - "src": "3205:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 28589, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3205:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28590, - "nodeType": "ArrayTypeName", - "src": "3205:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 28597, - "initialValue": { - "arguments": [ - { - "hexValue": "31", - "id": 28595, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3247:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "3234:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 28592, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3238:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28593, - "nodeType": "ArrayTypeName", - "src": "3238:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 28596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3234:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3205:44:42" - }, - { - "expression": { - "id": 28602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28598, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28591, - "src": "3255:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28600, - "indexExpression": { - "hexValue": "30", - "id": 28599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3266:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "3255:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28601, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28527, - "src": "3271:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "3255:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28603, - "nodeType": "ExpressionStatement", - "src": "3255:21:42" - }, - { - "expression": { - "arguments": [ - { - "hexValue": "74727565", - "id": 28607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3315:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3321:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28609, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3327:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3333:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28604, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "3301:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3304:10:42", - "memberName": "expectEmit", - "nodeType": "MemberAccess", - "referencedDeclaration": 7046, - "src": "3301:13:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$_t_bool_$_t_bool_$_t_bool_$returns$__$", - "typeString": "function (bool,bool,bool,bool) external" - } - }, - "id": 28611, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3301:37:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28612, - "nodeType": "ExpressionStatement", - "src": "3301:37:42" - }, - { - "eventCall": { - "arguments": [ - { - "id": 28614, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28543, - "src": "3365:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 28615, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28527, - "src": "3377:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "id": 28616, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28591, - "src": "3384:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "id": 28617, - "name": "caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28525, - "src": "3396:6:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 28613, - "name": "SetEnsNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28327, - "src": "3349:15:42", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (uint256,string memory,string memory[] memory,address)" - } - }, - "id": 28618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3349:54:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28619, - "nodeType": "EmitStatement", - "src": "3344:59:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28623, - "name": "caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28525, - "src": "3419:6:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 28620, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "3410:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3413:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "3410:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 28624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3410:16:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28625, - "nodeType": "ExpressionStatement", - "src": "3410:16:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28629, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28543, - "src": "3465:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 28630, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28591, - "src": "3477:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 28626, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "3432:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28628, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3446:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "3432:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 28631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3432:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28632, - "nodeType": "ExpressionStatement", - "src": "3432:56:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28636, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28543, - "src": "3567:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 28634, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "3538:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3552:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 153, - "src": "3538:28:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory[] memory)" - } - }, - "id": 28637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3538:40:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "id": 28638, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28591, - "src": "3580:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 28633, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 29975, - "src": "3529:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory[] memory,string memory[] memory)" - } - }, - "id": 28639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3529:62:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28640, - "nodeType": "ExpressionStatement", - "src": "3529:62:42" - } - ] - }, - "functionSelector": "804febd7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName", - "nameLocation": "2586:51:42", - "parameters": { - "id": 28528, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28525, - "mutability": "mutable", - "name": "caller", - "nameLocation": "2651:6:42", - "nodeType": "VariableDeclaration", - "scope": 28642, - "src": "2643:14:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 28524, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2643:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28527, - "mutability": "mutable", - "name": "_name", - "nameLocation": "2679:5:42", - "nodeType": "VariableDeclaration", - "scope": 28642, - "src": "2663:21:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28526, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2663:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2637:51:42" - }, - "returnParameters": { - "id": 28529, - "nodeType": "ParameterList", - "parameters": [], - "src": "2696:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28771, - "nodeType": "FunctionDefinition", - "src": "3600:1108:42", - "body": { - "id": 28770, - "nodeType": "Block", - "src": "3769:939:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 28656, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28644, - "src": "3798:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 28655, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3792:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 28654, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3792:5:42", - "typeDescriptions": {} - } - }, - "id": 28657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3792:12:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 28658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3805:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "3792:19:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28659, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3814:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3792:23:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 28663, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28646, - "src": "3825:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 28662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3819:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 28661, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3819:5:42", - "typeDescriptions": {} - } - }, - "id": 28664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3819:17:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 28665, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3837:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "3819:24:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3846:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3819:28:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3792:55:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 28671, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28648, - "src": "3857:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 28670, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3851:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 28669, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3851:5:42", - "typeDescriptions": {} - } - }, - "id": 28672, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3851:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 28673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3872:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "3851:27:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 28674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3881:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3851:31:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3792:90:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28651, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "3775:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3778:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "3775:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 28677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3775:113:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28678, - "nodeType": "ExpressionStatement", - "src": "3775:113:42" - }, - { - "assignments": [ - 28680 - ], - "declarations": [ - { - "constant": false, - "id": 28680, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "3903:10:42", - "nodeType": "VariableDeclaration", - "scope": 28770, - "src": "3895:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28679, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3895:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28689, - "initialValue": { - "arguments": [ - { - "id": 28683, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "3944:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "636f6e74656e74", - "id": 28685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3992:9:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - "value": "content" - }, - { - "hexValue": "31", - "id": 28686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4011:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28684, - "name": "JBProjectMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24669, - "src": "3964:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBProjectMetadata_$24669_storage_ptr_$", - "typeString": "type(struct JBProjectMetadata storage pointer)" - } - }, - "id": 28687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "3983:7:42", - "4003:6:42" - ], - "names": [ - "content", - "domain" - ], - "nodeType": "FunctionCall", - "src": "3964:50:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - ], - "expression": { - "id": 28681, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "3916:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 28682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3927:9:42", - "memberName": "createFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 24224, - "src": "3916:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBProjectMetadata_$24669_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,struct JBProjectMetadata memory) external returns (uint256)" - } - }, - "id": 28688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3916:104:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3895:125:42" - }, - { - "assignments": [ - 28694 - ], - "declarations": [ - { - "constant": false, - "id": 28694, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "4135:10:42", - "nodeType": "VariableDeclaration", - "scope": 28770, - "src": "4119:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 28692, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4119:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28693, - "nodeType": "ArrayTypeName", - "src": "4119:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 28700, - "initialValue": { - "arguments": [ - { - "hexValue": "33", - "id": 28698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4161:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "id": 28697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4148:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 28695, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4152:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28696, - "nodeType": "ArrayTypeName", - "src": "4152:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 28699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4148:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4119:44:42" - }, - { - "expression": { - "id": 28705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28701, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28694, - "src": "4169:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28703, - "indexExpression": { - "hexValue": "30", - "id": 28702, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4180:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4169:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28704, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28648, - "src": "4185:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "4169:29:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28706, - "nodeType": "ExpressionStatement", - "src": "4169:29:42" - }, - { - "expression": { - "id": 28711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28707, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28694, - "src": "4204:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28709, - "indexExpression": { - "hexValue": "31", - "id": 28708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4215:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4204:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28710, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28646, - "src": "4220:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "4204:26:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28712, - "nodeType": "ExpressionStatement", - "src": "4204:26:42" - }, - { - "expression": { - "id": 28717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28713, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28694, - "src": "4236:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28715, - "indexExpression": { - "hexValue": "32", - "id": 28714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4247:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4236:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28716, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28644, - "src": "4252:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "4236:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28718, - "nodeType": "ExpressionStatement", - "src": "4236:21:42" - }, - { - "assignments": [ - 28720 - ], - "declarations": [ - { - "constant": false, - "id": 28720, - "mutability": "mutable", - "name": "_fullName", - "nameLocation": "4278:9:42", - "nodeType": "VariableDeclaration", - "scope": 28770, - "src": "4264:23:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28719, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4264:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 28732, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 28725, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28644, - "src": "4314:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e", - "id": 28726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4321:3:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - }, - { - "id": 28727, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28646, - "src": "4326:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e", - "id": 28728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4338:3:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - }, - { - "id": 28729, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28648, - "src": "4343:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 28723, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4297:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 28724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4301:12:42", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "4297:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 28730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4297:60:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 28722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4290:6:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 28721, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4290:6:42", - "typeDescriptions": {} - } - }, - "id": 28731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4290:68:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4264:94:42" - }, - { - "expression": { - "arguments": [ - { - "hexValue": "74727565", - "id": 28736, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4397:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4403:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4409:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "hexValue": "74727565", - "id": 28739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4415:4:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28733, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "4383:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28735, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4386:10:42", - "memberName": "expectEmit", - "nodeType": "MemberAccess", - "referencedDeclaration": 7046, - "src": "4383:13:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$_t_bool_$_t_bool_$_t_bool_$returns$__$", - "typeString": "function (bool,bool,bool,bool) external" - } - }, - "id": 28740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4383:37:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28741, - "nodeType": "ExpressionStatement", - "src": "4383:37:42" - }, - { - "eventCall": { - "arguments": [ - { - "id": 28743, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28680, - "src": "4447:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 28744, - "name": "_fullName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28720, - "src": "4459:9:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 28745, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28694, - "src": "4470:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "id": 28746, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "4482:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 28742, - "name": "SetEnsNameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28327, - "src": "4431:15:42", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (uint256,string memory,string memory[] memory,address)" - } - }, - "id": 28747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4431:64:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28748, - "nodeType": "EmitStatement", - "src": "4426:69:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28752, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "4511:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 28749, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "4502:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4505:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "4502:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 28753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4502:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28754, - "nodeType": "ExpressionStatement", - "src": "4502:22:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28758, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28680, - "src": "4563:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 28759, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28694, - "src": "4575:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 28755, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "4530:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4544:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "4530:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 28760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4530:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28761, - "nodeType": "ExpressionStatement", - "src": "4530:56:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28765, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28680, - "src": "4679:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 28763, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "4650:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4664:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 153, - "src": "4650:28:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory[] memory)" - } - }, - "id": 28766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4650:40:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "id": 28767, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28694, - "src": "4692:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 28762, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 29975, - "src": "4641:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory[] memory,string memory[] memory)" - } - }, - "id": 28768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4641:62:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28769, - "nodeType": "ExpressionStatement", - "src": "4641:62:42" - } - ] - }, - "functionSelector": "8bbdf5ba", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels", - "nameLocation": "3609:60:42", - "parameters": { - "id": 28649, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28644, - "mutability": "mutable", - "name": "_name", - "nameLocation": "3689:5:42", - "nodeType": "VariableDeclaration", - "scope": 28771, - "src": "3675:19:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28643, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3675:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28646, - "mutability": "mutable", - "name": "_subdomain", - "nameLocation": "3714:10:42", - "nodeType": "VariableDeclaration", - "scope": 28771, - "src": "3700:24:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28645, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3700:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28648, - "mutability": "mutable", - "name": "_subsubdomain", - "nameLocation": "3744:13:42", - "nodeType": "VariableDeclaration", - "scope": 28771, - "src": "3730:27:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28647, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3730:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3669:92:42" - }, - "returnParameters": { - "id": 28650, - "nodeType": "ParameterList", - "parameters": [], - "src": "3769:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 28919, - "nodeType": "FunctionDefinition", - "src": "4712:1264:42", - "body": { - "id": 28918, - "nodeType": "Block", - "src": "4850:1126:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28783, - "name": "authorizationIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28773, - "src": "4866:18:42", - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "expression": { - "id": 28784, - "name": "JBOperations2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "4888:13:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_JBOperations2_$428_$", - "typeString": "type(library JBOperations2)" - } - }, - "id": 28785, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4902:16:42", - "memberName": "SET_ENS_NAME_FOR", - "nodeType": "MemberAccess", - "referencedDeclaration": 427, - "src": "4888:30:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4866:52:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - }, - "id": 28789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28787, - "name": "authorizationIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28773, - "src": "4922:18:42", - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "hexValue": "323535", - "id": 28788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4943:3:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "255" - }, - "src": "4922:24:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4866:80:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28780, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "4856:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4859:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "4856:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 28791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4856:91:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28792, - "nodeType": "ExpressionStatement", - "src": "4856:91:42" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 28798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28796, - "name": "caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28775, - "src": "4963:6:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 28797, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "4973:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4963:22:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28793, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "4953:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4956:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "4953:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 28799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4953:33:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28800, - "nodeType": "ExpressionStatement", - "src": "4953:33:42" - }, - { - "assignments": [ - 28802 - ], - "declarations": [ - { - "constant": false, - "id": 28802, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "5000:10:42", - "nodeType": "VariableDeclaration", - "scope": 28918, - "src": "4992:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28801, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4992:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28811, - "initialValue": { - "arguments": [ - { - "id": 28805, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "5041:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "636f6e74656e74", - "id": 28807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5089:9:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - "value": "content" - }, - { - "hexValue": "31", - "id": 28808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5108:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28806, - "name": "JBProjectMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24669, - "src": "5061:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBProjectMetadata_$24669_storage_ptr_$", - "typeString": "type(struct JBProjectMetadata storage pointer)" - } - }, - "id": 28809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "5080:7:42", - "5100:6:42" - ], - "names": [ - "content", - "domain" - ], - "nodeType": "FunctionCall", - "src": "5061:50:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - ], - "expression": { - "id": 28803, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "5013:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 28804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5024:9:42", - "memberName": "createFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 24224, - "src": "5013:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBProjectMetadata_$24669_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,struct JBProjectMetadata memory) external returns (uint256)" - } - }, - "id": 28810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5013:104:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4992:125:42" - }, - { - "assignments": [ - 28816 - ], - "declarations": [ - { - "constant": false, - "id": 28816, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "5140:10:42", - "nodeType": "VariableDeclaration", - "scope": 28918, - "src": "5124:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 28814, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5124:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28815, - "nodeType": "ArrayTypeName", - "src": "5124:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 28822, - "initialValue": { - "arguments": [ - { - "hexValue": "31", - "id": 28820, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5166:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28819, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "5153:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 28817, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5157:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28818, - "nodeType": "ArrayTypeName", - "src": "5157:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 28821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5153:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5124:44:42" - }, - { - "expression": { - "id": 28827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28823, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28816, - "src": "5174:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28825, - "indexExpression": { - "hexValue": "30", - "id": 28824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5185:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5174:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28826, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28777, - "src": "5190:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "5174:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28828, - "nodeType": "ExpressionStatement", - "src": "5174:21:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28832, - "name": "caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28775, - "src": "5259:6:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 28829, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "5250:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5253:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "5250:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 28833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5250:16:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28834, - "nodeType": "ExpressionStatement", - "src": "5250:16:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "554e415554484f52495a45442829", - "id": 28840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5312:16:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_075fd2b16df09b3a4f714c496bdd513b8233578e7a3fdf5fb90661b701149f65", - "typeString": "literal_string \"UNAUTHORIZED()\"" - }, - "value": "UNAUTHORIZED()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_075fd2b16df09b3a4f714c496bdd513b8233578e7a3fdf5fb90661b701149f65", - "typeString": "literal_string \"UNAUTHORIZED()\"" - } - ], - "expression": { - "id": 28838, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5288:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 28839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5292:19:42", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5288:23:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 28841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5288:41:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 28835, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "5272:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5275:12:42", - "memberName": "expectRevert", - "nodeType": "MemberAccess", - "referencedDeclaration": 7013, - "src": "5272:15:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) external" - } - }, - "id": 28842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5272:58:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28843, - "nodeType": "ExpressionStatement", - "src": "5272:58:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28847, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28802, - "src": "5369:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 28848, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28816, - "src": "5381:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 28844, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "5336:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5350:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "5336:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 28849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5336:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28850, - "nodeType": "ExpressionStatement", - "src": "5336:56:42" - }, - { - "assignments": [ - 28855 - ], - "declarations": [ - { - "constant": false, - "id": 28855, - "mutability": "mutable", - "name": "permissionIndexes", - "nameLocation": "5471:17:42", - "nodeType": "VariableDeclaration", - "scope": 28918, - "src": "5454:34:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 28853, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5454:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28854, - "nodeType": "ArrayTypeName", - "src": "5454:9:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "id": 28861, - "initialValue": { - "arguments": [ - { - "hexValue": "31", - "id": 28859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5505:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "5491:13:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (uint256[] memory)" - }, - "typeName": { - "baseType": { - "id": 28856, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5495:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28857, - "nodeType": "ArrayTypeName", - "src": "5495:9:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - } - }, - "id": 28860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5491:16:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5454:53:42" - }, - { - "expression": { - "id": 28866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28862, - "name": "permissionIndexes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28855, - "src": "5513:17:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "id": 28864, - "indexExpression": { - "hexValue": "30", - "id": 28863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5531:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5513:20:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28865, - "name": "authorizationIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28773, - "src": "5536:18:42", - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - } - }, - "src": "5513:41:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 28867, - "nodeType": "ExpressionStatement", - "src": "5513:41:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28871, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "5570:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 28868, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "5561:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5564:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "5561:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 28872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5561:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28873, - "nodeType": "ExpressionStatement", - "src": "5561:22:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28878, - "name": "caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28775, - "src": "5650:6:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "31", - "id": 28879, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5666:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - { - "id": 28880, - "name": "permissionIndexes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28855, - "src": "5688:17:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "id": 28877, - "name": "JBOperatorData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24662, - "src": "5624:14:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBOperatorData_$24662_storage_ptr_$", - "typeString": "type(struct JBOperatorData storage pointer)" - } - }, - "id": 28881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "5640:8:42", - "5658:6:42", - "5669:17:42" - ], - "names": [ - "operator", - "domain", - "permissionIndexes" - ], - "nodeType": "FunctionCall", - "src": "5624:83:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBOperatorData_$24662_memory_ptr", - "typeString": "struct JBOperatorData memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_JBOperatorData_$24662_memory_ptr", - "typeString": "struct JBOperatorData memory" - } - ], - "expression": { - "id": 28874, - "name": "jbOperatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28345, - "src": "5589:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBOperatorStore_$24059", - "typeString": "contract JBOperatorStore" - } - }, - "id": 28876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5605:11:42", - "memberName": "setOperator", - "nodeType": "MemberAccess", - "referencedDeclaration": 23949, - "src": "5589:27:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_JBOperatorData_$24662_memory_ptr_$returns$__$", - "typeString": "function (struct JBOperatorData memory) external" - } - }, - "id": 28882, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5589:124:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28883, - "nodeType": "ExpressionStatement", - "src": "5589:124:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28887, - "name": "caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28775, - "src": "5729:6:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 28884, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "5720:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5723:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "5720:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 28888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5720:16:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28889, - "nodeType": "ExpressionStatement", - "src": "5720:16:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "554e415554484f52495a45442829", - "id": 28895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5782:16:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_075fd2b16df09b3a4f714c496bdd513b8233578e7a3fdf5fb90661b701149f65", - "typeString": "literal_string \"UNAUTHORIZED()\"" - }, - "value": "UNAUTHORIZED()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_075fd2b16df09b3a4f714c496bdd513b8233578e7a3fdf5fb90661b701149f65", - "typeString": "literal_string \"UNAUTHORIZED()\"" - } - ], - "expression": { - "id": 28893, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5758:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 28894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5762:19:42", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5758:23:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 28896, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5758:41:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 28890, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "5742:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5745:12:42", - "memberName": "expectRevert", - "nodeType": "MemberAccess", - "referencedDeclaration": 7013, - "src": "5742:15:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) external" - } - }, - "id": 28897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5742:58:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28898, - "nodeType": "ExpressionStatement", - "src": "5742:58:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28902, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28802, - "src": "5839:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 28903, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28816, - "src": "5851:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 28899, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "5806:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5820:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "5806:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 28904, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5806:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28905, - "nodeType": "ExpressionStatement", - "src": "5806:56:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 28909, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28802, - "src": "5942:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 28907, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "5913:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 28908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5927:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 153, - "src": "5913:28:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory[] memory)" - } - }, - "id": 28910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5913:40:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 28914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5968:1:42", - "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": 28913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "5955:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 28911, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5959:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28912, - "nodeType": "ArrayTypeName", - "src": "5959:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 28915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5955:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 28906, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 29975, - "src": "5904:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory[] memory,string memory[] memory)" - } - }, - "id": 28916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5904:67:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28917, - "nodeType": "ExpressionStatement", - "src": "5904:67:42" - } - ] - }, - "functionSelector": "a1296985", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetEnsNameFor_revertIfNotAuthorized", - "nameLocation": "4721:39:42", - "parameters": { - "id": 28778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28773, - "mutability": "mutable", - "name": "authorizationIndex", - "nameLocation": "4773:18:42", - "nodeType": "VariableDeclaration", - "scope": 28919, - "src": "4766:25:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - }, - "typeName": { - "id": 28772, - "name": "uint96", - "nodeType": "ElementaryTypeName", - "src": "4766:6:42", - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28775, - "mutability": "mutable", - "name": "caller", - "nameLocation": "4805:6:42", - "nodeType": "VariableDeclaration", - "scope": 28919, - "src": "4797:14:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 28774, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4797:7:42", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28777, - "mutability": "mutable", - "name": "_name", - "nameLocation": "4833:5:42", - "nodeType": "VariableDeclaration", - "scope": 28919, - "src": "4817:21:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28776, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4817:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4760:82:42" - }, - "returnParameters": { - "id": 28779, - "nodeType": "ParameterList", - "parameters": [], - "src": "4850:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29031, - "nodeType": "FunctionDefinition", - "src": "5980:947:42", - "body": { - "id": 29030, - "nodeType": "Block", - "src": "6151:776:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 28933, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28921, - "src": "6180:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 28932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6174:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 28931, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6174:5:42", - "typeDescriptions": {} - } - }, - "id": 28934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6174:12:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 28935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6187:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6174:19:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 28936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6197:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6174:24:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 28940, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28923, - "src": "6208:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 28939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6202:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 28938, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6202:5:42", - "typeDescriptions": {} - } - }, - "id": 28941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6202:17:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 28942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6220:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6202:24:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 28943, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6230:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6202:29:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6174:57:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 28948, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28925, - "src": "6241:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 28947, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6235:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 28946, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6235:5:42", - "typeDescriptions": {} - } - }, - "id": 28949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6235:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 28950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6256:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6235:27:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 28951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6266:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6235:32:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6174:93:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 28928, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "6157:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6160:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "6157:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 28954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6157:116:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28955, - "nodeType": "ExpressionStatement", - "src": "6157:116:42" - }, - { - "assignments": [ - 28957 - ], - "declarations": [ - { - "constant": false, - "id": 28957, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "6288:10:42", - "nodeType": "VariableDeclaration", - "scope": 29030, - "src": "6280:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6280:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 28966, - "initialValue": { - "arguments": [ - { - "id": 28960, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "6329:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "636f6e74656e74", - "id": 28962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6377:9:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - "value": "content" - }, - { - "hexValue": "31", - "id": 28963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6396:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 28961, - "name": "JBProjectMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24669, - "src": "6349:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBProjectMetadata_$24669_storage_ptr_$", - "typeString": "type(struct JBProjectMetadata storage pointer)" - } - }, - "id": 28964, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "6368:7:42", - "6388:6:42" - ], - "names": [ - "content", - "domain" - ], - "nodeType": "FunctionCall", - "src": "6349:50:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - ], - "expression": { - "id": 28958, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "6301:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 28959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6312:9:42", - "memberName": "createFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 24224, - "src": "6301:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBProjectMetadata_$24669_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,struct JBProjectMetadata memory) external returns (uint256)" - } - }, - "id": 28965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6301:104:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6280:125:42" - }, - { - "assignments": [ - 28971 - ], - "declarations": [ - { - "constant": false, - "id": 28971, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "6520:10:42", - "nodeType": "VariableDeclaration", - "scope": 29030, - "src": "6504:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 28969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6504:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28970, - "nodeType": "ArrayTypeName", - "src": "6504:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 28977, - "initialValue": { - "arguments": [ - { - "hexValue": "33", - "id": 28975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6546:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "id": 28974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6533:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 28972, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6537:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 28973, - "nodeType": "ArrayTypeName", - "src": "6537:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 28976, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6533:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6504:44:42" - }, - { - "expression": { - "id": 28982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28978, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28971, - "src": "6554:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28980, - "indexExpression": { - "hexValue": "30", - "id": 28979, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6565:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6554:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28981, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28925, - "src": "6570:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "6554:29:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28983, - "nodeType": "ExpressionStatement", - "src": "6554:29:42" - }, - { - "expression": { - "id": 28988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28984, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28971, - "src": "6589:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28986, - "indexExpression": { - "hexValue": "31", - "id": 28985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6600:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6589:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28987, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28923, - "src": "6605:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "6589:26:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28989, - "nodeType": "ExpressionStatement", - "src": "6589:26:42" - }, - { - "expression": { - "id": 28994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 28990, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28971, - "src": "6621:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 28992, - "indexExpression": { - "hexValue": "32", - "id": 28991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6632:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6621:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 28993, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28921, - "src": "6637:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "6621:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 28995, - "nodeType": "ExpressionStatement", - "src": "6621:21:42" - }, - { - "expression": { - "arguments": [ - { - "id": 28999, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "6658:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 28996, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "6649:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 28998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6652:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "6649:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 29000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6649:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29001, - "nodeType": "ExpressionStatement", - "src": "6649:22:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "454d5054595f4e414d455f504152542829", - "id": 29007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6717:19:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_30dfc1a05257cc1b3a044bcbcf09f5a9b70b7ef5526d2ffadd71200748f3e317", - "typeString": "literal_string \"EMPTY_NAME_PART()\"" - }, - "value": "EMPTY_NAME_PART()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_30dfc1a05257cc1b3a044bcbcf09f5a9b70b7ef5526d2ffadd71200748f3e317", - "typeString": "literal_string \"EMPTY_NAME_PART()\"" - } - ], - "expression": { - "id": 29005, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6693:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6697:19:42", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6693:23:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 29008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6693:44:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29002, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "6677:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6680:12:42", - "memberName": "expectRevert", - "nodeType": "MemberAccess", - "referencedDeclaration": 7013, - "src": "6677:15:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) external" - } - }, - "id": 29009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6677:61:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29010, - "nodeType": "ExpressionStatement", - "src": "6677:61:42" - }, - { - "expression": { - "arguments": [ - { - "id": 29014, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28957, - "src": "6777:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 29015, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28971, - "src": "6789:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29011, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "6744:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6758:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "6744:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 29016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6744:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29017, - "nodeType": "ExpressionStatement", - "src": "6744:56:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29021, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28957, - "src": "6893:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29019, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "6864:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6878:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 153, - "src": "6864:28:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory[] memory)" - } - }, - "id": 29022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6864:40:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 29026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6919:1:42", - "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": 29025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6906:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29023, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6910:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29024, - "nodeType": "ArrayTypeName", - "src": "6910:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29027, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6906:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29018, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 29975, - "src": "6855:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory[] memory,string memory[] memory)" - } - }, - "id": 29028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6855:67:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29029, - "nodeType": "ExpressionStatement", - "src": "6855:67:42" - } - ] - }, - "functionSelector": "1641e69d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts", - "nameLocation": "5989:62:42", - "parameters": { - "id": 28926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28921, - "mutability": "mutable", - "name": "_name", - "nameLocation": "6071:5:42", - "nodeType": "VariableDeclaration", - "scope": 29031, - "src": "6057:19:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28920, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6057:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28923, - "mutability": "mutable", - "name": "_subdomain", - "nameLocation": "6096:10:42", - "nodeType": "VariableDeclaration", - "scope": 29031, - "src": "6082:24:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28922, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6082:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 28925, - "mutability": "mutable", - "name": "_subsubdomain", - "nameLocation": "6126:13:42", - "nodeType": "VariableDeclaration", - "scope": 29031, - "src": "6112:27:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 28924, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6112:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6051:92:42" - }, - "returnParameters": { - "id": 28927, - "nodeType": "ParameterList", - "parameters": [], - "src": "6151:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29091, - "nodeType": "FunctionDefinition", - "src": "6931:624:42", - "body": { - "id": 29090, - "nodeType": "Block", - "src": "7003:552:42", - "statements": [ - { - "assignments": [ - 29035 - ], - "declarations": [ - { - "constant": false, - "id": 29035, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "7017:10:42", - "nodeType": "VariableDeclaration", - "scope": 29090, - "src": "7009:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29034, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7009:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 29044, - "initialValue": { - "arguments": [ - { - "id": 29038, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "7058:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "636f6e74656e74", - "id": 29040, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7106:9:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - "value": "content" - }, - { - "hexValue": "31", - "id": 29041, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7125:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 29039, - "name": "JBProjectMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24669, - "src": "7078:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBProjectMetadata_$24669_storage_ptr_$", - "typeString": "type(struct JBProjectMetadata storage pointer)" - } - }, - "id": 29042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "7097:7:42", - "7117:6:42" - ], - "names": [ - "content", - "domain" - ], - "nodeType": "FunctionCall", - "src": "7078:50:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - ], - "expression": { - "id": 29036, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "7030:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 29037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7041:9:42", - "memberName": "createFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 24224, - "src": "7030:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBProjectMetadata_$24669_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,struct JBProjectMetadata memory) external returns (uint256)" - } - }, - "id": 29043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7030:104:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7009:125:42" - }, - { - "assignments": [ - 29049 - ], - "declarations": [ - { - "constant": false, - "id": 29049, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "7249:10:42", - "nodeType": "VariableDeclaration", - "scope": 29090, - "src": "7233:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29047, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7233:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29048, - "nodeType": "ArrayTypeName", - "src": "7233:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 29055, - "initialValue": { - "arguments": [ - { - "hexValue": "30", - "id": 29053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7275:1:42", - "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": 29052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7262:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29050, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7266:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29051, - "nodeType": "ArrayTypeName", - "src": "7266:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29054, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7262:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7233:44:42" - }, - { - "expression": { - "arguments": [ - { - "id": 29059, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "7293:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 29056, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "7284:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7287:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "7284:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 29060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7284:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29061, - "nodeType": "ExpressionStatement", - "src": "7284:22:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "4e4f5f50415254532829", - "id": 29067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7352:12:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0925708c5c9e752e9dcb70cd2573fa883358b9b894af46607e926092f4f34c4", - "typeString": "literal_string \"NO_PARTS()\"" - }, - "value": "NO_PARTS()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a0925708c5c9e752e9dcb70cd2573fa883358b9b894af46607e926092f4f34c4", - "typeString": "literal_string \"NO_PARTS()\"" - } - ], - "expression": { - "id": 29065, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7328:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7332:19:42", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7328:23:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 29068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7328:37:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29062, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "7312:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7315:12:42", - "memberName": "expectRevert", - "nodeType": "MemberAccess", - "referencedDeclaration": 7013, - "src": "7312:15:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) external" - } - }, - "id": 29069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7312:54:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29070, - "nodeType": "ExpressionStatement", - "src": "7312:54:42" - }, - { - "expression": { - "arguments": [ - { - "id": 29074, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29035, - "src": "7405:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 29075, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29049, - "src": "7417:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29071, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "7372:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7386:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "7372:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 29076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7372:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29077, - "nodeType": "ExpressionStatement", - "src": "7372:56:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29081, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29035, - "src": "7521:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29079, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "7492:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7506:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 153, - "src": "7492:28:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory[] memory)" - } - }, - "id": 29082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7492:40:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 29086, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7547:1:42", - "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": 29085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7534:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29083, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7538:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29084, - "nodeType": "ArrayTypeName", - "src": "7538:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7534:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29078, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 29975, - "src": "7483:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (string memory[] memory,string memory[] memory)" - } - }, - "id": 29088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7483:67:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29089, - "nodeType": "ExpressionStatement", - "src": "7483:67:42" - } - ] - }, - "functionSelector": "d33518fd", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts", - "nameLocation": "6940:53:42", - "parameters": { - "id": 29032, - "nodeType": "ParameterList", - "parameters": [], - "src": "6993:2:42" - }, - "returnParameters": { - "id": 29033, - "nodeType": "ParameterList", - "parameters": [], - "src": "7003:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29129, - "nodeType": "FunctionDefinition", - "src": "7788:337:42", - "body": { - "id": 29128, - "nodeType": "Block", - "src": "7868:257:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29101, - "name": "oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28314, - "src": "7963:9:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 29100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7955:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29099, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7955:7:42", - "typeDescriptions": {} - } - }, - "id": 29102, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7955:18:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "id": 29105, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "7990:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 29106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8008:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 403, - "src": "7990:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - } - }, - { - "components": [ - { - "id": 29107, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29093, - "src": "8025:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 29108, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8024:11:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29103, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7975:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7979:10:42", - "memberName": "encodeCall", - "nodeType": "MemberAccess", - "src": "7975:14:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7975:61:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 29115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8062:1:42", - "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": 29114, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8049:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29112, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8053:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29113, - "nodeType": "ArrayTypeName", - "src": "8053:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8049:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29110, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8038:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8042:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8038:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8038:27:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29096, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "7943:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7946:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "7943:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7943:123:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29119, - "nodeType": "ExpressionStatement", - "src": "7943:123:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29123, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29093, - "src": "8105:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29121, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "8082:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8096:8:42", - "memberName": "handleOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 138, - "src": "8082:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 29124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8082:33:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "", - "id": 29125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8117:2:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 29120, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 2068, - "src": "8073:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 29126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8073:47:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29127, - "nodeType": "ExpressionStatement", - "src": "8073:47:42" - } - ] - }, - "functionSelector": "8f5f00e4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testHandleOf_returnsEmptyStringIfNoHandleSet", - "nameLocation": "7797:44:42", - "parameters": { - "id": 29094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29093, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "7850:9:42", - "nodeType": "VariableDeclaration", - "scope": 29129, - "src": "7842:17:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29092, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7842:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7841:19:42" - }, - "returnParameters": { - "id": 29095, - "nodeType": "ParameterList", - "parameters": [], - "src": "7868:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29295, - "nodeType": "FunctionDefinition", - "src": "8129:1301:42", - "body": { - "id": 29294, - "nodeType": "Block", - "src": "8303:1127:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 29163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 29155, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29143, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29131, - "src": "8332:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8326:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29141, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8326:5:42", - "typeDescriptions": {} - } - }, - "id": 29144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8326:12:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8339:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8326:19:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8348:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8326:23:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29150, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29133, - "src": "8359:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8353:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29148, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8353:5:42", - "typeDescriptions": {} - } - }, - "id": 29151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8353:17:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8371:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8353:24:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29153, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8380:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8353:28:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8326:55:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29158, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29135, - "src": "8391:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8385:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29156, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8385:5:42", - "typeDescriptions": {} - } - }, - "id": 29159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8385:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8406:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8385:27:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8415:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8385:31:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8326:90:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 29138, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "8309:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8312:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "8309:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 29164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8309:113:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29165, - "nodeType": "ExpressionStatement", - "src": "8309:113:42" - }, - { - "assignments": [ - 29167 - ], - "declarations": [ - { - "constant": false, - "id": 29167, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "8437:9:42", - "nodeType": "VariableDeclaration", - "scope": 29294, - "src": "8429:17:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29166, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8429:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 29169, - "initialValue": { - "hexValue": "3639343230", - "id": 29168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8449:5:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_69420_by_1", - "typeString": "int_const 69420" - }, - "value": "69420" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8429:25:42" - }, - { - "assignments": [ - 29174 - ], - "declarations": [ - { - "constant": false, - "id": 29174, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "8569:10:42", - "nodeType": "VariableDeclaration", - "scope": 29294, - "src": "8553:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29172, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8553:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29173, - "nodeType": "ArrayTypeName", - "src": "8553:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 29180, - "initialValue": { - "arguments": [ - { - "hexValue": "33", - "id": 29178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8595:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "id": 29177, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8582:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29175, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8586:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29176, - "nodeType": "ArrayTypeName", - "src": "8586:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8582:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8553:44:42" - }, - { - "expression": { - "id": 29185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29181, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29174, - "src": "8603:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29183, - "indexExpression": { - "hexValue": "30", - "id": 29182, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8614:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8603:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29184, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29135, - "src": "8619:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "8603:29:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29186, - "nodeType": "ExpressionStatement", - "src": "8603:29:42" - }, - { - "expression": { - "id": 29191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29187, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29174, - "src": "8638:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29189, - "indexExpression": { - "hexValue": "31", - "id": 29188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8649:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8638:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29190, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29133, - "src": "8654:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "8638:26:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29192, - "nodeType": "ExpressionStatement", - "src": "8638:26:42" - }, - { - "expression": { - "id": 29197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29193, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29174, - "src": "8670:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29195, - "indexExpression": { - "hexValue": "32", - "id": 29194, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8681:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8670:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29196, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29131, - "src": "8686:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "8670:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29198, - "nodeType": "ExpressionStatement", - "src": "8670:21:42" - }, - { - "assignments": [ - 29200 - ], - "declarations": [ - { - "constant": false, - "id": 29200, - "mutability": "mutable", - "name": "KEY", - "nameLocation": "8712:3:42", - "nodeType": "VariableDeclaration", - "scope": 29294, - "src": "8698:17:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29199, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8698:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 29204, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 29201, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "8718:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8732:8:42", - "memberName": "TEXT_KEY", - "nodeType": "MemberAccess", - "referencedDeclaration": 28, - "src": "8718:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view external returns (string memory)" - } - }, - "id": 29203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8718:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8698:44:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29210, - "name": "ensRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28308, - "src": "8776:11:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - ], - "id": 29209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8768:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29208, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8768:7:42", - "typeDescriptions": {} - } - }, - "id": 29211, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8768:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29214, - "name": "ENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23766, - "src": "8819:3:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ENS_$23766_$", - "typeString": "type(contract ENS)" - } - }, - "id": 29215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8823:8:42", - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 23742, - "src": "8819:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function ENS.resolver(bytes32) view returns (address)" - } - }, - "id": 29216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8832:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "8819:21:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29218, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29174, - "src": "8852:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29217, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "8842:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8842:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 29212, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8796:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29213, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8800:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "8796:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8796:68:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29225, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "8891:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 29224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8883:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29223, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8883:7:42", - "typeDescriptions": {} - } - }, - "id": 29226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8883:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 29221, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8872:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29222, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8876:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8872:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8872:36:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29205, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "8749:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8752:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "8749:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8749:165:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29229, - "nodeType": "ExpressionStatement", - "src": "8749:165:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29235, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "8948:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 29234, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8940:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29233, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8940:7:42", - "typeDescriptions": {} - } - }, - "id": 29236, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8940:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29239, - "name": "ITextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23787, - "src": "8995:13:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ITextResolver_$23787_$", - "typeString": "type(contract ITextResolver)" - } - }, - "id": 29240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9009:4:42", - "memberName": "text", - "nodeType": "MemberAccess", - "referencedDeclaration": 23786, - "src": "8995:18:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$_t_string_calldata_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function ITextResolver.text(bytes32,string calldata) view returns (string memory)" - } - }, - "id": 29241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9014:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "8995:27:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29243, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29174, - "src": "9034:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29242, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "9024:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9024:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 29245, - "name": "KEY", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29200, - "src": "9047:3:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 29237, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8972:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8976:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "8972:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8972:79:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29251, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29167, - "src": "9087:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29249, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27214, - "src": "9070:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27214_$", - "typeString": "type(library Strings)" - } - }, - "id": 29250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9078:8:42", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27096, - "src": "9070:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 29252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9070:27:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 29247, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9059:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9063:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9059:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9059:39:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29230, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "8921:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8924:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "8921:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8921:183:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29255, - "nodeType": "ExpressionStatement", - "src": "8921:183:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29261, - "name": "oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28314, - "src": "9207:9:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 29260, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9199:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9199:7:42", - "typeDescriptions": {} - } - }, - "id": 29262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9199:18:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "id": 29265, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "9234:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 29266, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9252:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 403, - "src": "9234:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - } - }, - { - "components": [ - { - "id": 29267, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29167, - "src": "9269:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 29268, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "9268:11:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29263, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9219:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29264, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9223:10:42", - "memberName": "encodeCall", - "nodeType": "MemberAccess", - "src": "9219:14:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29269, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9219:61:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "id": 29272, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29174, - "src": "9293:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29270, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9282:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29271, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9286:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9282:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9282:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29256, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "9187:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9190:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "9187:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9187:118:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29275, - "nodeType": "ExpressionStatement", - "src": "9187:118:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29279, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29167, - "src": "9344:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29277, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "9321:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9335:8:42", - "memberName": "handleOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 138, - "src": "9321:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 29280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9321:33:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29285, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29131, - "src": "9380:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "hexValue": "2e", - "id": 29286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9387:3:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - }, - { - "id": 29287, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29133, - "src": "9392:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "hexValue": "2e", - "id": 29288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9404:3:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - }, - { - "id": 29289, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29135, - "src": "9409:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "expression": { - "id": 29283, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9363:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9367:12:42", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "9363:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9363:60:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 29282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9356:6:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 29281, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9356:6:42", - "typeDescriptions": {} - } - }, - "id": 29291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9356:68:42", - "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": 29276, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 2068, - "src": "9312:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 29292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9312:113:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29293, - "nodeType": "ExpressionStatement", - "src": "9312:113:42" - } - ] - }, - "functionSelector": "5c17d799", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion", - "nameLocation": "8138:67:42", - "parameters": { - "id": 29136, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29131, - "mutability": "mutable", - "name": "_name", - "nameLocation": "8222:5:42", - "nodeType": "VariableDeclaration", - "scope": 29295, - "src": "8206:21:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29130, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8206:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29133, - "mutability": "mutable", - "name": "_subdomain", - "nameLocation": "8249:10:42", - "nodeType": "VariableDeclaration", - "scope": 29295, - "src": "8233:26:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29132, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8233:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29135, - "mutability": "mutable", - "name": "_subsubdomain", - "nameLocation": "8281:13:42", - "nodeType": "VariableDeclaration", - "scope": 29295, - "src": "8265:29:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29134, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8265:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8205:90:42" - }, - "returnParameters": { - "id": 29137, - "nodeType": "ParameterList", - "parameters": [], - "src": "8303:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29510, - "nodeType": "FunctionDefinition", - "src": "9434:1768:42", - "body": { - "id": 29509, - "nodeType": "Block", - "src": "9620:1582:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 29329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 29321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29309, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29297, - "src": "9649:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9643:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29307, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9643:5:42", - "typeDescriptions": {} - } - }, - "id": 29310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9643:12:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9656:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9643:19:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9665:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9643:23:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29316, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29299, - "src": "9676:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9670:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29314, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9670:5:42", - "typeDescriptions": {} - } - }, - "id": 29317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9670:17:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9688:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9670:24:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9697:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9670:28:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9643:55:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29324, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29301, - "src": "9708:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9702:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29322, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9702:5:42", - "typeDescriptions": {} - } - }, - "id": 29325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9702:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9723:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9702:27:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9732:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9702:31:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9643:90:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 29304, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "9626:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9629:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "9626:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 29330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9626:113:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29331, - "nodeType": "ExpressionStatement", - "src": "9626:113:42" - }, - { - "assignments": [ - 29333 - ], - "declarations": [ - { - "constant": false, - "id": 29333, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "9754:10:42", - "nodeType": "VariableDeclaration", - "scope": 29509, - "src": "9746:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29332, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9746:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 29342, - "initialValue": { - "arguments": [ - { - "id": 29336, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "9795:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "636f6e74656e74", - "id": 29338, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9843:9:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - "value": "content" - }, - { - "hexValue": "31", - "id": 29339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9862:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 29337, - "name": "JBProjectMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24669, - "src": "9815:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBProjectMetadata_$24669_storage_ptr_$", - "typeString": "type(struct JBProjectMetadata storage pointer)" - } - }, - "id": 29340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "9834:7:42", - "9854:6:42" - ], - "names": [ - "content", - "domain" - ], - "nodeType": "FunctionCall", - "src": "9815:50:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - ], - "expression": { - "id": 29334, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "9767:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 29335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9778:9:42", - "memberName": "createFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 24224, - "src": "9767:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBProjectMetadata_$24669_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,struct JBProjectMetadata memory) external returns (uint256)" - } - }, - "id": 29341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9767:104:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9746:125:42" - }, - { - "assignments": [ - 29344 - ], - "declarations": [ - { - "constant": false, - "id": 29344, - "mutability": "mutable", - "name": "KEY", - "nameLocation": "9892:3:42", - "nodeType": "VariableDeclaration", - "scope": 29509, - "src": "9878:17:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29343, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9878:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 29348, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 29345, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "9898:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29346, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9912:8:42", - "memberName": "TEXT_KEY", - "nodeType": "MemberAccess", - "referencedDeclaration": 28, - "src": "9898:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view external returns (string memory)" - } - }, - "id": 29347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9898:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9878:44:42" - }, - { - "assignments": [ - 29353 - ], - "declarations": [ - { - "constant": false, - "id": 29353, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "10037:10:42", - "nodeType": "VariableDeclaration", - "scope": 29509, - "src": "10021:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29351, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10021:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29352, - "nodeType": "ArrayTypeName", - "src": "10021:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 29359, - "initialValue": { - "arguments": [ - { - "hexValue": "33", - "id": 29357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10063:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "id": 29356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "10050:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29354, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10054:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29355, - "nodeType": "ArrayTypeName", - "src": "10054:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10050:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10021:44:42" - }, - { - "expression": { - "id": 29364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29360, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29353, - "src": "10071:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29362, - "indexExpression": { - "hexValue": "30", - "id": 29361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10082:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10071:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29363, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29301, - "src": "10087:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "10071:29:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29365, - "nodeType": "ExpressionStatement", - "src": "10071:29:42" - }, - { - "expression": { - "id": 29370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29366, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29353, - "src": "10106:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29368, - "indexExpression": { - "hexValue": "31", - "id": 29367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10117:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10106:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29369, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29299, - "src": "10122:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "10106:26:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29371, - "nodeType": "ExpressionStatement", - "src": "10106:26:42" - }, - { - "expression": { - "id": 29376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29372, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29353, - "src": "10138:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29374, - "indexExpression": { - "hexValue": "32", - "id": 29373, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10149:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10138:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29375, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29297, - "src": "10154:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "10138:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29377, - "nodeType": "ExpressionStatement", - "src": "10138:21:42" - }, - { - "assignments": [ - 29382 - ], - "declarations": [ - { - "constant": false, - "id": 29382, - "mutability": "mutable", - "name": "_oldNamePart", - "nameLocation": "10231:12:42", - "nodeType": "VariableDeclaration", - "scope": 29509, - "src": "10215:28:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29380, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10215:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29381, - "nodeType": "ArrayTypeName", - "src": "10215:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 29388, - "initialValue": { - "arguments": [ - { - "hexValue": "33", - "id": 29386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10259:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "id": 29385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "10246:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29383, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10250:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29384, - "nodeType": "ArrayTypeName", - "src": "10250:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10246:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10215:46:42" - }, - { - "expression": { - "id": 29393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29389, - "name": "_oldNamePart", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29382, - "src": "10267:12:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29391, - "indexExpression": { - "hexValue": "30", - "id": 29390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10280:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10267:15:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "6974206875727473", - "id": 29392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10285:10:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c57fdadf558759e9ecb3b03c674f3352357a08db25f1381afcd51c3efd2c2646", - "typeString": "literal_string \"it hurts\"" - }, - "value": "it hurts" - }, - "src": "10267:28:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29394, - "nodeType": "ExpressionStatement", - "src": "10267:28:42" - }, - { - "expression": { - "id": 29399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29395, - "name": "_oldNamePart", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29382, - "src": "10301:12:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29397, - "indexExpression": { - "hexValue": "31", - "id": 29396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10314:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10301:15:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "736f20646570726563617465642074686174", - "id": 29398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10319:20:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b5404e0e2e759d8873b1798a3ce47cbe3e1ec9cd2156f11161fa2c6f555b4acf", - "typeString": "literal_string \"so deprecated that\"" - }, - "value": "so deprecated that" - }, - "src": "10301:38:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29400, - "nodeType": "ExpressionStatement", - "src": "10301:38:42" - }, - { - "expression": { - "id": 29405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29401, - "name": "_oldNamePart", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29382, - "src": "10345:12:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29403, - "indexExpression": { - "hexValue": "32", - "id": 29402, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10358:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10345:15:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "4920616d", - "id": 29404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10363:6:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0ae05540bf4e69e6a7391c1e134b83ccf4cdbf754858ab2c98713cb2bc4de7f1", - "typeString": "literal_string \"I am\"" - }, - "value": "I am" - }, - "src": "10345:24:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29406, - "nodeType": "ExpressionStatement", - "src": "10345:24:42" - }, - { - "expression": { - "arguments": [ - { - "id": 29410, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "10385:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 29407, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "10376:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10379:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "10376:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 29411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10376:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29412, - "nodeType": "ExpressionStatement", - "src": "10376:22:42" - }, - { - "expression": { - "arguments": [ - { - "id": 29416, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29333, - "src": "10437:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 29417, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29353, - "src": "10449:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29413, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "10404:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10418:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "10404:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 29418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10404:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29419, - "nodeType": "ExpressionStatement", - "src": "10404:56:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29425, - "name": "ensRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28308, - "src": "10494:11:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - ], - "id": 29424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10486:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29423, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10486:7:42", - "typeDescriptions": {} - } - }, - "id": 29426, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10486:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29429, - "name": "ENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23766, - "src": "10537:3:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ENS_$23766_$", - "typeString": "type(contract ENS)" - } - }, - "id": 29430, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10541:8:42", - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 23742, - "src": "10537:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function ENS.resolver(bytes32) view returns (address)" - } - }, - "id": 29431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10550:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "10537:21:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29433, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29353, - "src": "10570:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29432, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "10560:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10560:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 29427, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10514:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10518:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "10514:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10514:68:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29440, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "10609:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 29439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10601:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10601:7:42", - "typeDescriptions": {} - } - }, - "id": 29441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10601:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 29436, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10590:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29437, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10594:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10590:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10590:36:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29420, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "10467:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10470:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "10467:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29443, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10467:165:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29444, - "nodeType": "ExpressionStatement", - "src": "10467:165:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29450, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "10666:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 29449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10658:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29448, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10658:7:42", - "typeDescriptions": {} - } - }, - "id": 29451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10658:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29454, - "name": "ITextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23787, - "src": "10713:13:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ITextResolver_$23787_$", - "typeString": "type(contract ITextResolver)" - } - }, - "id": 29455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10727:4:42", - "memberName": "text", - "nodeType": "MemberAccess", - "referencedDeclaration": 23786, - "src": "10713:18:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$_t_string_calldata_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function ITextResolver.text(bytes32,string calldata) view returns (string memory)" - } - }, - "id": 29456, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10732:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "10713:27:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29458, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29353, - "src": "10752:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29457, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "10742:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29459, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10742:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 29460, - "name": "KEY", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29344, - "src": "10765:3:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 29452, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10690:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10694:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "10690:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10690:79:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29466, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29333, - "src": "10805:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29464, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27214, - "src": "10788:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27214_$", - "typeString": "type(library Strings)" - } - }, - "id": 29465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10796:8:42", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27096, - "src": "10788:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 29467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10788:28:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 29462, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10777:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10781:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10777:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10777:40:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29445, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "10639:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10642:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "10639:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10639:184:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29470, - "nodeType": "ExpressionStatement", - "src": "10639:184:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29476, - "name": "oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28314, - "src": "10903:9:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 29475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10895:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29474, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10895:7:42", - "typeDescriptions": {} - } - }, - "id": 29477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10895:18:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "id": 29480, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "10930:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 29481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10948:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 403, - "src": "10930:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - } - }, - { - "components": [ - { - "id": 29482, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29333, - "src": "10965:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 29483, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10964:12:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29478, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10915:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10919:10:42", - "memberName": "encodeCall", - "nodeType": "MemberAccess", - "src": "10915:14:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10915:62:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "id": 29487, - "name": "_oldNamePart", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29382, - "src": "10990:12:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29485, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10979:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29486, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10983:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10979:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10979:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29471, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "10883:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10886:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "10883:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10883:121:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29490, - "nodeType": "ExpressionStatement", - "src": "10883:121:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29494, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29333, - "src": "11104:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29492, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "11081:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11095:8:42", - "memberName": "handleOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 138, - "src": "11081:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 29495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11081:34:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29500, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29297, - "src": "11147:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "hexValue": "2e", - "id": 29501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11154:3:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - }, - { - "id": 29502, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29299, - "src": "11159:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "hexValue": "2e", - "id": 29503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11171:3:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - }, - { - "id": 29504, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29301, - "src": "11176:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "expression": { - "id": 29498, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11130:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11134:12:42", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "11130:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11130:60:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 29497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11123:6:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 29496, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11123:6:42", - "typeDescriptions": {} - } - }, - "id": 29506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11123:68:42", - "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": 29491, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 2068, - "src": "11065:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 29507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11065:132:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29508, - "nodeType": "ExpressionStatement", - "src": "11065:132:42" - } - ] - }, - "functionSelector": "0bc1349a", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew", - "nameLocation": "9443:71:42", - "parameters": { - "id": 29302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29297, - "mutability": "mutable", - "name": "_name", - "nameLocation": "9536:5:42", - "nodeType": "VariableDeclaration", - "scope": 29510, - "src": "9520:21:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29296, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9520:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29299, - "mutability": "mutable", - "name": "_subdomain", - "nameLocation": "9563:10:42", - "nodeType": "VariableDeclaration", - "scope": 29510, - "src": "9547:26:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29298, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9547:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29301, - "mutability": "mutable", - "name": "_subsubdomain", - "nameLocation": "9595:13:42", - "nodeType": "VariableDeclaration", - "scope": 29510, - "src": "9579:29:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29300, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9579:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9514:98:42" - }, - "returnParameters": { - "id": 29303, - "nodeType": "ParameterList", - "parameters": [], - "src": "9620:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29618, - "nodeType": "FunctionDefinition", - "src": "11206:898:42", - "body": { - "id": 29617, - "nodeType": "Block", - "src": "11419:685:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 29526, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29512, - "src": "11435:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 29527, - "name": "_reverseId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29514, - "src": "11448:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11435:23:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 29523, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "11425:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11428:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "11425:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 29529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11425:34:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29530, - "nodeType": "ExpressionStatement", - "src": "11425:34:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29536, - "name": "oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28314, - "src": "11547:9:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 29535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11539:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29534, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11539:7:42", - "typeDescriptions": {} - } - }, - "id": 29537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11539:18:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "id": 29540, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "11574:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 29541, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11592:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 403, - "src": "11574:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - } - }, - { - "components": [ - { - "id": 29542, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29512, - "src": "11609:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 29543, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "11608:11:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29538, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11559:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29539, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11563:10:42", - "memberName": "encodeCall", - "nodeType": "MemberAccess", - "src": "11559:14:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11559:61:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 29550, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11646:1:42", - "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": 29549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "11633:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29547, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11637:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29548, - "nodeType": "ArrayTypeName", - "src": "11637:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29551, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11633:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29545, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11622:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11626:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "11622:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29552, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11622:27:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29531, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "11527:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11530:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "11527:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11527:123:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29554, - "nodeType": "ExpressionStatement", - "src": "11527:123:42" - }, - { - "assignments": [ - 29559 - ], - "declarations": [ - { - "constant": false, - "id": 29559, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "11765:10:42", - "nodeType": "VariableDeclaration", - "scope": 29617, - "src": "11749:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29557, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11749:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29558, - "nodeType": "ArrayTypeName", - "src": "11749:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 29565, - "initialValue": { - "arguments": [ - { - "hexValue": "33", - "id": 29563, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11791:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "id": 29562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "11778:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29560, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11782:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29561, - "nodeType": "ArrayTypeName", - "src": "11782:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11778:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11749:44:42" - }, - { - "expression": { - "id": 29570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29566, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29559, - "src": "11799:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29568, - "indexExpression": { - "hexValue": "30", - "id": 29567, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11810:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11799:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29569, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29520, - "src": "11815:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "11799:29:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29571, - "nodeType": "ExpressionStatement", - "src": "11799:29:42" - }, - { - "expression": { - "id": 29576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29572, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29559, - "src": "11834:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29574, - "indexExpression": { - "hexValue": "31", - "id": 29573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11845:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11834:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29575, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29518, - "src": "11850:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "11834:26:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29577, - "nodeType": "ExpressionStatement", - "src": "11834:26:42" - }, - { - "expression": { - "id": 29582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29578, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29559, - "src": "11866:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29580, - "indexExpression": { - "hexValue": "32", - "id": 29579, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11877:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11866:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29581, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29516, - "src": "11882:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "11866:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29583, - "nodeType": "ExpressionStatement", - "src": "11866:21:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29589, - "name": "ensRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28308, - "src": "11921:11:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - ], - "id": 29588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11913:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29587, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11913:7:42", - "typeDescriptions": {} - } - }, - "id": 29590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11913:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29593, - "name": "ENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23766, - "src": "11964:3:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ENS_$23766_$", - "typeString": "type(contract ENS)" - } - }, - "id": 29594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11968:8:42", - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 23742, - "src": "11964:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function ENS.resolver(bytes32) view returns (address)" - } - }, - "id": 29595, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11977:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "11964:21:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29597, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29559, - "src": "11997:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29596, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "11987:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11987:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 29591, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11941:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11945:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "11941:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11941:68:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 29604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12036:1:42", - "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": 29603, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12028:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29602, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12028:7:42", - "typeDescriptions": {} - } - }, - "id": 29605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12028:10:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 29600, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12017:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12021:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "12017:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12017:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29584, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "11894:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11897:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "11894:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11894:151:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29608, - "nodeType": "ExpressionStatement", - "src": "11894:151:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29612, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29512, - "src": "12084:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29610, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "12061:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29611, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12075:8:42", - "memberName": "handleOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 138, - "src": "12061:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 29613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12061:33:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "", - "id": 29614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12096:2:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 29609, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 2068, - "src": "12052:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 29615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12052:47:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29616, - "nodeType": "ExpressionStatement", - "src": "12052:47:42" - } - ] - }, - "functionSelector": "19f37fcc", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testHandleOf_returnsEmptyStringIfENSIsNotRegistered", - "nameLocation": "11215:51:42", - "parameters": { - "id": 29521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29512, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "11280:9:42", - "nodeType": "VariableDeclaration", - "scope": 29618, - "src": "11272:17:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29511, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11272:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29514, - "mutability": "mutable", - "name": "_reverseId", - "nameLocation": "11303:10:42", - "nodeType": "VariableDeclaration", - "scope": 29618, - "src": "11295:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29513, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11295:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29516, - "mutability": "mutable", - "name": "_name", - "nameLocation": "11335:5:42", - "nodeType": "VariableDeclaration", - "scope": 29618, - "src": "11319:21:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29515, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11319:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29518, - "mutability": "mutable", - "name": "_subdomain", - "nameLocation": "11362:10:42", - "nodeType": "VariableDeclaration", - "scope": 29618, - "src": "11346:26:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11346:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29520, - "mutability": "mutable", - "name": "_subsubdomain", - "nameLocation": "11394:13:42", - "nodeType": "VariableDeclaration", - "scope": 29618, - "src": "11378:29:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29519, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11378:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11266:145:42" - }, - "returnParameters": { - "id": 29522, - "nodeType": "ParameterList", - "parameters": [], - "src": "11419:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29762, - "nodeType": "FunctionDefinition", - "src": "12108:1207:42", - "body": { - "id": 29761, - "nodeType": "Block", - "src": "12333:982:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 29634, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29620, - "src": "12349:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 29635, - "name": "_reverseId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29622, - "src": "12362:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12349:23:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 29631, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "12339:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12342:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "12339:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 29637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12339:34:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29638, - "nodeType": "ExpressionStatement", - "src": "12339:34:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29644, - "name": "oldHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28314, - "src": "12461:9:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBProjectHandles_$422", - "typeString": "contract IJBProjectHandles" - } - ], - "id": 29643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12453:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29642, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12453:7:42", - "typeDescriptions": {} - } - }, - "id": 29645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12453:18:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "id": 29648, - "name": "IJBProjectHandles", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "12488:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjectHandles_$422_$", - "typeString": "type(contract IJBProjectHandles)" - } - }, - "id": 29649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12506:14:42", - "memberName": "ensNamePartsOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 403, - "src": "12488:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - } - }, - { - "components": [ - { - "id": 29650, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29620, - "src": "12523:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 29651, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "12522:11:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_declaration_view$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function IJBProjectHandles.ensNamePartsOf(uint256) view returns (string memory[] memory)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29646, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12473:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29647, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12477:10:42", - "memberName": "encodeCall", - "nodeType": "MemberAccess", - "src": "12473:14:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12473:61:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 29658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12560:1:42", - "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": 29657, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "12547:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29655, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12551:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29656, - "nodeType": "ArrayTypeName", - "src": "12551:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29659, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12547:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29653, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12536:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29654, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12540:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "12536:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12536:27:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29639, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "12441:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12444:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "12441:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29661, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12441:123:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29662, - "nodeType": "ExpressionStatement", - "src": "12441:123:42" - }, - { - "assignments": [ - 29664 - ], - "declarations": [ - { - "constant": false, - "id": 29664, - "mutability": "mutable", - "name": "reverseId", - "nameLocation": "12585:9:42", - "nodeType": "VariableDeclaration", - "scope": 29761, - "src": "12571:23:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29663, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12571:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 29669, - "initialValue": { - "arguments": [ - { - "id": 29667, - "name": "_reverseId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29622, - "src": "12614:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29665, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27214, - "src": "12597:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27214_$", - "typeString": "type(library Strings)" - } - }, - "id": 29666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12605:8:42", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27096, - "src": "12597:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 29668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12597:28:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12571:54:42" - }, - { - "assignments": [ - 29671 - ], - "declarations": [ - { - "constant": false, - "id": 29671, - "mutability": "mutable", - "name": "KEY", - "nameLocation": "12645:3:42", - "nodeType": "VariableDeclaration", - "scope": 29761, - "src": "12631:17:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29670, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12631:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 29675, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 29672, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "12651:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12665:8:42", - "memberName": "TEXT_KEY", - "nodeType": "MemberAccess", - "referencedDeclaration": 28, - "src": "12651:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view external returns (string memory)" - } - }, - "id": 29674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12651:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12631:44:42" - }, - { - "assignments": [ - 29680 - ], - "declarations": [ - { - "constant": false, - "id": 29680, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "12790:10:42", - "nodeType": "VariableDeclaration", - "scope": 29761, - "src": "12774:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29678, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12774:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29679, - "nodeType": "ArrayTypeName", - "src": "12774:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 29686, - "initialValue": { - "arguments": [ - { - "hexValue": "33", - "id": 29684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12816:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "id": 29683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "12803:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29681, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12807:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29682, - "nodeType": "ArrayTypeName", - "src": "12807:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12803:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12774:44:42" - }, - { - "expression": { - "id": 29691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29687, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29680, - "src": "12824:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29689, - "indexExpression": { - "hexValue": "30", - "id": 29688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12835:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12824:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29690, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29628, - "src": "12840:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "12824:29:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29692, - "nodeType": "ExpressionStatement", - "src": "12824:29:42" - }, - { - "expression": { - "id": 29697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29693, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29680, - "src": "12859:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29695, - "indexExpression": { - "hexValue": "31", - "id": 29694, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12870:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12859:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29696, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29626, - "src": "12875:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "12859:26:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29698, - "nodeType": "ExpressionStatement", - "src": "12859:26:42" - }, - { - "expression": { - "id": 29703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29699, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29680, - "src": "12891:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29701, - "indexExpression": { - "hexValue": "32", - "id": 29700, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12902:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12891:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29702, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29624, - "src": "12907:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "12891:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29704, - "nodeType": "ExpressionStatement", - "src": "12891:21:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29710, - "name": "ensRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28308, - "src": "12946:11:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - ], - "id": 29709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12938:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29708, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12938:7:42", - "typeDescriptions": {} - } - }, - "id": 29711, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12938:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29714, - "name": "ENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23766, - "src": "12989:3:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ENS_$23766_$", - "typeString": "type(contract ENS)" - } - }, - "id": 29715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12993:8:42", - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 23742, - "src": "12989:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function ENS.resolver(bytes32) view returns (address)" - } - }, - "id": 29716, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13002:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "12989:21:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29718, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29680, - "src": "13022:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29717, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "13012:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13012:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 29712, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12966:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12970:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "12966:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12966:68:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29725, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "13061:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 29724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13053:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29723, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13053:7:42", - "typeDescriptions": {} - } - }, - "id": 29726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13053:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 29721, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13042:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13046:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "13042:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13042:36:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29705, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "12919:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12922:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "12919:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12919:165:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29729, - "nodeType": "ExpressionStatement", - "src": "12919:165:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29735, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "13118:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 29734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13110:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29733, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13110:7:42", - "typeDescriptions": {} - } - }, - "id": 29736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13110:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29739, - "name": "ITextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23787, - "src": "13165:13:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ITextResolver_$23787_$", - "typeString": "type(contract ITextResolver)" - } - }, - "id": 29740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13179:4:42", - "memberName": "text", - "nodeType": "MemberAccess", - "referencedDeclaration": 23786, - "src": "13165:18:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$_t_string_calldata_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function ITextResolver.text(bytes32,string calldata) view returns (string memory)" - } - }, - "id": 29741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13184:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "13165:27:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29743, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29680, - "src": "13204:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29742, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "13194:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13194:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 29745, - "name": "KEY", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29671, - "src": "13217:3:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 29737, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13142:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13146:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "13142:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13142:79:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "id": 29749, - "name": "reverseId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29664, - "src": "13240:9:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 29747, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13229:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13233:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "13229:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13229:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29730, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "13091:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13094:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "13091:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13091:165:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29752, - "nodeType": "ExpressionStatement", - "src": "13091:165:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29756, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29620, - "src": "13295:9:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29754, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "13272:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13286:8:42", - "memberName": "handleOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 138, - "src": "13272:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 29757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13272:33:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "", - "id": 29758, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13307:2:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 29753, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 2068, - "src": "13263:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 29759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13263:47:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29760, - "nodeType": "ExpressionStatement", - "src": "13263:47:42" - } - ] - }, - "functionSelector": "156d3f63", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId", - "nameLocation": "12117:63:42", - "parameters": { - "id": 29629, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29620, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "12194:9:42", - "nodeType": "VariableDeclaration", - "scope": 29762, - "src": "12186:17:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29619, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12186:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29622, - "mutability": "mutable", - "name": "_reverseId", - "nameLocation": "12217:10:42", - "nodeType": "VariableDeclaration", - "scope": 29762, - "src": "12209:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29621, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12209:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29624, - "mutability": "mutable", - "name": "_name", - "nameLocation": "12249:5:42", - "nodeType": "VariableDeclaration", - "scope": 29762, - "src": "12233:21:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29623, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12233:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29626, - "mutability": "mutable", - "name": "_subdomain", - "nameLocation": "12276:10:42", - "nodeType": "VariableDeclaration", - "scope": 29762, - "src": "12260:26:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29625, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12260:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29628, - "mutability": "mutable", - "name": "_subsubdomain", - "nameLocation": "12308:13:42", - "nodeType": "VariableDeclaration", - "scope": 29762, - "src": "12292:29:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29627, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12292:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12180:145:42" - }, - "returnParameters": { - "id": 29630, - "nodeType": "ParameterList", - "parameters": [], - "src": "12333:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29928, - "nodeType": "FunctionDefinition", - "src": "13319:1303:42", - "body": { - "id": 29927, - "nodeType": "Block", - "src": "13485:1137:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 29796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 29788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29776, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29764, - "src": "13514:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13508:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29774, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13508:5:42", - "typeDescriptions": {} - } - }, - "id": 29777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13508:12:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13521:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "13508:19:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13530:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13508:23:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29783, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29766, - "src": "13541:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29782, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13535:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29781, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13535:5:42", - "typeDescriptions": {} - } - }, - "id": 29784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13535:17:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13553:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "13535:24:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29786, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13562:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13535:28:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13508:55:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "id": 29791, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29768, - "src": "13573:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 29790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13567:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29789, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13567:5:42", - "typeDescriptions": {} - } - }, - "id": 29792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13567:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 29793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13588:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "13567:27:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 29794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13597:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13567:31:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13508:90:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 29771, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "13491:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13494:6:42", - "memberName": "assume", - "nodeType": "MemberAccess", - "referencedDeclaration": 7124, - "src": "13491:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool) external" - } - }, - "id": 29797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13491:113:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29798, - "nodeType": "ExpressionStatement", - "src": "13491:113:42" - }, - { - "assignments": [ - 29800 - ], - "declarations": [ - { - "constant": false, - "id": 29800, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "13619:10:42", - "nodeType": "VariableDeclaration", - "scope": 29927, - "src": "13611:18:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29799, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13611:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 29809, - "initialValue": { - "arguments": [ - { - "id": 29803, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "13660:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "636f6e74656e74", - "id": 29805, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13708:9:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - "value": "content" - }, - { - "hexValue": "31", - "id": 29806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13727:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e109eb81780c8505fc75b12fda78c5737b7ccd70bfd04e22f4d22d598dd9e19", - "typeString": "literal_string \"content\"" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 29804, - "name": "JBProjectMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24669, - "src": "13680:17:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_JBProjectMetadata_$24669_storage_ptr_$", - "typeString": "type(struct JBProjectMetadata storage pointer)" - } - }, - "id": 29807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [ - "13699:7:42", - "13719:6:42" - ], - "names": [ - "content", - "domain" - ], - "nodeType": "FunctionCall", - "src": "13680:50:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24669_memory_ptr", - "typeString": "struct JBProjectMetadata memory" - } - ], - "expression": { - "id": 29801, - "name": "jbProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28348, - "src": "13632:10:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjects_$24282", - "typeString": "contract JBProjects" - } - }, - "id": 29802, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13643:9:42", - "memberName": "createFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 24224, - "src": "13632:20:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_struct$_JBProjectMetadata_$24669_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,struct JBProjectMetadata memory) external returns (uint256)" - } - }, - "id": 29808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13632:104:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13611:125:42" - }, - { - "assignments": [ - 29811 - ], - "declarations": [ - { - "constant": false, - "id": 29811, - "mutability": "mutable", - "name": "KEY", - "nameLocation": "13757:3:42", - "nodeType": "VariableDeclaration", - "scope": 29927, - "src": "13743:17:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29810, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13743:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 29815, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 29812, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "13763:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13777:8:42", - "memberName": "TEXT_KEY", - "nodeType": "MemberAccess", - "referencedDeclaration": 28, - "src": "13763:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_string_memory_ptr_$", - "typeString": "function () view external returns (string memory)" - } - }, - "id": 29814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13763:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13743:44:42" - }, - { - "assignments": [ - 29820 - ], - "declarations": [ - { - "constant": false, - "id": 29820, - "mutability": "mutable", - "name": "_nameParts", - "nameLocation": "13902:10:42", - "nodeType": "VariableDeclaration", - "scope": 29927, - "src": "13886:26:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29818, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13886:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29819, - "nodeType": "ArrayTypeName", - "src": "13886:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 29826, - "initialValue": { - "arguments": [ - { - "hexValue": "33", - "id": 29824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13928:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "id": 29823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "13915:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 29821, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13919:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29822, - "nodeType": "ArrayTypeName", - "src": "13919:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 29825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13915:15:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13886:44:42" - }, - { - "expression": { - "id": 29831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29827, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29820, - "src": "13936:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29829, - "indexExpression": { - "hexValue": "30", - "id": 29828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13947:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "13936:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29830, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29768, - "src": "13952:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "13936:29:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29832, - "nodeType": "ExpressionStatement", - "src": "13936:29:42" - }, - { - "expression": { - "id": 29837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29833, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29820, - "src": "13971:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29835, - "indexExpression": { - "hexValue": "31", - "id": 29834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13982:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "13971:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29836, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29766, - "src": "13987:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "13971:26:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29838, - "nodeType": "ExpressionStatement", - "src": "13971:26:42" - }, - { - "expression": { - "id": 29843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 29839, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29820, - "src": "14003:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29841, - "indexExpression": { - "hexValue": "32", - "id": 29840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14014:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "14003:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 29842, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29764, - "src": "14019:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "14003:21:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 29844, - "nodeType": "ExpressionStatement", - "src": "14003:21:42" - }, - { - "expression": { - "arguments": [ - { - "id": 29848, - "name": "projectOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28333, - "src": "14040:12:42", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 29845, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "14031:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14034:5:42", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 6972, - "src": "14031:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 29849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14031:22:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29850, - "nodeType": "ExpressionStatement", - "src": "14031:22:42" - }, - { - "expression": { - "arguments": [ - { - "id": 29854, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29800, - "src": "14092:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 29855, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29820, - "src": "14104:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 29851, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "14059:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14073:18:42", - "memberName": "setEnsNamePartsFor", - "nodeType": "MemberAccess", - "referencedDeclaration": 253, - "src": "14059:32:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$", - "typeString": "function (uint256,string memory[] memory) external" - } - }, - "id": 29856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14059:56:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29857, - "nodeType": "ExpressionStatement", - "src": "14059:56:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29863, - "name": "ensRegistry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28308, - "src": "14149:11:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ENS_$23766", - "typeString": "contract ENS" - } - ], - "id": 29862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "14141:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29861, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14141:7:42", - "typeDescriptions": {} - } - }, - "id": 29864, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14141:20:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29867, - "name": "ENS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23766, - "src": "14192:3:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ENS_$23766_$", - "typeString": "type(contract ENS)" - } - }, - "id": 29868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14196:8:42", - "memberName": "resolver", - "nodeType": "MemberAccess", - "referencedDeclaration": 23742, - "src": "14192:12:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$returns$_t_address_$", - "typeString": "function ENS.resolver(bytes32) view returns (address)" - } - }, - "id": 29869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14205:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "14192:21:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29871, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29820, - "src": "14225:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29870, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "14215:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14215:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 29865, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14169:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29866, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14173:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "14169:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14169:68:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29878, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "14264:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 29877, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "14256:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29876, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14256:7:42", - "typeDescriptions": {} - } - }, - "id": 29879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14256:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 29874, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14245:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29875, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14249:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "14245:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14245:36:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29858, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "14122:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14125:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "14122:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14122:165:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29882, - "nodeType": "ExpressionStatement", - "src": "14122:165:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29888, - "name": "ensTextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28342, - "src": "14321:15:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ITextResolver_$23787", - "typeString": "contract ITextResolver" - } - ], - "id": 29887, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "14313:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 29886, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14313:7:42", - "typeDescriptions": {} - } - }, - "id": 29889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14313:24:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "expression": { - "expression": { - "id": 29892, - "name": "ITextResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23787, - "src": "14368:13:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ITextResolver_$23787_$", - "typeString": "type(contract ITextResolver)" - } - }, - "id": 29893, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14382:4:42", - "memberName": "text", - "nodeType": "MemberAccess", - "referencedDeclaration": 23786, - "src": "14368:18:42", - "typeDescriptions": { - "typeIdentifier": "t_function_declaration_view$_t_bytes32_$_t_string_calldata_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function ITextResolver.text(bytes32,string calldata) view returns (string memory)" - } - }, - "id": 29894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14387:8:42", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "14368:27:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 29896, - "name": "_nameParts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29820, - "src": "14407:10:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "id": 29895, - "name": "_namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30034, - "src": "14397:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (string memory[] memory) pure returns (bytes32)" - } - }, - "id": 29897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14397:21:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 29898, - "name": "KEY", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29811, - "src": "14420:3:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 29890, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14345:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29891, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14349:18:42", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "14345:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 29899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14345:79:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29904, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29800, - "src": "14460:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29902, - "name": "Strings", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27214, - "src": "14443:7:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Strings_$27214_$", - "typeString": "type(library Strings)" - } - }, - "id": 29903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14451:8:42", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 27096, - "src": "14443:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory)" - } - }, - "id": 29905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14443:28:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 29900, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14432:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29901, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14436:6:42", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "14432:10:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14432:40:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 29883, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "14294:2:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7501", - "typeString": "contract Vm" - } - }, - "id": 29885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14297:8:42", - "memberName": "mockCall", - "nodeType": "MemberAccess", - "referencedDeclaration": 7068, - "src": "14294:11:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory,bytes memory) external" - } - }, - "id": 29907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14294:184:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29908, - "nodeType": "ExpressionStatement", - "src": "14294:184:42" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 29912, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29800, - "src": "14524:10:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 29910, - "name": "projectHandle", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28351, - "src": "14501:13:42", - "typeDescriptions": { - "typeIdentifier": "t_contract$_JBProjectHandles_$372", - "typeString": "contract JBProjectHandles" - } - }, - "id": 29911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14515:8:42", - "memberName": "handleOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 138, - "src": "14501:22:42", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 29913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14501:34:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 29918, - "name": "_name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29764, - "src": "14567:5:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "hexValue": "2e", - "id": 29919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14574:3:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - }, - { - "id": 29920, - "name": "_subdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29766, - "src": "14579:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - { - "hexValue": "2e", - "id": 29921, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14591:3:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - "value": "." - }, - { - "id": 29922, - "name": "_subsubdomain", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29768, - "src": "14596:13:42", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - }, - { - "typeIdentifier": "t_stringliteral_6f010af653ebe3cb07d297a4ef13366103d392ceffa68dd48232e6e9ff2187bf", - "typeString": "literal_string \".\"" - }, - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "expression": { - "id": 29916, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14550:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14554:12:42", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "14550:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14550:60:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 29915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "14543:6:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 29914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14543:6:42", - "typeDescriptions": {} - } - }, - "id": 29924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14543:68:42", - "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": 29909, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 2068, - "src": "14485:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 29925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14485:132:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29926, - "nodeType": "ExpressionStatement", - "src": "14485:132:42" - } - ] - }, - "functionSelector": "9edca9cd", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "testHandleOf_returnsHandleIfReverseIdMatchProjectId", - "nameLocation": "13328:51:42", - "parameters": { - "id": 29769, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29764, - "mutability": "mutable", - "name": "_name", - "nameLocation": "13401:5:42", - "nodeType": "VariableDeclaration", - "scope": 29928, - "src": "13385:21:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29763, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13385:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29766, - "mutability": "mutable", - "name": "_subdomain", - "nameLocation": "13428:10:42", - "nodeType": "VariableDeclaration", - "scope": 29928, - "src": "13412:26:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29765, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13412:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29768, - "mutability": "mutable", - "name": "_subsubdomain", - "nameLocation": "13460:13:42", - "nodeType": "VariableDeclaration", - "scope": 29928, - "src": "13444:29:42", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 29767, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13444:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13379:98:42" - }, - "returnParameters": { - "id": 29770, - "nodeType": "ParameterList", - "parameters": [], - "src": "13485:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 29975, - "nodeType": "FunctionDefinition", - "src": "14900:250:42", - "body": { - "id": 29974, - "nodeType": "Block", - "src": "14976:174:42", - "statements": [ - { - "expression": { - "arguments": [ - { - "expression": { - "id": 29938, - "name": "_first", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29931, - "src": "14991:6:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14998:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "14991:13:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "expression": { - "id": 29940, - "name": "_second", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29934, - "src": "15006:7:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15014:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15006:14:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 29937, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 943, - "src": "14982:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 29942, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14982:39:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29943, - "nodeType": "ExpressionStatement", - "src": "14982:39:42" - }, - { - "body": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "baseExpression": { - "id": 29958, - "name": "_first", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29931, - "src": "15101:6:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29960, - "indexExpression": { - "id": 29959, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29945, - "src": "15108:2:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15101:10:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 29957, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "15095:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29956, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15095:5:42", - "typeDescriptions": {} - } - }, - "id": 29961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15095:17:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 29955, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15085:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 29962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15085:28:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "baseExpression": { - "id": 29966, - "name": "_second", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29934, - "src": "15131:7:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29968, - "indexExpression": { - "id": 29967, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29945, - "src": "15139:2:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15131:11:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 29965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "15125:5:42", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 29964, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15125:5:42", - "typeDescriptions": {} - } - }, - "id": 29969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15125:18:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 29963, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15115:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 29970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15115:29:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 29954, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 29975, - 3596, - 3621, - 3634, - 3650, - 3692, - 3734, - 3776, - 3813, - 3850, - 3887, - 749, - 774, - 804, - 829, - 888, - 913, - 943, - 968, - 2068, - 2103 - ], - "referencedDeclaration": 804, - "src": "15076:8:42", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 29971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15076:69:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29972, - "nodeType": "ExpressionStatement", - "src": "15076:69:42" - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 29950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 29947, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29945, - "src": "15044:2:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 29948, - "name": "_first", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29931, - "src": "15049:6:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 29949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15056:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15049:13:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15044:18:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 29973, - "initializationExpression": { - "assignments": [ - 29945 - ], - "declarations": [ - { - "constant": false, - "id": 29945, - "mutability": "mutable", - "name": "_i", - "nameLocation": "15040:2:42", - "nodeType": "VariableDeclaration", - "scope": 29973, - "src": "15032:10:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29944, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15032:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 29946, - "nodeType": "VariableDeclarationStatement", - "src": "15032:10:42" - }, - "loopExpression": { - "expression": { - "id": 29952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "15064:4:42", - "subExpression": { - "id": 29951, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29945, - "src": "15064:2:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 29953, - "nodeType": "ExpressionStatement", - "src": "15064:4:42" - }, - "nodeType": "ForStatement", - "src": "15027:118:42" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "14909:8:42", - "parameters": { - "id": 29935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29931, - "mutability": "mutable", - "name": "_first", - "nameLocation": "14934:6:42", - "nodeType": "VariableDeclaration", - "scope": 29975, - "src": "14918:22:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29929, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14918:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29930, - "nodeType": "ArrayTypeName", - "src": "14918:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 29934, - "mutability": "mutable", - "name": "_second", - "nameLocation": "14958:7:42", - "nodeType": "VariableDeclaration", - "scope": 29975, - "src": "14942:23:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29932, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14942:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29933, - "nodeType": "ArrayTypeName", - "src": "14942:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "14917:49:42" - }, - "returnParameters": { - "id": 29936, - "nodeType": "ParameterList", - "parameters": [], - "src": "14976:0:42" - }, - "scope": 30035, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 30034, - "nodeType": "FunctionDefinition", - "src": "15154:508:42", - "body": { - "id": 30033, - "nodeType": "Block", - "src": "15240:422:42", - "statements": [ - { - "expression": { - "id": 29996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 29983, - "name": "namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29981, - "src": "15246:8:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "id": 29987, - "name": "namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29981, - "src": "15284:8:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "657468", - "id": 29991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15321:5:42", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f5b812789fc606be1b3b16908db13fc7a9adf7ca72641f84d75b47069d3d7f0", - "typeString": "literal_string \"eth\"" - }, - "value": "eth" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f5b812789fc606be1b3b16908db13fc7a9adf7ca72641f84d75b47069d3d7f0", - "typeString": "literal_string \"eth\"" - } - ], - "expression": { - "id": 29989, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15304:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15308:12:42", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "15304:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15304:23:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 29988, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15294:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 29993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15294:34:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 29985, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15267:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 29986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15271:12:42", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "15267:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 29994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15267:62:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 29984, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15257:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 29995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15257:73:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "15246:84:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 29997, - "nodeType": "ExpressionStatement", - "src": "15246:84:42" - }, - { - "assignments": [ - 29999 - ], - "declarations": [ - { - "constant": false, - "id": 29999, - "mutability": "mutable", - "name": "_nameLength", - "nameLocation": "15412:11:42", - "nodeType": "VariableDeclaration", - "scope": 30033, - "src": "15404:19:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 29998, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15404:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 30002, - "initialValue": { - "expression": { - "id": 30000, - "name": "_ensName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29978, - "src": "15426:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 30001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15435:6:42", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15426:15:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "15404:37:42" - }, - { - "body": { - "id": 30031, - "nodeType": "Block", - "src": "15512:146:42", - "statements": [ - { - "expression": { - "id": 30025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 30010, - "name": "namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29981, - "src": "15520:8:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "id": 30014, - "name": "namehash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29981, - "src": "15558:8:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "baseExpression": { - "id": 30018, - "name": "_ensName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29978, - "src": "15595:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 30020, - "indexExpression": { - "id": 30019, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30004, - "src": "15604:2:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15595:12:42", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 30016, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15578:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 30017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15582:12:42", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "15578:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 30021, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15578:30:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 30015, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15568:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 30022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15568:41:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 30012, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15541:3:42", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 30013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15545:12:42", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "15541:16:42", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 30023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15541:69:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 30011, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15531:9:42", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 30024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15531:80:42", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "15520:91:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 30026, - "nodeType": "ExpressionStatement", - "src": "15520:91:42" - }, - { - "id": 30030, - "nodeType": "UncheckedBlock", - "src": "15619:33:42", - "statements": [ - { - "expression": { - "id": 30028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "15639:4:42", - "subExpression": { - "id": 30027, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30004, - "src": "15641:2:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 30029, - "nodeType": "ExpressionStatement", - "src": "15639:4:42" - } - ] - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 30009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 30007, - "name": "_i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 30004, - "src": "15492:2:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 30008, - "name": "_nameLength", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 29999, - "src": "15497:11:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15492:16:42", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 30032, - "initializationExpression": { - "assignments": [ - 30004 - ], - "declarations": [ - { - "constant": false, - "id": 30004, - "mutability": "mutable", - "name": "_i", - "nameLocation": "15484:2:42", - "nodeType": "VariableDeclaration", - "scope": 30032, - "src": "15476:10:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 30003, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15476:7:42", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 30006, - "initialValue": { - "hexValue": "30", - "id": 30005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15489:1:42", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "15476:14:42" - }, - "nodeType": "ForStatement", - "src": "15471:187:42" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_namehash", - "nameLocation": "15163:9:42", - "parameters": { - "id": 29979, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29978, - "mutability": "mutable", - "name": "_ensName", - "nameLocation": "15189:8:42", - "nodeType": "VariableDeclaration", - "scope": 30034, - "src": "15173:24:42", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 29976, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15173:6:42", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 29977, - "nodeType": "ArrayTypeName", - "src": "15173:8:42", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "15172:26:42" - }, - "returnParameters": { - "id": 29982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 29981, - "mutability": "mutable", - "name": "namehash", - "nameLocation": "15230:8:42", - "nodeType": "VariableDeclaration", - "scope": 30034, - "src": "15222:16:42", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 29980, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15222:7:42", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "15221:18:42" - }, - "scope": 30035, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 28315, - "name": "Test", - "nameLocations": [ - "757:4:42" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5408, - "src": "757:4:42" - }, - "id": 28316, - "nodeType": "InheritanceSpecifier", - "src": "757:4:42" - } - ], - "canonicalName": "ContractTest", - "contractDependencies": [ - 372, - 24059, - 24282 - ], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 30035, - 5408, - 2478, - 2215 - ], - "name": "ContractTest", - "nameLocation": "741:12:42", - "scope": 30036, - "usedErrors": [] - } - ], - "license": "UNLICENSED" - }, - "id": 42 -} \ No newline at end of file +{"abi":[{"type":"function","name":"IS_SCRIPT","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"IS_TEST","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"failed","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"setUp","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testHandleOf_returnsEmptyStringIfENSIsNotRegistered","inputs":[{"name":"projectId","type":"uint256","internalType":"uint256"},{"name":"_reverseId","type":"uint256","internalType":"uint256"},{"name":"_name","type":"string","internalType":"string"},{"name":"_subdomain","type":"string","internalType":"string"},{"name":"_subsubdomain","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testHandleOf_returnsEmptyStringIfNoHandleSet","inputs":[{"name":"projectId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId","inputs":[{"name":"projectId","type":"uint256","internalType":"uint256"},{"name":"_reverseId","type":"uint256","internalType":"uint256"},{"name":"_name","type":"string","internalType":"string"},{"name":"_subdomain","type":"string","internalType":"string"},{"name":"_subsubdomain","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew","inputs":[{"name":"_name","type":"string","internalType":"string"},{"name":"_subdomain","type":"string","internalType":"string"},{"name":"_subsubdomain","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testHandleOf_returnsHandleIfReverseIdMatchProjectId","inputs":[{"name":"_name","type":"string","internalType":"string"},{"name":"_subdomain","type":"string","internalType":"string"},{"name":"_subsubdomain","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion","inputs":[{"name":"_name","type":"string","internalType":"string"},{"name":"_subdomain","type":"string","internalType":"string"},{"name":"_subsubdomain","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName","inputs":[{"name":"caller","type":"address","internalType":"address"},{"name":"_name","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testSetEnsNameFor_revertIfNotAuthorized","inputs":[{"name":"authorizationIndex","type":"uint96","internalType":"uint96"},{"name":"caller","type":"address","internalType":"address"},{"name":"_name","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName","inputs":[{"name":"_name","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts","inputs":[{"name":"_name","type":"string","internalType":"string"},{"name":"_subdomain","type":"string","internalType":"string"},{"name":"_subsubdomain","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels","inputs":[{"name":"_name","type":"string","internalType":"string"},{"name":"_subdomain","type":"string","internalType":"string"},{"name":"_subsubdomain","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"vm","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Vm"}],"stateMutability":"view"},{"type":"event","name":"SetEnsNameParts","inputs":[{"name":"projectId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"ensName","type":"string","indexed":true,"internalType":"string"},{"name":"parts","type":"string[]","indexed":false,"internalType":"string[]"},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_address","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_bytes","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_bytes32","inputs":[{"name":"","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_int","inputs":[{"name":"","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_address","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_named_bytes","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_named_bytes32","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_named_decimal_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_decimal_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_string","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_named_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_string","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_uint","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"logs","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false}],"bytecode":{"object":"0x6080604052600080546201000162ff00ff19909116179055600880546001600160a01b03199081166269ed75179091556009805490911662010f2c17905534801561004957600080fd5b50619be1806200005a6000396000f3fe60806040523480156200001157600080fd5b5060043610620001215760003560e01c8063804febd711620000af578063a1296985116200007a578063a1296985146200024c578063ba414fa61462000263578063d33518fd146200027e578063f8ccbf471462000288578063fa7626d4146200029c57600080fd5b8063804febd714620001f05780638bbdf5ba14620002075780638f5f00e4146200021e5780639edca9cd146200023557600080fd5b806319f37fcc11620000f057806319f37fcc14620001775780633a768463146200018e5780635c17d79914620001c257806379ee9c1614620001d957600080fd5b80630a9254e414620001265780630bc1349a1462000132578063156d3f6314620001495780631641e69d1462000160575b600080fd5b62000130620002aa565b005b6200013062000143366004620046e0565b620006ff565b620001306200015a36600462004784565b62000f3a565b62000130620001713660046200490c565b620014ec565b620001306200018836600462004784565b620018cb565b620001a560008051602062009b8c83398151915281565b6040516001600160a01b0390911681526020015b60405180910390f35b62000130620001d3366004620046e0565b62001ca7565b62000130620001ea3660046200499e565b62002239565b6200013062000201366004620049fc565b62002609565b62000130620002183660046200490c565b62002ac8565b620001306200022f36600462004a55565b62002ef0565b6200013062000246366004620046e0565b62003030565b620001306200025d36600462004a6f565b6200357d565b6200026d62003c04565b6040519015158152602001620001b9565b6200013062003d2f565b6000546200026d9062010000900460ff1681565b6000546200026d9060ff1681565b600954604051635a6b63c160e11b815260008051602062009b8c8339815191529163b4d6c78291620002e9916001600160a01b03169060040162004ae5565b600060405180830381600087803b1580156200030457600080fd5b505af115801562000319573d6000803e3d6000fd5b5050604051635a6b63c160e11b815260008051602062009b8c833981519152925063b4d6c782915062000360906e0c2e074ec69a0dfb2997ba6c7d2e1e9060040162004ae5565b600060405180830381600087803b1580156200037b57600080fd5b505af115801562000390573d6000803e3d6000fd5b5050604051635a6b63c160e11b815260008051602062009b8c833981519152925063b4d6c7829150620003dc907341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060040162004ae5565b600060405180830381600087803b158015620003f757600080fd5b505af11580156200040c573d6000803e3d6000fd5b5050600954604080516318caf8e360e31b81526001600160a01b0390921660048301526024820152600f60448201526e32b739aa32bc3a2932b9b7b63b32b960891b606482015260008051602062009b8c833981519152925063c657c7189150608401600060405180830381600087803b1580156200048a57600080fd5b505af11580156200049f573d6000803e3d6000fd5b5050604080516318caf8e360e31b81526e0c2e074ec69a0dfb2997ba6c7d2e1e60048201526024810191909152600b60448201526a656e73526567697374727960a81b606482015260008051602062009b8c833981519152925063c657c7189150608401600060405180830381600087803b1580156200051e57600080fd5b505af115801562000533573d6000803e3d6000fd5b5050604080516318caf8e360e31b81527341126ec99f8a989feb503ac7bb4c5e5d40e06fa46004820152602481019190915260096044820152686f6c6448616e646c6560b81b606482015260008051602062009b8c833981519152925063c657c7189150608401600060405180830381600087803b158015620005b557600080fd5b505af1158015620005ca573d6000803e3d6000fd5b50505050604051620005dc906200466a565b604051809103906000f080158015620005f9573d6000803e3d6000fd5b50600a80546001600160a01b0319166001600160a01b03929092169182179055604051620006279062004678565b6001600160a01b039091168152602001604051809103906000f08015801562000654573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b03928316908117909155600a54604051919216907341126ec99f8a989feb503ac7bb4c5e5d40e06fa4906200069f9062004686565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f080158015620006dc573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602062009b8c833981519152634c63e56286158015906200072357508415155b80156200072f57508215155b6040518263ffffffff1660e01b815260040162000750911515815260200190565b600060405180830381600087803b1580156200076b57600080fd5b505af115801562000780573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620007e79316919060040162004b69565b6020604051808303816000875af115801562000807573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200082d919062004bab565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000885573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620008af919081019062004c11565b6040805160038082526080820190925291925060009190816020015b6060815260200190600190039081620008cb57905050905084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062000930576200093062004c4a565b602002602001018190525086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062000989576200098962004c4a565b602002602001018190525088888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508351849250600291508110620009e257620009e262004c4a565b602090810291909101015260408051600380825260808201909252600091816020015b606081526020019060019003908162000a0557905050905060405180604001604052806008815260200167697420687572747360c01b8152508160008151811062000a545762000a5462004c4a565b6020026020010181905250604051806040016040528060128152602001711cdbc819195c1c9958d85d1959081d1a185d60721b8152508160018151811062000aa05762000aa062004c4a565b6020026020010181905250604051806040016040528060048152602001634920616d60e01b8152508160028151811062000ade5762000ade62004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b15801562000b3e57600080fd5b505af115801562000b53573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062000b8b908790869060040162004cbe565b600060405180830381600087803b15801562000ba657600080fd5b505af115801562000bbb573d6000803e3d6000fd5b5060008051602062009b8c833981519152925063b96213e491506e0c2e074ec69a0dfb2997ba6c7d2e1e9050630178b8bf60e01b62000bfa8662003fac565b60405160240162000c0d91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b90941690915262000c7b939260440162004cd9565b600060405180830381600087803b15801562000c9657600080fd5b505af115801562000cab573d6000803e3d6000fd5b505060095460008051602062009b8c833981519152925063b96213e491506001600160a01b0316631674750f60e21b62000ce58662003fac565b8760405160240162000cf992919062004d1d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915262000d3688620040af565b60405160200162000d48919062004d38565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162000d779392919062004cd9565b600060405180830381600087803b15801562000d9257600080fd5b505af115801562000da7573d6000803e3d6000fd5b50506040516024810187905260008051602062009b8c833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051601f19818403018152918152602080830180516001600160e01b03166330abe98760e01b179052905162000e209187910162004d54565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162000e4f9392919062004cd9565b600060405180830381600087803b15801562000e6a57600080fd5b505af115801562000e7f573d6000803e3d6000fd5b5050600c54604051634949198760e01b81526004810188905262000f2e93506001600160a01b039091169150634949198790602401600060405180830381865afa15801562000ed2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000efc919081019062004c11565b8b8b8b8b8b8b60405160200162000f199695949392919062004d69565b604051602081830303815290604052620041d0565b50505050505050505050565b604051632631f2b160e11b815287891415600482015260008051602062009b8c83398151915290634c63e56290602401600060405180830381600087803b15801562000f8557600080fd5b505af115801562000f9a573d6000803e3d6000fd5b5050604051602481018b905260008051602062009b8c833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b03909116179052815160008082529181019092526200102e565b6060815260200190600190039081620010185790505b5060405160200162001041919062004d54565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401620010709392919062004cd9565b600060405180830381600087803b1580156200108b57600080fd5b505af1158015620010a0573d6000803e3d6000fd5b505050506000620010b188620040af565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001109573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001133919081019062004c11565b6040805160038082526080820190925291925060009190816020015b60608152602001906001900390816200114f57905050905084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620011b457620011b462004c4a565b602002602001018190525086868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505083518492506001915081106200120d576200120d62004c4a565b602002602001018190525088888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001266576200126662004c4a565b602090810291909101015260008051602062009b8c83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b620012a98562003fac565b604051602401620012bc91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b9094169091526200132a939260440162004cd9565b600060405180830381600087803b1580156200134557600080fd5b505af11580156200135a573d6000803e3d6000fd5b505060095460008051602062009b8c833981519152925063b96213e491506001600160a01b0316631674750f60e21b620013948562003fac565b86604051602401620013a892919062004d1d565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031990951694909417909352519091620013ec9189910162004d38565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016200141b9392919062004cd9565b600060405180830381600087803b1580156200143657600080fd5b505af11580156200144b573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018f9052620014df93506001600160a01b0390911691506349491987906024015b600060405180830381865afa1580156200149f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014c9919081019062004c11565b60405180602001604052806000815250620041d0565b5050505050505050505050565b825160008051602062009b8c83398151915290634c63e5629015806200151157508351155b806200151c57508251155b6040518263ffffffff1660e01b81526004016200153d911515815260200190565b600060405180830381600087803b1580156200155857600080fd5b505af11580156200156d573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620015d49316919060040162004b69565b6020604051808303816000875af1158015620015f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200161a919062004bab565b6040805160038082526080820190925291925060009190816020015b606081526020019060019003908162001636579050509050828160008151811062001665576200166562004c4a565b6020026020010181905250838160018151811062001687576200168762004c4a565b60200260200101819052508481600281518110620016a957620016a962004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b1580156200170957600080fd5b505af11580156200171e573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b0316630186fe0d60e51b179052915163f28dceb360e01b815260008051602062009b8c833981519152945063f28dceb393506200177a920162004d38565b600060405180830381600087803b1580156200179557600080fd5b505af1158015620017aa573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620017e2908590859060040162004cbe565b600060405180830381600087803b158015620017fd57600080fd5b505af115801562001812573d6000803e3d6000fd5b5050600c546040516330abe98760e01b815260048101869052620018c493506001600160a01b0390911691506330abe987906024015b600060405180830381865afa15801562001866573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001890919081019062004da7565b6040805160008082526020820190925290620018bd565b6060815260200190600190039081620018a75790505b5062004319565b5050505050565b604051632631f2b160e11b815287891415600482015260008051602062009b8c83398151915290634c63e56290602401600060405180830381600087803b1580156200191657600080fd5b505af11580156200192b573d6000803e3d6000fd5b5050604051602481018b905260008051602062009b8c833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b0390911617905281516000808252918101909252620019bf565b6060815260200190600190039081620019a95790505b50604051602001620019d2919062004d54565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162001a019392919062004cd9565b600060405180830381600087803b15801562001a1c57600080fd5b505af115801562001a31573d6000803e3d6000fd5b50600092506003915062001a429050565b60405190808252806020026020018201604052801562001a7757816020015b606081526020019060019003908162001a615790505b50905082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062001ac75762001ac762004c4a565b602002602001018190525084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062001b205762001b2062004c4a565b602002602001018190525086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001b795762001b7962004c4a565b602090810291909101015260008051602062009b8c83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b62001bbc8562003fac565b60405160240162001bcf91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b03199586161790528151600081830152825180820390920182528083019283905260e087901b90941690915262001c31939260440162004cd9565b600060405180830381600087803b15801562001c4c57600080fd5b505af115801562001c61573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018d905262001c9c93506001600160a01b03909116915063494919879060240162001481565b505050505050505050565b60008051602062009b8c833981519152634c63e562861580159062001ccb57508415155b801562001cd757508215155b6040518263ffffffff1660e01b815260040162001cf8911515815260200190565b600060405180830381600087803b15801562001d1357600080fd5b505af115801562001d28573d6000803e3d6000fd5b50506040805160038082526080820190925262010f2c93506000925090816020015b606081526020019060019003908162001d4a57905050905083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062001daf5762001daf62004c4a565b602002602001018190525085858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062001e085762001e0862004c4a565b602002602001018190525087878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001e615762001e6162004c4a565b6020908102919091010152600c546040805163c548f30960e01b815290516000926001600160a01b03169163c548f30991600480830192869291908290030181865afa15801562001eb6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ee0919081019062004c11565b905060008051602062009b8c83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b62001f1a8662003fac565b60405160240162001f2d91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b90941690915262001f9b939260440162004cd9565b600060405180830381600087803b15801562001fb657600080fd5b505af115801562001fcb573d6000803e3d6000fd5b505060095460008051602062009b8c833981519152925063b96213e491506001600160a01b0316631674750f60e21b620020058662003fac565b856040516024016200201992919062004d1d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526200205687620040af565b60405160200162002068919062004d38565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401620020979392919062004cd9565b600060405180830381600087803b158015620020b257600080fd5b505af1158015620020c7573d6000803e3d6000fd5b50506040516024810186905260008051602062009b8c833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051601f19818403018152918152602080830180516001600160e01b03166330abe98760e01b1790529051620021409188910162004d54565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016200216f9392919062004cd9565b600060405180830381600087803b1580156200218a57600080fd5b505af11580156200219f573d6000803e3d6000fd5b5050600c54604051634949198760e01b81526004810187905262001c9c93506001600160a01b039091169150634949198790602401600060405180830381865afa158015620021f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200221c919081019062004c11565b8a8a8a8a8a8a60405160200162000f199695949392919062004d69565b604051632631f2b160e11b8152811515600482015260008051602062009b8c83398151915290634c63e56290602401600060405180830381600087803b1580156200228357600080fd5b505af115801562002298573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620022ff9316919060040162004b69565b6020604051808303816000875af11580156200231f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002345919062004bab565b60408051600180825281830190925291925060009190816020015b60608152602001906001900390816200236057905050905083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620023c557620023c562004c4a565b602090810291909101015260405163248e63e160e11b81526001600482018190526024820181905260448201819052606482015260008051602062009b8c8339815191529063491cc7c290608401600060405180830381600087803b1580156200242e57600080fd5b505af115801562002443573d6000803e3d6000fd5b5050505083836040516200245992919062004e78565b604051908190038120600854909184917f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c91620024a49186916001600160a01b039091169062004e88565b60405180910390a360085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b1580156200250157600080fd5b505af115801562002516573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad91506200254e908590859060040162004cbe565b600060405180830381600087803b1580156200256957600080fd5b505af11580156200257e573d6000803e3d6000fd5b5050600c546040516330abe98760e01b8152600481018690526200260393506001600160a01b0390911691506330abe987906024015b600060405180830381865afa158015620025d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620025fc919081019062004da7565b8262004319565b50505050565b604051632631f2b160e11b8152811515600482015260008051602062009b8c83398151915290634c63e56290602401600060405180830381600087803b1580156200265357600080fd5b505af115801562002668573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620026cf9316919060040162004b69565b6020604051808303816000875af1158015620026ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002715919062004bab565b604080516001808252818301909252919250600091906020808301908036833701905050905060138160008151811062002753576200275362004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b158015620027b357600080fd5b505af1158015620027c8573d6000803e3d6000fd5b5050600a54604080516060810182526001600160a01b038a8116825260016020830152818301879052915163294e6e9760e11b815291909216935063529cdd2e925062002819919060040162004eb4565b600060405180830381600087803b1580156200283457600080fd5b505af115801562002849573d6000803e3d6000fd5b5060009250600191506200285a9050565b6040519080825280602002602001820160405280156200288f57816020015b6060815260200190600190039081620028795790505b50905084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620028df57620028df62004c4a565b602090810291909101015260405163248e63e160e11b81526001600482018190526024820181905260448201819052606482015260008051602062009b8c8339815191529063491cc7c290608401600060405180830381600087803b1580156200294857600080fd5b505af11580156200295d573d6000803e3d6000fd5b5050505084846040516200297392919062004e78565b6040518091039020837f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8389604051620029af92919062004e88565b60405180910390a360405163ca669fa760e01b81526001600160a01b038716600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b15801562002a0857600080fd5b505af115801562002a1d573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062002a55908690859060040162004cbe565b600060405180830381600087803b15801562002a7057600080fd5b505af115801562002a85573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262002ac093506001600160a01b0390911691506330abe98790602401620025b4565b505050505050565b825160008051602062009b8c83398151915290634c63e562901580159062002af1575060008451115b801562002aff575060008351115b6040518263ffffffff1660e01b815260040162002b20911515815260200190565b600060405180830381600087803b15801562002b3b57600080fd5b505af115801562002b50573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a09362002bb79316919060040162004b69565b6020604051808303816000875af115801562002bd7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002bfd919062004bab565b6040805160038082526080820190925291925060009190816020015b606081526020019060019003908162002c19579050509050828160008151811062002c485762002c4862004c4a565b6020026020010181905250838160018151811062002c6a5762002c6a62004c4a565b6020026020010181905250848160028151811062002c8c5762002c8c62004c4a565b6020026020010181905250600085858560405160200162002cb09392919062004f23565b60408051808303601f190181529082905263248e63e160e11b825260016004830181905260248301819052604483018190526064830152915060008051602062009b8c8339815191529063491cc7c290608401600060405180830381600087803b15801562002d1e57600080fd5b505af115801562002d33573d6000803e3d6000fd5b505050508060405162002d47919062004f83565b604051908190038120600854909185917f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c9162002d929187916001600160a01b039091169062004e88565b60405180910390a360085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b15801562002def57600080fd5b505af115801562002e04573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062002e3c908690869060040162004cbe565b600060405180830381600087803b15801562002e5757600080fd5b505af115801562002e6c573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262002ac093506001600160a01b0390911691506330abe98790602401600060405180830381865afa15801562002ebf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ee9919081019062004da7565b8362004319565b6040516024810182905260008051602062009b8c8339815191529063b96213e4907341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b039091161790528151600080825291810190925262002f80565b606081526020019060019003908162002f6a5790505b5060405160200162002f93919062004d54565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162002fc29392919062004cd9565b600060405180830381600087803b15801562002fdd57600080fd5b505af115801562002ff2573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018590526200302d93506001600160a01b03909116915063494919879060240162001481565b50565b60008051602062009b8c833981519152634c63e56286158015906200305457508415155b80156200306057508215155b6040518263ffffffff1660e01b815260040162003081911515815260200190565b600060405180830381600087803b1580156200309c57600080fd5b505af1158015620030b1573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620031189316919060040162004b69565b6020604051808303816000875af115801562003138573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200315e919062004bab565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa158015620031b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620031e0919081019062004c11565b6040805160038082526080820190925291925060009190816020015b6060815260200190600190039081620031fc57905050905084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062003261576200326162004c4a565b602002602001018190525086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508351849250600191508110620032ba57620032ba62004c4a565b602002602001018190525088888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062003313576200331362004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b1580156200337357600080fd5b505af115801562003388573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620033c0908690859060040162004cbe565b600060405180830381600087803b158015620033db57600080fd5b505af1158015620033f0573d6000803e3d6000fd5b5060008051602062009b8c833981519152925063b96213e491506e0c2e074ec69a0dfb2997ba6c7d2e1e9050630178b8bf60e01b6200342f8562003fac565b6040516024016200344291815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b909416909152620034b0939260440162004cd9565b600060405180830381600087803b158015620034cb57600080fd5b505af1158015620034e0573d6000803e3d6000fd5b505060095460008051602062009b8c833981519152925063b96213e491506001600160a01b0316631674750f60e21b6200351a8562003fac565b866040516024016200352e92919062004d1d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526200356b87620040af565b60405160200162002140919062004d38565b60008051602062009b8c833981519152634c63e5626001600160601b038616601314801590620035b6575060ff866001600160601b0316105b6040518263ffffffff1660e01b8152600401620035d7911515815260200190565b600060405180830381600087803b158015620035f257600080fd5b505af115801562003607573d6000803e3d6000fd5b5050600854604051632631f2b160e11b81526001600160a01b0387811692169190911415600482015260008051602062009b8c8339815191529250634c63e5629150602401600060405180830381600087803b1580156200366757600080fd5b505af11580156200367c573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620036e39316919060040162004b69565b6020604051808303816000875af115801562003703573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003729919062004bab565b60408051600180825281830190925291925060009190816020015b60608152602001906001900390816200374457905050905083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620037a957620037a962004c4a565b602090810291909101015260405163ca669fa760e01b81526001600160a01b038616600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b1580156200380557600080fd5b505af11580156200381a573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b031663075fd2b160e01b179052915163f28dceb360e01b815260008051602062009b8c833981519152945063f28dceb3935062003876920162004d38565b600060405180830381600087803b1580156200389157600080fd5b505af1158015620038a6573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620038de908590859060040162004cbe565b600060405180830381600087803b158015620038f957600080fd5b505af11580156200390e573d6000803e3d6000fd5b5060009250600191506200391f9050565b60405190808252806020026020018201604052801562003949578160200160208202803683370190505b509050866001600160601b0316816000815181106200396c576200396c62004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b158015620039cc57600080fd5b505af1158015620039e1573d6000803e3d6000fd5b5050600a54604080516060810182526001600160a01b038b8116825260016020830152818301879052915163294e6e9760e11b815291909216935063529cdd2e925062003a32919060040162004eb4565b600060405180830381600087803b15801562003a4d57600080fd5b505af115801562003a62573d6000803e3d6000fd5b505060405163ca669fa760e01b81526001600160a01b038916600482015260008051602062009b8c833981519152925063ca669fa79150602401600060405180830381600087803b15801562003ab757600080fd5b505af115801562003acc573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b031663075fd2b160e01b179052915163f28dceb360e01b815260008051602062009b8c833981519152945063f28dceb3935062003b28920162004d38565b600060405180830381600087803b15801562003b4357600080fd5b505af115801562003b58573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062003b90908690869060040162004cbe565b600060405180830381600087803b15801562003bab57600080fd5b505af115801562003bc0573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262003bfb93506001600160a01b0390911691506330abe9879060240162001848565b50505050505050565b60008054610100900460ff161562003c255750600054610100900460ff1690565b600060008051602062009b8c8339815191523b1562003d2a576040805160008051602062009b8c833981519152602082018190526519985a5b195960d21b8284015282518083038401815260608301909352600092909162003cac917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800162004fa1565b60408051601f198184030181529082905262003cc89162004f83565b6000604051808303816000865af19150503d806000811462003d07576040519150601f19603f3d011682016040523d82523d6000602084013e62003d0c565b606091505b509150508080602001905181019062003d26919062004fd4565b9150505b919050565b600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b81526000936001600160a01b039081169363666d87a09362003d9493929091169160040162004b69565b6020604051808303816000875af115801562003db4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003dda919062004bab565b60408051600080825260208201909252919250908162003e0b565b606081526020019060019003908162003df55790505b5060085460405163ca669fa760e01b81526001600160a01b03909116600482015290915060008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b15801562003e6457600080fd5b505af115801562003e79573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b03166314124ae160e31b179052915163f28dceb360e01b815260008051602062009b8c833981519152945063f28dceb3935062003ed5920162004d38565b600060405180830381600087803b15801562003ef057600080fd5b505af115801562003f05573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062003f3d908590859060040162004cbe565b600060405180830381600087803b15801562003f5857600080fd5b505af115801562003f6d573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810186905262003fa893506001600160a01b0390911691506330abe9879060240162001848565b5050565b60008060405160200162003fc990620cae8d60eb1b815260030190565b6040516020818303038152906040528051906020012060405160200162003ffa929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b81811015620040a857828482815181106200403a576200403a62004c4a565b602002602001015160405160200162004054919062004f83565b6040516020818303038152906040528051906020012060405160200162004085929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016200401b565b5050919050565b606081600003620040d75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115620041075780620040ee816200500e565b9150620040ff9050600a8362005040565b9150620040db565b60008167ffffffffffffffff8111156200412557620041256200483b565b6040519080825280601f01601f19166020018201604052801562004150576020820181803683370190505b5090505b8415620041c8576200416860018362005057565b915062004177600a8662005073565b620041849060306200508a565b60f81b8183815181106200419c576200419c62004c4a565b60200101906001600160f81b031916908160001a905350620041c0600a8662005040565b945062004154565b949350505050565b80604051602001620041e3919062004f83565b60405160208183030381529060405280519060200120826040516020016200420c919062004f83565b604051602081830303815290604052805190602001201462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620042959060208082526024908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b737472604082015263696e675d60e01b606082015260800190565b60405180910390a17f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf358381604051620042ce9190620050a0565b60405180910390a17f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf358382604051620043079190620050df565b60405180910390a162003fa862004394565b62004327825182516200449d565b60005b82518110156200438f57620043868382815181106200434d576200434d62004c4a565b60200260200101518051906020012083838151811062004371576200437162004c4a565b60200260200101518051906020012062004582565b6001016200432a565b505050565b60008051602062009b8c8339815191523b156200448c576040805160008051602062009b8c833981519152602082018190526519985a5b195960d21b9282019290925260016060820152600091907f70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc49060800160408051601f198184030181529082905262004427929160200162004fa1565b60408051601f1981840301815290829052620044439162004f83565b6000604051808303816000865af19150503d806000811462004482576040519150601f19603f3d011682016040523d82523d6000602084013e62004487565b606091505b505050505b6000805461ff001916610100179055565b80821462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620045109060208082526022908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e604082015261745d60f01b606082015260800190565b60405180910390a17fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a8816040516200454991906200510a565b60405180910390a17fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a88260405162004307919062005143565b80821462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620045f89060208082526025908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b627974604082015264657333325d60d81b606082015260800190565b60405180910390a17fafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99816040516200463191906200510a565b60405180910390a17fafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f998260405162004307919062005143565b6107ed806200516f83390190565b612e3c806200595c83390190565b6113f4806200879883390190565b60008083601f840112620046a757600080fd5b50813567ffffffffffffffff811115620046c057600080fd5b602083019150836020828501011115620046d957600080fd5b9250929050565b60008060008060008060608789031215620046fa57600080fd5b863567ffffffffffffffff808211156200471357600080fd5b620047218a838b0162004694565b909850965060208901359150808211156200473b57600080fd5b620047498a838b0162004694565b909650945060408901359150808211156200476357600080fd5b506200477289828a0162004694565b979a9699509497509295939492505050565b60008060008060008060008060a0898b031215620047a157600080fd5b8835975060208901359650604089013567ffffffffffffffff80821115620047c857600080fd5b620047d68c838d0162004694565b909850965060608b0135915080821115620047f057600080fd5b620047fe8c838d0162004694565b909650945060808b01359150808211156200481857600080fd5b50620048278b828c0162004694565b999c989b5096995094979396929594505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156200487d576200487d6200483b565b604052919050565b600067ffffffffffffffff821115620048a257620048a26200483b565b50601f01601f191660200190565b600082601f830112620048c257600080fd5b8135620048d9620048d38262004885565b62004851565b818152846020838601011115620048ef57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156200492257600080fd5b833567ffffffffffffffff808211156200493b57600080fd5b6200494987838801620048b0565b945060208601359150808211156200496057600080fd5b6200496e87838801620048b0565b935060408601359150808211156200498557600080fd5b506200499486828701620048b0565b9150509250925092565b60008060208385031215620049b257600080fd5b823567ffffffffffffffff811115620049ca57600080fd5b620049d88582860162004694565b90969095509350505050565b80356001600160a01b038116811462003d2a57600080fd5b60008060006040848603121562004a1257600080fd5b62004a1d84620049e4565b9250602084013567ffffffffffffffff81111562004a3a57600080fd5b62004a488682870162004694565b9497909650939450505050565b60006020828403121562004a6857600080fd5b5035919050565b6000806000806060858703121562004a8657600080fd5b84356001600160601b038116811462004a9e57600080fd5b935062004aae60208601620049e4565b9250604085013567ffffffffffffffff81111562004acb57600080fd5b62004ad98782880162004694565b95989497509550505050565b6001600160a01b03919091168152604060208201819052600490820152633078363960e01b606082015260800190565b60005b8381101562004b3257818101518382015260200162004b18565b50506000910152565b6000815180845262004b5581602086016020860162004b15565b601f01601f19169290920160200192915050565b60018060a01b0383168152604060208201526000825160408084015262004b94608084018262004b3b565b905060208401516060840152809150509392505050565b60006020828403121562004bbe57600080fd5b5051919050565b600082601f83011262004bd757600080fd5b815162004be8620048d38262004885565b81815284602083860101111562004bfe57600080fd5b620041c882602083016020870162004b15565b60006020828403121562004c2457600080fd5b815167ffffffffffffffff81111562004c3c57600080fd5b620041c88482850162004bc5565b634e487b7160e01b600052603260045260246000fd5b60008282518085526020808601955060208260051b8401016020860160005b8481101562004cb157601f1986840301895262004c9e83835162004b3b565b9884019892509083019060010162004c7f565b5090979650505050505050565b828152604060208201526000620041c8604083018462004c60565b6001600160a01b038416815260606020820181905260009062004cff9083018562004b3b565b828103604084015262004d13818562004b3b565b9695505050505050565b828152604060208201526000620041c8604083018462004b3b565b60208152600062004d4d602083018462004b3b565b9392505050565b60208152600062004d4d602083018462004c60565b858782376000868201601760f91b80825286886001840137600191870191820152838560028301376000930160020192835250909695505050505050565b6000602080838503121562004dbb57600080fd5b825167ffffffffffffffff8082111562004dd457600080fd5b818501915085601f83011262004de957600080fd5b81518181111562004dfe5762004dfe6200483b565b8060051b62004e0f85820162004851565b918252838101850191858101908984111562004e2a57600080fd5b86860192505b8383101562004e6b5782518581111562004e4a5760008081fd5b62004e5a8b89838a010162004bc5565b835250918601919086019062004e30565b9998505050505050505050565b8183823760009101908152919050565b60408152600062004e9d604083018562004c60565b905060018060a01b03831660208301529392505050565b602080825282516001600160a01b0316828201528281015160408084019190915283015160608084015280516080840181905260009291820190839060a08601905b8083101562004f18578351825292840192600192909201919084019062004ef6565b509695505050505050565b6000845162004f3781846020890162004b15565b8083019050601760f91b808252855162004f59816001850160208a0162004b15565b6001920191820152835162004f7681600284016020880162004b15565b0160020195945050505050565b6000825162004f9781846020870162004b15565b9190910192915050565b6001600160e01b031983168152815160009062004fc681600485016020870162004b15565b919091016004019392505050565b60006020828403121562004fe757600080fd5b8151801515811462004d4d57600080fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162005023576200502362004ff8565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826200505257620050526200502a565b500490565b818103818111156200506d576200506d62004ff8565b92915050565b6000826200508557620050856200502a565b500690565b808201808211156200506d576200506d62004ff8565b604081526000620050cb60408301600a8152690808115e1c1958dd195960b21b602082015260400190565b8281036020840152620041c8818562004b3b565b604081526000620050cb60408301600a815269080808081058dd1d585b60b21b602082015260400190565b6040815260006200513560408301600a8152690808115e1c1958dd195960b21b602082015260400190565b905082602083015292915050565b6040815260006200513560408301600a815269080808081058dd1d585b60b21b60208201526040019056fe608060405234801561001057600080fd5b506107cd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630f5932f01461005c578063529cdd2e1461008457806380deb230146100995780638d5f697f146100d7578063c161c93f146100ea575b600080fd5b61006f61006a36600461054d565b6100fd565b60405190151581526020015b60405180910390f35b6100976100923660046105bc565b6101a4565b005b6100c96100a73660046105fe565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161007b565b6100976100e536600461063a565b610269565b61006f6100f836600461067c565b610421565b6000805b8281101561019557600084848381811061011d5761011d6106be565b90506020020135905060ff81111561014857604051638e9503a960e01b815260040160405180910390fd5b6001600160a01b03888116600090815260208181526040808320938b168352928152828220898352905290812054821c600116900361018c5760009250505061019b565b50600101610101565b50600190505b95945050505050565b60006101bb6101b660408401846106d4565b610482565b9050806000806101ce602086018661071e565b6001600160a01b03168152602080820192909252604090810160009081203380835290845282822087850180358085529190955292909120939093559190610216908561071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32061024d60408701876106d4565b8660405161025d93929190610739565b60405180910390a45050565b60005b8181101561041c5760006102ab84848481811061028b5761028b6106be565b905060200281019061029d9190610777565b6101b69060408101906106d4565b9050806000808686868181106102c3576102c36106be565b90506020028101906102d59190610777565b6102e390602081019061071e565b6001600160a01b031681526020808201929092526040908101600090812033825290925281209086868681811061031c5761031c6106be565b905060200281019061032e9190610777565b60200135815260200190815260200160002081905550838383818110610356576103566106be565b90506020028101906103689190610777565b602001353385858581811061037f5761037f6106be565b90506020028101906103919190610777565b61039f90602081019061071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3208787878181106103db576103db6106be565b90506020028101906103ed9190610777565b6103fb9060408101906106d4565b8660405161040b93929190610739565b60405180910390a45060010161026c565b505050565b600060ff82111561044557604051638e9503a960e01b815260040160405180910390fd5b506001600160a01b03808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156104de5760008484838181106104a2576104a26106be565b90506020020135905060ff8111156104cd57604051638e9503a960e01b815260040160405180910390fd5b60019081901b929092179101610486565b5092915050565b80356001600160a01b03811681146104fc57600080fd5b919050565b60008083601f84011261051357600080fd5b50813567ffffffffffffffff81111561052b57600080fd5b6020830191508360208260051b850101111561054657600080fd5b9250929050565b60008060008060006080868803121561056557600080fd5b61056e866104e5565b945061057c602087016104e5565b935060408601359250606086013567ffffffffffffffff81111561059f57600080fd5b6105ab88828901610501565b969995985093965092949392505050565b6000602082840312156105ce57600080fd5b813567ffffffffffffffff8111156105e557600080fd5b8201606081850312156105f757600080fd5b9392505050565b60008060006060848603121561061357600080fd5b61061c846104e5565b925061062a602085016104e5565b9150604084013590509250925092565b6000806020838503121561064d57600080fd5b823567ffffffffffffffff81111561066457600080fd5b61067085828601610501565b90969095509350505050565b6000806000806080858703121561069257600080fd5b61069b856104e5565b93506106a9602086016104e5565b93969395505050506040820135916060013590565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126106eb57600080fd5b83018035915067ffffffffffffffff82111561070657600080fd5b6020019150600581901b360382131561054657600080fd5b60006020828403121561073057600080fd5b6105f7826104e5565b6040808252810183905260006001600160fb1b0384111561075957600080fd5b8360051b808660608501376020830193909352500160600192915050565b60008235605e1983360301811261078d57600080fd5b919091019291505056fea26469706673582212209939340c0e296ae7bb5a129104f60fbb2eaa4526bc8724b1662e3ce32e84720364736f6c634300081700336101606040526000600b553480156200001757600080fd5b5060405162002e3c38038062002e3c8339810160408190526200003a91620001ce565b6040805180820182526011808252704a75696365626f782050726f6a6563747360781b60208084018290528451808601865260018152603160f81b81830152855180870187529384528382019290925284518086019095526008855267094aa92868a849eb60c31b908501526001600160a01b03851660805291926000620000c38382620002a7565b506001620000d28282620002a7565b505082516020938401208251928401929092206101008390526101208190524660c0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81890181905281830197909752606081019490945260808401929092523060a080850182905283518086038201815294909201909252825192909501919091209093525060e0919091526101405262000175336200017c565b5062000373565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215620001e157600080fd5b81516001600160a01b0381168114620001f957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022b57607f821691505b6020821081036200024c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a2576000816000526020600020601f850160051c810160208610156200027d5750805b601f850160051c820191505b818110156200029e5782815560010162000289565b5050505b505050565b81516001600160401b03811115620002c357620002c362000200565b620002db81620002d4845462000216565b8462000252565b602080601f831160018114620003135760008415620002fa5750858301515b600019600386901b1c1916600185901b1785556200029e565b600085815260208120601f198616915b82811015620003445788860151825594840194600190910190840162000323565b5085821015620003635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516101205161014051612a60620003dc600039600061127c015260006112cb015260006112a6015260006111ff01526000611229015260006112530152600081816103e20152818161136001526114070152612a606000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063666d87a01161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042a578063e131fc0c1461043d578063e985e9c514610450578063f2fde38b1461048c57600080fd5b8063a22cb465146103ca578063ad007d63146103dd578063b88d4fde14610404578063c3cda5201461041757600080fd5b80638da5cb5b116100de5780638da5cb5b1461038b5780638e539e8c1461039c57806395d89b41146103af5780639ab24eb0146103b757600080fd5b8063666d87a01461034a57806370a082311461035d578063715018a6146103705780637ecebe001461037857600080fd5b80633644e5151161018757806342842e0e1161015657806342842e0e146102e5578063587cde1e146102f85780635c19a95c146103245780636352211e1461033757600080fd5b80633644e515146102a457806336574975146102ac57806339fbc775146102bf5780633a46b1a8146102d257600080fd5b8063081812fc116101c3578063081812fc1461023e578063095ea7b31461026957806323b872dd1461027e5780632407497e1461029157600080fd5b806301ffc9a7146101ea57806306661abd1461021257806306fdde0314610229575b600080fd5b6101fd6101f83660046121c1565b61049f565b60405190151581526020015b60405180910390f35b61021b600b5481565b604051908152602001610209565b6102316104e5565b604051610209919061222e565b61025161024c366004612241565b610577565b6040516001600160a01b039091168152602001610209565b61027c61027736600461226f565b610611565b005b61027c61028c36600461229b565b610726565b61027c61029f3660046122dc565b610757565b61021b6107d5565b61027c6102ba36600461230b565b6107e4565b6102316102cd366004612352565b61086f565b61021b6102e036600461226f565b610914565b61027c6102f336600461229b565b61093d565b6102516103063660046122dc565b6001600160a01b039081166000908152600660205260409020541690565b61027c6103323660046122dc565b610958565b610251610345366004612241565b610967565b61021b610358366004612374565b6109de565b61021b61036b3660046122dc565b610a92565b61027c610b19565b61021b6103863660046122dc565b610b4f565b600a546001600160a01b0316610251565b61021b6103aa366004612241565b610b6d565b610231610bc9565b61021b6103c53660046122dc565b610bd8565b61027c6103d83660046123bc565b610bf9565b6102517f000000000000000000000000000000000000000000000000000000000000000081565b61027c610412366004612464565b610c04565b61027c610425366004612513565b610c3c565b610231610438366004612241565b610d69565b600d54610251906001600160a01b031681565b6101fd61045e366004612575565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61027c61049a3660046122dc565b610e00565b60006001600160e01b0319821663aa91a66f60e01b14806104d057506001600160e01b0319821663ad007d6360e01b145b806104df57506104df82610e9b565b92915050565b6060600080546104f4906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906125a3565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061061c82610967565b9050806001600160a01b0316836001600160a01b0316036106895760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ec565b336001600160a01b03821614806106a557506106a5813361045e565b6107175760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b6107218383610eeb565b505050565b6107303382610f59565b61074c5760405162461bcd60e51b81526004016105ec906125d7565b610721838383611050565b600a546001600160a01b031633146107815760405162461bcd60e51b81526004016105ec90612628565b600d80546001600160a01b0319166001600160a01b0383169081179091556040513381527fe7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c169060200160405180910390a250565b60006107df6111f2565b905090565b6107ed82610967565b8260066107fb838383611319565b610805848061265d565b6000878152600c6020908152604080832089830135845290915290209161082d9190836126f4565b50847fd07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e685336040516108609291906127b5565b60405180910390a25050505050565b600c60209081526000928352604080842090915290825290208054610893906125a3565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906125a3565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b505050505081565b6001600160a01b03821660009081526007602052604081206109369083611492565b9392505050565b61072183838360405180602001604052806000815250610c04565b3361096381836115a1565b5050565b6000818152600260205260408120546001600160a01b0316806104df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ec565b6000600b600081546109ef9061285d565b91829055509050610a008382611613565b6000610a0c838061265d565b90501115610a4857610a1e828061265d565b6000838152600c60209081526040808320878301358452909152902091610a469190836126f4565b505b826001600160a01b0316817fa1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d48433604051610a849291906127b5565b60405180910390a392915050565b60006001600160a01b038216610afd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b435760405162461bcd60e51b81526004016105ec90612628565b610b4d600061162d565b565b6001600160a01b0381166000908152600960205260408120546104df565b6000438210610bbe5760405162461bcd60e51b815260206004820152601a60248201527f566f7465733a20626c6f636b206e6f7420796574206d696e656400000000000060448201526064016105ec565b6104df600883611492565b6060600180546104f4906125a3565b6001600160a01b03811660009081526007602052604081206104df9061167f565b6109633383836116db565b610c0e3383610f59565b610c2a5760405162461bcd60e51b81526004016105ec906125d7565b610c36848484846117a9565b50505050565b83421115610c8c5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e61747572652065787069726564000000000000000060448201526064016105ec565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206117dc565b85858561182a565b9050610d1181611852565b8614610d565760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b60448201526064016105ec565b610d6081886115a1565b50505050505050565b600d546060906001600160a01b031680610d93575050604080516020810190915260008152919050565b604051636d02a25560e11b8152600481018490526001600160a01b0382169063da0544aa90602401600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109369190810190612876565b600a546001600160a01b03163314610e2a5760405162461bcd60e51b81526004016105ec90612628565b6001600160a01b038116610e8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b610e988161162d565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ecc57506001600160e01b03198216635b5e139f60e01b145b806104df57506301ffc9a760e01b6001600160e01b03198316146104df565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2082610967565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ec565b6000610fdd83610967565b9050806001600160a01b0316846001600160a01b031614806110185750836001600160a01b031661100d84610577565b6001600160a01b0316145b8061104857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106382610967565b6001600160a01b0316146110c75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105ec565b6001600160a01b0382166111295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b611134600082610eeb565b6001600160a01b038316600090815260036020526040812080546001929061115d9084906128ed565b90915550506001600160a01b038216600090815260036020526040812080546001929061118b908490612900565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461072183838361187a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561124b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561127557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b336001600160a01b038416148015906113cd575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612913565b155b8015611474575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa15801561144e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114729190612913565b155b156107215760405163075fd2b160e01b815260040160405180910390fd5b60004382106114e35760405162461bcd60e51b815260206004820181905260248201527f436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e656460448201526064016105ec565b825460005b818110156115485760006114fc8284611886565b90508486600001828154811061151457611514612930565b60009182526020909120015463ffffffff16111561153457809250611542565b61153f816001612900565b91505b506114e8565b811561158c578461155a6001846128ed565b8154811061156a5761156a612930565b60009182526020909120015464010000000090046001600160e01b031661158f565b60005b6001600160e01b031695945050505050565b6001600160a01b0382811660008181526006602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610721818361160e866118a1565b6118ac565b6109638282604051806020016040528060008152506119da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805460009080156116c857826116966001836128ed565b815481106116a6576116a6612930565b60009182526020909120015464010000000090046001600160e01b03166116cb565b60005b6001600160e01b03169392505050565b816001600160a01b0316836001600160a01b03160361173c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117b4848484611050565b6117c084848484611a0d565b610c365760405162461bcd60e51b81526004016105ec90612946565b60006104df6117e96111f2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183b87878787611b0b565b9150915061184881611bf8565b5095945050505050565b6001600160a01b03811660009081526009602052604090208054600181018255905b50919050565b61072183836001611dae565b60006118956002848418612998565b61093690848416612900565b60006104df82610a92565b816001600160a01b0316836001600160a01b0316141580156118ce5750600081115b15610721576001600160a01b0383161561195c576001600160a01b0383166000908152600760205260408120819061190990611e1e85611e2a565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611951929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610721576001600160a01b0382166000908152600760205260408120819061199290611e5885611e2a565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051610860929190918252602082015260400190565b6119e48383611e64565b6119f16000848484611a0d565b6107215760405162461bcd60e51b81526004016105ec90612946565b60006001600160a01b0384163b15611b0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a519033908990889088906004016129ba565b6020604051808303816000875af1925050508015611a8c575060408051601f3d908101601f19168201909252611a89918101906129f7565b60015b611ae9573d808015611aba576040519150601f19603f3d011682016040523d82523d6000602084013e611abf565b606091505b508051600003611ae15760405162461bcd60e51b81526004016105ec90612946565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611048565b506001611048565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b425750600090506003611bef565b8460ff16601b14158015611b5a57508460ff16601c14155b15611b6b5750600090506004611bef565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bbf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611be857600060019250925050611bef565b9150600090505b94509492505050565b6000816004811115611c0c57611c0c612a14565b03611c145750565b6001816004811115611c2857611c28612a14565b03611c755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ec565b6002816004811115611c8957611c89612a14565b03611cd65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ec565b6003816004811115611cea57611cea612a14565b03611d425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ec565b6004816004811115611d5657611d56612a14565b03610e985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ec565b6001600160a01b038316611dcd57611dca6008611e5883611e2a565b50505b6001600160a01b038216611dec57611de96008611e1e83611e2a565b50505b6001600160a01b03838116600090815260066020526040808220548584168352912054610721929182169116836118ac565b600061093682846128ed565b600080611e4c85611e47611e3d8861167f565b868863ffffffff16565b611fae565b91509150935093915050565b60006109368284612900565b6001600160a01b038216611eba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b031615611f1f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b0382166000908152600360205260408120805460019290611f48908490612900565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109636000838361187a565b8154600090819081611fbf8661167f565b9050600082118015611ffd57504386611fd96001856128ed565b81548110611fe957611fe9612930565b60009182526020909120015463ffffffff16145b1561205d5761200b856120d9565b866120176001856128ed565b8154811061202757612027612930565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506120cb565b85600001604051806040016040528061207543612146565b63ffffffff168152602001612089886120d9565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b9250839150505b9250929050565b60006001600160e01b038211156121425760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ec565b5090565b600063ffffffff8211156121425760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ec565b6001600160e01b031981168114610e9857600080fd5b6000602082840312156121d357600080fd5b8135610936816121ab565b60005b838110156121f95781810151838201526020016121e1565b50506000910152565b6000815180845261221a8160208601602086016121de565b601f01601f19169290920160200192915050565b6020815260006109366020830184612202565b60006020828403121561225357600080fd5b5035919050565b6001600160a01b0381168114610e9857600080fd5b6000806040838503121561228257600080fd5b823561228d8161225a565b946020939093013593505050565b6000806000606084860312156122b057600080fd5b83356122bb8161225a565b925060208401356122cb8161225a565b929592945050506040919091013590565b6000602082840312156122ee57600080fd5b81356109368161225a565b60006040828403121561187457600080fd5b6000806040838503121561231e57600080fd5b82359150602083013567ffffffffffffffff81111561233c57600080fd5b612348858286016122f9565b9150509250929050565b6000806040838503121561236557600080fd5b50508035926020909101359150565b6000806040838503121561238757600080fd5b82356123928161225a565b9150602083013567ffffffffffffffff81111561233c57600080fd5b8015158114610e9857600080fd5b600080604083850312156123cf57600080fd5b82356123da8161225a565b915060208301356123ea816123ae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612434576124346123f5565b604052919050565b600067ffffffffffffffff821115612456576124566123f5565b50601f01601f191660200190565b6000806000806080858703121561247a57600080fd5b84356124858161225a565b935060208501356124958161225a565b925060408501359150606085013567ffffffffffffffff8111156124b857600080fd5b8501601f810187136124c957600080fd5b80356124dc6124d78261243c565b61240b565b8181528860208385010111156124f157600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c0878903121561252c57600080fd5b86356125378161225a565b95506020870135945060408701359350606087013560ff8116811461255b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561258857600080fd5b82356125938161225a565b915060208301356123ea8161225a565b600181811c908216806125b757607f821691505b60208210810361187457634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e1984360301811261267457600080fd5b83018035915067ffffffffffffffff82111561268f57600080fd5b6020019150368190038213156120d257600080fd5b601f821115610721576000816000526020600020601f850160051c810160208610156126cd5750805b601f850160051c820191505b818110156126ec578281556001016126d9565b505050505050565b67ffffffffffffffff83111561270c5761270c6123f5565b6127208361271a83546125a3565b836126a4565b6000601f841160018114612754576000851561273c5750838201355b600019600387901b1c1916600186901b1783556127ae565b600083815260209020601f19861690835b828110156127855786850135825560209485019460019092019101612765565b50868210156127a25760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6040815260008335601e198536030181126127cf57600080fd5b840160208101903567ffffffffffffffff8111156127ec57600080fd5b8036038213156127fb57600080fd5b604080850152806080850152808260a0860137600060a082860101526020860135606085015260a0601f19601f8301168501019250505061093660208301846001600160a01b03169052565b634e487b7160e01b600052601160045260246000fd5b60006001820161286f5761286f612847565b5060010190565b60006020828403121561288857600080fd5b815167ffffffffffffffff81111561289f57600080fd5b8201601f810184136128b057600080fd5b80516128be6124d78261243c565b8181528560208385010111156128d357600080fd5b6128e48260208301602086016121de565b95945050505050565b818103818111156104df576104df612847565b808201808211156104df576104df612847565b60006020828403121561292557600080fd5b8151610936816123ae565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826129b557634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ed90830184612202565b9695505050505050565b600060208284031215612a0957600080fd5b8151610936816121ab565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f51a3b92212837cf8f6c2d56f2e3620c4bf9c6a8149a41d861ebe4af9454e11464736f6c6343000817003360e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c634300081700330000000000000000000000007109709ecfa91a80626ff3989d68f67f5b1dd12da2646970667358221220b41065ec5ac6016dbd919e912a50013a7e3f60b59e043118ed75e6481a69441764736f6c63430008170033","sourceMap":"732:14932:43:-:0;;;1572:26:4;;;170:28:5;-1:-1:-1;;170:28:5;;;;;;930:39:43;;;-1:-1:-1;;;;;;930:39:43;;;961:7;930:39;;;;974:61;;;;;;1028:5;974:61;;;732:14932;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x60806040523480156200001157600080fd5b5060043610620001215760003560e01c8063804febd711620000af578063a1296985116200007a578063a1296985146200024c578063ba414fa61462000263578063d33518fd146200027e578063f8ccbf471462000288578063fa7626d4146200029c57600080fd5b8063804febd714620001f05780638bbdf5ba14620002075780638f5f00e4146200021e5780639edca9cd146200023557600080fd5b806319f37fcc11620000f057806319f37fcc14620001775780633a768463146200018e5780635c17d79914620001c257806379ee9c1614620001d957600080fd5b80630a9254e414620001265780630bc1349a1462000132578063156d3f6314620001495780631641e69d1462000160575b600080fd5b62000130620002aa565b005b6200013062000143366004620046e0565b620006ff565b620001306200015a36600462004784565b62000f3a565b62000130620001713660046200490c565b620014ec565b620001306200018836600462004784565b620018cb565b620001a560008051602062009b8c83398151915281565b6040516001600160a01b0390911681526020015b60405180910390f35b62000130620001d3366004620046e0565b62001ca7565b62000130620001ea3660046200499e565b62002239565b6200013062000201366004620049fc565b62002609565b62000130620002183660046200490c565b62002ac8565b620001306200022f36600462004a55565b62002ef0565b6200013062000246366004620046e0565b62003030565b620001306200025d36600462004a6f565b6200357d565b6200026d62003c04565b6040519015158152602001620001b9565b6200013062003d2f565b6000546200026d9062010000900460ff1681565b6000546200026d9060ff1681565b600954604051635a6b63c160e11b815260008051602062009b8c8339815191529163b4d6c78291620002e9916001600160a01b03169060040162004ae5565b600060405180830381600087803b1580156200030457600080fd5b505af115801562000319573d6000803e3d6000fd5b5050604051635a6b63c160e11b815260008051602062009b8c833981519152925063b4d6c782915062000360906e0c2e074ec69a0dfb2997ba6c7d2e1e9060040162004ae5565b600060405180830381600087803b1580156200037b57600080fd5b505af115801562000390573d6000803e3d6000fd5b5050604051635a6b63c160e11b815260008051602062009b8c833981519152925063b4d6c7829150620003dc907341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060040162004ae5565b600060405180830381600087803b158015620003f757600080fd5b505af11580156200040c573d6000803e3d6000fd5b5050600954604080516318caf8e360e31b81526001600160a01b0390921660048301526024820152600f60448201526e32b739aa32bc3a2932b9b7b63b32b960891b606482015260008051602062009b8c833981519152925063c657c7189150608401600060405180830381600087803b1580156200048a57600080fd5b505af11580156200049f573d6000803e3d6000fd5b5050604080516318caf8e360e31b81526e0c2e074ec69a0dfb2997ba6c7d2e1e60048201526024810191909152600b60448201526a656e73526567697374727960a81b606482015260008051602062009b8c833981519152925063c657c7189150608401600060405180830381600087803b1580156200051e57600080fd5b505af115801562000533573d6000803e3d6000fd5b5050604080516318caf8e360e31b81527341126ec99f8a989feb503ac7bb4c5e5d40e06fa46004820152602481019190915260096044820152686f6c6448616e646c6560b81b606482015260008051602062009b8c833981519152925063c657c7189150608401600060405180830381600087803b158015620005b557600080fd5b505af1158015620005ca573d6000803e3d6000fd5b50505050604051620005dc906200466a565b604051809103906000f080158015620005f9573d6000803e3d6000fd5b50600a80546001600160a01b0319166001600160a01b03929092169182179055604051620006279062004678565b6001600160a01b039091168152602001604051809103906000f08015801562000654573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b03928316908117909155600a54604051919216907341126ec99f8a989feb503ac7bb4c5e5d40e06fa4906200069f9062004686565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f080158015620006dc573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602062009b8c833981519152634c63e56286158015906200072357508415155b80156200072f57508215155b6040518263ffffffff1660e01b815260040162000750911515815260200190565b600060405180830381600087803b1580156200076b57600080fd5b505af115801562000780573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620007e79316919060040162004b69565b6020604051808303816000875af115801562000807573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200082d919062004bab565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000885573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620008af919081019062004c11565b6040805160038082526080820190925291925060009190816020015b6060815260200190600190039081620008cb57905050905084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062000930576200093062004c4a565b602002602001018190525086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062000989576200098962004c4a565b602002602001018190525088888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508351849250600291508110620009e257620009e262004c4a565b602090810291909101015260408051600380825260808201909252600091816020015b606081526020019060019003908162000a0557905050905060405180604001604052806008815260200167697420687572747360c01b8152508160008151811062000a545762000a5462004c4a565b6020026020010181905250604051806040016040528060128152602001711cdbc819195c1c9958d85d1959081d1a185d60721b8152508160018151811062000aa05762000aa062004c4a565b6020026020010181905250604051806040016040528060048152602001634920616d60e01b8152508160028151811062000ade5762000ade62004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b15801562000b3e57600080fd5b505af115801562000b53573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062000b8b908790869060040162004cbe565b600060405180830381600087803b15801562000ba657600080fd5b505af115801562000bbb573d6000803e3d6000fd5b5060008051602062009b8c833981519152925063b96213e491506e0c2e074ec69a0dfb2997ba6c7d2e1e9050630178b8bf60e01b62000bfa8662003fac565b60405160240162000c0d91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b90941690915262000c7b939260440162004cd9565b600060405180830381600087803b15801562000c9657600080fd5b505af115801562000cab573d6000803e3d6000fd5b505060095460008051602062009b8c833981519152925063b96213e491506001600160a01b0316631674750f60e21b62000ce58662003fac565b8760405160240162000cf992919062004d1d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915262000d3688620040af565b60405160200162000d48919062004d38565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162000d779392919062004cd9565b600060405180830381600087803b15801562000d9257600080fd5b505af115801562000da7573d6000803e3d6000fd5b50506040516024810187905260008051602062009b8c833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051601f19818403018152918152602080830180516001600160e01b03166330abe98760e01b179052905162000e209187910162004d54565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162000e4f9392919062004cd9565b600060405180830381600087803b15801562000e6a57600080fd5b505af115801562000e7f573d6000803e3d6000fd5b5050600c54604051634949198760e01b81526004810188905262000f2e93506001600160a01b039091169150634949198790602401600060405180830381865afa15801562000ed2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000efc919081019062004c11565b8b8b8b8b8b8b60405160200162000f199695949392919062004d69565b604051602081830303815290604052620041d0565b50505050505050505050565b604051632631f2b160e11b815287891415600482015260008051602062009b8c83398151915290634c63e56290602401600060405180830381600087803b15801562000f8557600080fd5b505af115801562000f9a573d6000803e3d6000fd5b5050604051602481018b905260008051602062009b8c833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b03909116179052815160008082529181019092526200102e565b6060815260200190600190039081620010185790505b5060405160200162001041919062004d54565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401620010709392919062004cd9565b600060405180830381600087803b1580156200108b57600080fd5b505af1158015620010a0573d6000803e3d6000fd5b505050506000620010b188620040af565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001109573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001133919081019062004c11565b6040805160038082526080820190925291925060009190816020015b60608152602001906001900390816200114f57905050905084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620011b457620011b462004c4a565b602002602001018190525086868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505083518492506001915081106200120d576200120d62004c4a565b602002602001018190525088888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001266576200126662004c4a565b602090810291909101015260008051602062009b8c83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b620012a98562003fac565b604051602401620012bc91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b9094169091526200132a939260440162004cd9565b600060405180830381600087803b1580156200134557600080fd5b505af11580156200135a573d6000803e3d6000fd5b505060095460008051602062009b8c833981519152925063b96213e491506001600160a01b0316631674750f60e21b620013948562003fac565b86604051602401620013a892919062004d1d565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031990951694909417909352519091620013ec9189910162004d38565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016200141b9392919062004cd9565b600060405180830381600087803b1580156200143657600080fd5b505af11580156200144b573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018f9052620014df93506001600160a01b0390911691506349491987906024015b600060405180830381865afa1580156200149f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014c9919081019062004c11565b60405180602001604052806000815250620041d0565b5050505050505050505050565b825160008051602062009b8c83398151915290634c63e5629015806200151157508351155b806200151c57508251155b6040518263ffffffff1660e01b81526004016200153d911515815260200190565b600060405180830381600087803b1580156200155857600080fd5b505af11580156200156d573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620015d49316919060040162004b69565b6020604051808303816000875af1158015620015f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200161a919062004bab565b6040805160038082526080820190925291925060009190816020015b606081526020019060019003908162001636579050509050828160008151811062001665576200166562004c4a565b6020026020010181905250838160018151811062001687576200168762004c4a565b60200260200101819052508481600281518110620016a957620016a962004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b1580156200170957600080fd5b505af11580156200171e573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b0316630186fe0d60e51b179052915163f28dceb360e01b815260008051602062009b8c833981519152945063f28dceb393506200177a920162004d38565b600060405180830381600087803b1580156200179557600080fd5b505af1158015620017aa573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620017e2908590859060040162004cbe565b600060405180830381600087803b158015620017fd57600080fd5b505af115801562001812573d6000803e3d6000fd5b5050600c546040516330abe98760e01b815260048101869052620018c493506001600160a01b0390911691506330abe987906024015b600060405180830381865afa15801562001866573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001890919081019062004da7565b6040805160008082526020820190925290620018bd565b6060815260200190600190039081620018a75790505b5062004319565b5050505050565b604051632631f2b160e11b815287891415600482015260008051602062009b8c83398151915290634c63e56290602401600060405180830381600087803b1580156200191657600080fd5b505af11580156200192b573d6000803e3d6000fd5b5050604051602481018b905260008051602062009b8c833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b0390911617905281516000808252918101909252620019bf565b6060815260200190600190039081620019a95790505b50604051602001620019d2919062004d54565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162001a019392919062004cd9565b600060405180830381600087803b15801562001a1c57600080fd5b505af115801562001a31573d6000803e3d6000fd5b50600092506003915062001a429050565b60405190808252806020026020018201604052801562001a7757816020015b606081526020019060019003908162001a615790505b50905082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062001ac75762001ac762004c4a565b602002602001018190525084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062001b205762001b2062004c4a565b602002602001018190525086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001b795762001b7962004c4a565b602090810291909101015260008051602062009b8c83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b62001bbc8562003fac565b60405160240162001bcf91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b03199586161790528151600081830152825180820390920182528083019283905260e087901b90941690915262001c31939260440162004cd9565b600060405180830381600087803b15801562001c4c57600080fd5b505af115801562001c61573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018d905262001c9c93506001600160a01b03909116915063494919879060240162001481565b505050505050505050565b60008051602062009b8c833981519152634c63e562861580159062001ccb57508415155b801562001cd757508215155b6040518263ffffffff1660e01b815260040162001cf8911515815260200190565b600060405180830381600087803b15801562001d1357600080fd5b505af115801562001d28573d6000803e3d6000fd5b50506040805160038082526080820190925262010f2c93506000925090816020015b606081526020019060019003908162001d4a57905050905083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062001daf5762001daf62004c4a565b602002602001018190525085858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060019150811062001e085762001e0862004c4a565b602002602001018190525087878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062001e615762001e6162004c4a565b6020908102919091010152600c546040805163c548f30960e01b815290516000926001600160a01b03169163c548f30991600480830192869291908290030181865afa15801562001eb6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ee0919081019062004c11565b905060008051602062009b8c83398151915263b96213e46e0c2e074ec69a0dfb2997ba6c7d2e1e630178b8bf60e01b62001f1a8662003fac565b60405160240162001f2d91815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b90941690915262001f9b939260440162004cd9565b600060405180830381600087803b15801562001fb657600080fd5b505af115801562001fcb573d6000803e3d6000fd5b505060095460008051602062009b8c833981519152925063b96213e491506001600160a01b0316631674750f60e21b620020058662003fac565b856040516024016200201992919062004d1d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526200205687620040af565b60405160200162002068919062004d38565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401620020979392919062004cd9565b600060405180830381600087803b158015620020b257600080fd5b505af1158015620020c7573d6000803e3d6000fd5b50506040516024810186905260008051602062009b8c833981519152925063b96213e491507341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051601f19818403018152918152602080830180516001600160e01b03166330abe98760e01b1790529051620021409188910162004d54565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016200216f9392919062004cd9565b600060405180830381600087803b1580156200218a57600080fd5b505af11580156200219f573d6000803e3d6000fd5b5050600c54604051634949198760e01b81526004810187905262001c9c93506001600160a01b039091169150634949198790602401600060405180830381865afa158015620021f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200221c919081019062004c11565b8a8a8a8a8a8a60405160200162000f199695949392919062004d69565b604051632631f2b160e11b8152811515600482015260008051602062009b8c83398151915290634c63e56290602401600060405180830381600087803b1580156200228357600080fd5b505af115801562002298573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620022ff9316919060040162004b69565b6020604051808303816000875af11580156200231f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002345919062004bab565b60408051600180825281830190925291925060009190816020015b60608152602001906001900390816200236057905050905083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620023c557620023c562004c4a565b602090810291909101015260405163248e63e160e11b81526001600482018190526024820181905260448201819052606482015260008051602062009b8c8339815191529063491cc7c290608401600060405180830381600087803b1580156200242e57600080fd5b505af115801562002443573d6000803e3d6000fd5b5050505083836040516200245992919062004e78565b604051908190038120600854909184917f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c91620024a49186916001600160a01b039091169062004e88565b60405180910390a360085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b1580156200250157600080fd5b505af115801562002516573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad91506200254e908590859060040162004cbe565b600060405180830381600087803b1580156200256957600080fd5b505af11580156200257e573d6000803e3d6000fd5b5050600c546040516330abe98760e01b8152600481018690526200260393506001600160a01b0390911691506330abe987906024015b600060405180830381865afa158015620025d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620025fc919081019062004da7565b8262004319565b50505050565b604051632631f2b160e11b8152811515600482015260008051602062009b8c83398151915290634c63e56290602401600060405180830381600087803b1580156200265357600080fd5b505af115801562002668573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620026cf9316919060040162004b69565b6020604051808303816000875af1158015620026ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002715919062004bab565b604080516001808252818301909252919250600091906020808301908036833701905050905060138160008151811062002753576200275362004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b158015620027b357600080fd5b505af1158015620027c8573d6000803e3d6000fd5b5050600a54604080516060810182526001600160a01b038a8116825260016020830152818301879052915163294e6e9760e11b815291909216935063529cdd2e925062002819919060040162004eb4565b600060405180830381600087803b1580156200283457600080fd5b505af115801562002849573d6000803e3d6000fd5b5060009250600191506200285a9050565b6040519080825280602002602001820160405280156200288f57816020015b6060815260200190600190039081620028795790505b50905084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620028df57620028df62004c4a565b602090810291909101015260405163248e63e160e11b81526001600482018190526024820181905260448201819052606482015260008051602062009b8c8339815191529063491cc7c290608401600060405180830381600087803b1580156200294857600080fd5b505af11580156200295d573d6000803e3d6000fd5b5050505084846040516200297392919062004e78565b6040518091039020837f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8389604051620029af92919062004e88565b60405180910390a360405163ca669fa760e01b81526001600160a01b038716600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b15801562002a0857600080fd5b505af115801562002a1d573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062002a55908690859060040162004cbe565b600060405180830381600087803b15801562002a7057600080fd5b505af115801562002a85573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262002ac093506001600160a01b0390911691506330abe98790602401620025b4565b505050505050565b825160008051602062009b8c83398151915290634c63e562901580159062002af1575060008451115b801562002aff575060008351115b6040518263ffffffff1660e01b815260040162002b20911515815260200190565b600060405180830381600087803b15801562002b3b57600080fd5b505af115801562002b50573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a09362002bb79316919060040162004b69565b6020604051808303816000875af115801562002bd7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002bfd919062004bab565b6040805160038082526080820190925291925060009190816020015b606081526020019060019003908162002c19579050509050828160008151811062002c485762002c4862004c4a565b6020026020010181905250838160018151811062002c6a5762002c6a62004c4a565b6020026020010181905250848160028151811062002c8c5762002c8c62004c4a565b6020026020010181905250600085858560405160200162002cb09392919062004f23565b60408051808303601f190181529082905263248e63e160e11b825260016004830181905260248301819052604483018190526064830152915060008051602062009b8c8339815191529063491cc7c290608401600060405180830381600087803b15801562002d1e57600080fd5b505af115801562002d33573d6000803e3d6000fd5b505050508060405162002d47919062004f83565b604051908190038120600854909185917f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c9162002d929187916001600160a01b039091169062004e88565b60405180910390a360085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b15801562002def57600080fd5b505af115801562002e04573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062002e3c908690869060040162004cbe565b600060405180830381600087803b15801562002e5757600080fd5b505af115801562002e6c573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262002ac093506001600160a01b0390911691506330abe98790602401600060405180830381865afa15801562002ebf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ee9919081019062004da7565b8362004319565b6040516024810182905260008051602062009b8c8339815191529063b96213e4907341126ec99f8a989feb503ac7bb4c5e5d40e06fa49060440160408051808303601f19018152918152602080830180516330abe98760e01b6001600160e01b039091161790528151600080825291810190925262002f80565b606081526020019060019003908162002f6a5790505b5060405160200162002f93919062004d54565b6040516020818303038152906040526040518463ffffffff1660e01b815260040162002fc29392919062004cd9565b600060405180830381600087803b15801562002fdd57600080fd5b505af115801562002ff2573d6000803e3d6000fd5b5050600c54604051634949198760e01b8152600481018590526200302d93506001600160a01b03909116915063494919879060240162001481565b50565b60008051602062009b8c833981519152634c63e56286158015906200305457508415155b80156200306057508215155b6040518263ffffffff1660e01b815260040162003081911515815260200190565b600060405180830381600087803b1580156200309c57600080fd5b505af1158015620030b1573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620031189316919060040162004b69565b6020604051808303816000875af115801562003138573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200315e919062004bab565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b031663c548f3096040518163ffffffff1660e01b8152600401600060405180830381865afa158015620031b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620031e0919081019062004c11565b6040805160038082526080820190925291925060009190816020015b6060815260200190600190039081620031fc57905050905084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525085518694509092501515905062003261576200326162004c4a565b602002602001018190525086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508351849250600191508110620032ba57620032ba62004c4a565b602002602001018190525088888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050835184925060029150811062003313576200331362004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b1580156200337357600080fd5b505af115801562003388573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620033c0908690859060040162004cbe565b600060405180830381600087803b158015620033db57600080fd5b505af1158015620033f0573d6000803e3d6000fd5b5060008051602062009b8c833981519152925063b96213e491506e0c2e074ec69a0dfb2997ba6c7d2e1e9050630178b8bf60e01b6200342f8562003fac565b6040516024016200344291815260200190565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b031995861617905260095482516001600160a01b0390911681830152825180820390920182528083019283905260e087901b909416909152620034b0939260440162004cd9565b600060405180830381600087803b158015620034cb57600080fd5b505af1158015620034e0573d6000803e3d6000fd5b505060095460008051602062009b8c833981519152925063b96213e491506001600160a01b0316631674750f60e21b6200351a8562003fac565b866040516024016200352e92919062004d1d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526200356b87620040af565b60405160200162002140919062004d38565b60008051602062009b8c833981519152634c63e5626001600160601b038616601314801590620035b6575060ff866001600160601b0316105b6040518263ffffffff1660e01b8152600401620035d7911515815260200190565b600060405180830381600087803b158015620035f257600080fd5b505af115801562003607573d6000803e3d6000fd5b5050600854604051632631f2b160e11b81526001600160a01b0387811692169190911415600482015260008051602062009b8c8339815191529250634c63e5629150602401600060405180830381600087803b1580156200366757600080fd5b505af11580156200367c573d6000803e3d6000fd5b5050600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b8152600095506001600160a01b03938416945063666d87a093620036e39316919060040162004b69565b6020604051808303816000875af115801562003703573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003729919062004bab565b60408051600180825281830190925291925060009190816020015b60608152602001906001900390816200374457905050905083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250855186945090925015159050620037a957620037a962004c4a565b602090810291909101015260405163ca669fa760e01b81526001600160a01b038616600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b1580156200380557600080fd5b505af11580156200381a573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b031663075fd2b160e01b179052915163f28dceb360e01b815260008051602062009b8c833981519152945063f28dceb3935062003876920162004d38565b600060405180830381600087803b1580156200389157600080fd5b505af1158015620038a6573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad9150620038de908590859060040162004cbe565b600060405180830381600087803b158015620038f957600080fd5b505af11580156200390e573d6000803e3d6000fd5b5060009250600191506200391f9050565b60405190808252806020026020018201604052801562003949578160200160208202803683370190505b509050866001600160601b0316816000815181106200396c576200396c62004c4a565b602090810291909101015260085460405163ca669fa760e01b81526001600160a01b03909116600482015260008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b158015620039cc57600080fd5b505af1158015620039e1573d6000803e3d6000fd5b5050600a54604080516060810182526001600160a01b038b8116825260016020830152818301879052915163294e6e9760e11b815291909216935063529cdd2e925062003a32919060040162004eb4565b600060405180830381600087803b15801562003a4d57600080fd5b505af115801562003a62573d6000803e3d6000fd5b505060405163ca669fa760e01b81526001600160a01b038916600482015260008051602062009b8c833981519152925063ca669fa79150602401600060405180830381600087803b15801562003ab757600080fd5b505af115801562003acc573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b031663075fd2b160e01b179052915163f28dceb360e01b815260008051602062009b8c833981519152945063f28dceb3935062003b28920162004d38565b600060405180830381600087803b15801562003b4357600080fd5b505af115801562003b58573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062003b90908690869060040162004cbe565b600060405180830381600087803b15801562003bab57600080fd5b505af115801562003bc0573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810187905262003bfb93506001600160a01b0390911691506330abe9879060240162001848565b50505050505050565b60008054610100900460ff161562003c255750600054610100900460ff1690565b600060008051602062009b8c8339815191523b1562003d2a576040805160008051602062009b8c833981519152602082018190526519985a5b195960d21b8284015282518083038401815260608301909352600092909162003cac917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800162004fa1565b60408051601f198184030181529082905262003cc89162004f83565b6000604051808303816000865af19150503d806000811462003d07576040519150601f19603f3d011682016040523d82523d6000602084013e62003d0c565b606091505b509150508080602001905181019062003d26919062004fd4565b9150505b919050565b600b546008546040805160808101825260078183019081526618dbdb9d195b9d60ca1b606083015281526001602082015290516303336c3d60e51b81526000936001600160a01b039081169363666d87a09362003d9493929091169160040162004b69565b6020604051808303816000875af115801562003db4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003dda919062004bab565b60408051600080825260208201909252919250908162003e0b565b606081526020019060019003908162003df55790505b5060085460405163ca669fa760e01b81526001600160a01b03909116600482015290915060008051602062009b8c8339815191529063ca669fa790602401600060405180830381600087803b15801562003e6457600080fd5b505af115801562003e79573d6000803e3d6000fd5b50506040805160048082526024820183526020820180516001600160e01b03166314124ae160e31b179052915163f28dceb360e01b815260008051602062009b8c833981519152945063f28dceb3935062003ed5920162004d38565b600060405180830381600087803b15801562003ef057600080fd5b505af115801562003f05573d6000803e3d6000fd5b5050600c54604051632b5b94ad60e01b81526001600160a01b039091169250632b5b94ad915062003f3d908590859060040162004cbe565b600060405180830381600087803b15801562003f5857600080fd5b505af115801562003f6d573d6000803e3d6000fd5b5050600c546040516330abe98760e01b81526004810186905262003fa893506001600160a01b0390911691506330abe9879060240162001848565b5050565b60008060405160200162003fc990620cae8d60eb1b815260030190565b6040516020818303038152906040528051906020012060405160200162003ffa929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b81811015620040a857828482815181106200403a576200403a62004c4a565b602002602001015160405160200162004054919062004f83565b6040516020818303038152906040528051906020012060405160200162004085929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016200401b565b5050919050565b606081600003620040d75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115620041075780620040ee816200500e565b9150620040ff9050600a8362005040565b9150620040db565b60008167ffffffffffffffff8111156200412557620041256200483b565b6040519080825280601f01601f19166020018201604052801562004150576020820181803683370190505b5090505b8415620041c8576200416860018362005057565b915062004177600a8662005073565b620041849060306200508a565b60f81b8183815181106200419c576200419c62004c4a565b60200101906001600160f81b031916908160001a905350620041c0600a8662005040565b945062004154565b949350505050565b80604051602001620041e3919062004f83565b60405160208183030381529060405280519060200120826040516020016200420c919062004f83565b604051602081830303815290604052805190602001201462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620042959060208082526024908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b737472604082015263696e675d60e01b606082015260800190565b60405180910390a17f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf358381604051620042ce9190620050a0565b60405180910390a17f280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf358382604051620043079190620050df565b60405180910390a162003fa862004394565b62004327825182516200449d565b60005b82518110156200438f57620043868382815181106200434d576200434d62004c4a565b60200260200101518051906020012083838151811062004371576200437162004c4a565b60200260200101518051906020012062004582565b6001016200432a565b505050565b60008051602062009b8c8339815191523b156200448c576040805160008051602062009b8c833981519152602082018190526519985a5b195960d21b9282019290925260016060820152600091907f70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc49060800160408051601f198184030181529082905262004427929160200162004fa1565b60408051601f1981840301815290829052620044439162004f83565b6000604051808303816000865af19150503d806000811462004482576040519150601f19603f3d011682016040523d82523d6000602084013e62004487565b606091505b505050505b6000805461ff001916610100179055565b80821462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620045109060208082526022908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e604082015261745d60f01b606082015260800190565b60405180910390a17fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a8816040516200454991906200510a565b60405180910390a17fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a88260405162004307919062005143565b80821462003fa8577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50604051620045f89060208082526025908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b627974604082015264657333325d60d81b606082015260800190565b60405180910390a17fafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99816040516200463191906200510a565b60405180910390a17fafb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f998260405162004307919062005143565b6107ed806200516f83390190565b612e3c806200595c83390190565b6113f4806200879883390190565b60008083601f840112620046a757600080fd5b50813567ffffffffffffffff811115620046c057600080fd5b602083019150836020828501011115620046d957600080fd5b9250929050565b60008060008060008060608789031215620046fa57600080fd5b863567ffffffffffffffff808211156200471357600080fd5b620047218a838b0162004694565b909850965060208901359150808211156200473b57600080fd5b620047498a838b0162004694565b909650945060408901359150808211156200476357600080fd5b506200477289828a0162004694565b979a9699509497509295939492505050565b60008060008060008060008060a0898b031215620047a157600080fd5b8835975060208901359650604089013567ffffffffffffffff80821115620047c857600080fd5b620047d68c838d0162004694565b909850965060608b0135915080821115620047f057600080fd5b620047fe8c838d0162004694565b909650945060808b01359150808211156200481857600080fd5b50620048278b828c0162004694565b999c989b5096995094979396929594505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156200487d576200487d6200483b565b604052919050565b600067ffffffffffffffff821115620048a257620048a26200483b565b50601f01601f191660200190565b600082601f830112620048c257600080fd5b8135620048d9620048d38262004885565b62004851565b818152846020838601011115620048ef57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156200492257600080fd5b833567ffffffffffffffff808211156200493b57600080fd5b6200494987838801620048b0565b945060208601359150808211156200496057600080fd5b6200496e87838801620048b0565b935060408601359150808211156200498557600080fd5b506200499486828701620048b0565b9150509250925092565b60008060208385031215620049b257600080fd5b823567ffffffffffffffff811115620049ca57600080fd5b620049d88582860162004694565b90969095509350505050565b80356001600160a01b038116811462003d2a57600080fd5b60008060006040848603121562004a1257600080fd5b62004a1d84620049e4565b9250602084013567ffffffffffffffff81111562004a3a57600080fd5b62004a488682870162004694565b9497909650939450505050565b60006020828403121562004a6857600080fd5b5035919050565b6000806000806060858703121562004a8657600080fd5b84356001600160601b038116811462004a9e57600080fd5b935062004aae60208601620049e4565b9250604085013567ffffffffffffffff81111562004acb57600080fd5b62004ad98782880162004694565b95989497509550505050565b6001600160a01b03919091168152604060208201819052600490820152633078363960e01b606082015260800190565b60005b8381101562004b3257818101518382015260200162004b18565b50506000910152565b6000815180845262004b5581602086016020860162004b15565b601f01601f19169290920160200192915050565b60018060a01b0383168152604060208201526000825160408084015262004b94608084018262004b3b565b905060208401516060840152809150509392505050565b60006020828403121562004bbe57600080fd5b5051919050565b600082601f83011262004bd757600080fd5b815162004be8620048d38262004885565b81815284602083860101111562004bfe57600080fd5b620041c882602083016020870162004b15565b60006020828403121562004c2457600080fd5b815167ffffffffffffffff81111562004c3c57600080fd5b620041c88482850162004bc5565b634e487b7160e01b600052603260045260246000fd5b60008282518085526020808601955060208260051b8401016020860160005b8481101562004cb157601f1986840301895262004c9e83835162004b3b565b9884019892509083019060010162004c7f565b5090979650505050505050565b828152604060208201526000620041c8604083018462004c60565b6001600160a01b038416815260606020820181905260009062004cff9083018562004b3b565b828103604084015262004d13818562004b3b565b9695505050505050565b828152604060208201526000620041c8604083018462004b3b565b60208152600062004d4d602083018462004b3b565b9392505050565b60208152600062004d4d602083018462004c60565b858782376000868201601760f91b80825286886001840137600191870191820152838560028301376000930160020192835250909695505050505050565b6000602080838503121562004dbb57600080fd5b825167ffffffffffffffff8082111562004dd457600080fd5b818501915085601f83011262004de957600080fd5b81518181111562004dfe5762004dfe6200483b565b8060051b62004e0f85820162004851565b918252838101850191858101908984111562004e2a57600080fd5b86860192505b8383101562004e6b5782518581111562004e4a5760008081fd5b62004e5a8b89838a010162004bc5565b835250918601919086019062004e30565b9998505050505050505050565b8183823760009101908152919050565b60408152600062004e9d604083018562004c60565b905060018060a01b03831660208301529392505050565b602080825282516001600160a01b0316828201528281015160408084019190915283015160608084015280516080840181905260009291820190839060a08601905b8083101562004f18578351825292840192600192909201919084019062004ef6565b509695505050505050565b6000845162004f3781846020890162004b15565b8083019050601760f91b808252855162004f59816001850160208a0162004b15565b6001920191820152835162004f7681600284016020880162004b15565b0160020195945050505050565b6000825162004f9781846020870162004b15565b9190910192915050565b6001600160e01b031983168152815160009062004fc681600485016020870162004b15565b919091016004019392505050565b60006020828403121562004fe757600080fd5b8151801515811462004d4d57600080fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162005023576200502362004ff8565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826200505257620050526200502a565b500490565b818103818111156200506d576200506d62004ff8565b92915050565b6000826200508557620050856200502a565b500690565b808201808211156200506d576200506d62004ff8565b604081526000620050cb60408301600a8152690808115e1c1958dd195960b21b602082015260400190565b8281036020840152620041c8818562004b3b565b604081526000620050cb60408301600a815269080808081058dd1d585b60b21b602082015260400190565b6040815260006200513560408301600a8152690808115e1c1958dd195960b21b602082015260400190565b905082602083015292915050565b6040815260006200513560408301600a815269080808081058dd1d585b60b21b60208201526040019056fe608060405234801561001057600080fd5b506107cd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630f5932f01461005c578063529cdd2e1461008457806380deb230146100995780638d5f697f146100d7578063c161c93f146100ea575b600080fd5b61006f61006a36600461054d565b6100fd565b60405190151581526020015b60405180910390f35b6100976100923660046105bc565b6101a4565b005b6100c96100a73660046105fe565b6000602081815293815260408082208552928152828120909352825290205481565b60405190815260200161007b565b6100976100e536600461063a565b610269565b61006f6100f836600461067c565b610421565b6000805b8281101561019557600084848381811061011d5761011d6106be565b90506020020135905060ff81111561014857604051638e9503a960e01b815260040160405180910390fd5b6001600160a01b03888116600090815260208181526040808320938b168352928152828220898352905290812054821c600116900361018c5760009250505061019b565b50600101610101565b50600190505b95945050505050565b60006101bb6101b660408401846106d4565b610482565b9050806000806101ce602086018661071e565b6001600160a01b03168152602080820192909252604090810160009081203380835290845282822087850180358085529190955292909120939093559190610216908561071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb32061024d60408701876106d4565b8660405161025d93929190610739565b60405180910390a45050565b60005b8181101561041c5760006102ab84848481811061028b5761028b6106be565b905060200281019061029d9190610777565b6101b69060408101906106d4565b9050806000808686868181106102c3576102c36106be565b90506020028101906102d59190610777565b6102e390602081019061071e565b6001600160a01b031681526020808201929092526040908101600090812033825290925281209086868681811061031c5761031c6106be565b905060200281019061032e9190610777565b60200135815260200190815260200160002081905550838383818110610356576103566106be565b90506020028101906103689190610777565b602001353385858581811061037f5761037f6106be565b90506020028101906103919190610777565b61039f90602081019061071e565b6001600160a01b03167f9dee2ffb464e2d0198cd20321be1ae3f79ed49f7ed4abfaa7ee4fe982bbeb3208787878181106103db576103db6106be565b90506020028101906103ed9190610777565b6103fb9060408101906106d4565b8660405161040b93929190610739565b60405180910390a45060010161026c565b505050565b600060ff82111561044557604051638e9503a960e01b815260040160405180910390fd5b506001600160a01b03808516600090815260208181526040808320938716835292815282822085835290522054600190821c811614949350505050565b6000805b828110156104de5760008484838181106104a2576104a26106be565b90506020020135905060ff8111156104cd57604051638e9503a960e01b815260040160405180910390fd5b60019081901b929092179101610486565b5092915050565b80356001600160a01b03811681146104fc57600080fd5b919050565b60008083601f84011261051357600080fd5b50813567ffffffffffffffff81111561052b57600080fd5b6020830191508360208260051b850101111561054657600080fd5b9250929050565b60008060008060006080868803121561056557600080fd5b61056e866104e5565b945061057c602087016104e5565b935060408601359250606086013567ffffffffffffffff81111561059f57600080fd5b6105ab88828901610501565b969995985093965092949392505050565b6000602082840312156105ce57600080fd5b813567ffffffffffffffff8111156105e557600080fd5b8201606081850312156105f757600080fd5b9392505050565b60008060006060848603121561061357600080fd5b61061c846104e5565b925061062a602085016104e5565b9150604084013590509250925092565b6000806020838503121561064d57600080fd5b823567ffffffffffffffff81111561066457600080fd5b61067085828601610501565b90969095509350505050565b6000806000806080858703121561069257600080fd5b61069b856104e5565b93506106a9602086016104e5565b93969395505050506040820135916060013590565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126106eb57600080fd5b83018035915067ffffffffffffffff82111561070657600080fd5b6020019150600581901b360382131561054657600080fd5b60006020828403121561073057600080fd5b6105f7826104e5565b6040808252810183905260006001600160fb1b0384111561075957600080fd5b8360051b808660608501376020830193909352500160600192915050565b60008235605e1983360301811261078d57600080fd5b919091019291505056fea26469706673582212209939340c0e296ae7bb5a129104f60fbb2eaa4526bc8724b1662e3ce32e84720364736f6c634300081700336101606040526000600b553480156200001757600080fd5b5060405162002e3c38038062002e3c8339810160408190526200003a91620001ce565b6040805180820182526011808252704a75696365626f782050726f6a6563747360781b60208084018290528451808601865260018152603160f81b81830152855180870187529384528382019290925284518086019095526008855267094aa92868a849eb60c31b908501526001600160a01b03851660805291926000620000c38382620002a7565b506001620000d28282620002a7565b505082516020938401208251928401929092206101008390526101208190524660c0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81890181905281830197909752606081019490945260808401929092523060a080850182905283518086038201815294909201909252825192909501919091209093525060e0919091526101405262000175336200017c565b5062000373565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215620001e157600080fd5b81516001600160a01b0381168114620001f957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022b57607f821691505b6020821081036200024c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a2576000816000526020600020601f850160051c810160208610156200027d5750805b601f850160051c820191505b818110156200029e5782815560010162000289565b5050505b505050565b81516001600160401b03811115620002c357620002c362000200565b620002db81620002d4845462000216565b8462000252565b602080601f831160018114620003135760008415620002fa5750858301515b600019600386901b1c1916600185901b1785556200029e565b600085815260208120601f198616915b82811015620003445788860151825594840194600190910190840162000323565b5085821015620003635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516101205161014051612a60620003dc600039600061127c015260006112cb015260006112a6015260006111ff01526000611229015260006112530152600081816103e20152818161136001526114070152612a606000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063666d87a01161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042a578063e131fc0c1461043d578063e985e9c514610450578063f2fde38b1461048c57600080fd5b8063a22cb465146103ca578063ad007d63146103dd578063b88d4fde14610404578063c3cda5201461041757600080fd5b80638da5cb5b116100de5780638da5cb5b1461038b5780638e539e8c1461039c57806395d89b41146103af5780639ab24eb0146103b757600080fd5b8063666d87a01461034a57806370a082311461035d578063715018a6146103705780637ecebe001461037857600080fd5b80633644e5151161018757806342842e0e1161015657806342842e0e146102e5578063587cde1e146102f85780635c19a95c146103245780636352211e1461033757600080fd5b80633644e515146102a457806336574975146102ac57806339fbc775146102bf5780633a46b1a8146102d257600080fd5b8063081812fc116101c3578063081812fc1461023e578063095ea7b31461026957806323b872dd1461027e5780632407497e1461029157600080fd5b806301ffc9a7146101ea57806306661abd1461021257806306fdde0314610229575b600080fd5b6101fd6101f83660046121c1565b61049f565b60405190151581526020015b60405180910390f35b61021b600b5481565b604051908152602001610209565b6102316104e5565b604051610209919061222e565b61025161024c366004612241565b610577565b6040516001600160a01b039091168152602001610209565b61027c61027736600461226f565b610611565b005b61027c61028c36600461229b565b610726565b61027c61029f3660046122dc565b610757565b61021b6107d5565b61027c6102ba36600461230b565b6107e4565b6102316102cd366004612352565b61086f565b61021b6102e036600461226f565b610914565b61027c6102f336600461229b565b61093d565b6102516103063660046122dc565b6001600160a01b039081166000908152600660205260409020541690565b61027c6103323660046122dc565b610958565b610251610345366004612241565b610967565b61021b610358366004612374565b6109de565b61021b61036b3660046122dc565b610a92565b61027c610b19565b61021b6103863660046122dc565b610b4f565b600a546001600160a01b0316610251565b61021b6103aa366004612241565b610b6d565b610231610bc9565b61021b6103c53660046122dc565b610bd8565b61027c6103d83660046123bc565b610bf9565b6102517f000000000000000000000000000000000000000000000000000000000000000081565b61027c610412366004612464565b610c04565b61027c610425366004612513565b610c3c565b610231610438366004612241565b610d69565b600d54610251906001600160a01b031681565b6101fd61045e366004612575565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61027c61049a3660046122dc565b610e00565b60006001600160e01b0319821663aa91a66f60e01b14806104d057506001600160e01b0319821663ad007d6360e01b145b806104df57506104df82610e9b565b92915050565b6060600080546104f4906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906125a3565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061061c82610967565b9050806001600160a01b0316836001600160a01b0316036106895760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ec565b336001600160a01b03821614806106a557506106a5813361045e565b6107175760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b6107218383610eeb565b505050565b6107303382610f59565b61074c5760405162461bcd60e51b81526004016105ec906125d7565b610721838383611050565b600a546001600160a01b031633146107815760405162461bcd60e51b81526004016105ec90612628565b600d80546001600160a01b0319166001600160a01b0383169081179091556040513381527fe7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c169060200160405180910390a250565b60006107df6111f2565b905090565b6107ed82610967565b8260066107fb838383611319565b610805848061265d565b6000878152600c6020908152604080832089830135845290915290209161082d9190836126f4565b50847fd07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e685336040516108609291906127b5565b60405180910390a25050505050565b600c60209081526000928352604080842090915290825290208054610893906125a3565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906125a3565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b505050505081565b6001600160a01b03821660009081526007602052604081206109369083611492565b9392505050565b61072183838360405180602001604052806000815250610c04565b3361096381836115a1565b5050565b6000818152600260205260408120546001600160a01b0316806104df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ec565b6000600b600081546109ef9061285d565b91829055509050610a008382611613565b6000610a0c838061265d565b90501115610a4857610a1e828061265d565b6000838152600c60209081526040808320878301358452909152902091610a469190836126f4565b505b826001600160a01b0316817fa1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d48433604051610a849291906127b5565b60405180910390a392915050565b60006001600160a01b038216610afd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b435760405162461bcd60e51b81526004016105ec90612628565b610b4d600061162d565b565b6001600160a01b0381166000908152600960205260408120546104df565b6000438210610bbe5760405162461bcd60e51b815260206004820152601a60248201527f566f7465733a20626c6f636b206e6f7420796574206d696e656400000000000060448201526064016105ec565b6104df600883611492565b6060600180546104f4906125a3565b6001600160a01b03811660009081526007602052604081206104df9061167f565b6109633383836116db565b610c0e3383610f59565b610c2a5760405162461bcd60e51b81526004016105ec906125d7565b610c36848484846117a9565b50505050565b83421115610c8c5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e61747572652065787069726564000000000000000060448201526064016105ec565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206117dc565b85858561182a565b9050610d1181611852565b8614610d565760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b60448201526064016105ec565b610d6081886115a1565b50505050505050565b600d546060906001600160a01b031680610d93575050604080516020810190915260008152919050565b604051636d02a25560e11b8152600481018490526001600160a01b0382169063da0544aa90602401600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109369190810190612876565b600a546001600160a01b03163314610e2a5760405162461bcd60e51b81526004016105ec90612628565b6001600160a01b038116610e8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b610e988161162d565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ecc57506001600160e01b03198216635b5e139f60e01b145b806104df57506301ffc9a760e01b6001600160e01b03198316146104df565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2082610967565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ec565b6000610fdd83610967565b9050806001600160a01b0316846001600160a01b031614806110185750836001600160a01b031661100d84610577565b6001600160a01b0316145b8061104857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106382610967565b6001600160a01b0316146110c75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105ec565b6001600160a01b0382166111295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b611134600082610eeb565b6001600160a01b038316600090815260036020526040812080546001929061115d9084906128ed565b90915550506001600160a01b038216600090815260036020526040812080546001929061118b908490612900565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461072183838361187a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561124b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561127557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b336001600160a01b038416148015906113cd575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612913565b155b8015611474575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa15801561144e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114729190612913565b155b156107215760405163075fd2b160e01b815260040160405180910390fd5b60004382106114e35760405162461bcd60e51b815260206004820181905260248201527f436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e656460448201526064016105ec565b825460005b818110156115485760006114fc8284611886565b90508486600001828154811061151457611514612930565b60009182526020909120015463ffffffff16111561153457809250611542565b61153f816001612900565b91505b506114e8565b811561158c578461155a6001846128ed565b8154811061156a5761156a612930565b60009182526020909120015464010000000090046001600160e01b031661158f565b60005b6001600160e01b031695945050505050565b6001600160a01b0382811660008181526006602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610721818361160e866118a1565b6118ac565b6109638282604051806020016040528060008152506119da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805460009080156116c857826116966001836128ed565b815481106116a6576116a6612930565b60009182526020909120015464010000000090046001600160e01b03166116cb565b60005b6001600160e01b03169392505050565b816001600160a01b0316836001600160a01b03160361173c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117b4848484611050565b6117c084848484611a0d565b610c365760405162461bcd60e51b81526004016105ec90612946565b60006104df6117e96111f2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183b87878787611b0b565b9150915061184881611bf8565b5095945050505050565b6001600160a01b03811660009081526009602052604090208054600181018255905b50919050565b61072183836001611dae565b60006118956002848418612998565b61093690848416612900565b60006104df82610a92565b816001600160a01b0316836001600160a01b0316141580156118ce5750600081115b15610721576001600160a01b0383161561195c576001600160a01b0383166000908152600760205260408120819061190990611e1e85611e2a565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611951929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610721576001600160a01b0382166000908152600760205260408120819061199290611e5885611e2a565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051610860929190918252602082015260400190565b6119e48383611e64565b6119f16000848484611a0d565b6107215760405162461bcd60e51b81526004016105ec90612946565b60006001600160a01b0384163b15611b0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a519033908990889088906004016129ba565b6020604051808303816000875af1925050508015611a8c575060408051601f3d908101601f19168201909252611a89918101906129f7565b60015b611ae9573d808015611aba576040519150601f19603f3d011682016040523d82523d6000602084013e611abf565b606091505b508051600003611ae15760405162461bcd60e51b81526004016105ec90612946565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611048565b506001611048565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b425750600090506003611bef565b8460ff16601b14158015611b5a57508460ff16601c14155b15611b6b5750600090506004611bef565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bbf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611be857600060019250925050611bef565b9150600090505b94509492505050565b6000816004811115611c0c57611c0c612a14565b03611c145750565b6001816004811115611c2857611c28612a14565b03611c755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ec565b6002816004811115611c8957611c89612a14565b03611cd65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ec565b6003816004811115611cea57611cea612a14565b03611d425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ec565b6004816004811115611d5657611d56612a14565b03610e985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ec565b6001600160a01b038316611dcd57611dca6008611e5883611e2a565b50505b6001600160a01b038216611dec57611de96008611e1e83611e2a565b50505b6001600160a01b03838116600090815260066020526040808220548584168352912054610721929182169116836118ac565b600061093682846128ed565b600080611e4c85611e47611e3d8861167f565b868863ffffffff16565b611fae565b91509150935093915050565b60006109368284612900565b6001600160a01b038216611eba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b031615611f1f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b0382166000908152600360205260408120805460019290611f48908490612900565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109636000838361187a565b8154600090819081611fbf8661167f565b9050600082118015611ffd57504386611fd96001856128ed565b81548110611fe957611fe9612930565b60009182526020909120015463ffffffff16145b1561205d5761200b856120d9565b866120176001856128ed565b8154811061202757612027612930565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506120cb565b85600001604051806040016040528061207543612146565b63ffffffff168152602001612089886120d9565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b9250839150505b9250929050565b60006001600160e01b038211156121425760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ec565b5090565b600063ffffffff8211156121425760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ec565b6001600160e01b031981168114610e9857600080fd5b6000602082840312156121d357600080fd5b8135610936816121ab565b60005b838110156121f95781810151838201526020016121e1565b50506000910152565b6000815180845261221a8160208601602086016121de565b601f01601f19169290920160200192915050565b6020815260006109366020830184612202565b60006020828403121561225357600080fd5b5035919050565b6001600160a01b0381168114610e9857600080fd5b6000806040838503121561228257600080fd5b823561228d8161225a565b946020939093013593505050565b6000806000606084860312156122b057600080fd5b83356122bb8161225a565b925060208401356122cb8161225a565b929592945050506040919091013590565b6000602082840312156122ee57600080fd5b81356109368161225a565b60006040828403121561187457600080fd5b6000806040838503121561231e57600080fd5b82359150602083013567ffffffffffffffff81111561233c57600080fd5b612348858286016122f9565b9150509250929050565b6000806040838503121561236557600080fd5b50508035926020909101359150565b6000806040838503121561238757600080fd5b82356123928161225a565b9150602083013567ffffffffffffffff81111561233c57600080fd5b8015158114610e9857600080fd5b600080604083850312156123cf57600080fd5b82356123da8161225a565b915060208301356123ea816123ae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612434576124346123f5565b604052919050565b600067ffffffffffffffff821115612456576124566123f5565b50601f01601f191660200190565b6000806000806080858703121561247a57600080fd5b84356124858161225a565b935060208501356124958161225a565b925060408501359150606085013567ffffffffffffffff8111156124b857600080fd5b8501601f810187136124c957600080fd5b80356124dc6124d78261243c565b61240b565b8181528860208385010111156124f157600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c0878903121561252c57600080fd5b86356125378161225a565b95506020870135945060408701359350606087013560ff8116811461255b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561258857600080fd5b82356125938161225a565b915060208301356123ea8161225a565b600181811c908216806125b757607f821691505b60208210810361187457634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e1984360301811261267457600080fd5b83018035915067ffffffffffffffff82111561268f57600080fd5b6020019150368190038213156120d257600080fd5b601f821115610721576000816000526020600020601f850160051c810160208610156126cd5750805b601f850160051c820191505b818110156126ec578281556001016126d9565b505050505050565b67ffffffffffffffff83111561270c5761270c6123f5565b6127208361271a83546125a3565b836126a4565b6000601f841160018114612754576000851561273c5750838201355b600019600387901b1c1916600186901b1783556127ae565b600083815260209020601f19861690835b828110156127855786850135825560209485019460019092019101612765565b50868210156127a25760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6040815260008335601e198536030181126127cf57600080fd5b840160208101903567ffffffffffffffff8111156127ec57600080fd5b8036038213156127fb57600080fd5b604080850152806080850152808260a0860137600060a082860101526020860135606085015260a0601f19601f8301168501019250505061093660208301846001600160a01b03169052565b634e487b7160e01b600052601160045260246000fd5b60006001820161286f5761286f612847565b5060010190565b60006020828403121561288857600080fd5b815167ffffffffffffffff81111561289f57600080fd5b8201601f810184136128b057600080fd5b80516128be6124d78261243c565b8181528560208385010111156128d357600080fd5b6128e48260208301602086016121de565b95945050505050565b818103818111156104df576104df612847565b808201808211156104df576104df612847565b60006020828403121561292557600080fd5b8151610936816123ae565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826129b557634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ed90830184612202565b9695505050505050565b600060208284031215612a0957600080fd5b8151610936816121ab565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f51a3b92212837cf8f6c2d56f2e3620c4bf9c6a8149a41d861ebe4af9454e11464736f6c6343000817003360e060405234801561001057600080fd5b50604051620013f4380380620013f483398101604081905261003191610066565b6001600160a01b0391821660805291811660a0521660c0526100b3565b6001600160a01b038116811461006357600080fd5b50565b60008060006060848603121561007b57600080fd5b83516100868161004e565b60208501519093506100978161004e565b60408501519092506100a88161004e565b809150509250925092565b60805160a05160c0516112f5620000ff6000396000818161019e015261052501526000818161011e01526101d601526000818161014501528181610794015261083b01526112f56000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638b79543c1161005b5780638b79543c14610119578063ad007d6314610140578063c548f30914610167578063d9833b321461019957600080fd5b80632b5b94ad1461008d57806330abe987146100a257806349491987146100cb5780637d73b231146100eb575b600080fd5b6100a061009b366004610cad565b6101c0565b005b6100b56100b0366004610dad565b610348565b6040516100c29190610e70565b60405180910390f35b6100de6100d9366004610dad565b61042b565b6040516100c29190610e8a565b6101016e0c2e074ec69a0dfb2997ba6c7d2e1e81565b6040516001600160a01b0390911681526020016100c2565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6100de604051806040016040528060138152602001721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b81525081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516331a9108f60e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610e9d565b82601361025783838361074d565b8351600081900361027b576040516314124ae160e31b815260040160405180910390fd5b60005b818110156102c95785818151811061029857610298610ec6565b6020026020010151516000036102c157604051630186fe0d60e51b815260040160405180910390fd5b60010161027e565b5060008681526020818152604090912086516102e792880190610b55565b506102f1856108cb565b6040516102fe9190610edc565b6040518091039020867f2f08b921e66e530e39c2a5a6a1d27d9967e793a553c83bfaf3cb47433021a14c8733604051610338929190610ef8565b60405180910390a3505050505050565b600081815260208181526040808320805482518185028101850190935280835260609492939192909184015b8282101561042057838290600052602060002001805461039390610f22565b80601f01602080910402602001604051908101604052809291908181526020018280546103bf90610f22565b801561040c5780601f106103e15761010080835404028352916020019161040c565b820191906000526020600020905b8154815290600101906020018083116103ef57829003601f168201915b505050505081526020019060010190610374565b505050509050919050565b600081815260208181526040808320805482518185028101850190935280835260609493849084015b8282101561050057838290600052602060002001805461047390610f22565b80601f016020809104026020016040519081016040528092919081815260200182805461049f90610f22565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081526020019060010190610454565b50505050905080516000036105bd576040516330abe98760e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330abe98790602401600060405180830381865afa158015610574573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059c9190810190610fa1565b905080516000036105bd575050604080516020810190915260008152919050565b60006105c88261095a565b604051630178b8bf60e01b8152600481018290529091506000906e0c2e074ec69a0dfb2997ba6c7d2e1e90630178b8bf90602401602060405180830381865afa158015610619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063d9190610e9d565b90506001600160a01b0381166106655750506040805160208101909152600081529392505050565b60408051808201825260138152721a9d5a58d9589bde17dc1c9bda9958dd17da59606a1b60208201529051631674750f60e21b81526000916001600160a01b038416916359d1d43c916106bd91879190600401611052565b600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610702919081019061106b565b905061070d86610a4c565b8051906020012081805190602001201461073a575050604080516020810190915260008152949350505050565b610743846108cb565b9695505050505050565b336001600160a01b03841614801590610801575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906110a0565b155b80156108a8575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906110a0565b155b156108c65760405163075fd2b160e01b815260040160405180910390fd5b505050565b805160609060015b8181116109535782846108e683856110d8565b815181106108f6576108f6610ec6565b602002602001015160405160200161090f9291906110f1565b60405160208183030381529060405292508181101561094b57826040516020016109399190611120565b60405160208183030381529060405292505b6001016108d3565b5050919050565b60008060405160200161097690620cae8d60eb1b815260030190565b604051602081830303815290604052805190602001206040516020016109a6929190918252602082015260400190565b60405160208183030381529060405280519060200120905060008251905060005b8181101561095357828482815181106109e2576109e2610ec6565b60200260200101516040516020016109fa9190610edc565b60405160208183030381529060405280519060200120604051602001610a2a929190918252602082015260400190565b60408051601f19818403018152919052805160209091012092506001016109c7565b606081600003610a735750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610a9d5780610a8781611145565b9150610a969050600a83611174565b9150610a77565b60008167ffffffffffffffff811115610ab857610ab8610c1a565b6040519080825280601f01601f191660200182016040528015610ae2576020820181803683370190505b5090505b8415610b4d57610af76001836110d8565b9150610b04600a86611188565b610b0f90603061119c565b60f81b818381518110610b2457610b24610ec6565b60200101906001600160f81b031916908160001a905350610b46600a86611174565b9450610ae6565b949350505050565b828054828255906000526020600020908101928215610b9b579160200282015b82811115610b9b5782518290610b8b90826111ff565b5091602001919060010190610b75565b50610ba7929150610bab565b5090565b80821115610ba7576000610bbf8282610bc8565b50600101610bab565b508054610bd490610f22565b6000825580601f10610be4575050565b601f016020900490600052602060002090810190610c029190610c05565b50565b5b80821115610ba75760008155600101610c06565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610c5957610c59610c1a565b604052919050565b600067ffffffffffffffff821115610c7b57610c7b610c1a565b5060051b60200190565b600067ffffffffffffffff821115610c9f57610c9f610c1a565b50601f01601f191660200190565b6000806040808486031215610cc157600080fd5b8335925060208085013567ffffffffffffffff80821115610ce157600080fd5b818701915087601f830112610cf557600080fd5b8135610d08610d0382610c61565b610c30565b81815260059190911b8301840190848101908a831115610d2757600080fd5b8585015b83811015610d9b57803585811115610d435760008081fd5b8601603f81018d13610d555760008081fd5b87810135610d65610d0382610c85565b8181528e8b838501011115610d7a5760008081fd5b818b84018b83013760009181018a0191909152845250918601918601610d2b565b50809750505050505050509250929050565b600060208284031215610dbf57600080fd5b5035919050565b60005b83811015610de1578181015183820152602001610dc9565b50506000910152565b60008151808452610e02816020860160208601610dc6565b601f01601f19169290920160200192915050565b60008282518085526020808601955060208260051b8401016020860160005b84811015610e6357601f19868403018952610e51838351610dea565b98840198925090830190600101610e35565b5090979650505050505050565b602081526000610e836020830184610e16565b9392505050565b602081526000610e836020830184610dea565b600060208284031215610eaf57600080fd5b81516001600160a01b0381168114610e8357600080fd5b634e487b7160e01b600052603260045260246000fd5b60008251610eee818460208701610dc6565b9190910192915050565b604081526000610f0b6040830185610e16565b905060018060a01b03831660208301529392505050565b600181811c90821680610f3657607f821691505b602082108103610f5657634e487b7160e01b600052602260045260246000fd5b50919050565b600082601f830112610f6d57600080fd5b8151610f7b610d0382610c85565b818152846020838601011115610f9057600080fd5b610b4d826020830160208701610dc6565b60006020808385031215610fb457600080fd5b825167ffffffffffffffff80821115610fcc57600080fd5b818501915085601f830112610fe057600080fd5b8151610fee610d0382610c61565b81815260059190911b8301840190848101908883111561100d57600080fd5b8585015b83811015611045578051858111156110295760008081fd5b6110378b89838a0101610f5c565b845250918601918601611011565b5098975050505050505050565b828152604060208201526000610b4d6040830184610dea565b60006020828403121561107d57600080fd5b815167ffffffffffffffff81111561109457600080fd5b610b4d84828501610f5c565b6000602082840312156110b257600080fd5b81518015158114610e8357600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156110eb576110eb6110c2565b92915050565b60008351611103818460208801610dc6565b835190830190611117818360208801610dc6565b01949350505050565b60008251611132818460208701610dc6565b601760f91b920191825250600101919050565b600060018201611157576111576110c2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826111835761118361115e565b500490565b6000826111975761119761115e565b500690565b808201808211156110eb576110eb6110c2565b601f8211156108c6576000816000526020600020601f850160051c810160208610156111d85750805b601f850160051c820191505b818110156111f7578281556001016111e4565b505050505050565b815167ffffffffffffffff81111561121957611219610c1a565b61122d816112278454610f22565b846111af565b602080601f831160018114611262576000841561124a5750858301515b600019600386901b1c1916600185901b1785556111f7565b600085815260208120601f198616915b8281101561129157888601518255948401946001909101908401611272565b50858210156112af5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220cb98afa5900c4d4ecc750f7630b36e56020b8a135bd2665318ddbad7268ef5db64736f6c634300081700330000000000000000000000007109709ecfa91a80626ff3989d68f67f5b1dd12da2646970667358221220b41065ec5ac6016dbd919e912a50013a7e3f60b59e043118ed75e6481a69441764736f6c63430008170033","sourceMap":"732:14932:43:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1144:495;;;:::i;:::-;;9434:1768;;;;;;:::i;:::-;;:::i;12108:1207::-;;;;;;:::i;:::-;;:::i;5980:947::-;;;;;;:::i;:::-;;:::i;11206:898::-;;;;;;:::i;:::-;;:::i;321:38:5:-;;-1:-1:-1;;;;;;;;;;;321:38:5;;;;;-1:-1:-1;;;;;4531:32:44;;;4513:51;;4501:2;4486:18;321:38:5;;;;;;;;8129:1301:43;;;;;;:::i;:::-;;:::i;1872:701::-;;;;;;:::i;:::-;;:::i;2577:1019::-;;;;;;:::i;:::-;;:::i;3600:1108::-;;;;;;:::i;:::-;;:::i;7788:337::-;;;;;;:::i;:::-;;:::i;13319:1303::-;;;;;;:::i;:::-;;:::i;4712:1264::-;;;;;;:::i;:::-;;:::i;1819:584:4:-;;;:::i;:::-;;;6679:14:44;;6672:22;6654:41;;6642:2;6627:18;1819:584:4;6514:187:44;6931:624:43;;;:::i;170:28:5:-;;;;;;;;;;;;1572:26:4;;;;;;;;;1144:495:43;1190:15;;1174:41;;-1:-1:-1;;;1174:41:43;;-1:-1:-1;;;;;;;;;;;250:64:5;1174:7:43;;:41;;-1:-1:-1;;;;;1190:15:43;;1174:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1221:37:43;;-1:-1:-1;;;1221:37:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;1221:7:43;;-1:-1:-1;1221:37:43;;584:42;;1221:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1264:35:43;;-1:-1:-1;;;1264:35:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;1264:7:43;;-1:-1:-1;1264:35:43;;686:42;;1264:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1322:15:43;;1305:53;;;-1:-1:-1;;;1305:53:43;;-1:-1:-1;;;;;1322:15:43;;;1305:53;;;7347:51:44;7414:18;;;7407:30;7473:2;7453:18;;;7446:30;-1:-1:-1;;;7492:18:44;;;7485:45;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;1305:8:43;;-1:-1:-1;7547:19:44;;1305:53:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1364:45:43;;;-1:-1:-1;;;1364:45:43;;584:42;1364:45;;;7789:51:44;7856:18;;;7849:30;;;;7915:2;7895:18;;;7888:30;-1:-1:-1;;;7934:18:44;;;7927:41;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;1364:8:43;;-1:-1:-1;7985:19:44;;1364:45:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1415:41:43;;;-1:-1:-1;;;1415:41:43;;686:42;1415:41;;;8227:51:44;8294:18;;;8287:30;;;;8353:1;8333:18;;;8326:29;-1:-1:-1;;;8371:18:44;;;8364:39;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;1415:8:43;;-1:-1:-1;8420:19:44;;1415:41:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1481:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1463:15:43;:39;;-1:-1:-1;;;;;;1463:39:43;-1:-1:-1;;;;;1463:39:43;;;;;;;;;1521:31;;;;;:::i;:::-;-1:-1:-1;;;;;4531:32:44;;;4513:51;;4501:2;4486:18;1521:31:43;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1508:10:43;:44;;-1:-1:-1;;;;;;1508:44:43;-1:-1:-1;;;;;1508:44:43;;;;;;;;;1607:15;;1574:60;;1508:44;;1607:15;;686:42;;1574:60;;;:::i;:::-;-1:-1:-1;;;;;9011:15:44;;;8993:34;;9063:15;;;9058:2;9043:18;;9036:43;9115:15;;;9110:2;9095:18;;9088:43;8943:2;8928:18;1574:60:43;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1558:13:43;:76;;-1:-1:-1;;;;;;1558:76:43;-1:-1:-1;;;;;1558:76:43;;;;;;;;;;1144:495::o;9434:1768::-;-1:-1:-1;;;;;;;;;;;9626:9:43;9643:23;;;;;:55;;-1:-1:-1;9670:28:43;;;9643:55;:90;;;;-1:-1:-1;9702:31:43;;;9643:90;9626:113;;;;;;;;;;;;;6679:14:44;6672:22;6654:41;;6642:2;6627:18;;6514:187;9626:113:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9767:10:43;;9795:12;;9815:50;;;;;;;;;;;;;;;-1:-1:-1;;;9815:50:43;;;;;;9767:10;9815:50;;;;9767:104;;-1:-1:-1;;;9767:104:43;;9746:18;;-1:-1:-1;;;;;;9767:10:43;;;;-1:-1:-1;9767:20:43;;:104;;9795:12;;9815:50;9767:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9746:125;;9878:17;9898:13;;;;;;;;;-1:-1:-1;;;;;9898:13:43;-1:-1:-1;;;;;9898:22:43;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9898:24:43;;;;;;;;;;;;:::i;:::-;10050:15;;;10063:1;10050:15;;;;;;;;;9878:44;;-1:-1:-1;10021:26:43;;10050:15;;;;;;;;;;;;;;;;;;;;;10021:44;;10087:13;;10071:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10071:13:43;;:10;;-1:-1:-1;10071:29:43;;-1:-1:-1;10071:13:43;;;-1:-1:-1;10071:13:43;;;;:::i;:::-;;;;;;:29;;;;10122:10;;10106:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10106:13:43;;:10;;-1:-1:-1;10117:1:43;;-1:-1:-1;10106:13:43;;;;;;:::i;:::-;;;;;;:26;;;;10154:5;;10138:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10138:13:43;;:10;;-1:-1:-1;10149:1:43;;-1:-1:-1;10138:13:43;;;;;;:::i;:::-;;;;;;;;;;:21;10246:15;;;10259:1;10246:15;;;;;;;;;10215:28;;10246:15;;;;;;;;;;;;;;;;;;;;10215:46;;10267:28;;;;;;;;;;;;;-1:-1:-1;;;10267:28:43;;;:12;10280:1;10267:15;;;;;;;;:::i;:::-;;;;;;:28;;;;10301:38;;;;;;;;;;;;;-1:-1:-1;;;10301:38:43;;;:12;10314:1;10301:15;;;;;;;;:::i;:::-;;;;;;:38;;;;10345:24;;;;;;;;;;;;;-1:-1:-1;;;10345:24:43;;;:12;10358:1;10345:15;;;;;;;;:::i;:::-;;;;;;;;;;:24;10385:12;;10376:22;;-1:-1:-1;;;10376:22:43;;-1:-1:-1;;;;;10385:12:43;;;10376:22;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;10376:8:43;;4486:18:44;;10376:22:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10404:13:43;;:56;;-1:-1:-1;;;10404:56:43;;-1:-1:-1;;;;;10404:13:43;;;;-1:-1:-1;10404:32:43;;-1:-1:-1;10404:56:43;;10437:10;;10449;;10404:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;250:64:5;-1:-1:-1;10467:11:43;;-1:-1:-1;584:42:43;;-1:-1:-1;;;;10560:21:43;10570:10;10560:9;:21::i;:::-;10514:68;;;;;;12647:25:44;;12635:2;12620:18;;12501:177;10514:68:43;;;;-1:-1:-1;;10514:68:43;;;;;;;;;;;;;;;-1:-1:-1;;;;;10514:68:43;-1:-1:-1;;;;;;10514:68:43;;;;;;10609:15;;10590:36;;-1:-1:-1;;;;;10609:15:43;;;10590:36;;;4513:51:44;10590:36:43;;;;;;;;;;4486:18:44;;;10590:36:43;;;;10467:165;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10666:15:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;10639:11:43;;-1:-1:-1;;;;;;10666:15:43;-1:-1:-1;;;10742:21:43;10752:10;10742:9;:21::i;:::-;10765:3;10690:79;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;10690:79:43;;;;;;;;;;;;;;-1:-1:-1;;;;;10690:79:43;-1:-1:-1;;;;;;10690:79:43;;;;;;;;;;10788:28;10805:10;10788:16;:28::i;:::-;10777:40;;;;;;;;:::i;:::-;;;;;;;;;;;;;10639:184;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10915:62:43;;;;;12647:25:44;;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;10883:11:43;;-1:-1:-1;686:42:43;;12620:18:44;;10915:62:43;;;-1:-1:-1;;10915:62:43;;;;;;;;;;;;;;;-1:-1:-1;;;;;10915:62:43;-1:-1:-1;;;10915:62:43;;;10979:24;;;;10990:12;;10979:24;;:::i;:::-;;;;;;;;;;;;;10883:121;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11081:13:43;;:34;;-1:-1:-1;;;11081:34:43;;;;;12647:25:44;;;11065:132:43;;-1:-1:-1;;;;;;11081:13:43;;;;-1:-1:-1;11081:22:43;;12620:18:44;;11081:34:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11081:34:43;;;;;;;;;;;;:::i;:::-;11147:5;;11159:10;;11176:13;;11130:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;11065:8;:132::i;:::-;9620:1582;;;;9434:1768;;;;;;:::o;12108:1207::-;12339:34;;-1:-1:-1;;;12339:34:43;;12349:23;;;;12339:34;;;6654:41:44;-1:-1:-1;;;;;;;;;;;250:64:5;12339:9:43;;6627:18:44;;12339:34:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12473:61:43;;;;;12647:25:44;;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;12441:11:43;;-1:-1:-1;686:42:43;;12620:18:44;;12473:61:43;;;;;;-1:-1:-1;;12473:61:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;12473:61:43;;;;;;12547:15;;-1:-1:-1;12547:15:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12536:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;12441:123;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12571:23;12597:28;12614:10;12597:16;:28::i;:::-;12571:54;;12631:17;12651:13;;;;;;;;;-1:-1:-1;;;;;12651:13:43;-1:-1:-1;;;;;12651:22:43;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12651:24:43;;;;;;;;;;;;:::i;:::-;12803:15;;;12816:1;12803:15;;;;;;;;;12631:44;;-1:-1:-1;12774:26:43;;12803:15;;;;;;;;;;;;;;;;;;;;;12774:44;;12840:13;;12824:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12824:13:43;;:10;;-1:-1:-1;12824:29:43;;-1:-1:-1;12824:13:43;;;-1:-1:-1;12824:13:43;;;;:::i;:::-;;;;;;:29;;;;12875:10;;12859:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12859:13:43;;:10;;-1:-1:-1;12870:1:43;;-1:-1:-1;12859:13:43;;;;;;:::i;:::-;;;;;;:26;;;;12907:5;;12891:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12891:13:43;;:10;;-1:-1:-1;12902:1:43;;-1:-1:-1;12891:13:43;;;;;;:::i;:::-;;;;;;;;;;:21;-1:-1:-1;;;;;;;;;;;12919:11:43;584:42;-1:-1:-1;;;13012:21:43;13022:10;13012:9;:21::i;:::-;12966:68;;;;;;12647:25:44;;12635:2;12620:18;;12501:177;12966:68:43;;;;-1:-1:-1;;12966:68:43;;;;;;;;;;;;;;;-1:-1:-1;;;;;12966:68:43;-1:-1:-1;;;;;;12966:68:43;;;;;;13061:15;;13042:36;;-1:-1:-1;;;;;13061:15:43;;;13042:36;;;4513:51:44;13042:36:43;;;;;;;;;;4486:18:44;;;13042:36:43;;;;12919:165;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13118:15:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;13091:11:43;;-1:-1:-1;;;;;;13118:15:43;-1:-1:-1;;;13194:21:43;13204:10;13194:9;:21::i;:::-;13217:3;13142:79;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;13142:79:43;;;;;;;;;;;;;;;-1:-1:-1;;;;;13142:79:43;-1:-1:-1;;;;;;13142:79:43;;;;;;;;;;13229:21;13142:79;;13229:21;;13240:9;;13229:21;;:::i;:::-;;;;;;;;;;;;;13091:165;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13272:13:43;;:33;;-1:-1:-1;;;13272:33:43;;;;;12647:25:44;;;13263:47:43;;-1:-1:-1;;;;;;13272:13:43;;;;-1:-1:-1;13272:22:43;;12620:18:44;;13272:33:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13272:33:43;;;;;;;;;;;;:::i;:::-;13263:47;;;;;;;;;;;;:8;:47::i;:::-;12333:982;;;12108:1207;;;;;;;;:::o;5980:947::-;6174:19;;-1:-1:-1;;;;;;;;;;;250:64:5;6157:9:43;;6174:24;;:57;;-1:-1:-1;6202:24:43;;:29;6174:57;:93;;;-1:-1:-1;6235:27:43;;:32;6174:93;6157:116;;;;;;;;;;;;;6679:14:44;6672:22;6654:41;;6642:2;6627:18;;6514:187;6157:116:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6301:10:43;;6329:12;;6349:50;;;;;;;;;;;;;;;-1:-1:-1;;;6349:50:43;;;;;;6301:10;6349:50;;;;6301:104;;-1:-1:-1;;;6301:104:43;;6280:18;;-1:-1:-1;;;;;;6301:10:43;;;;-1:-1:-1;6301:20:43;;:104;;6329:12;;6349:50;6301:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6533:15;;;6546:1;6533:15;;;;;;;;;6280:125;;-1:-1:-1;6504:26:43;;6533:15;;;;;;;;;;;;;;;;;;;;;6504:44;;6570:13;6554:10;6565:1;6554:13;;;;;;;;:::i;:::-;;;;;;:29;;;;6605:10;6589;6600:1;6589:13;;;;;;;;:::i;:::-;;;;;;:26;;;;6637:5;6621:10;6632:1;6621:13;;;;;;;;:::i;:::-;;;;;;;;;;:21;6658:12;;6649:22;;-1:-1:-1;;;6649:22:43;;-1:-1:-1;;;;;6658:12:43;;;6649:22;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;6649:8:43;;4486:18:44;;6649:22:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6693:44:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6693:44:43;-1:-1:-1;;;6693:44:43;;;6677:61;;-1:-1:-1;;;6677:61:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;6677:15:43;;-1:-1:-1;6677:61:43;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6744:13:43;;:56;;-1:-1:-1;;;6744:56:43;;-1:-1:-1;;;;;6744:13:43;;;;-1:-1:-1;6744:32:43;;-1:-1:-1;6744:56:43;;6777:10;;6789;;6744:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6864:13:43;;:40;;-1:-1:-1;;;6864:40:43;;;;;12647:25:44;;;6855:67:43;;-1:-1:-1;;;;;;6864:13:43;;;;-1:-1:-1;6864:28:43;;12620:18:44;;6864:40:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6864:40:43;;;;;;;;;;;;:::i;:::-;6906:15;;;6919:1;6906:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6855:8;:67::i;:::-;6151:776;;5980:947;;;:::o;11206:898::-;11425:34;;-1:-1:-1;;;11425:34:43;;11435:23;;;;11425:34;;;6654:41:44;-1:-1:-1;;;;;;;;;;;250:64:5;11425:9:43;;6627:18:44;;11425:34:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11559:61:43;;;;;12647:25:44;;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;11527:11:43;;-1:-1:-1;686:42:43;;12620:18:44;;11559:61:43;;;;;;-1:-1:-1;;11559:61:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;11559:61:43;;;;;;11633:15;;-1:-1:-1;11633:15:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11622:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;11527:123;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11749:26:43;;-1:-1:-1;11791:1:43;;-1:-1:-1;11778:15:43;;-1:-1:-1;11778:15:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11749:44;;11815:13;;11799:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11799:13:43;;:10;;-1:-1:-1;11799:29:43;;-1:-1:-1;11799:13:43;;;-1:-1:-1;11799:13:43;;;;:::i;:::-;;;;;;:29;;;;11850:10;;11834:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11834:13:43;;:10;;-1:-1:-1;11845:1:43;;-1:-1:-1;11834:13:43;;;;;;:::i;:::-;;;;;;:26;;;;11882:5;;11866:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11866:13:43;;:10;;-1:-1:-1;11877:1:43;;-1:-1:-1;11866:13:43;;;;;;:::i;:::-;;;;;;;;;;:21;-1:-1:-1;;;;;;;;;;;11894:11:43;584:42;-1:-1:-1;;;11987:21:43;11997:10;11987:9;:21::i;:::-;11941:68;;;;;;12647:25:44;;12635:2;12620:18;;12501:177;11941:68:43;;;;-1:-1:-1;;11941:68:43;;;;;;;;;;;;;;;-1:-1:-1;;;;;11941:68:43;-1:-1:-1;;;;;;11941:68:43;;;;;;12017:22;;-1:-1:-1;12017:22:43;;;4513:51:44;12017:22:43;;;;;;;;;;4486:18:44;;;12017:22:43;;;;11894:151;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12061:13:43;;:33;;-1:-1:-1;;;12061:33:43;;;;;12647:25:44;;;12052:47:43;;-1:-1:-1;;;;;;12061:13:43;;;;-1:-1:-1;12061:22:43;;12620:18:44;;12061:33:43;12501:177:44;12052:47:43;11419:685;11206:898;;;;;;;;:::o;8129:1301::-;-1:-1:-1;;;;;;;;;;;8309:9:43;8326:23;;;;;:55;;-1:-1:-1;8353:28:43;;;8326:55;:90;;;;-1:-1:-1;8385:31:43;;;8326:90;8309:113;;;;;;;;;;;;;6679:14:44;6672:22;6654:41;;6642:2;6627:18;;6514:187;8309:113:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8582:15:43;;;8595:1;8582:15;;;;;;;;;8449:5;;-1:-1:-1;8429:17:43;;-1:-1:-1;8582:15:43;;;;;;;;;;;;;;;;;;;;;8553:44;;8619:13;;8603:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8603:13:43;;:10;;-1:-1:-1;8603:29:43;;-1:-1:-1;8603:13:43;;;-1:-1:-1;8603:13:43;;;;:::i;:::-;;;;;;:29;;;;8654:10;;8638:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8638:13:43;;:10;;-1:-1:-1;8649:1:43;;-1:-1:-1;8638:13:43;;;;;;:::i;:::-;;;;;;:26;;;;8686:5;;8670:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8670:13:43;;:10;;-1:-1:-1;8681:1:43;;-1:-1:-1;8670:13:43;;;;;;:::i;:::-;;;;;;;;;;:21;8718:13;;:24;;;-1:-1:-1;;;8718:24:43;;;;8698:17;;-1:-1:-1;;;;;8718:13:43;;:22;;:24;;;;;8698:17;;8718:24;;;;;;;:13;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8718:24:43;;;;;;;;;;;;:::i;:::-;8698:44;-1:-1:-1;;;;;;;;;;;;8749:11:43;584:42;-1:-1:-1;;;8842:21:43;8852:10;8842:9;:21::i;:::-;8796:68;;;;;;12647:25:44;;12635:2;12620:18;;12501:177;8796:68:43;;;;-1:-1:-1;;8796:68:43;;;;;;;;;;;;;;;-1:-1:-1;;;;;8796:68:43;-1:-1:-1;;;;;;8796:68:43;;;;;;8891:15;;8872:36;;-1:-1:-1;;;;;8891:15:43;;;8872:36;;;4513:51:44;8872:36:43;;;;;;;;;;4486:18:44;;;8872:36:43;;;;8749:165;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8948:15:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;8921:11:43;;-1:-1:-1;;;;;;8948:15:43;-1:-1:-1;;;9024:21:43;9034:10;9024:9;:21::i;:::-;9047:3;8972:79;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;8972:79:43;;;;;;;;;;;;;;-1:-1:-1;;;;;8972:79:43;-1:-1:-1;;;;;;8972:79:43;;;;;;;;;;9070:27;9087:9;9070:16;:27::i;:::-;9059:39;;;;;;;;:::i;:::-;;;;;;;;;;;;;8921:183;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9219:61:43;;;;;12647:25:44;;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;9187:11:43;;-1:-1:-1;686:42:43;;12620:18:44;;9219:61:43;;;-1:-1:-1;;9219:61:43;;;;;;;;;;;;;;;-1:-1:-1;;;;;9219:61:43;-1:-1:-1;;;9219:61:43;;;9282:22;;;;9293:10;;9282:22;;:::i;:::-;;;;;;;;;;;;;9187:118;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9321:13:43;;:33;;-1:-1:-1;;;9321:33:43;;;;;12647:25:44;;;9312:113:43;;-1:-1:-1;;;;;;9321:13:43;;;;-1:-1:-1;9321:22:43;;12620:18:44;;9321:33:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9321:33:43;;;;;;;;;;;;:::i;:::-;9380:5;;9392:10;;9409:13;;9363:60;;;;;;;;;;;;;:::i;1872:701::-;1984:35;;-1:-1:-1;;;1984:35:43;;1994:24;;;1984:35;;;6654:41:44;-1:-1:-1;;;;;;;;;;;250:64:5;1984:9:43;;6627:18:44;;1984:35:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2047:10:43;;2075:12;;2095:50;;;;;;;;;;;;;;;-1:-1:-1;;;2095:50:43;;;;;;2047:10;2095:50;;;;2047:104;;-1:-1:-1;;;2047:104:43;;2026:18;;-1:-1:-1;;;;;;2047:10:43;;;;-1:-1:-1;2047:20:43;;:104;;2075:12;;2095:50;2047:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2187:15;;;2200:1;2187:15;;;;;;;;;2026:125;;-1:-1:-1;2158:26:43;;2187:15;;;;;;;;;;;;;;;;;;;;;2158:44;;2224:5;;2208:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2208:13:43;;:10;;-1:-1:-1;2208:21:43;;-1:-1:-1;2208:13:43;;;-1:-1:-1;2208:13:43;;;;:::i;:::-;;;;;;;;;;:21;2266:37;;-1:-1:-1;;;2266:37:43;;2280:4;2266:37;;;16601:41:44;;;16658:18;;;16651:50;;;16717:18;;;16710:50;;;16776:18;;;16769:50;-1:-1:-1;;;;;;;;;;;250:64:5;2266:13:43;;16573:19:44;;2266:37:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2342:5;;2314:60;;;;;;;:::i;:::-;;;;;;;;;2361:12;;2314:60;;2330:10;;2314:60;;;;2349:10;;-1:-1:-1;;;;;2361:12:43;;;;2314:60;:::i;:::-;;;;;;;;2390:12;;2381:22;;-1:-1:-1;;;2381:22:43;;-1:-1:-1;;;;;2390:12:43;;;2381:22;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;2381:8:43;;4486:18:44;;2381:22:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2409:13:43;;:56;;-1:-1:-1;;;2409:56:43;;-1:-1:-1;;;;;2409:13:43;;;;-1:-1:-1;2409:32:43;;-1:-1:-1;2409:56:43;;2442:10;;2454;;2409:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2515:13:43;;:40;;-1:-1:-1;;;2515:40:43;;;;;12647:25:44;;;2506:62:43;;-1:-1:-1;;;;;;2515:13:43;;;;-1:-1:-1;2515:28:43;;12620:18:44;;2515:40:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2515:40:43;;;;;;;;;;;;:::i;:::-;2557:10;2506:8;:62::i;:::-;1978:595;;1872:701;;:::o;2577:1019::-;2702:35;;-1:-1:-1;;;2702:35:43;;2712:24;;;2702:35;;;6654:41:44;-1:-1:-1;;;;;;;;;;;250:64:5;2702:9:43;;6627:18:44;;2702:35:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2765:10:43;;2793:12;;2813:50;;;;;;;;;;;;;;;-1:-1:-1;;;2813:50:43;;;;;;2765:10;2813:50;;;;2765:104;;-1:-1:-1;;;2765:104:43;;2744:18;;-1:-1:-1;;;;;;2765:10:43;;;;-1:-1:-1;2765:20:43;;:104;;2793:12;;2813:50;2765:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2964:16;;;2978:1;2964:16;;;;;;;;;2744:125;;-1:-1:-1;2927:34:43;;2964:16;;;;;;;;;;;;-1:-1:-1;2964:16:43;2927:53;;127:2:2;2986:17:43;3004:1;2986:20;;;;;;;;:::i;:::-;;;;;;;;;;:53;3055:12;;3046:22;;-1:-1:-1;;;3046:22:43;;-1:-1:-1;;;;;3055:12:43;;;3046:22;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;3046:8:43;;4486:18:44;;3046:22:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3074:15:43;;3109:83;;;;;;;;-1:-1:-1;;;;;3109:83:43;;;;;3074:15;3109:83;;;;;;;;;;3074:124;;-1:-1:-1;;;3074:124:43;;:15;;;;;-1:-1:-1;3074:27:43;;-1:-1:-1;3074:124:43;;3109:83;3074:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3205:26:43;;-1:-1:-1;3247:1:43;;-1:-1:-1;3234:15:43;;-1:-1:-1;3234:15:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3205:44;;3271:5;;3255:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3255:13:43;;:10;;-1:-1:-1;3255:21:43;;-1:-1:-1;3255:13:43;;;-1:-1:-1;3255:13:43;;;;:::i;:::-;;;;;;;;;;:21;3301:37;;-1:-1:-1;;;3301:37:43;;3315:4;3301:37;;;16601:41:44;;;16658:18;;;16651:50;;;16717:18;;;16710:50;;;16776:18;;;16769:50;-1:-1:-1;;;;;;;;;;;250:64:5;3301:13:43;;16573:19:44;;3301:37:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3377:5;;3349:54;;;;;;;:::i;:::-;;;;;;;;3365:10;3349:54;3384:10;3396:6;3349:54;;;;;;;:::i;:::-;;;;;;;;3410:16;;-1:-1:-1;;;3410:16:43;;-1:-1:-1;;;;;4531:32:44;;3410:16:43;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;3410:8:43;;4486:18:44;;3410:16:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3432:13:43;;:56;;-1:-1:-1;;;3432:56:43;;-1:-1:-1;;;;;3432:13:43;;;;-1:-1:-1;3432:32:43;;-1:-1:-1;3432:56:43;;3465:10;;3477;;3432:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3538:13:43;;:40;;-1:-1:-1;;;3538:40:43;;;;;12647:25:44;;;3529:62:43;;-1:-1:-1;;;;;;3538:13:43;;;;-1:-1:-1;3538:28:43;;12620:18:44;;3538:40:43;12501:177:44;3529:62:43;2696:900;;;2577:1019;;;:::o;3600:1108::-;3792:19;;-1:-1:-1;;;;;;;;;;;250:64:5;3775:9:43;;3792:23;;;;:55;;;3846:1;3825:10;3819:24;:28;3792:55;:90;;;;;3881:1;3857:13;3851:27;:31;3792:90;3775:113;;;;;;;;;;;;;6679:14:44;6672:22;6654:41;;6642:2;6627:18;;6514:187;3775:113:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3916:10:43;;3944:12;;3964:50;;;;;;;;;;;;;;;-1:-1:-1;;;3964:50:43;;;;;;3916:10;3964:50;;;;3916:104;;-1:-1:-1;;;3916:104:43;;3895:18;;-1:-1:-1;;;;;;3916:10:43;;;;-1:-1:-1;3916:20:43;;:104;;3944:12;;3964:50;3916:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4148:15;;;4161:1;4148:15;;;;;;;;;3895:125;;-1:-1:-1;4119:26:43;;4148:15;;;;;;;;;;;;;;;;;;;;;4119:44;;4185:13;4169:10;4180:1;4169:13;;;;;;;;:::i;:::-;;;;;;:29;;;;4220:10;4204;4215:1;4204:13;;;;;;;;:::i;:::-;;;;;;:26;;;;4252:5;4236:10;4247:1;4236:13;;;;;;;;:::i;:::-;;;;;;:21;;;;4264:23;4314:5;4326:10;4343:13;4297:60;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;4297:60:43;;;;;;;-1:-1:-1;;;4383:37:43;;4397:4;4383:37;;;16601:41:44;;;16658:18;;;16651:50;;;16717:18;;;16710:50;;;16776:18;;;16769:50;4297:60:43;-1:-1:-1;;;;;;;;;;;;250:64:5;4383:13:43;;16573:19:44;;4383:37:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4459:9;4431:64;;;;;;:::i;:::-;;;;;;;;;4482:12;;4431:64;;4447:10;;4431:64;;;;4470:10;;-1:-1:-1;;;;;4482:12:43;;;;4431:64;:::i;:::-;;;;;;;;4511:12;;4502:22;;-1:-1:-1;;;4502:22:43;;-1:-1:-1;;;;;4511:12:43;;;4502:22;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;4502:8:43;;4486:18:44;;4502:22:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4530:13:43;;:56;;-1:-1:-1;;;4530:56:43;;-1:-1:-1;;;;;4530:13:43;;;;-1:-1:-1;4530:32:43;;-1:-1:-1;4530:56:43;;4563:10;;4575;;4530:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4650:13:43;;:40;;-1:-1:-1;;;4650:40:43;;;;;12647:25:44;;;4641:62:43;;-1:-1:-1;;;;;;4650:13:43;;;;-1:-1:-1;4650:28:43;;12620:18:44;;4650:40:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4650:40:43;;;;;;;;;;;;:::i;:::-;4692:10;4641:8;:62::i;7788:337::-;7975:61;;;;;12647:25:44;;;-1:-1:-1;;;;;;;;;;;250:64:5;7943:11:43;;686:42;;12620:18:44;;7975:61:43;;;;;;-1:-1:-1;;7975:61:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;7975:61:43;;;;;;8049:15;;-1:-1:-1;8049:15:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8038:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;7943:123;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8082:13:43;;:33;;-1:-1:-1;;;8082:33:43;;;;;12647:25:44;;;8073:47:43;;-1:-1:-1;;;;;;8082:13:43;;;;-1:-1:-1;8082:22:43;;12620:18:44;;8082:33:43;12501:177:44;8073:47:43;7788:337;:::o;13319:1303::-;-1:-1:-1;;;;;;;;;;;13491:9:43;13508:23;;;;;:55;;-1:-1:-1;13535:28:43;;;13508:55;:90;;;;-1:-1:-1;13567:31:43;;;13508:90;13491:113;;;;;;;;;;;;;6679:14:44;6672:22;6654:41;;6642:2;6627:18;;6514:187;13491:113:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13632:10:43;;13660:12;;13680:50;;;;;;;;;;;;;;;-1:-1:-1;;;13680:50:43;;;;;;13632:10;13680:50;;;;13632:104;;-1:-1:-1;;;13632:104:43;;13611:18;;-1:-1:-1;;;;;;13632:10:43;;;;-1:-1:-1;13632:20:43;;:104;;13660:12;;13680:50;13632:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13611:125;;13743:17;13763:13;;;;;;;;;-1:-1:-1;;;;;13763:13:43;-1:-1:-1;;;;;13763:22:43;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13763:24:43;;;;;;;;;;;;:::i;:::-;13915:15;;;13928:1;13915:15;;;;;;;;;13743:44;;-1:-1:-1;13886:26:43;;13915:15;;;;;;;;;;;;;;;;;;;;;13886:44;;13952:13;;13936:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13936:13:43;;:10;;-1:-1:-1;13936:29:43;;-1:-1:-1;13936:13:43;;;-1:-1:-1;13936:13:43;;;;:::i;:::-;;;;;;:29;;;;13987:10;;13971:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13971:13:43;;:10;;-1:-1:-1;13982:1:43;;-1:-1:-1;13971:13:43;;;;;;:::i;:::-;;;;;;:26;;;;14019:5;;14003:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14003:13:43;;:10;;-1:-1:-1;14014:1:43;;-1:-1:-1;14003:13:43;;;;;;:::i;:::-;;;;;;;;;;:21;14040:12;;14031:22;;-1:-1:-1;;;14031:22:43;;-1:-1:-1;;;;;14040:12:43;;;14031:22;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;14031:8:43;;4486:18:44;;14031:22:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14059:13:43;;:56;;-1:-1:-1;;;14059:56:43;;-1:-1:-1;;;;;14059:13:43;;;;-1:-1:-1;14059:32:43;;-1:-1:-1;14059:56:43;;14092:10;;14104;;14059:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;250:64:5;-1:-1:-1;14122:11:43;;-1:-1:-1;584:42:43;;-1:-1:-1;;;;14215:21:43;14225:10;14215:9;:21::i;:::-;14169:68;;;;;;12647:25:44;;12635:2;12620:18;;12501:177;14169:68:43;;;;-1:-1:-1;;14169:68:43;;;;;;;;;;;;;;;-1:-1:-1;;;;;14169:68:43;-1:-1:-1;;;;;;14169:68:43;;;;;;14264:15;;14245:36;;-1:-1:-1;;;;;14264:15:43;;;14245:36;;;4513:51:44;14245:36:43;;;;;;;;;;4486:18:44;;;14245:36:43;;;;14122:165;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14321:15:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;14294:11:43;;-1:-1:-1;;;;;;14321:15:43;-1:-1:-1;;;14397:21:43;14407:10;14397:9;:21::i;:::-;14420:3;14345:79;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;14345:79:43;;;;;;;;;;;;;;-1:-1:-1;;;;;14345:79:43;-1:-1:-1;;;;;;14345:79:43;;;;;;;;;;14443:28;14460:10;14443:16;:28::i;:::-;14432:40;;;;;;;;:::i;4712:1264::-;-1:-1:-1;;;;;;;;;;;4856:9:43;-1:-1:-1;;;;;4866:52:43;;127:2:2;4866:52:43;;;;:80;;;4943:3;4922:18;-1:-1:-1;;;;;4922:24:43;;4866:80;4856:91;;;;;;;;;;;;;6679:14:44;6672:22;6654:41;;6642:2;6627:18;;6514:187;4856:91:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4973:12:43;;4953:33;;-1:-1:-1;;;4953:33:43;;-1:-1:-1;;;;;4963:22:43;;;4973:12;;4963:22;;;;;4953:33;;;6654:41:44;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;4953:9:43;;-1:-1:-1;6627:18:44;;4953:33:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5013:10:43;;5041:12;;5061:50;;;;;;;;;;;;;;;-1:-1:-1;;;5061:50:43;;;;;;5013:10;5061:50;;;;5013:104;;-1:-1:-1;;;5013:104:43;;4992:18;;-1:-1:-1;;;;;;5013:10:43;;;;-1:-1:-1;5013:20:43;;:104;;5041:12;;5061:50;5013:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5153:15;;;5166:1;5153:15;;;;;;;;;4992:125;;-1:-1:-1;5124:26:43;;5153:15;;;;;;;;;;;;;;;;;;;;;5124:44;;5190:5;;5174:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5174:13:43;;:10;;-1:-1:-1;5174:21:43;;-1:-1:-1;5174:13:43;;;-1:-1:-1;5174:13:43;;;;:::i;:::-;;;;;;;;;;:21;5250:16;;-1:-1:-1;;;5250:16:43;;-1:-1:-1;;;;;4531:32:44;;5250:16:43;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;5250:8:43;;4486:18:44;;5250:16:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5288:41:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5288:41:43;-1:-1:-1;;;5288:41:43;;;5272:58;;-1:-1:-1;;;5272:58:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;5272:15:43;;-1:-1:-1;5272:58:43;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5336:13:43;;:56;;-1:-1:-1;;;5336:56:43;;-1:-1:-1;;;;;5336:13:43;;;;-1:-1:-1;5336:32:43;;-1:-1:-1;5336:56:43;;5369:10;;5381;;5336:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5454:34:43;;-1:-1:-1;5505:1:43;;-1:-1:-1;5491:16:43;;-1:-1:-1;5491:16:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5491:16:43;;5454:53;;5536:18;-1:-1:-1;;;;;5513:41:43;:17;5531:1;5513:20;;;;;;;;:::i;:::-;;;;;;;;;;:41;5570:12;;5561:22;;-1:-1:-1;;;5561:22:43;;-1:-1:-1;;;;;5570:12:43;;;5561:22;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;5561:8:43;;4486:18:44;;5561:22:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5589:15:43;;5624:83;;;;;;;;-1:-1:-1;;;;;5624:83:43;;;;;5589:15;5624:83;;;;;;;;;;5589:124;;-1:-1:-1;;;5589:124:43;;:15;;;;;-1:-1:-1;5589:27:43;;-1:-1:-1;5589:124:43;;5624:83;5589:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5720:16:43;;-1:-1:-1;;;5720:16:43;;-1:-1:-1;;;;;4531:32:44;;5720:16:43;;;4513:51:44;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;5720:8:43;;-1:-1:-1;4486:18:44;;5720:16:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5758:41:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5758:41:43;-1:-1:-1;;;5758:41:43;;;5742:58;;-1:-1:-1;;;5742:58:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;5742:15:43;;-1:-1:-1;5742:58:43;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5806:13:43;;:56;;-1:-1:-1;;;5806:56:43;;-1:-1:-1;;;;;5806:13:43;;;;-1:-1:-1;5806:32:43;;-1:-1:-1;5806:56:43;;5839:10;;5851;;5806:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5913:13:43;;:40;;-1:-1:-1;;;5913:40:43;;;;;12647:25:44;;;5904:67:43;;-1:-1:-1;;;;;;5913:13:43;;;;-1:-1:-1;5913:28:43;;12620:18:44;;5913:40:43;12501:177:44;5904:67:43;4850:1126;;;4712:1264;;;;:::o;1819:584:4:-;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:4;;;;;;;;1819:584::o;1869:528::-;1941:17;-1:-1:-1;;;;;;;;;;;2978:55:4;3059:16;1980:374;;2196:43;;;-1:-1:-1;;;;;;;;;;;2196:43:4;;;19858:51:44;;;-1:-1:-1;;;19925:18:44;;;19918:34;2196:43:4;;;;;;;;;19831:18:44;;;2196:43:4;;;-1:-1:-1;;1671:64:4;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:4;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:4:o;6931:624:43:-;7030:10;;7058:12;;7078:50;;;;;;;;;;;;;;;-1:-1:-1;;;7078:50:43;;;;;;7030:10;7078:50;;;;7030:104;;-1:-1:-1;;;7030:104:43;;-1:-1:-1;;;;;;;7030:10:43;;;;:20;;:104;;7058:12;;;;;7030:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7262:15;;;7233:26;7262:15;;;;;;;;;7009:125;;-1:-1:-1;7233:26:43;;7262:15;;;;;;;;;;;;;;;;;;;-1:-1:-1;7293:12:43;;7284:22;;-1:-1:-1;;;7284:22:43;;-1:-1:-1;;;;;7293:12:43;;;7284:22;;;4513:51:44;7233:44:43;;-1:-1:-1;;;;;;;;;;;;250:64:5;7284:8:43;;4486:18:44;;7284:22:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7328:37:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7328:37:43;-1:-1:-1;;;7328:37:43;;;7312:54;;-1:-1:-1;;;7312:54:43;;-1:-1:-1;;;;;;;;;;;250:64:5;-1:-1:-1;7312:15:43;;-1:-1:-1;7312:54:43;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7372:13:43;;:56;;-1:-1:-1;;;7372:56:43;;-1:-1:-1;;;;;7372:13:43;;;;-1:-1:-1;7372:32:43;;-1:-1:-1;7372:56:43;;7405:10;;7417;;7372:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7492:13:43;;:40;;-1:-1:-1;;;7492:40:43;;;;;12647:25:44;;;7483:67:43;;-1:-1:-1;;;;;;7492:13:43;;;;-1:-1:-1;7492:28:43;;12620:18:44;;7492:40:43;12501:177:44;7483:67:43;7003:552;;6931:624::o;15154:508::-;15222:16;15284:8;15304:23;;;;;;-1:-1:-1;;;21128:18:44;;21171:1;21162:11;;20926:253;15304:23:43;;;;;;;;;;;;;15294:34;;;;;;15267:62;;;;;;;;21341:19:44;;;21385:2;21376:12;;21369:28;21422:2;21413:12;;21184:247;15267:62:43;;;;;;;;;;;;;15257:73;;;;;;15246:84;;15404:19;15426:8;:15;15404:37;;15476:10;15471:187;15497:11;15492:2;:16;15471:187;;;15558:8;15595;15604:2;15595:12;;;;;;;;:::i;:::-;;;;;;;15578:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;15568:41;;;;;;15541:69;;;;;;;;21341:19:44;;;21385:2;21376:12;;21369:28;21422:2;21413:12;;21184:247;15541:69:43;;;;-1:-1:-1;;15541:69:43;;;;;;;;;15531:80;;15541:69;15531:80;;;;;-1:-1:-1;15639:4:43;;15471:187;;;;15240:422;15154:508;;;:::o;328:703:36:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:36;;;;;;;;;;;;-1:-1:-1;;;627:10:36;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:36;;-1:-1:-1;773:2:36;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:36;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:36;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:36;;;;;;;;-1:-1:-1;972:11:36;981:2;972:11;;:::i;:::-;;;844:150;;;1017:6;328:703;-1:-1:-1;;;;328:703:36:o;14688:344:4:-;14824:1;14807:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;14797:30;;;;;;14790:1;14773:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;14763:30;;;;;;:64;14759:267;;14848:43;;;;;22547:2:44;22529:21;;;22586:2;22566:18;;;22559:30;22625:34;22620:2;22605:18;;22598:62;-1:-1:-1;;;22691:2:44;22676:18;;22669:34;22735:3;22720:19;;22345:400;14848:43:4;;;;;;;;14910:33;14941:1;14910:33;;;;;;:::i;:::-;;;;;;;;14962;14993:1;14962:33;;;;;;:::i;:::-;;;;;;;;15009:6;:4;:6::i;14900:250:43:-;14982:39;14991:6;:13;15006:7;:14;14982:8;:39::i;:::-;15032:10;15027:118;15049:6;:13;15044:2;:18;15027:118;;;15076:69;15101:6;15108:2;15101:10;;;;;;;;:::i;:::-;;;;;;;15085:28;;;;;;15131:7;15139:2;15131:11;;;;;;;;:::i;:::-;;;;;;;15115:29;;;;;;15076:8;:69::i;:::-;15064:4;;15027:118;;;;14900:250;;:::o;2410:424:4:-;-1:-1:-1;;;;;;;;;;;2978:55:4;3059:16;2445:359;;2645:67;;;-1:-1:-1;;;;;;;;;;;2645:67:4;;;24170:51:44;;;-1:-1:-1;;;24237:18:44;;;24230:34;;;;2705:4:4;24280:18:44;;;24273:34;2482:11:4;;1671:64;2579:43;;24143:18:44;;2645:67:4;;;-1:-1:-1;;2645:67:4;;;;;;;;;;2534:196;;;2645:67;2534:196;;:::i;:::-;;;;-1:-1:-1;;2534:196:4;;;;;;;;;;2499:245;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2445:359:4;2813:7;:14;;-1:-1:-1;;2813:14:4;;;;;2410:424::o;5202:262::-;5264:1;5259;:6;5255:203;;5286:41;;;;;24520:2:44;24502:21;;;24559:2;24539:18;;;24532:30;24598:34;24593:2;24578:18;;24571:62;-1:-1:-1;;;24664:2:44;24649:18;;24642:32;24706:3;24691:19;;24318:398;5286:41:4;;;;;;;;5346:31;5375:1;5346:31;;;;;;:::i;:::-;;;;;;;;5396;5425:1;5396:31;;;;;;:::i;4088:277::-;4156:1;4151;:6;4147:212;;4178:44;;;;;25629:2:44;25611:21;;;25668:2;25648:18;;;25641:30;25707:34;25702:2;25687:18;;25680:62;-1:-1:-1;;;25773:2:44;25758:18;;25751:35;25818:3;25803:19;;25427:401;4178:44:4;;;;;;;;4241:34;4273:1;4241:34;;;;;;:::i;:::-;;;;;;;;4294;4326:1;4294:34;;;;;;:::i;-1:-1:-1:-;;;;;;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;:::o;14:348:44:-;66:8;76:6;130:3;123:4;115:6;111:17;107:27;97:55;;148:1;145;138:12;97:55;-1:-1:-1;171:20:44;;214:18;203:30;;200:50;;;246:1;243;236:12;200:50;283:4;275:6;271:17;259:29;;335:3;328:4;319:6;311;307:19;303:30;300:39;297:59;;;352:1;349;342:12;297:59;14:348;;;;;:::o;367:1010::-;480:6;488;496;504;512;520;573:2;561:9;552:7;548:23;544:32;541:52;;;589:1;586;579:12;541:52;629:9;616:23;658:18;699:2;691:6;688:14;685:34;;;715:1;712;705:12;685:34;754:59;805:7;796:6;785:9;781:22;754:59;:::i;:::-;832:8;;-1:-1:-1;728:85:44;-1:-1:-1;920:2:44;905:18;;892:32;;-1:-1:-1;936:16:44;;;933:36;;;965:1;962;955:12;933:36;1004:61;1057:7;1046:8;1035:9;1031:24;1004:61;:::i;:::-;1084:8;;-1:-1:-1;978:87:44;-1:-1:-1;1172:2:44;1157:18;;1144:32;;-1:-1:-1;1188:16:44;;;1185:36;;;1217:1;1214;1207:12;1185:36;;1256:61;1309:7;1298:8;1287:9;1283:24;1256:61;:::i;:::-;367:1010;;;;-1:-1:-1;367:1010:44;;-1:-1:-1;367:1010:44;;1336:8;;367:1010;-1:-1:-1;;;367:1010:44:o;1382:1148::-;1513:6;1521;1529;1537;1545;1553;1561;1569;1622:3;1610:9;1601:7;1597:23;1593:33;1590:53;;;1639:1;1636;1629:12;1590:53;1675:9;1662:23;1652:33;;1732:2;1721:9;1717:18;1704:32;1694:42;;1787:2;1776:9;1772:18;1759:32;1810:18;1851:2;1843:6;1840:14;1837:34;;;1867:1;1864;1857:12;1837:34;1906:59;1957:7;1948:6;1937:9;1933:22;1906:59;:::i;:::-;1984:8;;-1:-1:-1;1880:85:44;-1:-1:-1;2072:2:44;2057:18;;2044:32;;-1:-1:-1;2088:16:44;;;2085:36;;;2117:1;2114;2107:12;2085:36;2156:61;2209:7;2198:8;2187:9;2183:24;2156:61;:::i;:::-;2236:8;;-1:-1:-1;2130:87:44;-1:-1:-1;2324:3:44;2309:19;;2296:33;;-1:-1:-1;2341:16:44;;;2338:36;;;2370:1;2367;2360:12;2338:36;;2409:61;2462:7;2451:8;2440:9;2436:24;2409:61;:::i;:::-;1382:1148;;;;-1:-1:-1;1382:1148:44;;-1:-1:-1;1382:1148:44;;;;;;2489:8;-1:-1:-1;;;1382:1148:44:o;2535:127::-;2596:10;2591:3;2587:20;2584:1;2577:31;2627:4;2624:1;2617:15;2651:4;2648:1;2641:15;2667:275;2738:2;2732:9;2803:2;2784:13;;-1:-1:-1;;2780:27:44;2768:40;;2838:18;2823:34;;2859:22;;;2820:62;2817:88;;;2885:18;;:::i;:::-;2921:2;2914:22;2667:275;;-1:-1:-1;2667:275:44:o;2947:187::-;2996:4;3029:18;3021:6;3018:30;3015:56;;;3051:18;;:::i;:::-;-1:-1:-1;3117:2:44;3096:15;-1:-1:-1;;3092:29:44;3123:4;3088:40;;2947:187::o;3139:464::-;3182:5;3235:3;3228:4;3220:6;3216:17;3212:27;3202:55;;3253:1;3250;3243:12;3202:55;3289:6;3276:20;3320:49;3336:32;3365:2;3336:32;:::i;:::-;3320:49;:::i;:::-;3394:2;3385:7;3378:19;3440:3;3433:4;3428:2;3420:6;3416:15;3412:26;3409:35;3406:55;;;3457:1;3454;3447:12;3406:55;3522:2;3515:4;3507:6;3503:17;3496:4;3487:7;3483:18;3470:55;3570:1;3545:16;;;3563:4;3541:27;3534:38;;;;3549:7;3139:464;-1:-1:-1;;;3139:464:44:o;3608:743::-;3715:6;3723;3731;3784:2;3772:9;3763:7;3759:23;3755:32;3752:52;;;3800:1;3797;3790:12;3752:52;3840:9;3827:23;3869:18;3910:2;3902:6;3899:14;3896:34;;;3926:1;3923;3916:12;3896:34;3949:50;3991:7;3982:6;3971:9;3967:22;3949:50;:::i;:::-;3939:60;;4052:2;4041:9;4037:18;4024:32;4008:48;;4081:2;4071:8;4068:16;4065:36;;;4097:1;4094;4087:12;4065:36;4120:52;4164:7;4153:8;4142:9;4138:24;4120:52;:::i;:::-;4110:62;;4225:2;4214:9;4210:18;4197:32;4181:48;;4254:2;4244:8;4241:16;4238:36;;;4270:1;4267;4260:12;4238:36;;4293:52;4337:7;4326:8;4315:9;4311:24;4293:52;:::i;:::-;4283:62;;;3608:743;;;;;:::o;4575:411::-;4646:6;4654;4707:2;4695:9;4686:7;4682:23;4678:32;4675:52;;;4723:1;4720;4713:12;4675:52;4763:9;4750:23;4796:18;4788:6;4785:30;4782:50;;;4828:1;4825;4818:12;4782:50;4867:59;4918:7;4909:6;4898:9;4894:22;4867:59;:::i;:::-;4945:8;;4841:85;;-1:-1:-1;4575:411:44;-1:-1:-1;;;;4575:411:44:o;4991:173::-;5059:20;;-1:-1:-1;;;;;5108:31:44;;5098:42;;5088:70;;5154:1;5151;5144:12;5169:485;5249:6;5257;5265;5318:2;5306:9;5297:7;5293:23;5289:32;5286:52;;;5334:1;5331;5324:12;5286:52;5357:29;5376:9;5357:29;:::i;:::-;5347:39;;5437:2;5426:9;5422:18;5409:32;5464:18;5456:6;5453:30;5450:50;;;5496:1;5493;5486:12;5450:50;5535:59;5586:7;5577:6;5566:9;5562:22;5535:59;:::i;:::-;5169:485;;5613:8;;-1:-1:-1;5509:85:44;;-1:-1:-1;;;;5169:485:44:o;5659:180::-;5718:6;5771:2;5759:9;5750:7;5746:23;5742:32;5739:52;;;5787:1;5784;5777:12;5739:52;-1:-1:-1;5810:23:44;;5659:180;-1:-1:-1;5659:180:44:o;5844:665::-;5932:6;5940;5948;5956;6009:2;5997:9;5988:7;5984:23;5980:32;5977:52;;;6025:1;6022;6015:12;5977:52;6064:9;6051:23;-1:-1:-1;;;;;6107:5:44;6103:38;6096:5;6093:49;6083:77;;6156:1;6153;6146:12;6083:77;6179:5;-1:-1:-1;6203:38:44;6237:2;6222:18;;6203:38;:::i;:::-;6193:48;;6292:2;6281:9;6277:18;6264:32;6319:18;6311:6;6308:30;6305:50;;;6351:1;6348;6341:12;6305:50;6390:59;6441:7;6432:6;6421:9;6417:22;6390:59;:::i;:::-;5844:665;;;;-1:-1:-1;6468:8:44;-1:-1:-1;;;;5844:665:44:o;6706:424::-;-1:-1:-1;;;;;6935:32:44;;;;6917:51;;7004:2;6999;6984:18;;6977:30;;;7043:1;7023:18;;;7016:29;-1:-1:-1;;;7076:2:44;7061:18;;7054:34;7120:3;7105:19;;6706:424::o;9142:250::-;9227:1;9237:113;9251:6;9248:1;9245:13;9237:113;;;9327:11;;;9321:18;9308:11;;;9301:39;9273:2;9266:10;9237:113;;;-1:-1:-1;;9384:1:44;9366:16;;9359:27;9142:250::o;9397:271::-;9439:3;9477:5;9471:12;9504:6;9499:3;9492:19;9520:76;9589:6;9582:4;9577:3;9573:14;9566:4;9559:5;9555:16;9520:76;:::i;:::-;9650:2;9629:15;-1:-1:-1;;9625:29:44;9616:39;;;;9657:4;9612:50;;9397:271;-1:-1:-1;;9397:271:44:o;9673:545::-;9931:1;9927;9922:3;9918:11;9914:19;9906:6;9902:32;9891:9;9884:51;9971:2;9966;9955:9;9951:18;9944:30;9865:4;10009:6;10003:13;10052:2;10047;10036:9;10032:18;10025:30;10078:52;10125:3;10114:9;10110:19;10096:12;10078:52;:::i;:::-;10064:66;;10184:2;10176:6;10172:15;10166:22;10161:2;10150:9;10146:18;10139:50;10206:6;10198:14;;;9673:545;;;;;:::o;10223:184::-;10293:6;10346:2;10334:9;10325:7;10321:23;10317:32;10314:52;;;10362:1;10359;10352:12;10314:52;-1:-1:-1;10385:16:44;;10223:184;-1:-1:-1;10223:184:44:o;10412:443::-;10466:5;10519:3;10512:4;10504:6;10500:17;10496:27;10486:55;;10537:1;10534;10527:12;10486:55;10566:6;10560:13;10597:49;10613:32;10642:2;10613:32;:::i;10597:49::-;10671:2;10662:7;10655:19;10717:3;10710:4;10705:2;10697:6;10693:15;10689:26;10686:35;10683:55;;;10734:1;10731;10724:12;10683:55;10747:77;10821:2;10814:4;10805:7;10801:18;10794:4;10786:6;10782:17;10747:77;:::i;10860:337::-;10940:6;10993:2;10981:9;10972:7;10968:23;10964:32;10961:52;;;11009:1;11006;10999:12;10961:52;11042:9;11036:16;11075:18;11067:6;11064:30;11061:50;;;11107:1;11104;11097:12;11061:50;11130:61;11183:7;11174:6;11163:9;11159:22;11130:61;:::i;11202:127::-;11263:10;11258:3;11254:20;11251:1;11244:31;11294:4;11291:1;11284:15;11318:4;11315:1;11308:15;11542:598;11594:3;11625;11657:5;11651:12;11684:6;11679:3;11672:19;11710:4;11739;11734:3;11730:14;11723:21;;11797:4;11787:6;11784:1;11780:14;11773:5;11769:26;11765:37;11836:4;11829:5;11825:16;11859:1;11869:245;11883:6;11880:1;11877:13;11869:245;;;11970:2;11966:7;11958:5;11952:4;11948:16;11944:30;11939:3;11932:43;11996:38;12029:4;12020:6;12014:13;11996:38;:::i;:::-;12092:12;;;;11988:46;-1:-1:-1;12057:15:44;;;;11905:1;11898:9;11869:245;;;-1:-1:-1;12130:4:44;;11542:598;-1:-1:-1;;;;;;;11542:598:44:o;12145:351::-;12372:6;12361:9;12354:25;12415:2;12410;12399:9;12395:18;12388:30;12335:4;12435:55;12486:2;12475:9;12471:18;12463:6;12435:55;:::i;12683:476::-;-1:-1:-1;;;;;12904:32:44;;12886:51;;12973:2;12968;12953:18;;12946:30;;;-1:-1:-1;;12999:45:44;;13025:18;;13017:6;12999:45;:::i;:::-;13092:9;13084:6;13080:22;13075:2;13064:9;13060:18;13053:50;13120:33;13146:6;13138;13120:33;:::i;:::-;13112:41;12683:476;-1:-1:-1;;;;;;12683:476:44:o;13164:291::-;13341:6;13330:9;13323:25;13384:2;13379;13368:9;13364:18;13357:30;13304:4;13404:45;13445:2;13434:9;13430:18;13422:6;13404:45;:::i;13460:220::-;13609:2;13598:9;13591:21;13572:4;13629:45;13670:2;13659:9;13655:18;13647:6;13629:45;:::i;:::-;13621:53;13460:220;-1:-1:-1;;;13460:220:44:o;13867:280::-;14066:2;14055:9;14048:21;14029:4;14086:55;14137:2;14126:9;14122:18;14114:6;14086:55;:::i;14152:841::-;14655:6;14647;14642:3;14629:33;14611:3;14690:6;14685:3;14681:16;-1:-1:-1;;;14739:2:44;14735;14728:14;14784:6;14776;14772:1;14768:2;14764:10;14751:40;14849:1;14810:15;;;14841:10;;;14834:22;14898:6;14890;14886:1;14878:10;;14865:40;14967:1;14928:15;;14945:1;14924:23;14956:13;;;-1:-1:-1;14924:23:44;;14152:841;-1:-1:-1;;;;;;14152:841:44:o;15221:1168::-;15326:6;15357:2;15400;15388:9;15379:7;15375:23;15371:32;15368:52;;;15416:1;15413;15406:12;15368:52;15449:9;15443:16;15478:18;15519:2;15511:6;15508:14;15505:34;;;15535:1;15532;15525:12;15505:34;15573:6;15562:9;15558:22;15548:32;;15618:7;15611:4;15607:2;15603:13;15599:27;15589:55;;15640:1;15637;15630:12;15589:55;15669:2;15663:9;15691:2;15687;15684:10;15681:36;;;15697:18;;:::i;:::-;15743:2;15740:1;15736:10;15766:28;15790:2;15786;15782:11;15766:28;:::i;:::-;15828:15;;;15898:11;;;15894:20;;;15859:12;;;;15926:19;;;15923:39;;;15958:1;15955;15948:12;15923:39;15990:2;15986;15982:11;15971:22;;16002:357;16018:6;16013:3;16010:15;16002:357;;;16097:3;16091:10;16133:2;16120:11;16117:19;16114:109;;;16177:1;16206:2;16202;16195:14;16114:109;16248:68;16308:7;16303:2;16289:11;16285:2;16281:20;16277:29;16248:68;:::i;:::-;16236:81;;-1:-1:-1;16035:12:44;;;;16337;;;;16002:357;;;16378:5;15221:1168;-1:-1:-1;;;;;;;;;15221:1168:44:o;16830:273::-;17015:6;17007;17002:3;16989:33;16971:3;17041:16;;17066:13;;;17041:16;16830:273;-1:-1:-1;16830:273:44:o;17108:377::-;17335:2;17324:9;17317:21;17298:4;17355:55;17406:2;17395:9;17391:18;17383:6;17355:55;:::i;:::-;17347:63;;17475:1;17471;17466:3;17462:11;17458:19;17450:6;17446:32;17441:2;17430:9;17426:18;17419:60;17108:377;;;;;:::o;17490:891::-;17677:2;17688:21;;;17791:13;;-1:-1:-1;;;;;17787:39:44;17767:18;;;17760:67;17869:15;;;17863:22;17858:2;17843:18;;;17836:50;;;;17921:15;;17915:22;17975:4;17953:20;;;17946:34;18029:19;;17747:3;17732:19;;18057:22;;;17648:4;;17677:2;18137:21;;;17648:4;;17814:3;18095:19;;;18186:169;18200:6;18197:1;18194:13;18186:169;;;18261:13;;18249:26;;18330:15;;;;18222:1;18215:9;;;;;18295:12;;;;18186:169;;;-1:-1:-1;18372:3:44;17490:891;-1:-1:-1;;;;;;17490:891:44:o;18386:999::-;18815:3;18853:6;18847:13;18869:66;18928:6;18923:3;18916:4;18908:6;18904:17;18869:66;:::i;:::-;18966:6;18961:3;18957:16;18944:29;;-1:-1:-1;;;19018:2:44;19011:5;19004:17;19052:6;19046:13;19068:78;19137:8;19133:1;19126:5;19122:13;19115:4;19107:6;19103:17;19068:78;:::i;:::-;19209:1;19165:20;;19201:10;;;19194:22;19241:13;;19263:75;19241:13;19325:1;19317:10;;19310:4;19298:17;;19263:75;:::i;:::-;19358:17;19377:1;19354:25;;18386:999;-1:-1:-1;;;;;18386:999:44:o;19390:289::-;19521:3;19559:6;19553:13;19575:66;19634:6;19629:3;19622:4;19614:6;19610:17;19575:66;:::i;:::-;19657:16;;;;;19390:289;-1:-1:-1;;19390:289:44:o;19963:384::-;-1:-1:-1;;;;;;20148:33:44;;20136:46;;20205:13;;20118:3;;20227:74;20205:13;20290:1;20281:11;;20274:4;20262:17;;20227:74;:::i;:::-;20321:16;;;;20339:1;20317:24;;19963:384;-1:-1:-1;;;19963:384:44:o;20644:277::-;20711:6;20764:2;20752:9;20743:7;20739:23;20735:32;20732:52;;;20780:1;20777;20770:12;20732:52;20812:9;20806:16;20865:5;20858:13;20851:21;20844:5;20841:32;20831:60;;20887:1;20884;20877:12;21436:127;21497:10;21492:3;21488:20;21485:1;21478:31;21528:4;21525:1;21518:15;21552:4;21549:1;21542:15;21568:135;21607:3;21628:17;;;21625:43;;21648:18;;:::i;:::-;-1:-1:-1;21695:1:44;21684:13;;21568:135::o;21708:127::-;21769:10;21764:3;21760:20;21757:1;21750:31;21800:4;21797:1;21790:15;21824:4;21821:1;21814:15;21840:120;21880:1;21906;21896:35;;21911:18;;:::i;:::-;-1:-1:-1;21945:9:44;;21840:120::o;21965:128::-;22032:9;;;22053:11;;;22050:37;;;22067:18;;:::i;:::-;21965:128;;;;:::o;22098:112::-;22130:1;22156;22146:35;;22161:18;;:::i;:::-;-1:-1:-1;22195:9:44;;22098:112::o;22215:125::-;22280:9;;;22301:10;;;22298:36;;;22314:18;;:::i;22914:440::-;23164:2;23153:9;23146:21;23127:4;23190:49;23235:2;23224:9;23220:18;22827:2;22815:15;;-1:-1:-1;;;22855:4:44;22846:14;;22839:36;22900:2;22891:12;;22750:159;23190:49;23287:9;23279:6;23275:22;23270:2;23259:9;23255:18;23248:50;23315:33;23341:6;23333;23315:33;:::i;23523:440::-;23773:2;23762:9;23755:21;23736:4;23799:49;23844:2;23833:9;23829:18;23436:2;23424:15;;-1:-1:-1;;;23464:4:44;23455:14;;23448:36;23509:2;23500:12;;23359:159;24721:348;24951:2;24940:9;24933:21;24914:4;24971:49;25016:2;25005:9;25001:18;22827:2;22815:15;;-1:-1:-1;;;22855:4:44;22846:14;;22839:36;22900:2;22891:12;;22750:159;24971:49;24963:57;;25056:6;25051:2;25040:9;25036:18;25029:34;24721:348;;;;:::o;25074:::-;25304:2;25293:9;25286:21;25267:4;25324:49;25369:2;25358:9;25354:18;23436:2;23424:15;;-1:-1:-1;;;23464:4:44;23455:14;;23448:36;23509:2;23500:12;;23359:159","linkReferences":{}},"methodIdentifiers":{"IS_SCRIPT()":"f8ccbf47","IS_TEST()":"fa7626d4","failed()":"ba414fa6","setUp()":"0a9254e4","testHandleOf_returnsEmptyStringIfENSIsNotRegistered(uint256,uint256,string,string,string)":"19f37fcc","testHandleOf_returnsEmptyStringIfNoHandleSet(uint256)":"8f5f00e4","testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId(uint256,uint256,string,string,string)":"156d3f63","testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew(string,string,string)":"0bc1349a","testHandleOf_returnsHandleIfReverseIdMatchProjectId(string,string,string)":"9edca9cd","testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion(string,string,string)":"5c17d799","testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName(address,string)":"804febd7","testSetEnsNameFor_revertIfNotAuthorized(uint96,address,string)":"a1296985","testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName(string)":"79ee9c16","testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts(string,string,string)":"1641e69d","testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts()":"d33518fd","testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels(string,string,string)":"8bbdf5ba","vm()":"3a768463"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"ensName\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"parts\",\"type\":\"string[]\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetEnsNameParts\",\"type\":\"event\"},{\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reverseId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsEmptyStringIfENSIsNotRegistered\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"name\":\"testHandleOf_returnsEmptyStringIfNoHandleSet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reverseId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsHandleIfReverseIdMatchProjectId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"authorizationIndex\",\"type\":\"uint96\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"testSetEnsNameFor_revertIfNotAuthorized\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subdomain\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_subsubdomain\",\"type\":\"string\"}],\"name\":\"testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"test/JBProjectHandles.t.sol\":\"ContractTest\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"contracts/JBProjectHandles.sol\":{\"keccak256\":\"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659\",\"dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5\"]},\"contracts/interfaces/IJBProjectHandles.sol\":{\"keccak256\":\"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5\",\"dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b\"]},\"contracts/libraries/JBOperations2.sol\":{\"keccak256\":\"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1\",\"dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol\":{\"keccak256\":\"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483\",\"urls\":[\"bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed\",\"dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV\"]},\"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol\":{\"keccak256\":\"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba\",\"dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol\":{\"keccak256\":\"0x8f8f1c0438d6bc6bdf666643939dc988ad300e6a3401158ec97700fb6ec2600e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://88132980fb0587b7e95ba7bab45677304490dc9a98a25f4eec32e8a8631a987a\",\"dweb:/ipfs/QmbTW3WbbFcUjx34yh8vg1v7aJnv6twhYmvzzUNggmMPqL\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol\":{\"keccak256\":\"0x7578efb357e78844d1f629aa6644606d5d66e6e70cf793ef67dd40ecd4753b0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5f849b5b91a1baf7e1638a307136fe893e402b8f0421b90ba74b1e474eaa6a92\",\"dweb:/ipfs/QmYcVZnKgriwH3woJntwH1XRscQ289TYN2g8gPs4WXiNU8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol\":{\"keccak256\":\"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a\",\"dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981\",\"dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51\"]},\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]},\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":{\"keccak256\":\"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767\",\"dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol\":{\"keccak256\":\"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8\",\"dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f\",\"dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol\":{\"keccak256\":\"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff\",\"dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]},\"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\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]},\"test/JBProjectHandles.t.sol\":{\"keccak256\":\"0x6ad1dd880c9ca4175c8482f7ce44042f95790f019667efdfd102b08ebedaea84\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://6eb8560a72bb11b99be83233abc5541c985ebbe7e237b5d6b49603d5d7fdaa81\",\"dweb:/ipfs/QmYfw8aHXGjPk37uNXYa1QYkMsJadjbCNMo351LawFjrnv\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256","indexed":true},{"internalType":"string","name":"ensName","type":"string","indexed":true},{"internalType":"string[]","name":"parts","type":"string[]","indexed":false},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"SetEnsNameParts","anonymous":false},{"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_SCRIPT","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"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":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"_reverseId","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"string","name":"_subsubdomain","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testHandleOf_returnsEmptyStringIfENSIsNotRegistered"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"testHandleOf_returnsEmptyStringIfNoHandleSet"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"_reverseId","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"string","name":"_subsubdomain","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testHandleOf_returnsEmptyStringIfReverseIdDoesNotMatchProjectId"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"string","name":"_subsubdomain","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testHandleOf_returnsHandleFromNewestContractIfRegisteredOnBothOldAndNew"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"string","name":"_subsubdomain","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testHandleOf_returnsHandleIfReverseIdMatchProjectId"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"string","name":"_subsubdomain","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testHandleOf_returnsPreviousHandleIfRegisteredONLYOnPreviousVersion"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testSetEnsNameFor_passIfAuthorizedCallerAndOnlyName"},{"inputs":[{"internalType":"uint96","name":"authorizationIndex","type":"uint96"},{"internalType":"address","name":"caller","type":"address"},{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testSetEnsNameFor_revertIfNotAuthorized"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testSetEnsNamePartsFor_passIfCallerIsProjectOwnerAndOnlyName"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"string","name":"_subsubdomain","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testSetEnsNameWithSubdomainFor_RevertIfEmptyElementInNameParts"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"testSetEnsNameWithSubdomainFor_RevertIfEmptyNameParts"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"string","name":"_subsubdomain","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"testSetEnsNameWithSubdomainFor_passIfMultipleSubdomainLevels"},{"inputs":[],"stateMutability":"view","type":"function","name":"vm","outputs":[{"internalType":"contract Vm","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"test/JBProjectHandles.t.sol":"ContractTest"},"evmVersion":"paris","libraries":{}},"sources":{"contracts/JBProjectHandles.sol":{"keccak256":"0xe38542f0297f5655daaf45fae9ba2f938c9cffdde628bcf21ceb96bdb7c4ae6b","urls":["bzz-raw://7236782a49473e7b5188cf3ad3db9ccc79653b173b8014a737eb15384ac92659","dweb:/ipfs/QmbF6ecmH3VxPKdZs7dAiaxymLWEBYz1UpDL9vMDaVC3k5"],"license":"MIT"},"contracts/interfaces/IJBProjectHandles.sol":{"keccak256":"0xb4481cd332d6a7044bfbaddf27d302565425413f190f95725b9335bae97cb9f6","urls":["bzz-raw://b4505f9768e08df94858c09bba0e38a4f2e7b7d9eddba19e2f93270081251bd5","dweb:/ipfs/Qmc8Jeus5z6B2PGj7TpbeXmpEsmTehwHwzbW3Pimp5813b"],"license":"MIT"},"contracts/libraries/JBOperations2.sol":{"keccak256":"0x6b770b1f4e86a20c22f3f98bcd905c8004995156106a5a5c5af6020344738b29","urls":["bzz-raw://ee28ebe94a395193df475997da33ada44ab540429d76a0889b384deafb35e6c1","dweb:/ipfs/QmNUNEaCo29kfEDHsStXyViyRhs3C6aQtMPNi3wgyGcjHg"],"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/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Test.sol":{"keccak256":"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b","urls":["bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2","dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"},"node_modules/@ensdomains/ens-contracts/contracts/registry/ENS.sol":{"keccak256":"0x942ef29bd7c0f62228aeb91879ddd1ba101f52a2162970d3e48adffa498f4483","urls":["bzz-raw://a8e1b0ff629872f6dca873007c0e6e97b7fff918374b90d5db2f35d41b214aed","dweb:/ipfs/QmPma68CFjidUB9LRVXZ7qtuKNfNUQSGzUUu8USfJVLdUV"],"license":null},"node_modules/@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol":{"keccak256":"0x36a6602f2d76f373c5e1dcded0c87e1d3ab5180dbbbea7aa2a8d0e9a36273e38","urls":["bzz-raw://3cb3b5192f851b6a6902592f33ad8258e199a1b97e7cff5ac8acb2b313d4d0ba","dweb:/ipfs/QmcyuseXSxgoL5PHAmuVy4N2d19MeenreuXfHG3XZ4NRbU"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBOperatorStore.sol":{"keccak256":"0x8f8f1c0438d6bc6bdf666643939dc988ad300e6a3401158ec97700fb6ec2600e","urls":["bzz-raw://88132980fb0587b7e95ba7bab45677304490dc9a98a25f4eec32e8a8631a987a","dweb:/ipfs/QmbTW3WbbFcUjx34yh8vg1v7aJnv6twhYmvzzUNggmMPqL"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol":{"keccak256":"0x7578efb357e78844d1f629aa6644606d5d66e6e70cf793ef67dd40ecd4753b0c","urls":["bzz-raw://5f849b5b91a1baf7e1638a307136fe893e402b8f0421b90ba74b1e474eaa6a92","dweb:/ipfs/QmYcVZnKgriwH3woJntwH1XRscQ289TYN2g8gPs4WXiNU8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol":{"keccak256":"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add","urls":["bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735","dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":{"keccak256":"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e","urls":["bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b","dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":{"keccak256":"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4","urls":["bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9","dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol":{"keccak256":"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690","urls":["bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a","dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol":{"keccak256":"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0","urls":["bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494","dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"],"license":"MIT"},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"keccak256":"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9","urls":["bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981","dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51"],"license":"MIT"},"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol":{"keccak256":"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0","urls":["bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86","dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY"],"license":"MIT"},"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol":{"keccak256":"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474","urls":["bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767","dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC721.sol":{"keccak256":"0xaf297d12d8d4a57fe01a70f0ef38908f208e3faedc577056d0b728fa2f3ccf0c","urls":["bzz-raw://fbfaf37123958822a2720a4ea29651be00edab787540b770f73d3e025d286ff8","dweb:/ipfs/QmbzgWeTm8hJVUqWrNAwFjshqbYVyeGpQA8D1huzxQdmw6"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"keccak256":"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de","urls":["bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f","dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"keccak256":"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f","urls":["bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f","dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a"],"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/token/ERC721/extensions/draft-ERC721Votes.sol":{"keccak256":"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658","urls":["bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff","dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87","urls":["bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58","dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol":{"keccak256":"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c","urls":["bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb","dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ"],"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":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29","urls":["bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7","dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol":{"keccak256":"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7","urls":["bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba","dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT"],"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":"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2","urls":["bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6","dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7","urls":["bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1","dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E"],"license":"MIT"},"test/JBProjectHandles.t.sol":{"keccak256":"0x6ad1dd880c9ca4175c8482f7ce44042f95790f019667efdfd102b08ebedaea84","urls":["bzz-raw://6eb8560a72bb11b99be83233abc5541c985ebbe7e237b5d6b49603d5d7fdaa81","dweb:/ipfs/QmYfw8aHXGjPk37uNXYa1QYkMsJadjbCNMo351LawFjrnv"],"license":"UNLICENSED"}},"version":1},"id":43} \ No newline at end of file diff --git a/out/JBProjects.sol/JBProjects.json b/out/JBProjects.sol/JBProjects.json index f5c407f..321ccd4 100644 --- a/out/JBProjects.sol/JBProjects.json +++ b/out/JBProjects.sol/JBProjects.json @@ -1,5004 +1 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "_operatorStore", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [], - "name": "UNAUTHORIZED", - "type": "error" - }, - { - "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": "projectId", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "indexed": false, - "internalType": "struct JBProjectMetadata", - "name": "metadata", - "type": "tuple" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "Create", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "fromDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "toDelegate", - "type": "address" - } - ], - "name": "DelegateChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "delegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "previousBalance", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newBalance", - "type": "uint256" - } - ], - "name": "DelegateVotesChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - }, - { - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "indexed": false, - "internalType": "struct JBProjectMetadata", - "name": "metadata", - "type": "tuple" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "SetMetadata", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IJBTokenUriResolver", - "name": "resolver", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "SetTokenUriResolver", - "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": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "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": [], - "name": "count", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "internalType": "struct JBProjectMetadata", - "name": "_metadata", - "type": "tuple" - } - ], - "name": "createFor", - "outputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "delegate", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiry", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "delegateBySig", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "delegates", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "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": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getPastTotalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getPastVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "getVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "metadataContentOf", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "operatorStore", - "outputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "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": "_projectId", - "type": "uint256" - }, - { - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "internalType": "struct JBProjectMetadata", - "name": "_metadata", - "type": "tuple" - } - ], - "name": "setMetadataOf", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "name": "_newResolver", - "type": "address" - } - ], - "name": "setTokenUriResolver", - "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": "_projectId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "tokenUriResolver", - "outputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "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": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x6101606040526000600b553480156200001757600080fd5b5060405162002e3838038062002e388339810160408190526200003a91620001ce565b6040805180820182526011808252704a75696365626f782050726f6a6563747360781b60208084018290528451808601865260018152603160f81b81830152855180870187529384528382019290925284518086019095526008855267094aa92868a849eb60c31b908501526001600160a01b03851660805291926000620000c38382620002a5565b506001620000d28282620002a5565b505082516020938401208251928401929092206101008390526101208190524660c0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81890181905281830197909752606081019490945260808401929092523060a080850182905283518086038201815294909201909252825192909501919091209093525060e0919091526101405262000175336200017c565b5062000371565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215620001e157600080fd5b81516001600160a01b0381168114620001f957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022b57607f821691505b6020821081036200024c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a057600081815260208120601f850160051c810160208610156200027b5750805b601f850160051c820191505b818110156200029c5782815560010162000287565b5050505b505050565b81516001600160401b03811115620002c157620002c162000200565b620002d981620002d2845462000216565b8462000252565b602080601f831160018114620003115760008415620002f85750858301515b600019600386901b1c1916600185901b1785556200029c565b600085815260208120601f198616915b82811015620003425788860151825594840194600190910190840162000321565b5085821015620003615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516101205161014051612a5e620003da600039600061127c015260006112cb015260006112a6015260006111ff01526000611229015260006112530152600081816103e20152818161136001526114070152612a5e6000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063666d87a01161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042a578063e131fc0c1461043d578063e985e9c514610450578063f2fde38b1461048c57600080fd5b8063a22cb465146103ca578063ad007d63146103dd578063b88d4fde14610404578063c3cda5201461041757600080fd5b80638da5cb5b116100de5780638da5cb5b1461038b5780638e539e8c1461039c57806395d89b41146103af5780639ab24eb0146103b757600080fd5b8063666d87a01461034a57806370a082311461035d578063715018a6146103705780637ecebe001461037857600080fd5b80633644e5151161018757806342842e0e1161015657806342842e0e146102e5578063587cde1e146102f85780635c19a95c146103245780636352211e1461033757600080fd5b80633644e515146102a457806336574975146102ac57806339fbc775146102bf5780633a46b1a8146102d257600080fd5b8063081812fc116101c3578063081812fc1461023e578063095ea7b31461026957806323b872dd1461027e5780632407497e1461029157600080fd5b806301ffc9a7146101ea57806306661abd1461021257806306fdde0314610229575b600080fd5b6101fd6101f83660046121c1565b61049f565b60405190151581526020015b60405180910390f35b61021b600b5481565b604051908152602001610209565b6102316104e5565b604051610209919061222e565b61025161024c366004612241565b610577565b6040516001600160a01b039091168152602001610209565b61027c61027736600461226f565b610611565b005b61027c61028c36600461229b565b610726565b61027c61029f3660046122dc565b610757565b61021b6107d5565b61027c6102ba36600461230b565b6107e4565b6102316102cd366004612352565b61086f565b61021b6102e036600461226f565b610914565b61027c6102f336600461229b565b61093d565b6102516103063660046122dc565b6001600160a01b039081166000908152600660205260409020541690565b61027c6103323660046122dc565b610958565b610251610345366004612241565b610967565b61021b610358366004612374565b6109de565b61021b61036b3660046122dc565b610a92565b61027c610b19565b61021b6103863660046122dc565b610b4f565b600a546001600160a01b0316610251565b61021b6103aa366004612241565b610b6d565b610231610bc9565b61021b6103c53660046122dc565b610bd8565b61027c6103d83660046123bc565b610bf9565b6102517f000000000000000000000000000000000000000000000000000000000000000081565b61027c610412366004612464565b610c04565b61027c610425366004612513565b610c3c565b610231610438366004612241565b610d69565b600d54610251906001600160a01b031681565b6101fd61045e366004612575565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61027c61049a3660046122dc565b610e00565b60006001600160e01b0319821663aa91a66f60e01b14806104d057506001600160e01b0319821663ad007d6360e01b145b806104df57506104df82610e9b565b92915050565b6060600080546104f4906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906125a3565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061061c82610967565b9050806001600160a01b0316836001600160a01b0316036106895760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ec565b336001600160a01b03821614806106a557506106a5813361045e565b6107175760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b6107218383610eeb565b505050565b6107303382610f59565b61074c5760405162461bcd60e51b81526004016105ec906125d7565b610721838383611050565b600a546001600160a01b031633146107815760405162461bcd60e51b81526004016105ec90612628565b600d80546001600160a01b0319166001600160a01b0383169081179091556040513381527fe7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c169060200160405180910390a250565b60006107df6111f2565b905090565b6107ed82610967565b8260066107fb838383611319565b610805848061265d565b6000878152600c6020908152604080832089830135845290915290209161082d9190836126f2565b50847fd07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e685336040516108609291906127b3565b60405180910390a25050505050565b600c60209081526000928352604080842090915290825290208054610893906125a3565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906125a3565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b505050505081565b6001600160a01b03821660009081526007602052604081206109369083611492565b9392505050565b61072183838360405180602001604052806000815250610c04565b3361096381836115a1565b5050565b6000818152600260205260408120546001600160a01b0316806104df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ec565b6000600b600081546109ef9061285b565b91829055509050610a008382611613565b6000610a0c838061265d565b90501115610a4857610a1e828061265d565b6000838152600c60209081526040808320878301358452909152902091610a469190836126f2565b505b826001600160a01b0316817fa1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d48433604051610a849291906127b3565b60405180910390a392915050565b60006001600160a01b038216610afd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b435760405162461bcd60e51b81526004016105ec90612628565b610b4d600061162d565b565b6001600160a01b0381166000908152600960205260408120546104df565b6000438210610bbe5760405162461bcd60e51b815260206004820152601a60248201527f566f7465733a20626c6f636b206e6f7420796574206d696e656400000000000060448201526064016105ec565b6104df600883611492565b6060600180546104f4906125a3565b6001600160a01b03811660009081526007602052604081206104df9061167f565b6109633383836116db565b610c0e3383610f59565b610c2a5760405162461bcd60e51b81526004016105ec906125d7565b610c36848484846117a9565b50505050565b83421115610c8c5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e61747572652065787069726564000000000000000060448201526064016105ec565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206117dc565b85858561182a565b9050610d1181611852565b8614610d565760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b60448201526064016105ec565b610d6081886115a1565b50505050505050565b600d546060906001600160a01b031680610d93575050604080516020810190915260008152919050565b604051636d02a25560e11b8152600481018490526001600160a01b0382169063da0544aa90602401600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109369190810190612874565b600a546001600160a01b03163314610e2a5760405162461bcd60e51b81526004016105ec90612628565b6001600160a01b038116610e8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b610e988161162d565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ecc57506001600160e01b03198216635b5e139f60e01b145b806104df57506301ffc9a760e01b6001600160e01b03198316146104df565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2082610967565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ec565b6000610fdd83610967565b9050806001600160a01b0316846001600160a01b031614806110185750836001600160a01b031661100d84610577565b6001600160a01b0316145b8061104857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106382610967565b6001600160a01b0316146110c75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105ec565b6001600160a01b0382166111295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b611134600082610eeb565b6001600160a01b038316600090815260036020526040812080546001929061115d9084906128eb565b90915550506001600160a01b038216600090815260036020526040812080546001929061118b9084906128fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461072183838361187a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561124b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561127557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b336001600160a01b038416148015906113cd575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612911565b155b8015611474575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa15801561144e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114729190612911565b155b156107215760405163075fd2b160e01b815260040160405180910390fd5b60004382106114e35760405162461bcd60e51b815260206004820181905260248201527f436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e656460448201526064016105ec565b825460005b818110156115485760006114fc8284611886565b9050848660000182815481106115145761151461292e565b60009182526020909120015463ffffffff16111561153457809250611542565b61153f8160016128fe565b91505b506114e8565b811561158c578461155a6001846128eb565b8154811061156a5761156a61292e565b60009182526020909120015464010000000090046001600160e01b031661158f565b60005b6001600160e01b031695945050505050565b6001600160a01b0382811660008181526006602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610721818361160e866118a1565b6118ac565b6109638282604051806020016040528060008152506119da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805460009080156116c857826116966001836128eb565b815481106116a6576116a661292e565b60009182526020909120015464010000000090046001600160e01b03166116cb565b60005b6001600160e01b03169392505050565b816001600160a01b0316836001600160a01b03160361173c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117b4848484611050565b6117c084848484611a0d565b610c365760405162461bcd60e51b81526004016105ec90612944565b60006104df6117e96111f2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183b87878787611b0b565b9150915061184881611bf8565b5095945050505050565b6001600160a01b03811660009081526009602052604090208054600181018255905b50919050565b61072183836001611dae565b60006118956002848418612996565b610936908484166128fe565b60006104df82610a92565b816001600160a01b0316836001600160a01b0316141580156118ce5750600081115b15610721576001600160a01b0383161561195c576001600160a01b0383166000908152600760205260408120819061190990611e1e85611e2a565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611951929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610721576001600160a01b0382166000908152600760205260408120819061199290611e5885611e2a565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051610860929190918252602082015260400190565b6119e48383611e64565b6119f16000848484611a0d565b6107215760405162461bcd60e51b81526004016105ec90612944565b60006001600160a01b0384163b15611b0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a519033908990889088906004016129b8565b6020604051808303816000875af1925050508015611a8c575060408051601f3d908101601f19168201909252611a89918101906129f5565b60015b611ae9573d808015611aba576040519150601f19603f3d011682016040523d82523d6000602084013e611abf565b606091505b508051600003611ae15760405162461bcd60e51b81526004016105ec90612944565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611048565b506001611048565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b425750600090506003611bef565b8460ff16601b14158015611b5a57508460ff16601c14155b15611b6b5750600090506004611bef565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bbf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611be857600060019250925050611bef565b9150600090505b94509492505050565b6000816004811115611c0c57611c0c612a12565b03611c145750565b6001816004811115611c2857611c28612a12565b03611c755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ec565b6002816004811115611c8957611c89612a12565b03611cd65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ec565b6003816004811115611cea57611cea612a12565b03611d425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ec565b6004816004811115611d5657611d56612a12565b03610e985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ec565b6001600160a01b038316611dcd57611dca6008611e5883611e2a565b50505b6001600160a01b038216611dec57611de96008611e1e83611e2a565b50505b6001600160a01b03838116600090815260066020526040808220548584168352912054610721929182169116836118ac565b600061093682846128eb565b600080611e4c85611e47611e3d8861167f565b868863ffffffff16565b611fae565b91509150935093915050565b600061093682846128fe565b6001600160a01b038216611eba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b031615611f1f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b0382166000908152600360205260408120805460019290611f489084906128fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109636000838361187a565b8154600090819081611fbf8661167f565b9050600082118015611ffd57504386611fd96001856128eb565b81548110611fe957611fe961292e565b60009182526020909120015463ffffffff16145b1561205d5761200b856120d9565b866120176001856128eb565b815481106120275761202761292e565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506120cb565b85600001604051806040016040528061207543612146565b63ffffffff168152602001612089886120d9565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b9250839150505b9250929050565b60006001600160e01b038211156121425760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ec565b5090565b600063ffffffff8211156121425760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ec565b6001600160e01b031981168114610e9857600080fd5b6000602082840312156121d357600080fd5b8135610936816121ab565b60005b838110156121f95781810151838201526020016121e1565b50506000910152565b6000815180845261221a8160208601602086016121de565b601f01601f19169290920160200192915050565b6020815260006109366020830184612202565b60006020828403121561225357600080fd5b5035919050565b6001600160a01b0381168114610e9857600080fd5b6000806040838503121561228257600080fd5b823561228d8161225a565b946020939093013593505050565b6000806000606084860312156122b057600080fd5b83356122bb8161225a565b925060208401356122cb8161225a565b929592945050506040919091013590565b6000602082840312156122ee57600080fd5b81356109368161225a565b60006040828403121561187457600080fd5b6000806040838503121561231e57600080fd5b82359150602083013567ffffffffffffffff81111561233c57600080fd5b612348858286016122f9565b9150509250929050565b6000806040838503121561236557600080fd5b50508035926020909101359150565b6000806040838503121561238757600080fd5b82356123928161225a565b9150602083013567ffffffffffffffff81111561233c57600080fd5b8015158114610e9857600080fd5b600080604083850312156123cf57600080fd5b82356123da8161225a565b915060208301356123ea816123ae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612434576124346123f5565b604052919050565b600067ffffffffffffffff821115612456576124566123f5565b50601f01601f191660200190565b6000806000806080858703121561247a57600080fd5b84356124858161225a565b935060208501356124958161225a565b925060408501359150606085013567ffffffffffffffff8111156124b857600080fd5b8501601f810187136124c957600080fd5b80356124dc6124d78261243c565b61240b565b8181528860208385010111156124f157600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c0878903121561252c57600080fd5b86356125378161225a565b95506020870135945060408701359350606087013560ff8116811461255b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561258857600080fd5b82356125938161225a565b915060208301356123ea8161225a565b600181811c908216806125b757607f821691505b60208210810361187457634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e1984360301811261267457600080fd5b83018035915067ffffffffffffffff82111561268f57600080fd5b6020019150368190038213156120d257600080fd5b601f82111561072157600081815260208120601f850160051c810160208610156126cb5750805b601f850160051c820191505b818110156126ea578281556001016126d7565b505050505050565b67ffffffffffffffff83111561270a5761270a6123f5565b61271e8361271883546125a3565b836126a4565b6000601f841160018114612752576000851561273a5750838201355b600019600387901b1c1916600186901b1783556127ac565b600083815260209020601f19861690835b828110156127835786850135825560209485019460019092019101612763565b50868210156127a05760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6040815260008335601e198536030181126127cd57600080fd5b840160208101903567ffffffffffffffff8111156127ea57600080fd5b8036038213156127f957600080fd5b604080850152806080850152808260a0860137600060a082860101526020860135606085015260a0601f19601f8301168501019250505061093660208301846001600160a01b03169052565b634e487b7160e01b600052601160045260246000fd5b60006001820161286d5761286d612845565b5060010190565b60006020828403121561288657600080fd5b815167ffffffffffffffff81111561289d57600080fd5b8201601f810184136128ae57600080fd5b80516128bc6124d78261243c565b8181528560208385010111156128d157600080fd5b6128e28260208301602086016121de565b95945050505050565b818103818111156104df576104df612845565b808201808211156104df576104df612845565b60006020828403121561292357600080fd5b8151610936816123ae565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826129b357634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129eb90830184612202565b9695505050505050565b600060208284031215612a0757600080fd5b8151610936816121ab565b634e487b7160e01b600052602160045260246000fdfea264697066735822122051d42021051642f53d1d1aedfb9274462f7b8b56e0b54d4ec8da05a2a0e001f464736f6c63430008100033", - "sourceMap": "956:5441:13:-:0;;;1549:1;1517:33;;3751:214;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2455:602:37;;;;;;;;;;;;-1:-1:-1;;;2455:602:37;;;;;;;;;;;;;;;;;-1:-1:-1;;;2455:602:37;;;;1390:113:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1390:113:26;;;;-1:-1:-1;;;;;2730:30:14;;;;2455:602:37;;-1:-1:-1;1456:13:26;1390:113;-1:-1:-1;1456:13:26;:::i;:::-;-1:-1:-1;1479:7:26;:17;1489:7;1479;:17;:::i;:::-;-1:-1:-1;;2541:22:37;;;;;;;2597:25;;;;;;;;;2778;;;;2813:31;;;;2873:13;2854:32;;;;-1:-1:-1;3633:73:37;;2651:117;3633:73;;;3315:25:43;;;3356:18;;;3349:34;;;;-1:-1:-1;3399:18:43;;3392:34;;;;3442:18;;;3435:34;;;;3700:4:37;3485:19:43;;;;3478:61;;;3633:73:37;;;;;;;;;3287:19:43;;;;3633:73:37;;;3623:84;;;;;;;;;;2896:85;;;-1:-1:-1;2991:28:37;;;;;3029:21;;921:32:22;719:10:33;921:18:22;:32::i;:::-;3751:214:13;956:5441;;2270:187:22;2362:6;;;-1:-1:-1;;;;;2378:17:22;;;-1:-1:-1;;;;;;2378:17:22;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;14:316:43:-;110:6;163:2;151:9;142:7;138:23;134:32;131:52;;;179:1;176;169:12;131:52;205:16;;-1:-1:-1;;;;;250:31:43;;240:42;;230:70;;296:1;293;286:12;230:70;319:5;14:316;-1:-1:-1;;;14:316:43:o;335:127::-;396:10;391:3;387:20;384:1;377:31;427:4;424:1;417:15;451:4;448:1;441:15;467:380;546:1;542:12;;;;589;;;610:61;;664:4;656:6;652:17;642:27;;610:61;717:2;709:6;706:14;686:18;683:38;680:161;;763:10;758:3;754:20;751:1;744:31;798:4;795:1;788:15;826:4;823:1;816:15;680:161;;467:380;;;:::o;978:545::-;1080:2;1075:3;1072:11;1069:448;;;1116:1;1141:5;1137:2;1130:17;1186:4;1182:2;1172:19;1256:2;1244:10;1240:19;1237:1;1233:27;1227:4;1223:38;1292:4;1280:10;1277:20;1274:47;;;-1:-1:-1;1315:4:43;1274:47;1370:2;1365:3;1361:12;1358:1;1354:20;1348:4;1344:31;1334:41;;1425:82;1443:2;1436:5;1433:13;1425:82;;;1488:17;;;1469:1;1458:13;1425:82;;;1429:3;;;1069:448;978:545;;;:::o;1699:1352::-;1819:10;;-1:-1:-1;;;;;1841:30:43;;1838:56;;;1874:18;;:::i;:::-;1903:97;1993:6;1953:38;1985:4;1979:11;1953:38;:::i;:::-;1947:4;1903:97;:::i;:::-;2055:4;;2119:2;2108:14;;2136:1;2131:663;;;;2838:1;2855:6;2852:89;;;-1:-1:-1;2907:19:43;;;2901:26;2852:89;-1:-1:-1;;1656:1:43;1652:11;;;1648:24;1644:29;1634:40;1680:1;1676:11;;;1631:57;2954:81;;2101:944;;2131:663;925:1;918:14;;;962:4;949:18;;-1:-1:-1;;2167:20:43;;;2285:236;2299:7;2296:1;2293:14;2285:236;;;2388:19;;;2382:26;2367:42;;2480:27;;;;2448:1;2436:14;;;;2315:19;;2285:236;;;2289:3;2549:6;2540:7;2537:19;2534:201;;;2610:19;;;2604:26;-1:-1:-1;;2693:1:43;2689:14;;;2705:3;2685:24;2681:37;2677:42;2662:58;2647:74;;2534:201;-1:-1:-1;;;;;2781:1:43;2765:14;;;2761:22;2748:36;;-1:-1:-1;1699:1352:43:o;3056:489::-;956:5441:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063666d87a01161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042a578063e131fc0c1461043d578063e985e9c514610450578063f2fde38b1461048c57600080fd5b8063a22cb465146103ca578063ad007d63146103dd578063b88d4fde14610404578063c3cda5201461041757600080fd5b80638da5cb5b116100de5780638da5cb5b1461038b5780638e539e8c1461039c57806395d89b41146103af5780639ab24eb0146103b757600080fd5b8063666d87a01461034a57806370a082311461035d578063715018a6146103705780637ecebe001461037857600080fd5b80633644e5151161018757806342842e0e1161015657806342842e0e146102e5578063587cde1e146102f85780635c19a95c146103245780636352211e1461033757600080fd5b80633644e515146102a457806336574975146102ac57806339fbc775146102bf5780633a46b1a8146102d257600080fd5b8063081812fc116101c3578063081812fc1461023e578063095ea7b31461026957806323b872dd1461027e5780632407497e1461029157600080fd5b806301ffc9a7146101ea57806306661abd1461021257806306fdde0314610229575b600080fd5b6101fd6101f83660046121c1565b61049f565b60405190151581526020015b60405180910390f35b61021b600b5481565b604051908152602001610209565b6102316104e5565b604051610209919061222e565b61025161024c366004612241565b610577565b6040516001600160a01b039091168152602001610209565b61027c61027736600461226f565b610611565b005b61027c61028c36600461229b565b610726565b61027c61029f3660046122dc565b610757565b61021b6107d5565b61027c6102ba36600461230b565b6107e4565b6102316102cd366004612352565b61086f565b61021b6102e036600461226f565b610914565b61027c6102f336600461229b565b61093d565b6102516103063660046122dc565b6001600160a01b039081166000908152600660205260409020541690565b61027c6103323660046122dc565b610958565b610251610345366004612241565b610967565b61021b610358366004612374565b6109de565b61021b61036b3660046122dc565b610a92565b61027c610b19565b61021b6103863660046122dc565b610b4f565b600a546001600160a01b0316610251565b61021b6103aa366004612241565b610b6d565b610231610bc9565b61021b6103c53660046122dc565b610bd8565b61027c6103d83660046123bc565b610bf9565b6102517f000000000000000000000000000000000000000000000000000000000000000081565b61027c610412366004612464565b610c04565b61027c610425366004612513565b610c3c565b610231610438366004612241565b610d69565b600d54610251906001600160a01b031681565b6101fd61045e366004612575565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61027c61049a3660046122dc565b610e00565b60006001600160e01b0319821663aa91a66f60e01b14806104d057506001600160e01b0319821663ad007d6360e01b145b806104df57506104df82610e9b565b92915050565b6060600080546104f4906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906125a3565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061061c82610967565b9050806001600160a01b0316836001600160a01b0316036106895760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ec565b336001600160a01b03821614806106a557506106a5813361045e565b6107175760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b6107218383610eeb565b505050565b6107303382610f59565b61074c5760405162461bcd60e51b81526004016105ec906125d7565b610721838383611050565b600a546001600160a01b031633146107815760405162461bcd60e51b81526004016105ec90612628565b600d80546001600160a01b0319166001600160a01b0383169081179091556040513381527fe7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c169060200160405180910390a250565b60006107df6111f2565b905090565b6107ed82610967565b8260066107fb838383611319565b610805848061265d565b6000878152600c6020908152604080832089830135845290915290209161082d9190836126f2565b50847fd07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e685336040516108609291906127b3565b60405180910390a25050505050565b600c60209081526000928352604080842090915290825290208054610893906125a3565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906125a3565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b505050505081565b6001600160a01b03821660009081526007602052604081206109369083611492565b9392505050565b61072183838360405180602001604052806000815250610c04565b3361096381836115a1565b5050565b6000818152600260205260408120546001600160a01b0316806104df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ec565b6000600b600081546109ef9061285b565b91829055509050610a008382611613565b6000610a0c838061265d565b90501115610a4857610a1e828061265d565b6000838152600c60209081526040808320878301358452909152902091610a469190836126f2565b505b826001600160a01b0316817fa1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d48433604051610a849291906127b3565b60405180910390a392915050565b60006001600160a01b038216610afd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b435760405162461bcd60e51b81526004016105ec90612628565b610b4d600061162d565b565b6001600160a01b0381166000908152600960205260408120546104df565b6000438210610bbe5760405162461bcd60e51b815260206004820152601a60248201527f566f7465733a20626c6f636b206e6f7420796574206d696e656400000000000060448201526064016105ec565b6104df600883611492565b6060600180546104f4906125a3565b6001600160a01b03811660009081526007602052604081206104df9061167f565b6109633383836116db565b610c0e3383610f59565b610c2a5760405162461bcd60e51b81526004016105ec906125d7565b610c36848484846117a9565b50505050565b83421115610c8c5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e61747572652065787069726564000000000000000060448201526064016105ec565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206117dc565b85858561182a565b9050610d1181611852565b8614610d565760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b60448201526064016105ec565b610d6081886115a1565b50505050505050565b600d546060906001600160a01b031680610d93575050604080516020810190915260008152919050565b604051636d02a25560e11b8152600481018490526001600160a01b0382169063da0544aa90602401600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109369190810190612874565b600a546001600160a01b03163314610e2a5760405162461bcd60e51b81526004016105ec90612628565b6001600160a01b038116610e8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b610e988161162d565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ecc57506001600160e01b03198216635b5e139f60e01b145b806104df57506301ffc9a760e01b6001600160e01b03198316146104df565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2082610967565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ec565b6000610fdd83610967565b9050806001600160a01b0316846001600160a01b031614806110185750836001600160a01b031661100d84610577565b6001600160a01b0316145b8061104857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106382610967565b6001600160a01b0316146110c75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105ec565b6001600160a01b0382166111295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b611134600082610eeb565b6001600160a01b038316600090815260036020526040812080546001929061115d9084906128eb565b90915550506001600160a01b038216600090815260036020526040812080546001929061118b9084906128fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461072183838361187a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561124b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561127557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b336001600160a01b038416148015906113cd575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612911565b155b8015611474575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa15801561144e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114729190612911565b155b156107215760405163075fd2b160e01b815260040160405180910390fd5b60004382106114e35760405162461bcd60e51b815260206004820181905260248201527f436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e656460448201526064016105ec565b825460005b818110156115485760006114fc8284611886565b9050848660000182815481106115145761151461292e565b60009182526020909120015463ffffffff16111561153457809250611542565b61153f8160016128fe565b91505b506114e8565b811561158c578461155a6001846128eb565b8154811061156a5761156a61292e565b60009182526020909120015464010000000090046001600160e01b031661158f565b60005b6001600160e01b031695945050505050565b6001600160a01b0382811660008181526006602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610721818361160e866118a1565b6118ac565b6109638282604051806020016040528060008152506119da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805460009080156116c857826116966001836128eb565b815481106116a6576116a661292e565b60009182526020909120015464010000000090046001600160e01b03166116cb565b60005b6001600160e01b03169392505050565b816001600160a01b0316836001600160a01b03160361173c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117b4848484611050565b6117c084848484611a0d565b610c365760405162461bcd60e51b81526004016105ec90612944565b60006104df6117e96111f2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183b87878787611b0b565b9150915061184881611bf8565b5095945050505050565b6001600160a01b03811660009081526009602052604090208054600181018255905b50919050565b61072183836001611dae565b60006118956002848418612996565b610936908484166128fe565b60006104df82610a92565b816001600160a01b0316836001600160a01b0316141580156118ce5750600081115b15610721576001600160a01b0383161561195c576001600160a01b0383166000908152600760205260408120819061190990611e1e85611e2a565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611951929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610721576001600160a01b0382166000908152600760205260408120819061199290611e5885611e2a565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051610860929190918252602082015260400190565b6119e48383611e64565b6119f16000848484611a0d565b6107215760405162461bcd60e51b81526004016105ec90612944565b60006001600160a01b0384163b15611b0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a519033908990889088906004016129b8565b6020604051808303816000875af1925050508015611a8c575060408051601f3d908101601f19168201909252611a89918101906129f5565b60015b611ae9573d808015611aba576040519150601f19603f3d011682016040523d82523d6000602084013e611abf565b606091505b508051600003611ae15760405162461bcd60e51b81526004016105ec90612944565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611048565b506001611048565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b425750600090506003611bef565b8460ff16601b14158015611b5a57508460ff16601c14155b15611b6b5750600090506004611bef565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bbf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611be857600060019250925050611bef565b9150600090505b94509492505050565b6000816004811115611c0c57611c0c612a12565b03611c145750565b6001816004811115611c2857611c28612a12565b03611c755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ec565b6002816004811115611c8957611c89612a12565b03611cd65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ec565b6003816004811115611cea57611cea612a12565b03611d425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ec565b6004816004811115611d5657611d56612a12565b03610e985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ec565b6001600160a01b038316611dcd57611dca6008611e5883611e2a565b50505b6001600160a01b038216611dec57611de96008611e1e83611e2a565b50505b6001600160a01b03838116600090815260066020526040808220548584168352912054610721929182169116836118ac565b600061093682846128eb565b600080611e4c85611e47611e3d8861167f565b868863ffffffff16565b611fae565b91509150935093915050565b600061093682846128fe565b6001600160a01b038216611eba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b031615611f1f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b0382166000908152600360205260408120805460019290611f489084906128fe565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109636000838361187a565b8154600090819081611fbf8661167f565b9050600082118015611ffd57504386611fd96001856128eb565b81548110611fe957611fe961292e565b60009182526020909120015463ffffffff16145b1561205d5761200b856120d9565b866120176001856128eb565b815481106120275761202761292e565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506120cb565b85600001604051806040016040528061207543612146565b63ffffffff168152602001612089886120d9565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b9250839150505b9250929050565b60006001600160e01b038211156121425760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ec565b5090565b600063ffffffff8211156121425760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ec565b6001600160e01b031981168114610e9857600080fd5b6000602082840312156121d357600080fd5b8135610936816121ab565b60005b838110156121f95781810151838201526020016121e1565b50506000910152565b6000815180845261221a8160208601602086016121de565b601f01601f19169290920160200192915050565b6020815260006109366020830184612202565b60006020828403121561225357600080fd5b5035919050565b6001600160a01b0381168114610e9857600080fd5b6000806040838503121561228257600080fd5b823561228d8161225a565b946020939093013593505050565b6000806000606084860312156122b057600080fd5b83356122bb8161225a565b925060208401356122cb8161225a565b929592945050506040919091013590565b6000602082840312156122ee57600080fd5b81356109368161225a565b60006040828403121561187457600080fd5b6000806040838503121561231e57600080fd5b82359150602083013567ffffffffffffffff81111561233c57600080fd5b612348858286016122f9565b9150509250929050565b6000806040838503121561236557600080fd5b50508035926020909101359150565b6000806040838503121561238757600080fd5b82356123928161225a565b9150602083013567ffffffffffffffff81111561233c57600080fd5b8015158114610e9857600080fd5b600080604083850312156123cf57600080fd5b82356123da8161225a565b915060208301356123ea816123ae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612434576124346123f5565b604052919050565b600067ffffffffffffffff821115612456576124566123f5565b50601f01601f191660200190565b6000806000806080858703121561247a57600080fd5b84356124858161225a565b935060208501356124958161225a565b925060408501359150606085013567ffffffffffffffff8111156124b857600080fd5b8501601f810187136124c957600080fd5b80356124dc6124d78261243c565b61240b565b8181528860208385010111156124f157600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c0878903121561252c57600080fd5b86356125378161225a565b95506020870135945060408701359350606087013560ff8116811461255b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561258857600080fd5b82356125938161225a565b915060208301356123ea8161225a565b600181811c908216806125b757607f821691505b60208210810361187457634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e1984360301811261267457600080fd5b83018035915067ffffffffffffffff82111561268f57600080fd5b6020019150368190038213156120d257600080fd5b601f82111561072157600081815260208120601f850160051c810160208610156126cb5750805b601f850160051c820191505b818110156126ea578281556001016126d7565b505050505050565b67ffffffffffffffff83111561270a5761270a6123f5565b61271e8361271883546125a3565b836126a4565b6000601f841160018114612752576000851561273a5750838201355b600019600387901b1c1916600186901b1783556127ac565b600083815260209020601f19861690835b828110156127835786850135825560209485019460019092019101612763565b50868210156127a05760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6040815260008335601e198536030181126127cd57600080fd5b840160208101903567ffffffffffffffff8111156127ea57600080fd5b8036038213156127f957600080fd5b604080850152806080850152808260a0860137600060a082860101526020860135606085015260a0601f19601f8301168501019250505061093660208301846001600160a01b03169052565b634e487b7160e01b600052601160045260246000fd5b60006001820161286d5761286d612845565b5060010190565b60006020828403121561288657600080fd5b815167ffffffffffffffff81111561289d57600080fd5b8201601f810184136128ae57600080fd5b80516128bc6124d78261243c565b8181528560208385010111156128d157600080fd5b6128e28260208301602086016121de565b95945050505050565b818103818111156104df576104df612845565b808201808211156104df576104df612845565b60006020828403121561292357600080fd5b8151610936816123ae565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826129b357634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129eb90830184612202565b9695505050505050565b600060208284031215612a0757600080fd5b8151610936816121ab565b634e487b7160e01b600052602160045260246000fdfea264697066735822122051d42021051642f53d1d1aedfb9274462f7b8b56e0b54d4ec8da05a2a0e001f464736f6c63430008100033", - "sourceMap": "956:5441:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3135:304;;;;;;:::i;:::-;;:::i;:::-;;;565:14:43;;558:22;540:41;;528:2;513:18;3135:304:13;;;;;;;;1517:33;;;;;;;;;738:25:43;;;726:2;711:18;1517:33:13;592:177:43;2488:98:26;;;:::i;:::-;;;;;;;:::i;3999:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1988:32:43;;;1970:51;;1958:2;1943:18;3999:217:26;1824:203:43;3537:401:26;;;;;;:::i;:::-;;:::i;:::-;;4726:330;;;;;;:::i;:::-;;:::i;6174:221:13:-;;;;;;:::i;:::-;;:::i;7423:104:24:-;;;:::i;5606:402:13:-;;;;;;:::i;:::-;;:::i;1840:80::-;;;;;;:::i;:::-;;:::i;2634:184:24:-;;;;;;:::i;:::-;;:::i;5122:179:26:-;;;;;;:::i;:::-;;:::i;3793:127:24:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3893:20:24;;;3867:7;3893:20;;;:11;:20;;;;;;;;3793:127;4002:147;;;;;;:::i;:::-;;:::i;2191:235:26:-;;;;;;:::i;:::-;;:::i;4644:506:13:-;;;;;;:::i;:::-;;:::i;1929:205:26:-;;;;;;:::i;:::-;;:::i;1668:101:22:-;;;:::i;7169:117:24:-;;;;;;:::i;:::-;;:::i;1036:85:22:-;1108:6;;-1:-1:-1;;;;;1108:6:22;1036:85;;3281:236:24;;;;;;:::i;:::-;;:::i;2650:102:26:-;;;:::i;2278:144:24:-;;;;;;:::i;:::-;;:::i;4283:153:26:-;;;;;;:::i;:::-;;:::i;2310:56:14:-;;;;;5367:320:26;;;;;;:::i;:::-;;:::i;4227:564:24:-;;;;;;:::i;:::-;;:::i;2523:394:13:-;;;;;;:::i;:::-;;:::i;2010:52::-;;;;;-1:-1:-1;;;;;2010:52:13;;;4502:162:26;;;;;;:::i;:::-;-1:-1:-1;;;;;4622:25:26;;;4599:4;4622:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4502:162;1918:198:22;;;;;;:::i;:::-;;:::i;3135:304:13:-;3258:4;-1:-1:-1;;;;;;3285:45:13;;-1:-1:-1;;;3285:45:13;;:102;;-1:-1:-1;;;;;;;3340:47:13;;-1:-1:-1;;;3340:47:13;3285:102;:149;;;;3397:37;3421:12;3397:23;:37::i;:::-;3272:162;3135:304;-1:-1:-1;;3135:304:13:o;2488:98:26:-;2542:13;2574:5;2567:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2488:98;:::o;3999:217::-;4075:7;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:26;4094:73;;;;-1:-1:-1;;;4094:73:26;;9331:2:43;4094:73:26;;;9313:21:43;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;-1:-1:-1;;;9460:18:43;;;9453:42;9512:19;;4094:73:26;;;;;;;;;-1:-1:-1;4185:24:26;;;;:15;:24;;;;;;-1:-1:-1;;;;;4185:24:26;;3999:217::o;3537:401::-;3617:13;3633:23;3648:7;3633:14;:23::i;:::-;3617:39;;3680:5;-1:-1:-1;;;;;3674:11:26;:2;-1:-1:-1;;;;;3674:11:26;;3666:57;;;;-1:-1:-1;;;3666:57:26;;9744:2:43;3666:57:26;;;9726:21:43;9783:2;9763:18;;;9756:30;9822:34;9802:18;;;9795:62;-1:-1:-1;;;9873:18:43;;;9866:31;9914:19;;3666:57:26;9542:397:43;3666:57:26;719:10:33;-1:-1:-1;;;;;3755:21:26;;;;:62;;-1:-1:-1;3780:37:26;3797:5;719:10:33;4502:162:26;:::i;3780:37::-;3734:165;;;;-1:-1:-1;;;3734:165:26;;10146:2:43;3734:165:26;;;10128:21:43;10185:2;10165:18;;;10158:30;10224:34;10204:18;;;10197:62;10295:26;10275:18;;;10268:54;10339:19;;3734:165:26;9944:420:43;3734:165:26;3910:21;3919:2;3923:7;3910:8;:21::i;:::-;3607:331;3537:401;;:::o;4726:330::-;4915:41;719:10:33;4948:7:26;4915:18;:41::i;:::-;4907:103;;;;-1:-1:-1;;;4907:103:26;;;;;;;:::i;:::-;5021:28;5031:4;5037:2;5041:7;5021:9;:28::i;6174:221:13:-;1108:6:22;;-1:-1:-1;;;;;1108:6:22;719:10:33;1248:23:22;1240:68;;;;-1:-1:-1;;;1240:68:22;;;;;;;:::i;:::-;6302:16:13::1;:31:::0;;-1:-1:-1;;;;;;6302:31:13::1;-1:-1:-1::0;;;;;6302:31:13;::::1;::::0;;::::1;::::0;;;6345:45:::1;::::0;6379:10:::1;1970:51:43::0;;6345:45:13::1;::::0;1958:2:43;1943:18;6345:45:13::1;;;;;;;6174:221:::0;:::o;7423:104:24:-;7474:7;7500:20;:18;:20::i;:::-;7493:27;;7423:104;:::o;5606:402:13:-;5735:19;5743:10;5735:7;:19::i;:::-;5756:10;344:1:19;1318:55:14;1337:8;1347:7;1356:16;1318:18;:55::i;:::-;5928:17:13::1;:9:::0;;:17:::1;:::i;:::-;5878:29;::::0;;;:17:::1;:29;::::0;;;;;;;5908:16;;::::1;;5878:47:::0;;;;;;;;:67:::1;::::0;;:47;:67:::1;:::i;:::-;;5969:10;5957:46;5981:9;5992:10;5957:46;;;;;;;:::i;:::-;;;;;;;;5606:402:::0;;;;;:::o;1840:80::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2634:184:24:-;-1:-1:-1;;;;;2758:29:24;;2732:7;2758:29;;;:20;:29;;;;;:53;;2799:11;2758:40;:53::i;:::-;2751:60;2634:184;-1:-1:-1;;;2634:184:24:o;5122:179:26:-;5255:39;5272:4;5278:2;5282:7;5255:39;;;;;;;;;;;;:16;:39::i;4002:147:24:-;719:10:33;4113:29:24;719:10:33;4132:9:24;4113;:29::i;:::-;4063:86;4002:147;:::o;2191:235:26:-;2263:7;2298:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2298:16:26;;2324:73;;;;-1:-1:-1;;;2324:73:26;;14993:2:43;2324:73:26;;;14975:21:43;15032:2;15012:18;;;15005:30;15071:34;15051:18;;;15044:62;-1:-1:-1;;;15122:18:43;;;15115:39;15171:19;;2324:73:26;14791:405:43;4644:506:13;4756:17;4855:5;;4853:7;;;;;:::i;:::-;;;;;-1:-1:-1;4853:7:13;-1:-1:-1;4892:28:13;4902:6;4853:7;4892:9;:28::i;:::-;5010:1;4982:17;:9;;:17;:::i;:::-;4976:31;;:35;4972:113;;;5068:17;:9;;:17;:::i;:::-;5019:28;;;;:17;:28;;;;;;;;5048:16;;;;5019:46;;;;;;;;:66;;;:46;:66;:::i;:::-;;4972:113;5115:6;-1:-1:-1;;;;;5097:48:13;5104:9;5097:48;5123:9;5134:10;5097:48;;;;;;;:::i;:::-;;;;;;;;4644:506;;;;:::o;1929:205:26:-;2001:7;-1:-1:-1;;;;;2028:19:26;;2020:74;;;;-1:-1:-1;;;2020:74:26;;15675:2:43;2020:74:26;;;15657:21:43;15714:2;15694:18;;;15687:30;15753:34;15733:18;;;15726:62;-1:-1:-1;;;15804:18:43;;;15797:40;15854:19;;2020:74:26;15473:406:43;2020:74:26;-1:-1:-1;;;;;;2111:16:26;;;;;:9;:16;;;;;;;1929:205::o;1668:101:22:-;1108:6;;-1:-1:-1;;;;;1108:6:22;719:10:33;1248:23:22;1240:68;;;;-1:-1:-1;;;1240:68:22;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;7169:117:24:-;-1:-1:-1;;;;;7255:14:24;;7229:7;7255:14;;;:7;:14;;;;;918::34;7255:24:24;827:112:34;3281:236:24;3368:7;3409:12;3395:11;:26;3387:65;;;;-1:-1:-1;;;3387:65:24;;16086:2:43;3387:65:24;;;16068:21:43;16125:2;16105:18;;;16098:30;16164:28;16144:18;;;16137:56;16210:18;;3387:65:24;15884:350:43;3387:65:24;3469:41;:17;3498:11;3469:28;:41::i;2650:102:26:-;2706:13;2738:7;2731:14;;;;;:::i;2278:144:24:-;-1:-1:-1;;;;;2377:29:24;;2351:7;2377:29;;;:20;:29;;;;;:38;;:36;:38::i;4283:153:26:-;4377:52;719:10:33;4410:8:26;4420;4377:18;:52::i;5367:320::-;5536:41;719:10:33;5569:7:26;5536:18;:41::i;:::-;5528:103;;;;-1:-1:-1;;;5528:103:26;;;;;;;:::i;:::-;5641:39;5655:4;5661:2;5665:7;5674:5;5641:13;:39::i;:::-;5367:320;;;;:::o;4227:564:24:-;4446:6;4427:15;:25;;4419:62;;;;-1:-1:-1;;;4419:62:24;;16441:2:43;4419:62:24;;;16423:21:43;16480:2;16460:18;;;16453:30;16519:26;16499:18;;;16492:54;16563:18;;4419:62:24;16239:348:43;4419:62:24;4562:58;;;1878:71;4562:58;;;16823:25:43;-1:-1:-1;;;;;16884:32:43;;16864:18;;;16857:60;;;;16933:18;;;16926:34;;;16976:18;;;16969:34;;;4491:14:24;;4508:169;;4535:87;;16795:19:43;;4562:58:24;;;;;;;;;;;;4552:69;;;;;;4535:16;:87::i;:::-;4636:1;4651;4666;4508:13;:169::i;:::-;4491:186;;4704:17;4714:6;4704:9;:17::i;:::-;4695:5;:26;4687:59;;;;-1:-1:-1;;;4687:59:24;;17216:2:43;4687:59:24;;;17198:21:43;17255:2;17235:18;;;17228:30;-1:-1:-1;;;17274:18:43;;;17267:50;17334:18;;4687:59:24;17014:344:43;4687:59:24;4756:28;4766:6;4774:9;4756;:28::i;:::-;4409:382;4227:564;;;;;;:::o;2523:394:13:-;2693:16;;2591:13;;-1:-1:-1;;;;;2693:16:13;;2763:67;;-1:-1:-1;;2821:9:13;;;;;;;;;-1:-1:-1;2821:9:13;;;2523:394;-1:-1:-1;2523:394:13:o;2763:67::-;2876:36;;-1:-1:-1;;;2876:36:13;;;;;738:25:43;;;-1:-1:-1;;;;;2876:24:13;;;;;711:18:43;;2876:36:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2876:36:13;;;;;;;;;;;;:::i;1918:198:22:-;1108:6;;-1:-1:-1;;;;;1108:6:22;719:10:33;1248:23:22;1240:68;;;;-1:-1:-1;;;1240:68:22;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:22;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:22;;18218:2:43;1998:73:22::1;::::0;::::1;18200:21:43::0;18257:2;18237:18;;;18230:30;18296:34;18276:18;;;18269:62;-1:-1:-1;;;18347:18:43;;;18340:36;18393:19;;1998:73:22::1;18016:402:43::0;1998:73:22::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;1570:300:26:-;1672:4;-1:-1:-1;;;;;;1707:40:26;;-1:-1:-1;;;1707:40:26;;:104;;-1:-1:-1;;;;;;;1763:48:26;;-1:-1:-1;;;1763:48:26;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:38;;;1827:36:26;829:155:38;11168:171:26;11242:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11242:29:26;-1:-1:-1;;;;;11242:29:26;;;;;;;;:24;;11295:23;11242:24;11295:14;:23::i;:::-;-1:-1:-1;;;;;11286:46:26;;;;;;;;;;;11168:171;;:::o;7442:344::-;7535:4;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:26;7551:73;;;;-1:-1:-1;;;7551:73:26;;18625:2:43;7551:73:26;;;18607:21:43;18664:2;18644:18;;;18637:30;18703:34;18683:18;;;18676:62;-1:-1:-1;;;18754:18:43;;;18747:42;18806:19;;7551:73:26;18423:408:43;7551:73:26;7634:13;7650:23;7665:7;7650:14;:23::i;:::-;7634:39;;7702:5;-1:-1:-1;;;;;7691:16:26;:7;-1:-1:-1;;;;;7691:16:26;;:51;;;;7735:7;-1:-1:-1;;;;;7711:31:26;:20;7723:7;7711:11;:20::i;:::-;-1:-1:-1;;;;;7711:31:26;;7691:51;:87;;;-1:-1:-1;;;;;;4622:25:26;;;4599:4;4622:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7746:32;7683:96;7442:344;-1:-1:-1;;;;7442:344:26:o;10452:605::-;10606:4;-1:-1:-1;;;;;10579:31:26;:23;10594:7;10579:14;:23::i;:::-;-1:-1:-1;;;;;10579:31:26;;10571:81;;;;-1:-1:-1;;;10571:81:26;;19038:2:43;10571:81:26;;;19020:21:43;19077:2;19057:18;;;19050:30;19116:34;19096:18;;;19089:62;-1:-1:-1;;;19167:18:43;;;19160:35;19212:19;;10571:81:26;18836:401:43;10571:81:26;-1:-1:-1;;;;;10670:16:26;;10662:65;;;;-1:-1:-1;;;10662:65:26;;19444:2:43;10662:65:26;;;19426:21:43;19483:2;19463:18;;;19456:30;19522:34;19502:18;;;19495:62;-1:-1:-1;;;19573:18:43;;;19566:34;19617:19;;10662:65:26;19242:400:43;10662:65:26;10839:29;10856:1;10860:7;10839:8;:29::i;:::-;-1:-1:-1;;;;;10879:15:26;;;;;;:9;:15;;;;;:20;;10898:1;;10879:15;:20;;10898:1;;10879:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10909:13:26;;;;;;:9;:13;;;;;:18;;10926:1;;10909:13;:18;;10926:1;;10909:18;:::i;:::-;;;;-1:-1:-1;;10937:16:26;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10937:21:26;-1:-1:-1;;;;;10937:21:26;;;;;;;;;10974:27;;10937:16;;10974:27;;;;;;;11012:38;11032:4;11038:2;11042:7;11012:19;:38::i;3143:308:37:-;3196:7;3227:4;-1:-1:-1;;;;;3236:12:37;3219:29;;:66;;;;;3269:16;3252:13;:33;3219:66;3215:230;;;-1:-1:-1;3308:24:37;;3143:308::o;3215:230::-;-1:-1:-1;3633:73:37;;;3392:10;3633:73;;;;22597:25:43;;;;3404:12:37;22638:18:43;;;22631:34;3418:15:37;22681:18:43;;;22674:34;3677:13:37;22724:18:43;;;22717:34;3700:4:37;22767:19:43;;;;22760:61;;;;3633:73:37;;;;;;;;;;22569:19:43;;;;3633:73:37;;;3623:84;;;;;;7423:104:24:o;3361:359:14:-;3497:10;-1:-1:-1;;;;;3497:22:14;;;;;;:109;;-1:-1:-1;3530:76:14;;-1:-1:-1;;;3530:76:14;;3558:10;3530:76;;;20179:34:43;-1:-1:-1;;;;;20249:15:43;;;20229:18;;;20222:43;20281:18;;;20274:34;;;20324:18;;;20317:34;;;3530:13:14;:27;;;;20113:19:43;;3530:76:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3529:77;3497:109;:190;;;;-1:-1:-1;3617:70:14;;-1:-1:-1;;;3617:70:14;;3645:10;3617:70;;;20179:34:43;-1:-1:-1;;;;;20249:15:43;;;20229:18;;;20222:43;3667:1:14;20281:18:43;;;20274:34;20324:18;;;20317:34;;;3617:13:14;:27;;;;20113:19:43;;3617:70:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3616:71;3497:190;3486:229;;;3701:14;;-1:-1:-1;;;3701:14:14;;;;;;;;;;;1281:578:32;1367:7;1408:12;1394:11;:26;1386:71;;;;-1:-1:-1;;;1386:71:32;;21274:2:43;1386:71:32;;;21256:21:43;;;21293:18;;;21286:30;21352:34;21332:18;;;21325:62;21404:18;;1386:71:32;21072:356:43;1386:71:32;1483:24;;1468:12;1542:244;1555:4;1549:3;:10;1542:244;;;1575:11;1589:23;1602:3;1607:4;1589:12;:23::i;:::-;1575:37;;1668:11;1630:4;:17;;1648:3;1630:22;;;;;;;;:::i;:::-;;;;;;;;;;:35;;;:49;1626:150;;;1706:3;1699:10;;1626:150;;;1754:7;:3;1760:1;1754:7;:::i;:::-;1748:13;;1626:150;1561:225;1542:244;;;1802:9;;:50;;1818:4;1836:8;1843:1;1836:4;:8;:::i;:::-;1818:27;;;;;;;;:::i;:::-;;;;;;;;;;:34;;;;-1:-1:-1;;;;;1818:34:32;1802:50;;;1814:1;1802:50;-1:-1:-1;;;;;1795:57:32;;1281:578;-1:-1:-1;;;;;1281:578:32:o;4955:313:24:-;-1:-1:-1;;;;;3893:20:24;;;5037:19;3893:20;;;:11;:20;;;;;;;;5087:32;;;-1:-1:-1;;;;;;5087:32:24;;;;;;;5135:48;;3893:20;;;;;5087:32;3893:20;;;;5135:48;;5037:19;5135:48;5193:68;5212:11;5225:9;5236:24;5252:7;5236:15;:24::i;:::-;5193:18;:68::i;8116:108:26:-;8191:26;8201:2;8205:7;8191:26;;;;;;;;;;;;:9;:26::i;2270:187:22:-;2362:6;;;-1:-1:-1;;;;;2378:17:22;;;-1:-1:-1;;;;;;2378:17:22;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;901:190:32:-;995:24;;962:7;;1036:8;;:48;;1051:4;1069:7;1075:1;1069:3;:7;:::i;:::-;1051:26;;;;;;;;:::i;:::-;;;;;;;;;;:33;;;;-1:-1:-1;;;;;1051:33:32;1036:48;;;1047:1;1036:48;-1:-1:-1;;;;;1029:55:32;;901:190;-1:-1:-1;;;901:190:32:o;11474:307:26:-;11624:8;-1:-1:-1;;;;;11615:17:26;:5;-1:-1:-1;;;;;11615:17:26;;11607:55;;;;-1:-1:-1;;;11607:55:26;;21767:2:43;11607:55:26;;;21749:21:43;21806:2;21786:18;;;21779:30;21845:27;21825:18;;;21818:55;21890:18;;11607:55:26;21565:349:43;11607:55:26;-1:-1:-1;;;;;11672:25:26;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11672:46:26;;;;;;;;;;11733:41;;540::43;;;11733::26;;513:18:43;11733:41:26;;;;;;;11474:307;;;:::o;6549:::-;6700:28;6710:4;6716:2;6720:7;6700:9;:28::i;:::-;6746:48;6769:4;6775:2;6779:7;6788:5;6746:22;:48::i;:::-;6738:111;;;;-1:-1:-1;;;6738:111:26;;;;;;;:::i;4339:165:37:-;4416:7;4442:55;4464:20;:18;:20::i;:::-;4486:10;9226:57:36;;-1:-1:-1;;;9226:57:36;;;24313:27:43;24356:11;;;24349:27;;;24392:12;;;24385:28;;;9190:7:36;;24429:12:43;;9226:57:36;;;;;;;;;;;;9216:68;;;;;;9209:75;;9097:194;;;;;7452:270;7575:7;7595:17;7614:18;7636:25;7647:4;7653:1;7656;7659;7636:10;:25::i;:::-;7594:67;;;;7671:18;7683:5;7671:11;:18::i;:::-;-1:-1:-1;7706:9:36;7452:270;-1:-1:-1;;;;;7452:270:36:o;6906:203:24:-;-1:-1:-1;;;;;7026:14:24;;6966:15;7026:14;;;:7;:14;;;;;918::34;;1050:1;1032:19;;;;918:14;7085:17:24;6983:126;6906:203;;;:::o;932:232:30:-;1070:33;1091:4;1097:2;1101:1;1070:20;:33::i;678:153:40:-;740:7;813:11;823:1;814:5;;;813:11;:::i;:::-;803:21;;804:5;;;803:21;:::i;1232:128:30:-;1309:7;1335:18;1345:7;1335:9;:18::i;5973:610:24:-;6103:2;-1:-1:-1;;;;;6095:10:24;:4;-1:-1:-1;;;;;6095:10:24;;;:24;;;;;6118:1;6109:6;:10;6095:24;6091:486;;;-1:-1:-1;;;;;6139:18:24;;;6135:215;;-1:-1:-1;;;;;6216:26:24;;6178:16;6216:26;;;:20;:26;;;;;6178:16;;6216:50;;6248:9;6259:6;6216:31;:50::i;:::-;6177:89;;;;6310:4;-1:-1:-1;;;;;6289:46:24;;6316:8;6326;6289:46;;;;;;23228:25:43;;;23284:2;23269:18;;23262:34;23216:2;23201:18;;23054:248;6289:46:24;;;;;;;;6159:191;;6135:215;-1:-1:-1;;;;;6367:16:24;;;6363:204;;-1:-1:-1;;;;;6442:24:24;;6404:16;6442:24;;;:20;:24;;;;;6404:16;;6442:43;;6472:4;6478:6;6442:29;:43::i;:::-;6403:82;;;;6529:2;-1:-1:-1;;;;;6508:44:24;;6533:8;6543;6508:44;;;;;;23228:25:43;;;23284:2;23269:18;;23262:34;23216:2;23201:18;;23054:248;8445:311:26;8570:18;8576:2;8580:7;8570:5;:18::i;:::-;8619:54;8650:1;8654:2;8658:7;8667:5;8619:22;:54::i;:::-;8598:151;;;;-1:-1:-1;;;8598:151:26;;;;;;;:::i;12334:778::-;12484:4;-1:-1:-1;;;;;12504:13:26;;1465:19:31;:23;12500:606:26;;12539:72;;-1:-1:-1;;;12539:72:26;;-1:-1:-1;;;;;12539:36:26;;;;;:72;;719:10:33;;12590:4:26;;12596:7;;12605:5;;12539:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12539:72:26;;;;;;;;-1:-1:-1;;12539:72:26;;;;;;;;;;;;:::i;:::-;;;12535:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12778:6;:13;12795:1;12778:18;12774:266;;12820:60;;-1:-1:-1;;;12820:60:26;;;;;;;:::i;12774:266::-;12992:6;12986:13;12977:6;12973:2;12969:15;12962:38;12535:519;-1:-1:-1;;;;;;12661:51:26;-1:-1:-1;;;12661:51:26;;-1:-1:-1;12654:58:26;;12500:606;-1:-1:-1;13091:4:26;13084:11;;5716:1603:36;5842:7;;6766:66;6753:79;;6749:161;;;-1:-1:-1;6864:1:36;;-1:-1:-1;6868:30:36;6848:51;;6749:161;6923:1;:7;;6928:2;6923:7;;:18;;;;;6934:1;:7;;6939:2;6934:7;;6923:18;6919:100;;;-1:-1:-1;6973:1:36;;-1:-1:-1;6977:30:36;6957:51;;6919:100;7130:24;;;7113:14;7130:24;;;;;;;;;24679:25:43;;;24752:4;24740:17;;24720:18;;;24713:45;;;;24774:18;;;24767:34;;;24817:18;;;24810:34;;;7130:24:36;;24651:19:43;;7130:24:36;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7130:24:36;;-1:-1:-1;;7130:24:36;;;-1:-1:-1;;;;;;;7168:20:36;;7164:101;;7220:1;7224:29;7204:50;;;;;;;7164:101;7283:6;-1:-1:-1;7291:20:36;;-1:-1:-1;5716:1603:36;;;;;;;;:::o;548:631::-;625:20;616:5;:29;;;;;;;;:::i;:::-;;612:561;;548:631;:::o;612:561::-;721:29;712:5;:38;;;;;;;;:::i;:::-;;708:465;;766:34;;-1:-1:-1;;;766:34:36;;25189:2:43;766:34:36;;;25171:21:43;25228:2;25208:18;;;25201:30;25267:26;25247:18;;;25240:54;25311:18;;766:34:36;24987:348:43;708:465:36;830:35;821:5;:44;;;;;;;;:::i;:::-;;817:356;;881:41;;-1:-1:-1;;;881:41:36;;25542:2:43;881:41:36;;;25524:21:43;25581:2;25561:18;;;25554:30;25620:33;25600:18;;;25593:61;25671:18;;881:41:36;25340:355:43;817:356:36;952:30;943:5;:39;;;;;;;;:::i;:::-;;939:234;;998:44;;-1:-1:-1;;;998:44:36;;25902:2:43;998:44:36;;;25884:21:43;25941:2;25921:18;;;25914:30;25980:34;25960:18;;;25953:62;-1:-1:-1;;;26031:18:43;;;26024:32;26073:19;;998:44:36;25700:398:43;939:234:36;1072:30;1063:5;:39;;;;;;;;:::i;:::-;;1059:114;;1118:44;;-1:-1:-1;;;1118:44:36;;26305:2:43;1118:44:36;;;26287:21:43;26344:2;26324:18;;;26317:30;26383:34;26363:18;;;26356:62;-1:-1:-1;;;26434:18:43;;;26427:32;26476:19;;1118:44:36;26103:398:43;5502:385:24;-1:-1:-1;;;;;5635:18:24;;5631:85;;5669:36;:17;5692:4;5698:6;5669:22;:36::i;:::-;;;5631:85;-1:-1:-1;;;;;5729:16:24;;5725:88;;5761:41;:17;5784:9;5795:6;5761:22;:41::i;:::-;;;5725:88;-1:-1:-1;;;;;3893:20:24;;;3867:7;3893:20;;;:11;:20;;;;;;;;;;;;;;;5822:58;;3893:20;;;;;5873:6;5822:18;:58::i;6691:101::-;6754:7;6780:5;6784:1;6780;:5;:::i;2822:230:32:-;2975:7;2984;3010:35;3015:4;3021:23;3024:12;3031:4;3024:6;:12::i;:::-;3038:5;3021:2;:23;;:::i;:::-;3010:4;:35::i;:::-;3003:42;;;;2822:230;;;;;;:::o;6589:96:24:-;6647:7;6673:5;6677:1;6673;:5;:::i;9078:427:26:-;-1:-1:-1;;;;;9157:16:26;;9149:61;;;;-1:-1:-1;;;9149:61:26;;26708:2:43;9149:61:26;;;26690:21:43;;;26727:18;;;26720:30;26786:34;26766:18;;;26759:62;26838:18;;9149:61:26;26506:356:43;9149:61:26;7224:4;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:26;:30;9220:58;;;;-1:-1:-1;;;9220:58:26;;27069:2:43;9220:58:26;;;27051:21:43;27108:2;27088:18;;;27081:30;27147;27127:18;;;27120:58;27195:18;;9220:58:26;26867:352:43;9220:58:26;-1:-1:-1;;;;;9345:13:26;;;;;;:9;:13;;;;;:18;;9362:1;;9345:13;:18;;9362:1;;9345:18;:::i;:::-;;;;-1:-1:-1;;9373:16:26;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9373:21:26;-1:-1:-1;;;;;9373:21:26;;;;;;;;9410:33;;9373:16;;;9410:33;;9373:16;;9410:33;9454:44;9482:1;9486:2;9490:7;9454:19;:44::i;2037:553:32:-;2148:24;;2106:7;;;;;2196:12;2148:4;2196:6;:12::i;:::-;2182:26;;2228:1;2222:3;:7;:66;;;;-1:-1:-1;2276:12:32;2233:4;2251:7;2257:1;2251:3;:7;:::i;:::-;2233:26;;;;;;;;:::i;:::-;;;;;;;;;;:39;;;:55;2222:66;2218:337;;;2340:25;2359:5;2340:18;:25::i;:::-;2304:4;2322:7;2328:1;2322:3;:7;:::i;:::-;2304:26;;;;;;;;:::i;:::-;;;;;;;;:33;;;:61;;;;;-1:-1:-1;;;;;2304:61:32;;;;;-1:-1:-1;;;;;2304:61:32;;;;;;2218:337;;;2396:4;:17;;2436:94;;;;;;;;2462:31;2480:12;2462:17;:31::i;:::-;2436:94;;;;;;2503:25;2522:5;2503:18;:25::i;:::-;-1:-1:-1;;;;;2436:94:32;;;;;;2396:148;;;;;;;-1:-1:-1;2396:148:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2218:337;2572:3;-1:-1:-1;2577:5:32;;-1:-1:-1;;2037:553:32;;;;;;:::o;1135:192:41:-;1192:7;-1:-1:-1;;;;;1219:26:41;;;1211:78;;;;-1:-1:-1;;;1211:78:41;;27426:2:43;1211:78:41;;;27408:21:43;27465:2;27445:18;;;27438:30;27504:34;27484:18;;;27477:62;-1:-1:-1;;;27555:18:43;;;27548:37;27602:19;;1211:78:41;27224:403:43;1211:78:41;-1:-1:-1;1314:5:41;1135:192::o;3045:187::-;3101:6;3136:16;3127:25;;;3119:76;;;;-1:-1:-1;;;3119:76:41;;27834:2:43;3119:76:41;;;27816:21:43;27873:2;27853:18;;;27846:30;27912:34;27892:18;;;27885:62;-1:-1:-1;;;27963:18:43;;;27956:36;28009:19;;3119:76:41;27632:402:43;14:131;-1:-1:-1;;;;;;88:32:43;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:250::-;859:1;869:113;883:6;880:1;877:13;869:113;;;959:11;;;953:18;940:11;;;933:39;905:2;898:10;869:113;;;-1:-1:-1;;1016:1:43;998:16;;991:27;774:250::o;1029:271::-;1071:3;1109:5;1103:12;1136:6;1131:3;1124:19;1152:76;1221:6;1214:4;1209:3;1205:14;1198:4;1191:5;1187:16;1152:76;:::i;:::-;1282:2;1261:15;-1:-1:-1;;1257:29:43;1248:39;;;;1289:4;1244:50;;1029:271;-1:-1:-1;;1029:271:43:o;1305:220::-;1454:2;1443:9;1436:21;1417:4;1474:45;1515:2;1504:9;1500:18;1492:6;1474:45;:::i;1530:180::-;1589:6;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;-1:-1:-1;1681:23:43;;1530:180;-1:-1:-1;1530:180:43:o;2032:131::-;-1:-1:-1;;;;;2107:31:43;;2097:42;;2087:70;;2153:1;2150;2143:12;2168:315;2236:6;2244;2297:2;2285:9;2276:7;2272:23;2268:32;2265:52;;;2313:1;2310;2303:12;2265:52;2352:9;2339:23;2371:31;2396:5;2371:31;:::i;:::-;2421:5;2473:2;2458:18;;;;2445:32;;-1:-1:-1;;;2168:315:43:o;2488:456::-;2565:6;2573;2581;2634:2;2622:9;2613:7;2609:23;2605:32;2602:52;;;2650:1;2647;2640:12;2602:52;2689:9;2676:23;2708:31;2733:5;2708:31;:::i;:::-;2758:5;-1:-1:-1;2815:2:43;2800:18;;2787:32;2828:33;2787:32;2828:33;:::i;:::-;2488:456;;2880:7;;-1:-1:-1;;;2934:2:43;2919:18;;;;2906:32;;2488:456::o;2949:276::-;3037:6;3090:2;3078:9;3069:7;3065:23;3061:32;3058:52;;;3106:1;3103;3096:12;3058:52;3145:9;3132:23;3164:31;3189:5;3164:31;:::i;3412:165::-;3482:5;3527:2;3518:6;3513:3;3509:16;3505:25;3502:45;;;3543:1;3540;3533:12;3582:445;3688:6;3696;3749:2;3737:9;3728:7;3724:23;3720:32;3717:52;;;3765:1;3762;3755:12;3717:52;3801:9;3788:23;3778:33;;3862:2;3851:9;3847:18;3834:32;3889:18;3881:6;3878:30;3875:50;;;3921:1;3918;3911:12;3875:50;3944:77;4013:7;4004:6;3993:9;3989:22;3944:77;:::i;:::-;3934:87;;;3582:445;;;;;:::o;4032:248::-;4100:6;4108;4161:2;4149:9;4140:7;4136:23;4132:32;4129:52;;;4177:1;4174;4167:12;4129:52;-1:-1:-1;;4200:23:43;;;4270:2;4255:18;;;4242:32;;-1:-1:-1;4032:248:43:o;4537:512::-;4643:6;4651;4704:2;4692:9;4683:7;4679:23;4675:32;4672:52;;;4720:1;4717;4710:12;4672:52;4759:9;4746:23;4778:31;4803:5;4778:31;:::i;:::-;4828:5;-1:-1:-1;4884:2:43;4869:18;;4856:32;4911:18;4900:30;;4897:50;;;4943:1;4940;4933:12;5054:118;5140:5;5133:13;5126:21;5119:5;5116:32;5106:60;;5162:1;5159;5152:12;5177:382;5242:6;5250;5303:2;5291:9;5282:7;5278:23;5274:32;5271:52;;;5319:1;5316;5309:12;5271:52;5358:9;5345:23;5377:31;5402:5;5377:31;:::i;:::-;5427:5;-1:-1:-1;5484:2:43;5469:18;;5456:32;5497:30;5456:32;5497:30;:::i;:::-;5546:7;5536:17;;;5177:382;;;;;:::o;5798:127::-;5859:10;5854:3;5850:20;5847:1;5840:31;5890:4;5887:1;5880:15;5914:4;5911:1;5904:15;5930:275;6001:2;5995:9;6066:2;6047:13;;-1:-1:-1;;6043:27:43;6031:40;;6101:18;6086:34;;6122:22;;;6083:62;6080:88;;;6148:18;;:::i;:::-;6184:2;6177:22;5930:275;;-1:-1:-1;5930:275:43:o;6210:186::-;6258:4;6291:18;6283:6;6280:30;6277:56;;;6313:18;;:::i;:::-;-1:-1:-1;6379:2:43;6358:15;-1:-1:-1;;6354:29:43;6385:4;6350:40;;6210:186::o;6401:1016::-;6496:6;6504;6512;6520;6573:3;6561:9;6552:7;6548:23;6544:33;6541:53;;;6590:1;6587;6580:12;6541:53;6629:9;6616:23;6648:31;6673:5;6648:31;:::i;:::-;6698:5;-1:-1:-1;6755:2:43;6740:18;;6727:32;6768:33;6727:32;6768:33;:::i;:::-;6820:7;-1:-1:-1;6874:2:43;6859:18;;6846:32;;-1:-1:-1;6929:2:43;6914:18;;6901:32;6956:18;6945:30;;6942:50;;;6988:1;6985;6978:12;6942:50;7011:22;;7064:4;7056:13;;7052:27;-1:-1:-1;7042:55:43;;7093:1;7090;7083:12;7042:55;7129:2;7116:16;7154:48;7170:31;7198:2;7170:31;:::i;:::-;7154:48;:::i;:::-;7225:2;7218:5;7211:17;7265:7;7260:2;7255;7251;7247:11;7243:20;7240:33;7237:53;;;7286:1;7283;7276:12;7237:53;7341:2;7336;7332;7328:11;7323:2;7316:5;7312:14;7299:45;7385:1;7380:2;7375;7368:5;7364:14;7360:23;7353:34;7406:5;7396:15;;;;;6401:1016;;;;;;;:::o;7422:687::-;7524:6;7532;7540;7548;7556;7564;7617:3;7605:9;7596:7;7592:23;7588:33;7585:53;;;7634:1;7631;7624:12;7585:53;7673:9;7660:23;7692:31;7717:5;7692:31;:::i;:::-;7742:5;-1:-1:-1;7794:2:43;7779:18;;7766:32;;-1:-1:-1;7845:2:43;7830:18;;7817:32;;-1:-1:-1;7901:2:43;7886:18;;7873:32;7949:4;7936:18;;7924:31;;7914:59;;7969:1;7966;7959:12;7914:59;7422:687;;;;-1:-1:-1;7422:687:43;;8046:3;8031:19;;8018:33;;8098:3;8083:19;;;8070:33;;-1:-1:-1;7422:687:43;-1:-1:-1;;7422:687:43:o;8351:388::-;8419:6;8427;8480:2;8468:9;8459:7;8455:23;8451:32;8448:52;;;8496:1;8493;8486:12;8448:52;8535:9;8522:23;8554:31;8579:5;8554:31;:::i;:::-;8604:5;-1:-1:-1;8661:2:43;8646:18;;8633:32;8674:33;8633:32;8674:33;:::i;8744:380::-;8823:1;8819:12;;;;8866;;;8887:61;;8941:4;8933:6;8929:17;8919:27;;8887:61;8994:2;8986:6;8983:14;8963:18;8960:38;8957:161;;9040:10;9035:3;9031:20;9028:1;9021:31;9075:4;9072:1;9065:15;9103:4;9100:1;9093:15;10369:413;10571:2;10553:21;;;10610:2;10590:18;;;10583:30;10649:34;10644:2;10629:18;;10622:62;-1:-1:-1;;;10715:2:43;10700:18;;10693:47;10772:3;10757:19;;10369:413::o;10787:356::-;10989:2;10971:21;;;11008:18;;;11001:30;11067:34;11062:2;11047:18;;11040:62;11134:2;11119:18;;10787:356::o;11148:522::-;11226:4;11232:6;11292:11;11279:25;11386:2;11382:7;11371:8;11355:14;11351:29;11347:43;11327:18;11323:68;11313:96;;11405:1;11402;11395:12;11313:96;11432:33;;11484:20;;;-1:-1:-1;11527:18:43;11516:30;;11513:50;;;11559:1;11556;11549:12;11513:50;11592:4;11580:17;;-1:-1:-1;11623:14:43;11619:27;;;11609:38;;11606:58;;;11660:1;11657;11650:12;11801:545;11903:2;11898:3;11895:11;11892:448;;;11939:1;11964:5;11960:2;11953:17;12009:4;12005:2;11995:19;12079:2;12067:10;12063:19;12060:1;12056:27;12050:4;12046:38;12115:4;12103:10;12100:20;12097:47;;;-1:-1:-1;12138:4:43;12097:47;12193:2;12188:3;12184:12;12181:1;12177:20;12171:4;12167:31;12157:41;;12248:82;12266:2;12259:5;12256:13;12248:82;;;12311:17;;;12292:1;12281:13;12248:82;;;12252:3;;;11801:545;;;:::o;12522:1206::-;12646:18;12641:3;12638:27;12635:53;;;12668:18;;:::i;:::-;12697:94;12787:3;12747:38;12779:4;12773:11;12747:38;:::i;:::-;12741:4;12697:94;:::i;:::-;12817:1;12842:2;12837:3;12834:11;12859:1;12854:616;;;;13514:1;13531:3;13528:93;;;-1:-1:-1;13587:19:43;;;13574:33;13528:93;-1:-1:-1;;12479:1:43;12475:11;;;12471:24;12467:29;12457:40;12503:1;12499:11;;;12454:57;13634:78;;12827:895;;12854:616;11748:1;11741:14;;;11785:4;11772:18;;-1:-1:-1;;12890:17:43;;;12991:9;13013:229;13027:7;13024:1;13021:14;13013:229;;;13116:19;;;13103:33;13088:49;;13223:4;13208:20;;;;13176:1;13164:14;;;;13043:12;13013:229;;;13017:3;13270;13261:7;13258:16;13255:159;;;13394:1;13390:6;13384:3;13378;13375:1;13371:11;13367:21;13363:34;13359:39;13346:9;13341:3;13337:19;13324:33;13320:79;13312:6;13305:95;13255:159;;;13457:1;13451:3;13448:1;13444:11;13440:19;13434:4;13427:33;12827:895;;;12522:1206;;;:::o;13733:1053::-;13964:2;13953:9;13946:21;13927:4;14015:6;14002:20;14102:2;14098:7;14089:6;14073:14;14069:27;14065:41;14045:18;14041:66;14031:94;;14121:1;14118;14111:12;14031:94;14147:31;;14255:4;14244:16;;;14201:19;14283:18;14272:30;;14269:50;;;14315:1;14312;14305:12;14269:50;14364:6;14348:14;14344:27;14335:7;14331:41;14328:61;;;14385:1;14382;14375:12;14328:61;14425:2;14420;14409:9;14405:18;14398:30;14465:6;14459:3;14448:9;14444:19;14437:35;14524:6;14515:7;14509:3;14498:9;14494:19;14481:50;14581:1;14575:3;14566:6;14555:9;14551:22;14547:32;14540:43;14644:4;14636:6;14632:17;14619:31;14614:2;14603:9;14599:18;14592:59;14719:3;14712:2;14708:7;14703:2;14695:6;14691:15;14687:29;14676:9;14672:45;14668:55;14660:63;;;;14732:48;14774:4;14763:9;14759:20;14751:6;-1:-1:-1;;;;;1781:31:43;1769:44;;1715:104;15201:127;15262:10;15257:3;15253:20;15250:1;15243:31;15293:4;15290:1;15283:15;15317:4;15314:1;15307:15;15333:135;15372:3;15393:17;;;15390:43;;15413:18;;:::i;:::-;-1:-1:-1;15460:1:43;15449:13;;15333:135::o;17363:648::-;17443:6;17496:2;17484:9;17475:7;17471:23;17467:32;17464:52;;;17512:1;17509;17502:12;17464:52;17545:9;17539:16;17578:18;17570:6;17567:30;17564:50;;;17610:1;17607;17600:12;17564:50;17633:22;;17686:4;17678:13;;17674:27;-1:-1:-1;17664:55:43;;17715:1;17712;17705:12;17664:55;17744:2;17738:9;17769:48;17785:31;17813:2;17785:31;:::i;17769:48::-;17840:2;17833:5;17826:17;17880:7;17875:2;17870;17866;17862:11;17858:20;17855:33;17852:53;;;17901:1;17898;17891:12;17852:53;17914:67;17978:2;17973;17966:5;17962:14;17957:2;17953;17949:11;17914:67;:::i;:::-;18000:5;17363:648;-1:-1:-1;;;;;17363:648:43:o;19647:128::-;19714:9;;;19735:11;;;19732:37;;;19749:18;;:::i;19780:125::-;19845:9;;;19866:10;;;19863:36;;;19879:18;;:::i;20362:245::-;20429:6;20482:2;20470:9;20461:7;20457:23;20453:32;20450:52;;;20498:1;20495;20488:12;20450:52;20530:9;20524:16;20549:28;20571:5;20549:28;:::i;21433:127::-;21494:10;21489:3;21485:20;21482:1;21475:31;21525:4;21522:1;21515:15;21549:4;21546:1;21539:15;21919:414;22121:2;22103:21;;;22160:2;22140:18;;;22133:30;22199:34;22194:2;22179:18;;22172:62;-1:-1:-1;;;22265:2:43;22250:18;;22243:48;22323:3;22308:19;;21919:414::o;22832:217::-;22872:1;22898;22888:132;;22942:10;22937:3;22933:20;22930:1;22923:31;22977:4;22974:1;22967:15;23005:4;23002:1;22995:15;22888:132;-1:-1:-1;23034:9:43;;22832:217::o;23307:489::-;-1:-1:-1;;;;;23576:15:43;;;23558:34;;23628:15;;23623:2;23608:18;;23601:43;23675:2;23660:18;;23653:34;;;23723:3;23718:2;23703:18;;23696:31;;;23501:4;;23744:46;;23770:19;;23762:6;23744:46;:::i;:::-;23736:54;23307:489;-1:-1:-1;;;;;;23307:489:43:o;23801:249::-;23870:6;23923:2;23911:9;23902:7;23898:23;23894:32;23891:52;;;23939:1;23936;23929:12;23891:52;23971:9;23965:16;23990:30;24014:5;23990:30;:::i;24855:127::-;24916:10;24911:3;24907:20;24904:1;24897:31;24947:4;24944:1;24937:15;24971:4;24968:1;24961:15", - "linkReferences": {}, - "immutableReferences": { - "24252": [ - { - "start": 994, - "length": 32 - }, - { - "start": 4960, - "length": 32 - }, - { - "start": 5127, - "length": 32 - } - ], - "27547": [ - { - "start": 4691, - "length": 32 - } - ], - "27549": [ - { - "start": 4649, - "length": 32 - } - ], - "27551": [ - { - "start": 4607, - "length": 32 - } - ], - "27553": [ - { - "start": 4774, - "length": 32 - } - ], - "27555": [ - { - "start": 4811, - "length": 32 - } - ], - "27557": [ - { - "start": 4732, - "length": 32 - } - ] - } - }, - "methodIdentifiers": { - "DOMAIN_SEPARATOR()": "3644e515", - "approve(address,uint256)": "095ea7b3", - "balanceOf(address)": "70a08231", - "count()": "06661abd", - "createFor(address,(string,uint256))": "666d87a0", - "delegate(address)": "5c19a95c", - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": "c3cda520", - "delegates(address)": "587cde1e", - "getApproved(uint256)": "081812fc", - "getPastTotalSupply(uint256)": "8e539e8c", - "getPastVotes(address,uint256)": "3a46b1a8", - "getVotes(address)": "9ab24eb0", - "isApprovedForAll(address,address)": "e985e9c5", - "metadataContentOf(uint256,uint256)": "39fbc775", - "name()": "06fdde03", - "nonces(address)": "7ecebe00", - "operatorStore()": "ad007d63", - "owner()": "8da5cb5b", - "ownerOf(uint256)": "6352211e", - "renounceOwnership()": "715018a6", - "safeTransferFrom(address,address,uint256)": "42842e0e", - "safeTransferFrom(address,address,uint256,bytes)": "b88d4fde", - "setApprovalForAll(address,bool)": "a22cb465", - "setMetadataOf(uint256,(string,uint256))": "36574975", - "setTokenUriResolver(address)": "2407497e", - "supportsInterface(bytes4)": "01ffc9a7", - "symbol()": "95d89b41", - "tokenURI(uint256)": "c87b56dd", - "tokenUriResolver()": "e131fc0c", - "transferFrom(address,address,uint256)": "23b872dd", - "transferOwnership(address)": "f2fde38b" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"_operatorStore\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"UNAUTHORIZED\",\"type\":\"error\"},{\"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\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct JBProjectMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Create\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct JBProjectMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetMetadata\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IJBTokenUriResolver\",\"name\":\"resolver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetTokenUriResolver\",\"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\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"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\":[],\"name\":\"count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"internalType\":\"struct JBProjectMetadata\",\"name\":\"_metadata\",\"type\":\"tuple\"}],\"name\":\"createFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"metadataContentOf\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"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\":\"_projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"internalType\":\"struct JBProjectMetadata\",\"name\":\"_metadata\",\"type\":\"tuple\"}],\"name\":\"setMetadataOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBTokenUriResolver\",\"name\":\"_newResolver\",\"type\":\"address\"}],\"name\":\"setTokenUriResolver\",\"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\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenUriResolver\",\"outputs\":[{\"internalType\":\"contract IJBTokenUriResolver\",\"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\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Projects are represented as ERC-721's.Adheres to - IJBProjects: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.Inherits from - JBOperatable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions. ERC721Votes: A checkpointable standard definition for non-fungible tokens (NFTs). Ownable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions.\",\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the contract's {EIP712} domain separator.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\"}},\"createFor(address,(string,uint256))\":{\"details\":\" Anyone can create a project on an owner's behalf.\",\"params\":{\"_metadata\":\"A struct containing metadata content about the project, and domain within which the metadata applies.\",\"_owner\":\"The address that will be the owner of the project.\"},\"returns\":{\"projectId\":\"The token ID of the newly created project.\"}},\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined\"},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"nonces(address)\":{\"details\":\"Returns an address nonce.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"setMetadataOf(uint256,(string,uint256))\":{\"details\":\" Only a project's owner or operator can set its metadata. Applications can use the domain namespace as they wish.\",\"params\":{\"_metadata\":\"A struct containing metadata content, and domain within which the metadata applies. \",\"_projectId\":\"The ID of the project who's metadata is being changed.\"}},\"setTokenUriResolver(address)\":{\"params\":{\"_newResolver\":\"The address of the new resolver.\"}},\"supportsInterface(bytes4)\":{\"details\":\" See {IERC165-supportsInterface}.\",\"params\":{\"_interfaceId\":\"The ID of the interface to check for adherance to.\"}},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenURI(uint256)\":{\"params\":{\"_projectId\":\"The ID of the project to get a URI of.\"},\"returns\":{\"_0\":\"The token URI to use for the provided `_projectId`.\"}},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"stateVariables\":{\"count\":{\"details\":\"The count is incremented with each new project created. The resulting ERC-721 token ID for each project is the newly incremented count value.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"count()\":{\"notice\":\" The number of projects that have been created using this contract.\"},\"createFor(address,(string,uint256))\":{\"notice\":\" Create a new project for the specified owner, which mints an NFT (ERC-721) into their wallet.\"},\"metadataContentOf(uint256,uint256)\":{\"notice\":\" The metadata for each project, which can be used across several domains. _projectId The ID of the project to which the metadata belongs. _domain The domain within which the metadata applies. Applications can use the domain namespace as they wish.\"},\"operatorStore()\":{\"notice\":\" A contract storing operator assignments.\"},\"setMetadataOf(uint256,(string,uint256))\":{\"notice\":\" Allows a project owner to set the project's metadata content for a particular domain namespace. \"},\"setTokenUriResolver(address)\":{\"notice\":\" Sets the address of the resolver used to retrieve the tokenURI of projects.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Indicates if this contract adheres to the specified interface.\"},\"tokenURI(uint256)\":{\"notice\":\" Returns the URI where the ERC-721 standard JSON of a project is hosted.\"},\"tokenUriResolver()\":{\"notice\":\"The contract resolving each project ID to its ERC721 URI.\"}},\"notice\":\" Stores project ownership and metadata.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol\":\"JBProjects\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol\":{\"keccak256\":\"0x7578efb357e78844d1f629aa6644606d5d66e6e70cf793ef67dd40ecd4753b0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5f849b5b91a1baf7e1638a307136fe893e402b8f0421b90ba74b1e474eaa6a92\",\"dweb:/ipfs/QmYcVZnKgriwH3woJntwH1XRscQ289TYN2g8gPs4WXiNU8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol\":{\"keccak256\":\"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a\",\"dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981\",\"dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51\"]},\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]},\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":{\"keccak256\":\"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767\",\"dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f\",\"dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol\":{\"keccak256\":\"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff\",\"dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]},\"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\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "_operatorStore", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [], - "type": "error", - "name": "UNAUTHORIZED" - }, - { - "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": "projectId", - "type": "uint256", - "indexed": true - }, - { - "internalType": "address", - "name": "owner", - "type": "address", - "indexed": true - }, - { - "internalType": "struct JBProjectMetadata", - "name": "metadata", - "type": "tuple", - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "indexed": false - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "Create", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "fromDelegate", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "toDelegate", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "DelegateChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegate", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "previousBalance", - "type": "uint256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "newBalance", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "DelegateVotesChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "previousOwner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "newOwner", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "OwnershipTransferred", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256", - "indexed": true - }, - { - "internalType": "struct JBProjectMetadata", - "name": "metadata", - "type": "tuple", - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ], - "indexed": false - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "SetMetadata", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "name": "resolver", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "caller", - "type": "address", - "indexed": false - } - ], - "type": "event", - "name": "SetTokenUriResolver", - "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": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "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": [], - "stateMutability": "view", - "type": "function", - "name": "count", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "struct JBProjectMetadata", - "name": "_metadata", - "type": "tuple", - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "createFor", - "outputs": [ - { - "internalType": "uint256", - "name": "projectId", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "delegate" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiry", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "delegateBySig" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "delegates", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPastTotalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPastVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "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": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "metadataContentOf", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "operatorStore", - "outputs": [ - { - "internalType": "contract IJBOperatorStore", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "renounceOwnership" - }, - { - "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": "_projectId", - "type": "uint256" - }, - { - "internalType": "struct JBProjectMetadata", - "name": "_metadata", - "type": "tuple", - "components": [ - { - "internalType": "string", - "name": "content", - "type": "string" - }, - { - "internalType": "uint256", - "name": "domain", - "type": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setMetadataOf" - }, - { - "inputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "name": "_newResolver", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setTokenUriResolver" - }, - { - "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": "_projectId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "tokenUriResolver", - "outputs": [ - { - "internalType": "contract IJBTokenUriResolver", - "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": "transferFrom" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferOwnership" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "DOMAIN_SEPARATOR()": { - "details": "Returns the contract's {EIP712} domain separator." - }, - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "constructor": { - "params": { - "_operatorStore": "A contract storing operator assignments." - } - }, - "createFor(address,(string,uint256))": { - "details": " Anyone can create a project on an owner's behalf.", - "params": { - "_metadata": "A struct containing metadata content about the project, and domain within which the metadata applies.", - "_owner": "The address that will be the owner of the project." - }, - "returns": { - "projectId": "The token ID of the newly created project." - } - }, - "delegate(address)": { - "details": "Delegates votes from the sender to `delegatee`." - }, - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": { - "details": "Delegates votes from signer to `delegatee`." - }, - "delegates(address)": { - "details": "Returns the delegate that `account` has chosen." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "getPastTotalSupply(uint256)": { - "details": "Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined" - }, - "getPastVotes(address,uint256)": { - "details": "Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined" - }, - "getVotes(address)": { - "details": "Returns the current amount of votes that `account` has." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "nonces(address)": { - "details": "Returns an address nonce." - }, - "owner()": { - "details": "Returns the address of the current owner." - }, - "ownerOf(uint256)": { - "details": "See {IERC721-ownerOf}." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "safeTransferFrom(address,address,uint256)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "safeTransferFrom(address,address,uint256,bytes)": { - "details": "See {IERC721-safeTransferFrom}." - }, - "setApprovalForAll(address,bool)": { - "details": "See {IERC721-setApprovalForAll}." - }, - "setMetadataOf(uint256,(string,uint256))": { - "details": " Only a project's owner or operator can set its metadata. Applications can use the domain namespace as they wish.", - "params": { - "_metadata": "A struct containing metadata content, and domain within which the metadata applies. ", - "_projectId": "The ID of the project who's metadata is being changed." - } - }, - "setTokenUriResolver(address)": { - "params": { - "_newResolver": "The address of the new resolver." - } - }, - "supportsInterface(bytes4)": { - "details": " See {IERC165-supportsInterface}.", - "params": { - "_interfaceId": "The ID of the interface to check for adherance to." - } - }, - "symbol()": { - "details": "See {IERC721Metadata-symbol}." - }, - "tokenURI(uint256)": { - "params": { - "_projectId": "The ID of the project to get a URI of." - }, - "returns": { - "_0": "The token URI to use for the provided `_projectId`." - } - }, - "transferFrom(address,address,uint256)": { - "details": "See {IERC721-transferFrom}." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "count()": { - "notice": " The number of projects that have been created using this contract." - }, - "createFor(address,(string,uint256))": { - "notice": " Create a new project for the specified owner, which mints an NFT (ERC-721) into their wallet." - }, - "metadataContentOf(uint256,uint256)": { - "notice": " The metadata for each project, which can be used across several domains. _projectId The ID of the project to which the metadata belongs. _domain The domain within which the metadata applies. Applications can use the domain namespace as they wish." - }, - "operatorStore()": { - "notice": " A contract storing operator assignments." - }, - "setMetadataOf(uint256,(string,uint256))": { - "notice": " Allows a project owner to set the project's metadata content for a particular domain namespace. " - }, - "setTokenUriResolver(address)": { - "notice": " Sets the address of the resolver used to retrieve the tokenURI of projects." - }, - "supportsInterface(bytes4)": { - "notice": "Indicates if this contract adheres to the specified interface." - }, - "tokenURI(uint256)": { - "notice": " Returns the URI where the ERC-721 standard JSON of a project is hosted." - }, - "tokenUriResolver()": { - "notice": "The contract resolving each project ID to its ERC721 URI." - } - }, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol": "JBProjects" - }, - "libraries": {} - }, - "sources": { - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol": { - "keccak256": "0x7578efb357e78844d1f629aa6644606d5d66e6e70cf793ef67dd40ecd4753b0c", - "urls": [ - "bzz-raw://5f849b5b91a1baf7e1638a307136fe893e402b8f0421b90ba74b1e474eaa6a92", - "dweb:/ipfs/QmYcVZnKgriwH3woJntwH1XRscQ289TYN2g8gPs4WXiNU8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol": { - "keccak256": "0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add", - "urls": [ - "bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735", - "dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol": { - "keccak256": "0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e", - "urls": [ - "bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b", - "dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol": { - "keccak256": "0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5", - "urls": [ - "bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c", - "dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol": { - "keccak256": "0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4", - "urls": [ - "bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9", - "dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol": { - "keccak256": "0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174", - "urls": [ - "bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e", - "dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol": { - "keccak256": "0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690", - "urls": [ - "bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a", - "dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol": { - "keccak256": "0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0", - "urls": [ - "bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af", - "dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP" - ], - "license": "MIT" - }, - "node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol": { - "keccak256": "0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0", - "urls": [ - "bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494", - "dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/access/Ownable.sol": { - "keccak256": "0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9", - "urls": [ - "bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981", - "dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol": { - "keccak256": "0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0", - "urls": [ - "bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86", - "dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/governance/utils/Votes.sol": { - "keccak256": "0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474", - "urls": [ - "bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767", - "dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": { - "keccak256": "0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de", - "urls": [ - "bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f", - "dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f", - "urls": [ - "bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f", - "dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a" - ], - "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/token/ERC721/extensions/draft-ERC721Votes.sol": { - "keccak256": "0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658", - "urls": [ - "bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff", - "dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "keccak256": "0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87", - "urls": [ - "bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58", - "dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Checkpoints.sol": { - "keccak256": "0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c", - "urls": [ - "bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb", - "dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ" - ], - "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": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": { - "keccak256": "0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29", - "urls": [ - "bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7", - "dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol": { - "keccak256": "0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7", - "urls": [ - "bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba", - "dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT" - ], - "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": "0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2", - "urls": [ - "bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6", - "dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": { - "keccak256": "0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7", - "urls": [ - "bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1", - "dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol", - "id": 24203, - "exportedSymbols": { - "Address": [ - 26601 - ], - "Checkpoints": [ - 26835 - ], - "Context": [ - 26857 - ], - "Counters": [ - 26931 - ], - "ECDSA": [ - 27541 - ], - "EIP712": [ - 27695 - ], - "ERC165": [ - 27719 - ], - "ERC721": [ - 26095 - ], - "ERC721Votes": [ - 26306 - ], - "IERC165": [ - 27731 - ], - "IERC721": [ - 26211 - ], - "IERC721Metadata": [ - 26256 - ], - "IERC721Receiver": [ - 26229 - ], - "IJBOperatable": [ - 24358 - ], - "IJBOperatorStore": [ - 24426 - ], - "IJBProjects": [ - 24505 - ], - "IJBTokenUriResolver": [ - 24515 - ], - "IVotes": [ - 24772 - ], - "JBOperatable": [ - 24348 - ], - "JBOperations": [ - 24572 - ], - "JBOperatorData": [ - 24582 - ], - "JBProjectMetadata": [ - 24589 - ], - "JBProjects": [ - 24202 - ], - "Math": [ - 27819 - ], - "Ownable": [ - 24694 - ], - "SafeCast": [ - 28212 - ], - "Strings": [ - 27134 - ], - "Votes": [ - 25226 - ] - }, - "nodeType": "SourceUnit", - "src": "32:6366:13", - "nodes": [ - { - "id": 23981, - "nodeType": "PragmaDirective", - "src": "32:24:13", - "literals": [ - "solidity", - "^", - "0.8", - ".16" - ] - }, - { - "id": 23982, - "nodeType": "ImportDirective", - "src": "58:52:13", - "absolutePath": "node_modules/@openzeppelin/contracts/access/Ownable.sol", - "file": "@openzeppelin/contracts/access/Ownable.sol", - "nameLocation": "-1:-1:-1", - "scope": 24203, - "sourceUnit": 24695, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 23983, - "nodeType": "ImportDirective", - "src": "111:79:13", - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol", - "file": "@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol", - "nameLocation": "-1:-1:-1", - "scope": 24203, - "sourceUnit": 26307, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 23984, - "nodeType": "ImportDirective", - "src": "191:37:13", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol", - "file": "./abstract/JBOperatable.sol", - "nameLocation": "-1:-1:-1", - "scope": 24203, - "sourceUnit": 24349, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 23985, - "nodeType": "ImportDirective", - "src": "229:38:13", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol", - "file": "./interfaces/IJBProjects.sol", - "nameLocation": "-1:-1:-1", - "scope": 24203, - "sourceUnit": 24506, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 23986, - "nodeType": "ImportDirective", - "src": "268:38:13", - "absolutePath": "node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol", - "file": "./libraries/JBOperations.sol", - "nameLocation": "-1:-1:-1", - "scope": 24203, - "sourceUnit": 24573, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24202, - "nodeType": "ContractDefinition", - "src": "956:5441:13", - "nodes": [ - { - "id": 24000, - "nodeType": "VariableDeclaration", - "src": "1517:33:13", - "baseFunctions": [ - 24465 - ], - "constant": false, - "documentation": { - "id": 23996, - "nodeType": "StructuredDocumentation", - "src": "1260:254:13", - "text": "@notice \nThe number of projects that have been created using this contract.\n@dev\nThe count is incremented with each new project created. \nThe resulting ERC-721 token ID for each project is the newly incremented count value." - }, - "functionSelector": "06661abd", - "mutability": "mutable", - "name": "count", - "nameLocation": "1541:5:13", - "overrides": { - "id": 23998, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1532:8:13" - }, - "scope": 24202, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23997, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1517:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "30", - "id": 23999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1549:1:13", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "visibility": "public" - }, - { - "id": 24008, - "nodeType": "VariableDeclaration", - "src": "1840:80:13", - "baseFunctions": [ - 24474 - ], - "constant": false, - "documentation": { - "id": 24001, - "nodeType": "StructuredDocumentation", - "src": "1555:282:13", - "text": "@notice \nThe metadata for each project, which can be used across several domains.\n_projectId The ID of the project to which the metadata belongs.\n_domain The domain within which the metadata applies. Applications can use the domain namespace as they wish." - }, - "functionSelector": "39fbc775", - "mutability": "mutable", - "name": "metadataContentOf", - "nameLocation": "1903:17:13", - "overrides": { - "id": 24007, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1894:8:13" - }, - "scope": 24202, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_string_storage_$_$", - "typeString": "mapping(uint256 => mapping(uint256 => string))" - }, - "typeName": { - "id": 24006, - "keyType": { - "id": 24002, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1848:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1840:46:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_string_storage_$_$", - "typeString": "mapping(uint256 => mapping(uint256 => string))" - }, - "valueType": { - "id": 24005, - "keyType": { - "id": 24003, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1867:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1859:26:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string)" - }, - "valueType": { - "id": 24004, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1878:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - } - } - }, - "visibility": "public" - }, - { - "id": 24013, - "nodeType": "VariableDeclaration", - "src": "2010:52:13", - "baseFunctions": [ - 24480 - ], - "constant": false, - "documentation": { - "id": 24009, - "nodeType": "StructuredDocumentation", - "src": "1925:82:13", - "text": "@notice\nThe contract resolving each project ID to its ERC721 URI." - }, - "functionSelector": "e131fc0c", - "mutability": "mutable", - "name": "tokenUriResolver", - "nameLocation": "2046:16:13", - "overrides": { - "id": 24012, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2037:8:13" - }, - "scope": 24202, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - }, - "typeName": { - "id": 24011, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24010, - "name": "IJBTokenUriResolver", - "nameLocations": [ - "2010:19:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24515, - "src": "2010:19:13" - }, - "referencedDeclaration": 24515, - "src": "2010:19:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "visibility": "public" - }, - { - "id": 24044, - "nodeType": "FunctionDefinition", - "src": "2523:394:13", - "body": { - "id": 24043, - "nodeType": "Block", - "src": "2606:311:13", - "statements": [ - { - "assignments": [ - 24024 - ], - "declarations": [ - { - "constant": false, - "id": 24024, - "mutability": "mutable", - "name": "_tokenUriResolver", - "nameLocation": "2673:17:13", - "nodeType": "VariableDeclaration", - "scope": 24043, - "src": "2653:37:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - }, - "typeName": { - "id": 24023, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24022, - "name": "IJBTokenUriResolver", - "nameLocations": [ - "2653:19:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24515, - "src": "2653:19:13" - }, - "referencedDeclaration": 24515, - "src": "2653:19:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "visibility": "internal" - } - ], - "id": 24026, - "initialValue": { - "id": 24025, - "name": "tokenUriResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24013, - "src": "2693:16:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2653:56:13" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - }, - "id": 24034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 24027, - "name": "_tokenUriResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24024, - "src": "2767:17:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 24031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2816:1:13", - "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": 24030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2808:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 24029, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2808:7:13", - "typeDescriptions": {} - } - }, - "id": 24032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2808:10:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24028, - "name": "IJBTokenUriResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24515, - "src": "2788:19:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBTokenUriResolver_$24515_$", - "typeString": "type(contract IJBTokenUriResolver)" - } - }, - "id": 24033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2788:31:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "src": "2767:52:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 24037, - "nodeType": "IfStatement", - "src": "2763:67:13", - "trueBody": { - "expression": { - "hexValue": "", - "id": 24035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2828:2:13", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - }, - "functionReturnParameters": 24021, - "id": 24036, - "nodeType": "Return", - "src": "2821:9:13" - } - }, - { - "expression": { - "arguments": [ - { - "id": 24040, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24016, - "src": "2901:10:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24038, - "name": "_tokenUriResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24024, - "src": "2876:17:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "id": 24039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2894:6:13", - "memberName": "getUri", - "nodeType": "MemberAccess", - "referencedDeclaration": 24514, - "src": "2876:24:13", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) view external returns (string memory)" - } - }, - "id": 24041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2876:36:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 24021, - "id": 24042, - "nodeType": "Return", - "src": "2869:43:13" - } - ] - }, - "baseFunctions": [ - 25437 - ], - "documentation": { - "id": 24014, - "nodeType": "StructuredDocumentation", - "src": "2296:224:13", - "text": "@notice \nReturns the URI where the ERC-721 standard JSON of a project is hosted.\n@param _projectId The ID of the project to get a URI of.\n@return The token URI to use for the provided `_projectId`." - }, - "functionSelector": "c87b56dd", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenURI", - "nameLocation": "2532:8:13", - "overrides": { - "id": 24018, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2573:8:13" - }, - "parameters": { - "id": 24017, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24016, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "2549:10:13", - "nodeType": "VariableDeclaration", - "scope": 24044, - "src": "2541:18:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24015, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2541:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2540:20:13" - }, - "returnParameters": { - "id": 24021, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24020, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24044, - "src": "2591:13:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 24019, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2591:6:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2590:15:13" - }, - "scope": 24202, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "id": 24075, - "nodeType": "FunctionDefinition", - "src": "3135:304:13", - "body": { - "id": 24074, - "nodeType": "Block", - "src": "3266:173:13", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 24072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 24067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 24060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 24055, - "name": "_interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24047, - "src": "3285:12:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 24057, - "name": "IJBProjects", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24505, - "src": "3306:11:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBProjects_$24505_$", - "typeString": "type(contract IJBProjects)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IJBProjects_$24505_$", - "typeString": "type(contract IJBProjects)" - } - ], - "id": 24056, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "3301:4:13", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 24058, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3301:17:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IJBProjects_$24505", - "typeString": "type(contract IJBProjects)" - } - }, - "id": 24059, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3319:11:13", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "3301:29:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "3285:45:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 24066, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 24061, - "name": "_interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24047, - "src": "3340:12:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 24063, - "name": "IJBOperatable", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24358, - "src": "3361:13:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IJBOperatable_$24358_$", - "typeString": "type(contract IJBOperatable)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_contract$_IJBOperatable_$24358_$", - "typeString": "type(contract IJBOperatable)" - } - ], - "id": 24062, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "3356:4:13", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 24064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3356:19:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_contract$_IJBOperatable_$24358", - "typeString": "type(contract IJBOperatable)" - } - }, - "id": 24065, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3376:11:13", - "memberName": "interfaceId", - "nodeType": "MemberAccess", - "src": "3356:31:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "3340:47:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3285:102:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "arguments": [ - { - "id": 24070, - "name": "_interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24047, - "src": "3421:12:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 24068, - "name": "super", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -25, - "src": "3397:5:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_JBProjects_$24202_$", - "typeString": "type(contract super JBProjects)" - } - }, - "id": 24069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3403:17:13", - "memberName": "supportsInterface", - "nodeType": "MemberAccess", - "referencedDeclaration": 25323, - "src": "3397:23:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", - "typeString": "function (bytes4) view returns (bool)" - } - }, - "id": 24071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3397:37:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3285:149:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 24054, - "id": 24073, - "nodeType": "Return", - "src": "3272:162:13" - } - ] - }, - "baseFunctions": [ - 25323, - 27730 - ], - "documentation": { - "id": 24045, - "nodeType": "StructuredDocumentation", - "src": "2921:211:13", - "text": "@notice\nIndicates if this contract adheres to the specified interface.\n@dev \nSee {IERC165-supportsInterface}.\n@param _interfaceId The ID of the interface to check for adherance to." - }, - "functionSelector": "01ffc9a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nameLocation": "3144:17:13", - "overrides": { - "id": 24051, - "nodeType": "OverrideSpecifier", - "overrides": [ - { - "id": 24049, - "name": "IERC165", - "nameLocations": [ - "3228:7:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27731, - "src": "3228:7:13" - }, - { - "id": 24050, - "name": "ERC721", - "nameLocations": [ - "3237:6:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26095, - "src": "3237:6:13" - } - ], - "src": "3219:25:13" - }, - "parameters": { - "id": 24048, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24047, - "mutability": "mutable", - "name": "_interfaceId", - "nameLocation": "3169:12:13", - "nodeType": "VariableDeclaration", - "scope": 24075, - "src": "3162:19:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 24046, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "3162:6:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "3161:21:13" - }, - "returnParameters": { - "id": 24054, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24053, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24075, - "src": "3258:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 24052, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3258:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "3257:6:13" - }, - "scope": 24202, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 24094, - "nodeType": "FunctionDefinition", - "src": "3751:214:13", - "body": { - "id": 24093, - "nodeType": "Block", - "src": "3959:6:13", - "statements": [] - }, - "documentation": { - "id": 24076, - "nodeType": "StructuredDocumentation", - "src": "3672:76:13", - "text": "@param _operatorStore A contract storing operator assignments." - }, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "hexValue": "4a75696365626f782050726f6a65637473", - "id": 24082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3807:19:13", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2e5c5c1c4affeaeda2d3db263faddbd323c18ac7d44a6ca994665583d3b15dad", - "typeString": "literal_string \"Juicebox Projects\"" - }, - "value": "Juicebox Projects" - }, - { - "hexValue": "4a55494345424f58", - "id": 24083, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3828:10:13", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9cb984262c2a7edbfc9d5c579006a113063ce1c22795b2cb5b72123d15caf509", - "typeString": "literal_string \"JUICEBOX\"" - }, - "value": "JUICEBOX" - } - ], - "id": 24084, - "kind": "baseConstructorSpecifier", - "modifierName": { - "id": 24081, - "name": "ERC721", - "nameLocations": [ - "3800:6:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26095, - "src": "3800:6:13" - }, - "nodeType": "ModifierInvocation", - "src": "3800:39:13" - }, - { - "arguments": [ - { - "hexValue": "4a75696365626f782050726f6a65637473", - "id": 24086, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3851:19:13", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2e5c5c1c4affeaeda2d3db263faddbd323c18ac7d44a6ca994665583d3b15dad", - "typeString": "literal_string \"Juicebox Projects\"" - }, - "value": "Juicebox Projects" - }, - { - "hexValue": "31", - "id": 24087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3872:3:13", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6", - "typeString": "literal_string \"1\"" - }, - "value": "1" - } - ], - "id": 24088, - "kind": "baseConstructorSpecifier", - "modifierName": { - "id": 24085, - "name": "EIP712", - "nameLocations": [ - "3844:6:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27695, - "src": "3844:6:13" - }, - "nodeType": "ModifierInvocation", - "src": "3844:32:13" - }, - { - "arguments": [ - { - "id": 24090, - "name": "_operatorStore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24079, - "src": "3894:14:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - } - ], - "id": 24091, - "kind": "baseConstructorSpecifier", - "modifierName": { - "id": 24089, - "name": "JBOperatable", - "nameLocations": [ - "3881:12:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24348, - "src": "3881:12:13" - }, - "nodeType": "ModifierInvocation", - "src": "3881:28:13" - } - ], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 24080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24079, - "mutability": "mutable", - "name": "_operatorStore", - "nameLocation": "3780:14:13", - "nodeType": "VariableDeclaration", - "scope": 24094, - "src": "3763:31:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - }, - "typeName": { - "id": 24078, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24077, - "name": "IJBOperatorStore", - "nameLocations": [ - "3763:16:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24426, - "src": "3763:16:13" - }, - "referencedDeclaration": 24426, - "src": "3763:16:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBOperatorStore_$24426", - "typeString": "contract IJBOperatorStore" - } - }, - "visibility": "internal" - } - ], - "src": "3762:33:13" - }, - "returnParameters": { - "id": 24092, - "nodeType": "ParameterList", - "parameters": [], - "src": "3959:0:13" - }, - "scope": 24202, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 24144, - "nodeType": "FunctionDefinition", - "src": "4644:506:13", - "body": { - "id": 24143, - "nodeType": "Block", - "src": "4777:373:13", - "statements": [ - { - "expression": { - "id": 24109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 24106, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24104, - "src": "4841:9:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 24108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "4853:7:13", - "subExpression": { - "id": 24107, - "name": "count", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24000, - "src": "4855:5:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4841:19:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 24110, - "nodeType": "ExpressionStatement", - "src": "4841:19:13" - }, - { - "expression": { - "arguments": [ - { - "id": 24112, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24097, - "src": "4902:6:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24113, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24104, - "src": "4910:9:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 24111, - "name": "_safeMint", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 25724, - 25753 - ], - "referencedDeclaration": 25724, - "src": "4892:9:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 24114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4892:28:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24115, - "nodeType": "ExpressionStatement", - "src": "4892:28:13" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 24123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "arguments": [ - { - "expression": { - "id": 24118, - "name": "_metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24100, - "src": "4982:9:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - } - }, - "id": 24119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4992:7:13", - "memberName": "content", - "nodeType": "MemberAccess", - "referencedDeclaration": 24586, - "src": "4982:17:13", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - ], - "id": 24117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4976:5:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 24116, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4976:5:13", - "typeDescriptions": {} - } - }, - "id": 24120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4976:24:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 24121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5001:6:13", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "4976:31:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 24122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5010:1:13", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "4976:35:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 24134, - "nodeType": "IfStatement", - "src": "4972:113:13", - "trueBody": { - "expression": { - "id": 24132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "id": 24124, - "name": "metadataContentOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24008, - "src": "5019:17:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_string_storage_$_$", - "typeString": "mapping(uint256 => mapping(uint256 => string storage ref))" - } - }, - "id": 24128, - "indexExpression": { - "id": 24125, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24104, - "src": "5037:9:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5019:28:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 24129, - "indexExpression": { - "expression": { - "id": 24126, - "name": "_metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24100, - "src": "5048:9:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - } - }, - "id": 24127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5058:6:13", - "memberName": "domain", - "nodeType": "MemberAccess", - "referencedDeclaration": 24588, - "src": "5048:16:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5019:46:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 24130, - "name": "_metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24100, - "src": "5068:9:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - } - }, - "id": 24131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5078:7:13", - "memberName": "content", - "nodeType": "MemberAccess", - "referencedDeclaration": 24586, - "src": "5068:17:13", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "5019:66:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 24133, - "nodeType": "ExpressionStatement", - "src": "5019:66:13" - } - }, - { - "eventCall": { - "arguments": [ - { - "id": 24136, - "name": "projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24104, - "src": "5104:9:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24137, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24097, - "src": "5115:6:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24138, - "name": "_metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24100, - "src": "5123:9:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - } - }, - { - "expression": { - "id": 24139, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "5134:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5138:6:13", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "5134:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24135, - "name": "Create", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24444, - "src": "5097:6:13", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$_t_struct$_JBProjectMetadata_$24589_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (uint256,address,struct JBProjectMetadata memory,address)" - } - }, - "id": 24141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5097:48:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24142, - "nodeType": "EmitStatement", - "src": "5092:53:13" - } - ] - }, - "baseFunctions": [ - 24490 - ], - "documentation": { - "id": 24095, - "nodeType": "StructuredDocumentation", - "src": "4198:443:13", - "text": "@notice \nCreate a new project for the specified owner, which mints an NFT (ERC-721) into their wallet.\n@dev \nAnyone can create a project on an owner's behalf.\n@param _owner The address that will be the owner of the project.\n@param _metadata A struct containing metadata content about the project, and domain within which the metadata applies.\n@return projectId The token ID of the newly created project." - }, - "functionSelector": "666d87a0", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createFor", - "nameLocation": "4653:9:13", - "overrides": { - "id": 24102, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4734:8:13" - }, - "parameters": { - "id": 24101, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24097, - "mutability": "mutable", - "name": "_owner", - "nameLocation": "4671:6:13", - "nodeType": "VariableDeclaration", - "scope": 24144, - "src": "4663:14:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24096, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4663:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24100, - "mutability": "mutable", - "name": "_metadata", - "nameLocation": "4706:9:13", - "nodeType": "VariableDeclaration", - "scope": 24144, - "src": "4679:36:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata" - }, - "typeName": { - "id": 24099, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24098, - "name": "JBProjectMetadata", - "nameLocations": [ - "4679:17:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24589, - "src": "4679:17:13" - }, - "referencedDeclaration": 24589, - "src": "4679:17:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_storage_ptr", - "typeString": "struct JBProjectMetadata" - } - }, - "visibility": "internal" - } - ], - "src": "4662:54:13" - }, - "returnParameters": { - "id": 24105, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24104, - "mutability": "mutable", - "name": "projectId", - "nameLocation": "4764:9:13", - "nodeType": "VariableDeclaration", - "scope": 24144, - "src": "4756:17:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24103, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4756:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4755:19:13" - }, - "scope": 24202, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 24180, - "nodeType": "FunctionDefinition", - "src": "5606:402:13", - "body": { - "id": 24179, - "nodeType": "Block", - "src": "5797:211:13", - "statements": [ - { - "expression": { - "id": 24170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "id": 24162, - "name": "metadataContentOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24008, - "src": "5878:17:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_string_storage_$_$", - "typeString": "mapping(uint256 => mapping(uint256 => string storage ref))" - } - }, - "id": 24166, - "indexExpression": { - "id": 24163, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24147, - "src": "5896:10:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5878:29:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", - "typeString": "mapping(uint256 => string storage ref)" - } - }, - "id": 24167, - "indexExpression": { - "expression": { - "id": 24164, - "name": "_metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24150, - "src": "5908:9:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - } - }, - "id": 24165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5918:6:13", - "memberName": "domain", - "nodeType": "MemberAccess", - "referencedDeclaration": 24588, - "src": "5908:16:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5878:47:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 24168, - "name": "_metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24150, - "src": "5928:9:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - } - }, - "id": 24169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5938:7:13", - "memberName": "content", - "nodeType": "MemberAccess", - "referencedDeclaration": 24586, - "src": "5928:17:13", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string calldata" - } - }, - "src": "5878:67:13", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 24171, - "nodeType": "ExpressionStatement", - "src": "5878:67:13" - }, - { - "eventCall": { - "arguments": [ - { - "id": 24173, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24147, - "src": "5969:10:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24174, - "name": "_metadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24150, - "src": "5981:9:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - } - }, - { - "expression": { - "id": 24175, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "5992:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5996:6:13", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "5992:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata calldata" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24172, - "name": "SetMetadata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24453, - "src": "5957:11:13", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_struct$_JBProjectMetadata_$24589_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (uint256,struct JBProjectMetadata memory,address)" - } - }, - "id": 24177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5957:46:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24178, - "nodeType": "EmitStatement", - "src": "5952:51:13" - } - ] - }, - "baseFunctions": [ - 24498 - ], - "documentation": { - "id": 24145, - "nodeType": "StructuredDocumentation", - "src": "5154:449:13", - "text": "@notice \nAllows a project owner to set the project's metadata content for a particular domain namespace. \n@dev \nOnly a project's owner or operator can set its metadata.\n@dev \nApplications can use the domain namespace as they wish.\n@param _projectId The ID of the project who's metadata is being changed.\n@param _metadata A struct containing metadata content, and domain within which the metadata applies. " - }, - "functionSelector": "36574975", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 24155, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24147, - "src": "5743:10:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 24154, - "name": "ownerOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25375, - "src": "5735:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 24156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5735:19:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24157, - "name": "_projectId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24147, - "src": "5756:10:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "expression": { - "id": 24158, - "name": "JBOperations", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24572, - "src": "5768:12:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_JBOperations_$24572_$", - "typeString": "type(library JBOperations)" - } - }, - "id": 24159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5781:12:13", - "memberName": "SET_METADATA", - "nodeType": "MemberAccess", - "referencedDeclaration": 24535, - "src": "5768:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 24160, - "kind": "modifierInvocation", - "modifierName": { - "id": 24153, - "name": "requirePermission", - "nameLocations": [ - "5717:17:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24227, - "src": "5717:17:13" - }, - "nodeType": "ModifierInvocation", - "src": "5717:77:13" - } - ], - "name": "setMetadataOf", - "nameLocation": "5615:13:13", - "overrides": { - "id": 24152, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5704:8:13" - }, - "parameters": { - "id": 24151, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24147, - "mutability": "mutable", - "name": "_projectId", - "nameLocation": "5637:10:13", - "nodeType": "VariableDeclaration", - "scope": 24180, - "src": "5629:18:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24146, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5629:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24150, - "mutability": "mutable", - "name": "_metadata", - "nameLocation": "5676:9:13", - "nodeType": "VariableDeclaration", - "scope": 24180, - "src": "5649:36:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_calldata_ptr", - "typeString": "struct JBProjectMetadata" - }, - "typeName": { - "id": 24149, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24148, - "name": "JBProjectMetadata", - "nameLocations": [ - "5649:17:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24589, - "src": "5649:17:13" - }, - "referencedDeclaration": 24589, - "src": "5649:17:13", - "typeDescriptions": { - "typeIdentifier": "t_struct$_JBProjectMetadata_$24589_storage_ptr", - "typeString": "struct JBProjectMetadata" - } - }, - "visibility": "internal" - } - ], - "src": "5628:58:13" - }, - "returnParameters": { - "id": 24161, - "nodeType": "ParameterList", - "parameters": [], - "src": "5797:0:13" - }, - "scope": 24202, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 24201, - "nodeType": "FunctionDefinition", - "src": "6174:221:13", - "body": { - "id": 24200, - "nodeType": "Block", - "src": "6265:130:13", - "statements": [ - { - "expression": { - "id": 24192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 24190, - "name": "tokenUriResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24013, - "src": "6302:16:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 24191, - "name": "_newResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24184, - "src": "6321:12:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "src": "6302:31:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "id": 24193, - "nodeType": "ExpressionStatement", - "src": "6302:31:13" - }, - { - "eventCall": { - "arguments": [ - { - "id": 24195, - "name": "_newResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24184, - "src": "6365:12:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - { - "expression": { - "id": 24196, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "6379:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6383:6:13", - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "6379:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24194, - "name": "SetTokenUriResolver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24460, - "src": "6345:19:13", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_contract$_IJBTokenUriResolver_$24515_$_t_address_$returns$__$", - "typeString": "function (contract IJBTokenUriResolver,address)" - } - }, - "id": 24198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6345:45:13", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24199, - "nodeType": "EmitStatement", - "src": "6340:50:13" - } - ] - }, - "baseFunctions": [ - 24504 - ], - "documentation": { - "id": 24181, - "nodeType": "StructuredDocumentation", - "src": "6012:159:13", - "text": "@notice \nSets the address of the resolver used to retrieve the tokenURI of projects.\n@param _newResolver The address of the new resolver." - }, - "functionSelector": "2407497e", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "id": 24188, - "kind": "modifierInvocation", - "modifierName": { - "id": 24187, - "name": "onlyOwner", - "nameLocations": [ - "6255:9:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24636, - "src": "6255:9:13" - }, - "nodeType": "ModifierInvocation", - "src": "6255:9:13" - } - ], - "name": "setTokenUriResolver", - "nameLocation": "6183:19:13", - "overrides": { - "id": 24186, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "6246:8:13" - }, - "parameters": { - "id": 24185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24184, - "mutability": "mutable", - "name": "_newResolver", - "nameLocation": "6223:12:13", - "nodeType": "VariableDeclaration", - "scope": 24201, - "src": "6203:32:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - }, - "typeName": { - "id": 24183, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24182, - "name": "IJBTokenUriResolver", - "nameLocations": [ - "6203:19:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24515, - "src": "6203:19:13" - }, - "referencedDeclaration": 24515, - "src": "6203:19:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_IJBTokenUriResolver_$24515", - "typeString": "contract IJBTokenUriResolver" - } - }, - "visibility": "internal" - } - ], - "src": "6202:34:13" - }, - "returnParameters": { - "id": 24189, - "nodeType": "ParameterList", - "parameters": [], - "src": "6265:0:13" - }, - "scope": 24202, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 23988, - "name": "JBOperatable", - "nameLocations": [ - "979:12:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24348, - "src": "979:12:13" - }, - "id": 23989, - "nodeType": "InheritanceSpecifier", - "src": "979:12:13" - }, - { - "baseName": { - "id": 23990, - "name": "ERC721Votes", - "nameLocations": [ - "993:11:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26306, - "src": "993:11:13" - }, - "id": 23991, - "nodeType": "InheritanceSpecifier", - "src": "993:11:13" - }, - { - "baseName": { - "id": 23992, - "name": "Ownable", - "nameLocations": [ - "1006:7:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24694, - "src": "1006:7:13" - }, - "id": 23993, - "nodeType": "InheritanceSpecifier", - "src": "1006:7:13" - }, - { - "baseName": { - "id": 23994, - "name": "IJBProjects", - "nameLocations": [ - "1015:11:13" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24505, - "src": "1015:11:13" - }, - "id": 23995, - "nodeType": "InheritanceSpecifier", - "src": "1015:11:13" - } - ], - "canonicalName": "JBProjects", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 23987, - "nodeType": "StructuredDocumentation", - "src": "308:647:13", - "text": "@notice \nStores project ownership and metadata.\n@dev\nProjects are represented as ERC-721's.\n@dev\nAdheres to -\nIJBProjects: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.\n@dev\nInherits from -\nJBOperatable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions.\nERC721Votes: A checkpointable standard definition for non-fungible tokens (NFTs).\nOwnable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 24202, - 24505, - 24694, - 26306, - 25226, - 27695, - 26095, - 26256, - 26211, - 27719, - 27731, - 26857, - 24772, - 24348, - 24358 - ], - "name": "JBProjects", - "nameLocation": "965:10:13", - "scope": 24203, - "usedErrors": [ - 24210 - ] - } - ], - "license": "MIT" - }, - "id": 13 -} \ No newline at end of file +{"abi":[{"type":"constructor","inputs":[{"name":"_operatorStore","type":"address","internalType":"contract IJBOperatorStore"}],"stateMutability":"nonpayable"},{"type":"function","name":"DOMAIN_SEPARATOR","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"approve","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"count","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"createFor","inputs":[{"name":"_owner","type":"address","internalType":"address"},{"name":"_metadata","type":"tuple","internalType":"struct JBProjectMetadata","components":[{"name":"content","type":"string","internalType":"string"},{"name":"domain","type":"uint256","internalType":"uint256"}]}],"outputs":[{"name":"projectId","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"delegate","inputs":[{"name":"delegatee","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"delegateBySig","inputs":[{"name":"delegatee","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"expiry","type":"uint256","internalType":"uint256"},{"name":"v","type":"uint8","internalType":"uint8"},{"name":"r","type":"bytes32","internalType":"bytes32"},{"name":"s","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"delegates","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getApproved","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getPastTotalSupply","inputs":[{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getPastVotes","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getVotes","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"isApprovedForAll","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"metadataContentOf","inputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"nonces","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"operatorStore","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBOperatorStore"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"ownerOf","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"_data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setApprovalForAll","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setMetadataOf","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"},{"name":"_metadata","type":"tuple","internalType":"struct JBProjectMetadata","components":[{"name":"content","type":"string","internalType":"string"},{"name":"domain","type":"uint256","internalType":"uint256"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setTokenUriResolver","inputs":[{"name":"_newResolver","type":"address","internalType":"contract IJBTokenUriResolver"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"_interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"tokenURI","inputs":[{"name":"_projectId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"tokenUriResolver","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IJBTokenUriResolver"}],"stateMutability":"view"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"Create","inputs":[{"name":"projectId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"metadata","type":"tuple","indexed":false,"internalType":"struct JBProjectMetadata","components":[{"name":"content","type":"string","internalType":"string"},{"name":"domain","type":"uint256","internalType":"uint256"}]},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"DelegateChanged","inputs":[{"name":"delegator","type":"address","indexed":true,"internalType":"address"},{"name":"fromDelegate","type":"address","indexed":true,"internalType":"address"},{"name":"toDelegate","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"DelegateVotesChanged","inputs":[{"name":"delegate","type":"address","indexed":true,"internalType":"address"},{"name":"previousBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newBalance","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SetMetadata","inputs":[{"name":"projectId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"metadata","type":"tuple","indexed":false,"internalType":"struct JBProjectMetadata","components":[{"name":"content","type":"string","internalType":"string"},{"name":"domain","type":"uint256","internalType":"uint256"}]},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SetTokenUriResolver","inputs":[{"name":"resolver","type":"address","indexed":true,"internalType":"contract IJBTokenUriResolver"},{"name":"caller","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"UNAUTHORIZED","inputs":[]}],"bytecode":{"object":"0x6101606040526000600b553480156200001757600080fd5b5060405162002e3c38038062002e3c8339810160408190526200003a91620001ce565b6040805180820182526011808252704a75696365626f782050726f6a6563747360781b60208084018290528451808601865260018152603160f81b81830152855180870187529384528382019290925284518086019095526008855267094aa92868a849eb60c31b908501526001600160a01b03851660805291926000620000c38382620002a7565b506001620000d28282620002a7565b505082516020938401208251928401929092206101008390526101208190524660c0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81890181905281830197909752606081019490945260808401929092523060a080850182905283518086038201815294909201909252825192909501919091209093525060e0919091526101405262000175336200017c565b5062000373565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215620001e157600080fd5b81516001600160a01b0381168114620001f957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022b57607f821691505b6020821081036200024c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a2576000816000526020600020601f850160051c810160208610156200027d5750805b601f850160051c820191505b818110156200029e5782815560010162000289565b5050505b505050565b81516001600160401b03811115620002c357620002c362000200565b620002db81620002d4845462000216565b8462000252565b602080601f831160018114620003135760008415620002fa5750858301515b600019600386901b1c1916600185901b1785556200029e565b600085815260208120601f198616915b82811015620003445788860151825594840194600190910190840162000323565b5085821015620003635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516101205161014051612a60620003dc600039600061127c015260006112cb015260006112a6015260006111ff01526000611229015260006112530152600081816103e20152818161136001526114070152612a606000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063666d87a01161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042a578063e131fc0c1461043d578063e985e9c514610450578063f2fde38b1461048c57600080fd5b8063a22cb465146103ca578063ad007d63146103dd578063b88d4fde14610404578063c3cda5201461041757600080fd5b80638da5cb5b116100de5780638da5cb5b1461038b5780638e539e8c1461039c57806395d89b41146103af5780639ab24eb0146103b757600080fd5b8063666d87a01461034a57806370a082311461035d578063715018a6146103705780637ecebe001461037857600080fd5b80633644e5151161018757806342842e0e1161015657806342842e0e146102e5578063587cde1e146102f85780635c19a95c146103245780636352211e1461033757600080fd5b80633644e515146102a457806336574975146102ac57806339fbc775146102bf5780633a46b1a8146102d257600080fd5b8063081812fc116101c3578063081812fc1461023e578063095ea7b31461026957806323b872dd1461027e5780632407497e1461029157600080fd5b806301ffc9a7146101ea57806306661abd1461021257806306fdde0314610229575b600080fd5b6101fd6101f83660046121c1565b61049f565b60405190151581526020015b60405180910390f35b61021b600b5481565b604051908152602001610209565b6102316104e5565b604051610209919061222e565b61025161024c366004612241565b610577565b6040516001600160a01b039091168152602001610209565b61027c61027736600461226f565b610611565b005b61027c61028c36600461229b565b610726565b61027c61029f3660046122dc565b610757565b61021b6107d5565b61027c6102ba36600461230b565b6107e4565b6102316102cd366004612352565b61086f565b61021b6102e036600461226f565b610914565b61027c6102f336600461229b565b61093d565b6102516103063660046122dc565b6001600160a01b039081166000908152600660205260409020541690565b61027c6103323660046122dc565b610958565b610251610345366004612241565b610967565b61021b610358366004612374565b6109de565b61021b61036b3660046122dc565b610a92565b61027c610b19565b61021b6103863660046122dc565b610b4f565b600a546001600160a01b0316610251565b61021b6103aa366004612241565b610b6d565b610231610bc9565b61021b6103c53660046122dc565b610bd8565b61027c6103d83660046123bc565b610bf9565b6102517f000000000000000000000000000000000000000000000000000000000000000081565b61027c610412366004612464565b610c04565b61027c610425366004612513565b610c3c565b610231610438366004612241565b610d69565b600d54610251906001600160a01b031681565b6101fd61045e366004612575565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61027c61049a3660046122dc565b610e00565b60006001600160e01b0319821663aa91a66f60e01b14806104d057506001600160e01b0319821663ad007d6360e01b145b806104df57506104df82610e9b565b92915050565b6060600080546104f4906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906125a3565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061061c82610967565b9050806001600160a01b0316836001600160a01b0316036106895760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ec565b336001600160a01b03821614806106a557506106a5813361045e565b6107175760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b6107218383610eeb565b505050565b6107303382610f59565b61074c5760405162461bcd60e51b81526004016105ec906125d7565b610721838383611050565b600a546001600160a01b031633146107815760405162461bcd60e51b81526004016105ec90612628565b600d80546001600160a01b0319166001600160a01b0383169081179091556040513381527fe7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c169060200160405180910390a250565b60006107df6111f2565b905090565b6107ed82610967565b8260066107fb838383611319565b610805848061265d565b6000878152600c6020908152604080832089830135845290915290209161082d9190836126f4565b50847fd07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e685336040516108609291906127b5565b60405180910390a25050505050565b600c60209081526000928352604080842090915290825290208054610893906125a3565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906125a3565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b505050505081565b6001600160a01b03821660009081526007602052604081206109369083611492565b9392505050565b61072183838360405180602001604052806000815250610c04565b3361096381836115a1565b5050565b6000818152600260205260408120546001600160a01b0316806104df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ec565b6000600b600081546109ef9061285d565b91829055509050610a008382611613565b6000610a0c838061265d565b90501115610a4857610a1e828061265d565b6000838152600c60209081526040808320878301358452909152902091610a469190836126f4565b505b826001600160a01b0316817fa1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d48433604051610a849291906127b5565b60405180910390a392915050565b60006001600160a01b038216610afd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b435760405162461bcd60e51b81526004016105ec90612628565b610b4d600061162d565b565b6001600160a01b0381166000908152600960205260408120546104df565b6000438210610bbe5760405162461bcd60e51b815260206004820152601a60248201527f566f7465733a20626c6f636b206e6f7420796574206d696e656400000000000060448201526064016105ec565b6104df600883611492565b6060600180546104f4906125a3565b6001600160a01b03811660009081526007602052604081206104df9061167f565b6109633383836116db565b610c0e3383610f59565b610c2a5760405162461bcd60e51b81526004016105ec906125d7565b610c36848484846117a9565b50505050565b83421115610c8c5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e61747572652065787069726564000000000000000060448201526064016105ec565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206117dc565b85858561182a565b9050610d1181611852565b8614610d565760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b60448201526064016105ec565b610d6081886115a1565b50505050505050565b600d546060906001600160a01b031680610d93575050604080516020810190915260008152919050565b604051636d02a25560e11b8152600481018490526001600160a01b0382169063da0544aa90602401600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109369190810190612876565b600a546001600160a01b03163314610e2a5760405162461bcd60e51b81526004016105ec90612628565b6001600160a01b038116610e8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b610e988161162d565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ecc57506001600160e01b03198216635b5e139f60e01b145b806104df57506301ffc9a760e01b6001600160e01b03198316146104df565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2082610967565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ec565b6000610fdd83610967565b9050806001600160a01b0316846001600160a01b031614806110185750836001600160a01b031661100d84610577565b6001600160a01b0316145b8061104857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106382610967565b6001600160a01b0316146110c75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105ec565b6001600160a01b0382166111295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b611134600082610eeb565b6001600160a01b038316600090815260036020526040812080546001929061115d9084906128ed565b90915550506001600160a01b038216600090815260036020526040812080546001929061118b908490612900565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461072183838361187a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561124b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561127557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b336001600160a01b038416148015906113cd575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612913565b155b8015611474575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa15801561144e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114729190612913565b155b156107215760405163075fd2b160e01b815260040160405180910390fd5b60004382106114e35760405162461bcd60e51b815260206004820181905260248201527f436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e656460448201526064016105ec565b825460005b818110156115485760006114fc8284611886565b90508486600001828154811061151457611514612930565b60009182526020909120015463ffffffff16111561153457809250611542565b61153f816001612900565b91505b506114e8565b811561158c578461155a6001846128ed565b8154811061156a5761156a612930565b60009182526020909120015464010000000090046001600160e01b031661158f565b60005b6001600160e01b031695945050505050565b6001600160a01b0382811660008181526006602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610721818361160e866118a1565b6118ac565b6109638282604051806020016040528060008152506119da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805460009080156116c857826116966001836128ed565b815481106116a6576116a6612930565b60009182526020909120015464010000000090046001600160e01b03166116cb565b60005b6001600160e01b03169392505050565b816001600160a01b0316836001600160a01b03160361173c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117b4848484611050565b6117c084848484611a0d565b610c365760405162461bcd60e51b81526004016105ec90612946565b60006104df6117e96111f2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183b87878787611b0b565b9150915061184881611bf8565b5095945050505050565b6001600160a01b03811660009081526009602052604090208054600181018255905b50919050565b61072183836001611dae565b60006118956002848418612998565b61093690848416612900565b60006104df82610a92565b816001600160a01b0316836001600160a01b0316141580156118ce5750600081115b15610721576001600160a01b0383161561195c576001600160a01b0383166000908152600760205260408120819061190990611e1e85611e2a565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611951929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610721576001600160a01b0382166000908152600760205260408120819061199290611e5885611e2a565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051610860929190918252602082015260400190565b6119e48383611e64565b6119f16000848484611a0d565b6107215760405162461bcd60e51b81526004016105ec90612946565b60006001600160a01b0384163b15611b0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a519033908990889088906004016129ba565b6020604051808303816000875af1925050508015611a8c575060408051601f3d908101601f19168201909252611a89918101906129f7565b60015b611ae9573d808015611aba576040519150601f19603f3d011682016040523d82523d6000602084013e611abf565b606091505b508051600003611ae15760405162461bcd60e51b81526004016105ec90612946565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611048565b506001611048565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b425750600090506003611bef565b8460ff16601b14158015611b5a57508460ff16601c14155b15611b6b5750600090506004611bef565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bbf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611be857600060019250925050611bef565b9150600090505b94509492505050565b6000816004811115611c0c57611c0c612a14565b03611c145750565b6001816004811115611c2857611c28612a14565b03611c755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ec565b6002816004811115611c8957611c89612a14565b03611cd65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ec565b6003816004811115611cea57611cea612a14565b03611d425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ec565b6004816004811115611d5657611d56612a14565b03610e985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ec565b6001600160a01b038316611dcd57611dca6008611e5883611e2a565b50505b6001600160a01b038216611dec57611de96008611e1e83611e2a565b50505b6001600160a01b03838116600090815260066020526040808220548584168352912054610721929182169116836118ac565b600061093682846128ed565b600080611e4c85611e47611e3d8861167f565b868863ffffffff16565b611fae565b91509150935093915050565b60006109368284612900565b6001600160a01b038216611eba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b031615611f1f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b0382166000908152600360205260408120805460019290611f48908490612900565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109636000838361187a565b8154600090819081611fbf8661167f565b9050600082118015611ffd57504386611fd96001856128ed565b81548110611fe957611fe9612930565b60009182526020909120015463ffffffff16145b1561205d5761200b856120d9565b866120176001856128ed565b8154811061202757612027612930565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506120cb565b85600001604051806040016040528061207543612146565b63ffffffff168152602001612089886120d9565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b9250839150505b9250929050565b60006001600160e01b038211156121425760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ec565b5090565b600063ffffffff8211156121425760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ec565b6001600160e01b031981168114610e9857600080fd5b6000602082840312156121d357600080fd5b8135610936816121ab565b60005b838110156121f95781810151838201526020016121e1565b50506000910152565b6000815180845261221a8160208601602086016121de565b601f01601f19169290920160200192915050565b6020815260006109366020830184612202565b60006020828403121561225357600080fd5b5035919050565b6001600160a01b0381168114610e9857600080fd5b6000806040838503121561228257600080fd5b823561228d8161225a565b946020939093013593505050565b6000806000606084860312156122b057600080fd5b83356122bb8161225a565b925060208401356122cb8161225a565b929592945050506040919091013590565b6000602082840312156122ee57600080fd5b81356109368161225a565b60006040828403121561187457600080fd5b6000806040838503121561231e57600080fd5b82359150602083013567ffffffffffffffff81111561233c57600080fd5b612348858286016122f9565b9150509250929050565b6000806040838503121561236557600080fd5b50508035926020909101359150565b6000806040838503121561238757600080fd5b82356123928161225a565b9150602083013567ffffffffffffffff81111561233c57600080fd5b8015158114610e9857600080fd5b600080604083850312156123cf57600080fd5b82356123da8161225a565b915060208301356123ea816123ae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612434576124346123f5565b604052919050565b600067ffffffffffffffff821115612456576124566123f5565b50601f01601f191660200190565b6000806000806080858703121561247a57600080fd5b84356124858161225a565b935060208501356124958161225a565b925060408501359150606085013567ffffffffffffffff8111156124b857600080fd5b8501601f810187136124c957600080fd5b80356124dc6124d78261243c565b61240b565b8181528860208385010111156124f157600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c0878903121561252c57600080fd5b86356125378161225a565b95506020870135945060408701359350606087013560ff8116811461255b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561258857600080fd5b82356125938161225a565b915060208301356123ea8161225a565b600181811c908216806125b757607f821691505b60208210810361187457634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e1984360301811261267457600080fd5b83018035915067ffffffffffffffff82111561268f57600080fd5b6020019150368190038213156120d257600080fd5b601f821115610721576000816000526020600020601f850160051c810160208610156126cd5750805b601f850160051c820191505b818110156126ec578281556001016126d9565b505050505050565b67ffffffffffffffff83111561270c5761270c6123f5565b6127208361271a83546125a3565b836126a4565b6000601f841160018114612754576000851561273c5750838201355b600019600387901b1c1916600186901b1783556127ae565b600083815260209020601f19861690835b828110156127855786850135825560209485019460019092019101612765565b50868210156127a25760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6040815260008335601e198536030181126127cf57600080fd5b840160208101903567ffffffffffffffff8111156127ec57600080fd5b8036038213156127fb57600080fd5b604080850152806080850152808260a0860137600060a082860101526020860135606085015260a0601f19601f8301168501019250505061093660208301846001600160a01b03169052565b634e487b7160e01b600052601160045260246000fd5b60006001820161286f5761286f612847565b5060010190565b60006020828403121561288857600080fd5b815167ffffffffffffffff81111561289f57600080fd5b8201601f810184136128b057600080fd5b80516128be6124d78261243c565b8181528560208385010111156128d357600080fd5b6128e48260208301602086016121de565b95945050505050565b818103818111156104df576104df612847565b808201808211156104df576104df612847565b60006020828403121561292557600080fd5b8151610936816123ae565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826129b557634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ed90830184612202565b9695505050505050565b600060208284031215612a0957600080fd5b8151610936816121ab565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f51a3b92212837cf8f6c2d56f2e3620c4bf9c6a8149a41d861ebe4af9454e11464736f6c63430008170033","sourceMap":"956:5441:14:-:0;;;1549:1;1517:33;;3751:214;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2455:602:38;;;;;;;;;;;;-1:-1:-1;;;2455:602:38;;;;;;;;;;;;;;;;;-1:-1:-1;;;2455:602:38;;;;1390:113:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1390:113:27;;;;-1:-1:-1;;;;;2730:30:15;;;;2455:602:38;;-1:-1:-1;1456:13:27;1390:113;-1:-1:-1;1456:13:27;:::i;:::-;-1:-1:-1;1479:7:27;:17;1489:7;1479;:17;:::i;:::-;-1:-1:-1;;2541:22:38;;;;;;;2597:25;;;;;;;;;2778;;;;2813:31;;;;2873:13;2854:32;;;;-1:-1:-1;3633:73:38;;2651:117;3633:73;;;3306:25:44;;;3347:18;;;3340:34;;;;-1:-1:-1;3390:18:44;;3383:34;;;;3433:18;;;3426:34;;;;3700:4:38;3476:19:44;;;;3469:61;;;3633:73:38;;;;;;;;;3278:19:44;;;;3633:73:38;;;3623:84;;;;;;;;;;2896:85;;;-1:-1:-1;2991:28:38;;;;;3029:21;;921:32:23;719:10:34;921:18:23;:32::i;:::-;3751:214:14;956:5441;;2270:187:23;2362:6;;;-1:-1:-1;;;;;2378:17:23;;;-1:-1:-1;;;;;;2378:17:23;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;14:316:44:-;110:6;163:2;151:9;142:7;138:23;134:32;131:52;;;179:1;176;169:12;131:52;205:16;;-1:-1:-1;;;;;250:31:44;;240:42;;230:70;;296:1;293;286:12;230:70;319:5;14:316;-1:-1:-1;;;14:316:44:o;335:127::-;396:10;391:3;387:20;384:1;377:31;427:4;424:1;417:15;451:4;448:1;441:15;467:380;546:1;542:12;;;;589;;;610:61;;664:4;656:6;652:17;642:27;;610:61;717:2;709:6;706:14;686:18;683:38;680:161;;763:10;758:3;754:20;751:1;744:31;798:4;795:1;788:15;826:4;823:1;816:15;680:161;;467:380;;;:::o;978:543::-;1080:2;1075:3;1072:11;1069:446;;;1116:1;1140:5;1137:1;1130:16;1184:4;1181:1;1171:18;1254:2;1242:10;1238:19;1235:1;1231:27;1225:4;1221:38;1290:4;1278:10;1275:20;1272:47;;;-1:-1:-1;1313:4:44;1272:47;1368:2;1363:3;1359:12;1356:1;1352:20;1346:4;1342:31;1332:41;;1423:82;1441:2;1434:5;1431:13;1423:82;;;1486:17;;;1467:1;1456:13;1423:82;;;1427:3;;;1069:446;978:543;;;:::o;1697:1345::-;1817:10;;-1:-1:-1;;;;;1839:30:44;;1836:56;;;1872:18;;:::i;:::-;1901:97;1991:6;1951:38;1983:4;1977:11;1951:38;:::i;:::-;1945:4;1901:97;:::i;:::-;2053:4;;2110:2;2099:14;;2127:1;2122:663;;;;2829:1;2846:6;2843:89;;;-1:-1:-1;2898:19:44;;;2892:26;2843:89;-1:-1:-1;;1654:1:44;1650:11;;;1646:24;1642:29;1632:40;1678:1;1674:11;;;1629:57;2945:81;;2092:944;;2122:663;925:1;918:14;;;962:4;949:18;;-1:-1:-1;;2158:20:44;;;2276:236;2290:7;2287:1;2284:14;2276:236;;;2379:19;;;2373:26;2358:42;;2471:27;;;;2439:1;2427:14;;;;2306:19;;2276:236;;;2280:3;2540:6;2531:7;2528:19;2525:201;;;2601:19;;;2595:26;-1:-1:-1;;2684:1:44;2680:14;;;2696:3;2676:24;2672:37;2668:42;2653:58;2638:74;;2525:201;-1:-1:-1;;;;;2772:1:44;2756:14;;;2752:22;2739:36;;-1:-1:-1;1697:1345:44:o;3047:489::-;956:5441:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063666d87a01161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042a578063e131fc0c1461043d578063e985e9c514610450578063f2fde38b1461048c57600080fd5b8063a22cb465146103ca578063ad007d63146103dd578063b88d4fde14610404578063c3cda5201461041757600080fd5b80638da5cb5b116100de5780638da5cb5b1461038b5780638e539e8c1461039c57806395d89b41146103af5780639ab24eb0146103b757600080fd5b8063666d87a01461034a57806370a082311461035d578063715018a6146103705780637ecebe001461037857600080fd5b80633644e5151161018757806342842e0e1161015657806342842e0e146102e5578063587cde1e146102f85780635c19a95c146103245780636352211e1461033757600080fd5b80633644e515146102a457806336574975146102ac57806339fbc775146102bf5780633a46b1a8146102d257600080fd5b8063081812fc116101c3578063081812fc1461023e578063095ea7b31461026957806323b872dd1461027e5780632407497e1461029157600080fd5b806301ffc9a7146101ea57806306661abd1461021257806306fdde0314610229575b600080fd5b6101fd6101f83660046121c1565b61049f565b60405190151581526020015b60405180910390f35b61021b600b5481565b604051908152602001610209565b6102316104e5565b604051610209919061222e565b61025161024c366004612241565b610577565b6040516001600160a01b039091168152602001610209565b61027c61027736600461226f565b610611565b005b61027c61028c36600461229b565b610726565b61027c61029f3660046122dc565b610757565b61021b6107d5565b61027c6102ba36600461230b565b6107e4565b6102316102cd366004612352565b61086f565b61021b6102e036600461226f565b610914565b61027c6102f336600461229b565b61093d565b6102516103063660046122dc565b6001600160a01b039081166000908152600660205260409020541690565b61027c6103323660046122dc565b610958565b610251610345366004612241565b610967565b61021b610358366004612374565b6109de565b61021b61036b3660046122dc565b610a92565b61027c610b19565b61021b6103863660046122dc565b610b4f565b600a546001600160a01b0316610251565b61021b6103aa366004612241565b610b6d565b610231610bc9565b61021b6103c53660046122dc565b610bd8565b61027c6103d83660046123bc565b610bf9565b6102517f000000000000000000000000000000000000000000000000000000000000000081565b61027c610412366004612464565b610c04565b61027c610425366004612513565b610c3c565b610231610438366004612241565b610d69565b600d54610251906001600160a01b031681565b6101fd61045e366004612575565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61027c61049a3660046122dc565b610e00565b60006001600160e01b0319821663aa91a66f60e01b14806104d057506001600160e01b0319821663ad007d6360e01b145b806104df57506104df82610e9b565b92915050565b6060600080546104f4906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906125a3565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061061c82610967565b9050806001600160a01b0316836001600160a01b0316036106895760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ec565b336001600160a01b03821614806106a557506106a5813361045e565b6107175760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b6107218383610eeb565b505050565b6107303382610f59565b61074c5760405162461bcd60e51b81526004016105ec906125d7565b610721838383611050565b600a546001600160a01b031633146107815760405162461bcd60e51b81526004016105ec90612628565b600d80546001600160a01b0319166001600160a01b0383169081179091556040513381527fe7784d93cfbfa4408e19577e6cc0436f4dbb51214b70e100905dfce9def88c169060200160405180910390a250565b60006107df6111f2565b905090565b6107ed82610967565b8260066107fb838383611319565b610805848061265d565b6000878152600c6020908152604080832089830135845290915290209161082d9190836126f4565b50847fd07720acb527321c9d1766f359139d0e0e3551bd99fb3ca353d4f008f3aad8e685336040516108609291906127b5565b60405180910390a25050505050565b600c60209081526000928352604080842090915290825290208054610893906125a3565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf906125a3565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b505050505081565b6001600160a01b03821660009081526007602052604081206109369083611492565b9392505050565b61072183838360405180602001604052806000815250610c04565b3361096381836115a1565b5050565b6000818152600260205260408120546001600160a01b0316806104df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ec565b6000600b600081546109ef9061285d565b91829055509050610a008382611613565b6000610a0c838061265d565b90501115610a4857610a1e828061265d565b6000838152600c60209081526040808320878301358452909152902091610a469190836126f4565b505b826001600160a01b0316817fa1c6fd563bcbc3222f6031d7c26ff58cd6c701abff0bfffe652d055ce40629d48433604051610a849291906127b5565b60405180910390a392915050565b60006001600160a01b038216610afd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b435760405162461bcd60e51b81526004016105ec90612628565b610b4d600061162d565b565b6001600160a01b0381166000908152600960205260408120546104df565b6000438210610bbe5760405162461bcd60e51b815260206004820152601a60248201527f566f7465733a20626c6f636b206e6f7420796574206d696e656400000000000060448201526064016105ec565b6104df600883611492565b6060600180546104f4906125a3565b6001600160a01b03811660009081526007602052604081206104df9061167f565b6109633383836116db565b610c0e3383610f59565b610c2a5760405162461bcd60e51b81526004016105ec906125d7565b610c36848484846117a9565b50505050565b83421115610c8c5760405162461bcd60e51b815260206004820152601860248201527f566f7465733a207369676e61747572652065787069726564000000000000000060448201526064016105ec565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206117dc565b85858561182a565b9050610d1181611852565b8614610d565760405162461bcd60e51b8152602060048201526014602482015273566f7465733a20696e76616c6964206e6f6e636560601b60448201526064016105ec565b610d6081886115a1565b50505050505050565b600d546060906001600160a01b031680610d93575050604080516020810190915260008152919050565b604051636d02a25560e11b8152600481018490526001600160a01b0382169063da0544aa90602401600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109369190810190612876565b600a546001600160a01b03163314610e2a5760405162461bcd60e51b81526004016105ec90612628565b6001600160a01b038116610e8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b610e988161162d565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ecc57506001600160e01b03198216635b5e139f60e01b145b806104df57506301ffc9a760e01b6001600160e01b03198316146104df565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2082610967565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fd25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ec565b6000610fdd83610967565b9050806001600160a01b0316846001600160a01b031614806110185750836001600160a01b031661100d84610577565b6001600160a01b0316145b8061104857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106382610967565b6001600160a01b0316146110c75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105ec565b6001600160a01b0382166111295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b611134600082610eeb565b6001600160a01b038316600090815260036020526040812080546001929061115d9084906128ed565b90915550506001600160a01b038216600090815260036020526040812080546001929061118b908490612900565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461072183838361187a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561124b57507f000000000000000000000000000000000000000000000000000000000000000046145b1561127557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b336001600160a01b038416148015906113cd575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa1580156113a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cb9190612913565b155b8015611474575060405163c161c93f60e01b81523360048201526001600160a01b03848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f90608401602060405180830381865afa15801561144e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114729190612913565b155b156107215760405163075fd2b160e01b815260040160405180910390fd5b60004382106114e35760405162461bcd60e51b815260206004820181905260248201527f436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e656460448201526064016105ec565b825460005b818110156115485760006114fc8284611886565b90508486600001828154811061151457611514612930565b60009182526020909120015463ffffffff16111561153457809250611542565b61153f816001612900565b91505b506114e8565b811561158c578461155a6001846128ed565b8154811061156a5761156a612930565b60009182526020909120015464010000000090046001600160e01b031661158f565b60005b6001600160e01b031695945050505050565b6001600160a01b0382811660008181526006602052604080822080548686166001600160a01b0319821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610721818361160e866118a1565b6118ac565b6109638282604051806020016040528060008152506119da565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805460009080156116c857826116966001836128ed565b815481106116a6576116a6612930565b60009182526020909120015464010000000090046001600160e01b03166116cb565b60005b6001600160e01b03169392505050565b816001600160a01b0316836001600160a01b03160361173c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117b4848484611050565b6117c084848484611a0d565b610c365760405162461bcd60e51b81526004016105ec90612946565b60006104df6117e96111f2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061183b87878787611b0b565b9150915061184881611bf8565b5095945050505050565b6001600160a01b03811660009081526009602052604090208054600181018255905b50919050565b61072183836001611dae565b60006118956002848418612998565b61093690848416612900565b60006104df82610a92565b816001600160a01b0316836001600160a01b0316141580156118ce5750600081115b15610721576001600160a01b0383161561195c576001600160a01b0383166000908152600760205260408120819061190990611e1e85611e2a565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611951929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610721576001600160a01b0382166000908152600760205260408120819061199290611e5885611e2a565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051610860929190918252602082015260400190565b6119e48383611e64565b6119f16000848484611a0d565b6107215760405162461bcd60e51b81526004016105ec90612946565b60006001600160a01b0384163b15611b0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a519033908990889088906004016129ba565b6020604051808303816000875af1925050508015611a8c575060408051601f3d908101601f19168201909252611a89918101906129f7565b60015b611ae9573d808015611aba576040519150601f19603f3d011682016040523d82523d6000602084013e611abf565b606091505b508051600003611ae15760405162461bcd60e51b81526004016105ec90612946565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611048565b506001611048565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b425750600090506003611bef565b8460ff16601b14158015611b5a57508460ff16601c14155b15611b6b5750600090506004611bef565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bbf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611be857600060019250925050611bef565b9150600090505b94509492505050565b6000816004811115611c0c57611c0c612a14565b03611c145750565b6001816004811115611c2857611c28612a14565b03611c755760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ec565b6002816004811115611c8957611c89612a14565b03611cd65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ec565b6003816004811115611cea57611cea612a14565b03611d425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ec565b6004816004811115611d5657611d56612a14565b03610e985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ec565b6001600160a01b038316611dcd57611dca6008611e5883611e2a565b50505b6001600160a01b038216611dec57611de96008611e1e83611e2a565b50505b6001600160a01b03838116600090815260066020526040808220548584168352912054610721929182169116836118ac565b600061093682846128ed565b600080611e4c85611e47611e3d8861167f565b868863ffffffff16565b611fae565b91509150935093915050565b60006109368284612900565b6001600160a01b038216611eba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b031615611f1f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b0382166000908152600360205260408120805460019290611f48908490612900565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109636000838361187a565b8154600090819081611fbf8661167f565b9050600082118015611ffd57504386611fd96001856128ed565b81548110611fe957611fe9612930565b60009182526020909120015463ffffffff16145b1561205d5761200b856120d9565b866120176001856128ed565b8154811061202757612027612930565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506120cb565b85600001604051806040016040528061207543612146565b63ffffffff168152602001612089886120d9565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b9250839150505b9250929050565b60006001600160e01b038211156121425760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ec565b5090565b600063ffffffff8211156121425760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ec565b6001600160e01b031981168114610e9857600080fd5b6000602082840312156121d357600080fd5b8135610936816121ab565b60005b838110156121f95781810151838201526020016121e1565b50506000910152565b6000815180845261221a8160208601602086016121de565b601f01601f19169290920160200192915050565b6020815260006109366020830184612202565b60006020828403121561225357600080fd5b5035919050565b6001600160a01b0381168114610e9857600080fd5b6000806040838503121561228257600080fd5b823561228d8161225a565b946020939093013593505050565b6000806000606084860312156122b057600080fd5b83356122bb8161225a565b925060208401356122cb8161225a565b929592945050506040919091013590565b6000602082840312156122ee57600080fd5b81356109368161225a565b60006040828403121561187457600080fd5b6000806040838503121561231e57600080fd5b82359150602083013567ffffffffffffffff81111561233c57600080fd5b612348858286016122f9565b9150509250929050565b6000806040838503121561236557600080fd5b50508035926020909101359150565b6000806040838503121561238757600080fd5b82356123928161225a565b9150602083013567ffffffffffffffff81111561233c57600080fd5b8015158114610e9857600080fd5b600080604083850312156123cf57600080fd5b82356123da8161225a565b915060208301356123ea816123ae565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612434576124346123f5565b604052919050565b600067ffffffffffffffff821115612456576124566123f5565b50601f01601f191660200190565b6000806000806080858703121561247a57600080fd5b84356124858161225a565b935060208501356124958161225a565b925060408501359150606085013567ffffffffffffffff8111156124b857600080fd5b8501601f810187136124c957600080fd5b80356124dc6124d78261243c565b61240b565b8181528860208385010111156124f157600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c0878903121561252c57600080fd5b86356125378161225a565b95506020870135945060408701359350606087013560ff8116811461255b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561258857600080fd5b82356125938161225a565b915060208301356123ea8161225a565b600181811c908216806125b757607f821691505b60208210810361187457634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e1984360301811261267457600080fd5b83018035915067ffffffffffffffff82111561268f57600080fd5b6020019150368190038213156120d257600080fd5b601f821115610721576000816000526020600020601f850160051c810160208610156126cd5750805b601f850160051c820191505b818110156126ec578281556001016126d9565b505050505050565b67ffffffffffffffff83111561270c5761270c6123f5565b6127208361271a83546125a3565b836126a4565b6000601f841160018114612754576000851561273c5750838201355b600019600387901b1c1916600186901b1783556127ae565b600083815260209020601f19861690835b828110156127855786850135825560209485019460019092019101612765565b50868210156127a25760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6040815260008335601e198536030181126127cf57600080fd5b840160208101903567ffffffffffffffff8111156127ec57600080fd5b8036038213156127fb57600080fd5b604080850152806080850152808260a0860137600060a082860101526020860135606085015260a0601f19601f8301168501019250505061093660208301846001600160a01b03169052565b634e487b7160e01b600052601160045260246000fd5b60006001820161286f5761286f612847565b5060010190565b60006020828403121561288857600080fd5b815167ffffffffffffffff81111561289f57600080fd5b8201601f810184136128b057600080fd5b80516128be6124d78261243c565b8181528560208385010111156128d357600080fd5b6128e48260208301602086016121de565b95945050505050565b818103818111156104df576104df612847565b808201808211156104df576104df612847565b60006020828403121561292557600080fd5b8151610936816123ae565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826129b557634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ed90830184612202565b9695505050505050565b600060208284031215612a0957600080fd5b8151610936816121ab565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f51a3b92212837cf8f6c2d56f2e3620c4bf9c6a8149a41d861ebe4af9454e11464736f6c63430008170033","sourceMap":"956:5441:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3135:304;;;;;;:::i;:::-;;:::i;:::-;;;565:14:44;;558:22;540:41;;528:2;513:18;3135:304:14;;;;;;;;1517:33;;;;;;;;;738:25:44;;;726:2;711:18;1517:33:14;592:177:44;2488:98:27;;;:::i;:::-;;;;;;;:::i;3999:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1988:32:44;;;1970:51;;1958:2;1943:18;3999:217:27;1824:203:44;3537:401:27;;;;;;:::i;:::-;;:::i;:::-;;4726:330;;;;;;:::i;:::-;;:::i;6174:221:14:-;;;;;;:::i;:::-;;:::i;7423:104:25:-;;;:::i;5606:402:14:-;;;;;;:::i;:::-;;:::i;1840:80::-;;;;;;:::i;:::-;;:::i;2634:184:25:-;;;;;;:::i;:::-;;:::i;5122:179:27:-;;;;;;:::i;:::-;;:::i;3793:127:25:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3893:20:25;;;3867:7;3893:20;;;:11;:20;;;;;;;;3793:127;4002:147;;;;;;:::i;:::-;;:::i;2191:235:27:-;;;;;;:::i;:::-;;:::i;4644:506:14:-;;;;;;:::i;:::-;;:::i;1929:205:27:-;;;;;;:::i;:::-;;:::i;1668:101:23:-;;;:::i;7169:117:25:-;;;;;;:::i;:::-;;:::i;1036:85:23:-;1108:6;;-1:-1:-1;;;;;1108:6:23;1036:85;;3281:236:25;;;;;;:::i;:::-;;:::i;2650:102:27:-;;;:::i;2278:144:25:-;;;;;;:::i;:::-;;:::i;4283:153:27:-;;;;;;:::i;:::-;;:::i;2310:56:15:-;;;;;5367:320:27;;;;;;:::i;:::-;;:::i;4227:564:25:-;;;;;;:::i;:::-;;:::i;2523:394:14:-;;;;;;:::i;:::-;;:::i;2010:52::-;;;;;-1:-1:-1;;;;;2010:52:14;;;4502:162:27;;;;;;:::i;:::-;-1:-1:-1;;;;;4622:25:27;;;4599:4;4622:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4502:162;1918:198:23;;;;;;:::i;:::-;;:::i;3135:304:14:-;3258:4;-1:-1:-1;;;;;;3285:45:14;;-1:-1:-1;;;3285:45:14;;:102;;-1:-1:-1;;;;;;;3340:47:14;;-1:-1:-1;;;3340:47:14;3285:102;:149;;;;3397:37;3421:12;3397:23;:37::i;:::-;3272:162;3135:304;-1:-1:-1;;3135:304:14:o;2488:98:27:-;2542:13;2574:5;2567:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2488:98;:::o;3999:217::-;4075:7;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:27;4094:73;;;;-1:-1:-1;;;4094:73:27;;9331:2:44;4094:73:27;;;9313:21:44;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;-1:-1:-1;;;9460:18:44;;;9453:42;9512:19;;4094:73:27;;;;;;;;;-1:-1:-1;4185:24:27;;;;:15;:24;;;;;;-1:-1:-1;;;;;4185:24:27;;3999:217::o;3537:401::-;3617:13;3633:23;3648:7;3633:14;:23::i;:::-;3617:39;;3680:5;-1:-1:-1;;;;;3674:11:27;:2;-1:-1:-1;;;;;3674:11:27;;3666:57;;;;-1:-1:-1;;;3666:57:27;;9744:2:44;3666:57:27;;;9726:21:44;9783:2;9763:18;;;9756:30;9822:34;9802:18;;;9795:62;-1:-1:-1;;;9873:18:44;;;9866:31;9914:19;;3666:57:27;9542:397:44;3666:57:27;719:10:34;-1:-1:-1;;;;;3755:21:27;;;;:62;;-1:-1:-1;3780:37:27;3797:5;719:10:34;4502:162:27;:::i;3780:37::-;3734:165;;;;-1:-1:-1;;;3734:165:27;;10146:2:44;3734:165:27;;;10128:21:44;10185:2;10165:18;;;10158:30;10224:34;10204:18;;;10197:62;10295:26;10275:18;;;10268:54;10339:19;;3734:165:27;9944:420:44;3734:165:27;3910:21;3919:2;3923:7;3910:8;:21::i;:::-;3607:331;3537:401;;:::o;4726:330::-;4915:41;719:10:34;4948:7:27;4915:18;:41::i;:::-;4907:103;;;;-1:-1:-1;;;4907:103:27;;;;;;;:::i;:::-;5021:28;5031:4;5037:2;5041:7;5021:9;:28::i;6174:221:14:-;1108:6:23;;-1:-1:-1;;;;;1108:6:23;719:10:34;1248:23:23;1240:68;;;;-1:-1:-1;;;1240:68:23;;;;;;;:::i;:::-;6302:16:14::1;:31:::0;;-1:-1:-1;;;;;;6302:31:14::1;-1:-1:-1::0;;;;;6302:31:14;::::1;::::0;;::::1;::::0;;;6345:45:::1;::::0;6379:10:::1;1970:51:44::0;;6345:45:14::1;::::0;1958:2:44;1943:18;6345:45:14::1;;;;;;;6174:221:::0;:::o;7423:104:25:-;7474:7;7500:20;:18;:20::i;:::-;7493:27;;7423:104;:::o;5606:402:14:-;5735:19;5743:10;5735:7;:19::i;:::-;5756:10;344:1:20;1318:55:15;1337:8;1347:7;1356:16;1318:18;:55::i;:::-;5928:17:14::1;:9:::0;;:17:::1;:::i;:::-;5878:29;::::0;;;:17:::1;:29;::::0;;;;;;;5908:16;;::::1;;5878:47:::0;;;;;;;;:67:::1;::::0;;:47;:67:::1;:::i;:::-;;5969:10;5957:46;5981:9;5992:10;5957:46;;;;;;;:::i;:::-;;;;;;;;5606:402:::0;;;;;:::o;1840:80::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2634:184:25:-;-1:-1:-1;;;;;2758:29:25;;2732:7;2758:29;;;:20;:29;;;;;:53;;2799:11;2758:40;:53::i;:::-;2751:60;2634:184;-1:-1:-1;;;2634:184:25:o;5122:179:27:-;5255:39;5272:4;5278:2;5282:7;5255:39;;;;;;;;;;;;:16;:39::i;4002:147:25:-;719:10:34;4113:29:25;719:10:34;4132:9:25;4113;:29::i;:::-;4063:86;4002:147;:::o;2191:235:27:-;2263:7;2298:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2298:16:27;;2324:73;;;;-1:-1:-1;;;2324:73:27;;14991:2:44;2324:73:27;;;14973:21:44;15030:2;15010:18;;;15003:30;15069:34;15049:18;;;15042:62;-1:-1:-1;;;15120:18:44;;;15113:39;15169:19;;2324:73:27;14789:405:44;4644:506:14;4756:17;4855:5;;4853:7;;;;;:::i;:::-;;;;;-1:-1:-1;4853:7:14;-1:-1:-1;4892:28:14;4902:6;4853:7;4892:9;:28::i;:::-;5010:1;4982:17;:9;;:17;:::i;:::-;4976:31;;:35;4972:113;;;5068:17;:9;;:17;:::i;:::-;5019:28;;;;:17;:28;;;;;;;;5048:16;;;;5019:46;;;;;;;;:66;;;:46;:66;:::i;:::-;;4972:113;5115:6;-1:-1:-1;;;;;5097:48:14;5104:9;5097:48;5123:9;5134:10;5097:48;;;;;;;:::i;:::-;;;;;;;;4644:506;;;;:::o;1929:205:27:-;2001:7;-1:-1:-1;;;;;2028:19:27;;2020:74;;;;-1:-1:-1;;;2020:74:27;;15673:2:44;2020:74:27;;;15655:21:44;15712:2;15692:18;;;15685:30;15751:34;15731:18;;;15724:62;-1:-1:-1;;;15802:18:44;;;15795:40;15852:19;;2020:74:27;15471:406:44;2020:74:27;-1:-1:-1;;;;;;2111:16:27;;;;;:9;:16;;;;;;;1929:205::o;1668:101:23:-;1108:6;;-1:-1:-1;;;;;1108:6:23;719:10:34;1248:23:23;1240:68;;;;-1:-1:-1;;;1240:68:23;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;7169:117:25:-;-1:-1:-1;;;;;7255:14:25;;7229:7;7255:14;;;:7;:14;;;;;918::35;7255:24:25;827:112:35;3281:236:25;3368:7;3409:12;3395:11;:26;3387:65;;;;-1:-1:-1;;;3387:65:25;;16084:2:44;3387:65:25;;;16066:21:44;16123:2;16103:18;;;16096:30;16162:28;16142:18;;;16135:56;16208:18;;3387:65:25;15882:350:44;3387:65:25;3469:41;:17;3498:11;3469:28;:41::i;2650:102:27:-;2706:13;2738:7;2731:14;;;;;:::i;2278:144:25:-;-1:-1:-1;;;;;2377:29:25;;2351:7;2377:29;;;:20;:29;;;;;:38;;:36;:38::i;4283:153:27:-;4377:52;719:10:34;4410:8:27;4420;4377:18;:52::i;5367:320::-;5536:41;719:10:34;5569:7:27;5536:18;:41::i;:::-;5528:103;;;;-1:-1:-1;;;5528:103:27;;;;;;;:::i;:::-;5641:39;5655:4;5661:2;5665:7;5674:5;5641:13;:39::i;:::-;5367:320;;;;:::o;4227:564:25:-;4446:6;4427:15;:25;;4419:62;;;;-1:-1:-1;;;4419:62:25;;16439:2:44;4419:62:25;;;16421:21:44;16478:2;16458:18;;;16451:30;16517:26;16497:18;;;16490:54;16561:18;;4419:62:25;16237:348:44;4419:62:25;4562:58;;;1878:71;4562:58;;;16821:25:44;-1:-1:-1;;;;;16882:32:44;;16862:18;;;16855:60;;;;16931:18;;;16924:34;;;16974:18;;;16967:34;;;4491:14:25;;4508:169;;4535:87;;16793:19:44;;4562:58:25;;;;;;;;;;;;4552:69;;;;;;4535:16;:87::i;:::-;4636:1;4651;4666;4508:13;:169::i;:::-;4491:186;;4704:17;4714:6;4704:9;:17::i;:::-;4695:5;:26;4687:59;;;;-1:-1:-1;;;4687:59:25;;17214:2:44;4687:59:25;;;17196:21:44;17253:2;17233:18;;;17226:30;-1:-1:-1;;;17272:18:44;;;17265:50;17332:18;;4687:59:25;17012:344:44;4687:59:25;4756:28;4766:6;4774:9;4756;:28::i;:::-;4409:382;4227:564;;;;;;:::o;2523:394:14:-;2693:16;;2591:13;;-1:-1:-1;;;;;2693:16:14;;2763:67;;-1:-1:-1;;2821:9:14;;;;;;;;;-1:-1:-1;2821:9:14;;;2523:394;-1:-1:-1;2523:394:14:o;2763:67::-;2876:36;;-1:-1:-1;;;2876:36:14;;;;;738:25:44;;;-1:-1:-1;;;;;2876:24:14;;;;;711:18:44;;2876:36:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2876:36:14;;;;;;;;;;;;:::i;1918:198:23:-;1108:6;;-1:-1:-1;;;;;1108:6:23;719:10:34;1248:23:23;1240:68;;;;-1:-1:-1;;;1240:68:23;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:23;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:23;;18216:2:44;1998:73:23::1;::::0;::::1;18198:21:44::0;18255:2;18235:18;;;18228:30;18294:34;18274:18;;;18267:62;-1:-1:-1;;;18345:18:44;;;18338:36;18391:19;;1998:73:23::1;18014:402:44::0;1998:73:23::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;1570:300:27:-;1672:4;-1:-1:-1;;;;;;1707:40:27;;-1:-1:-1;;;1707:40:27;;:104;;-1:-1:-1;;;;;;;1763:48:27;;-1:-1:-1;;;1763:48:27;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:39;;;1827:36:27;829:155:39;11168:171:27;11242:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11242:29:27;-1:-1:-1;;;;;11242:29:27;;;;;;;;:24;;11295:23;11242:24;11295:14;:23::i;:::-;-1:-1:-1;;;;;11286:46:27;;;;;;;;;;;11168:171;;:::o;7442:344::-;7535:4;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:27;7551:73;;;;-1:-1:-1;;;7551:73:27;;18623:2:44;7551:73:27;;;18605:21:44;18662:2;18642:18;;;18635:30;18701:34;18681:18;;;18674:62;-1:-1:-1;;;18752:18:44;;;18745:42;18804:19;;7551:73:27;18421:408:44;7551:73:27;7634:13;7650:23;7665:7;7650:14;:23::i;:::-;7634:39;;7702:5;-1:-1:-1;;;;;7691:16:27;:7;-1:-1:-1;;;;;7691:16:27;;:51;;;;7735:7;-1:-1:-1;;;;;7711:31:27;:20;7723:7;7711:11;:20::i;:::-;-1:-1:-1;;;;;7711:31:27;;7691:51;:87;;;-1:-1:-1;;;;;;4622:25:27;;;4599:4;4622:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7746:32;7683:96;7442:344;-1:-1:-1;;;;7442:344:27:o;10452:605::-;10606:4;-1:-1:-1;;;;;10579:31:27;:23;10594:7;10579:14;:23::i;:::-;-1:-1:-1;;;;;10579:31:27;;10571:81;;;;-1:-1:-1;;;10571:81:27;;19036:2:44;10571:81:27;;;19018:21:44;19075:2;19055:18;;;19048:30;19114:34;19094:18;;;19087:62;-1:-1:-1;;;19165:18:44;;;19158:35;19210:19;;10571:81:27;18834:401:44;10571:81:27;-1:-1:-1;;;;;10670:16:27;;10662:65;;;;-1:-1:-1;;;10662:65:27;;19442:2:44;10662:65:27;;;19424:21:44;19481:2;19461:18;;;19454:30;19520:34;19500:18;;;19493:62;-1:-1:-1;;;19571:18:44;;;19564:34;19615:19;;10662:65:27;19240:400:44;10662:65:27;10839:29;10856:1;10860:7;10839:8;:29::i;:::-;-1:-1:-1;;;;;10879:15:27;;;;;;:9;:15;;;;;:20;;10898:1;;10879:15;:20;;10898:1;;10879:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10909:13:27;;;;;;:9;:13;;;;;:18;;10926:1;;10909:13;:18;;10926:1;;10909:18;:::i;:::-;;;;-1:-1:-1;;10937:16:27;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10937:21:27;-1:-1:-1;;;;;10937:21:27;;;;;;;;;10974:27;;10937:16;;10974:27;;;;;;;11012:38;11032:4;11038:2;11042:7;11012:19;:38::i;3143:308:38:-;3196:7;3227:4;-1:-1:-1;;;;;3236:12:38;3219:29;;:66;;;;;3269:16;3252:13;:33;3219:66;3215:230;;;-1:-1:-1;3308:24:38;;3143:308::o;3215:230::-;-1:-1:-1;3633:73:38;;;3392:10;3633:73;;;;22595:25:44;;;;3404:12:38;22636:18:44;;;22629:34;3418:15:38;22679:18:44;;;22672:34;3677:13:38;22722:18:44;;;22715:34;3700:4:38;22765:19:44;;;;22758:61;;;;3633:73:38;;;;;;;;;;22567:19:44;;;;3633:73:38;;;3623:84;;;;;;7423:104:25:o;3361:359:15:-;3497:10;-1:-1:-1;;;;;3497:22:15;;;;;;:109;;-1:-1:-1;3530:76:15;;-1:-1:-1;;;3530:76:15;;3558:10;3530:76;;;20177:34:44;-1:-1:-1;;;;;20247:15:44;;;20227:18;;;20220:43;20279:18;;;20272:34;;;20322:18;;;20315:34;;;3530:13:15;:27;;;;20111:19:44;;3530:76:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3529:77;3497:109;:190;;;;-1:-1:-1;3617:70:15;;-1:-1:-1;;;3617:70:15;;3645:10;3617:70;;;20177:34:44;-1:-1:-1;;;;;20247:15:44;;;20227:18;;;20220:43;3667:1:15;20279:18:44;;;20272:34;20322:18;;;20315:34;;;3617:13:15;:27;;;;20111:19:44;;3617:70:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3616:71;3497:190;3486:229;;;3701:14;;-1:-1:-1;;;3701:14:15;;;;;;;;;;;1281:578:33;1367:7;1408:12;1394:11;:26;1386:71;;;;-1:-1:-1;;;1386:71:33;;21272:2:44;1386:71:33;;;21254:21:44;;;21291:18;;;21284:30;21350:34;21330:18;;;21323:62;21402:18;;1386:71:33;21070:356:44;1386:71:33;1483:24;;1468:12;1542:244;1555:4;1549:3;:10;1542:244;;;1575:11;1589:23;1602:3;1607:4;1589:12;:23::i;:::-;1575:37;;1668:11;1630:4;:17;;1648:3;1630:22;;;;;;;;:::i;:::-;;;;;;;;;;:35;;;:49;1626:150;;;1706:3;1699:10;;1626:150;;;1754:7;:3;1760:1;1754:7;:::i;:::-;1748:13;;1626:150;1561:225;1542:244;;;1802:9;;:50;;1818:4;1836:8;1843:1;1836:4;:8;:::i;:::-;1818:27;;;;;;;;:::i;:::-;;;;;;;;;;:34;;;;-1:-1:-1;;;;;1818:34:33;1802:50;;;1814:1;1802:50;-1:-1:-1;;;;;1795:57:33;;1281:578;-1:-1:-1;;;;;1281:578:33:o;4955:313:25:-;-1:-1:-1;;;;;3893:20:25;;;5037:19;3893:20;;;:11;:20;;;;;;;;5087:32;;;-1:-1:-1;;;;;;5087:32:25;;;;;;;5135:48;;3893:20;;;;;5087:32;3893:20;;;;5135:48;;5037:19;5135:48;5193:68;5212:11;5225:9;5236:24;5252:7;5236:15;:24::i;:::-;5193:18;:68::i;8116:108:27:-;8191:26;8201:2;8205:7;8191:26;;;;;;;;;;;;:9;:26::i;2270:187:23:-;2362:6;;;-1:-1:-1;;;;;2378:17:23;;;-1:-1:-1;;;;;;2378:17:23;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;901:190:33:-;995:24;;962:7;;1036:8;;:48;;1051:4;1069:7;1075:1;1069:3;:7;:::i;:::-;1051:26;;;;;;;;:::i;:::-;;;;;;;;;;:33;;;;-1:-1:-1;;;;;1051:33:33;1036:48;;;1047:1;1036:48;-1:-1:-1;;;;;1029:55:33;;901:190;-1:-1:-1;;;901:190:33:o;11474:307:27:-;11624:8;-1:-1:-1;;;;;11615:17:27;:5;-1:-1:-1;;;;;11615:17:27;;11607:55;;;;-1:-1:-1;;;11607:55:27;;21765:2:44;11607:55:27;;;21747:21:44;21804:2;21784:18;;;21777:30;21843:27;21823:18;;;21816:55;21888:18;;11607:55:27;21563:349:44;11607:55:27;-1:-1:-1;;;;;11672:25:27;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11672:46:27;;;;;;;;;;11733:41;;540::44;;;11733::27;;513:18:44;11733:41:27;;;;;;;11474:307;;;:::o;6549:::-;6700:28;6710:4;6716:2;6720:7;6700:9;:28::i;:::-;6746:48;6769:4;6775:2;6779:7;6788:5;6746:22;:48::i;:::-;6738:111;;;;-1:-1:-1;;;6738:111:27;;;;;;;:::i;4339:165:38:-;4416:7;4442:55;4464:20;:18;:20::i;:::-;4486:10;9226:57:37;;-1:-1:-1;;;9226:57:37;;;24311:27:44;24354:11;;;24347:27;;;24390:12;;;24383:28;;;9190:7:37;;24427:12:44;;9226:57:37;;;;;;;;;;;;9216:68;;;;;;9209:75;;9097:194;;;;;7452:270;7575:7;7595:17;7614:18;7636:25;7647:4;7653:1;7656;7659;7636:10;:25::i;:::-;7594:67;;;;7671:18;7683:5;7671:11;:18::i;:::-;-1:-1:-1;7706:9:37;7452:270;-1:-1:-1;;;;;7452:270:37:o;6906:203:25:-;-1:-1:-1;;;;;7026:14:25;;6966:15;7026:14;;;:7;:14;;;;;918::35;;1050:1;1032:19;;;;918:14;7085:17:25;6983:126;6906:203;;;:::o;932:232:31:-;1070:33;1091:4;1097:2;1101:1;1070:20;:33::i;678:153:41:-;740:7;813:11;823:1;814:5;;;813:11;:::i;:::-;803:21;;804:5;;;803:21;:::i;1232:128:31:-;1309:7;1335:18;1345:7;1335:9;:18::i;5973:610:25:-;6103:2;-1:-1:-1;;;;;6095:10:25;:4;-1:-1:-1;;;;;6095:10:25;;;:24;;;;;6118:1;6109:6;:10;6095:24;6091:486;;;-1:-1:-1;;;;;6139:18:25;;;6135:215;;-1:-1:-1;;;;;6216:26:25;;6178:16;6216:26;;;:20;:26;;;;;6178:16;;6216:50;;6248:9;6259:6;6216:31;:50::i;:::-;6177:89;;;;6310:4;-1:-1:-1;;;;;6289:46:25;;6316:8;6326;6289:46;;;;;;23226:25:44;;;23282:2;23267:18;;23260:34;23214:2;23199:18;;23052:248;6289:46:25;;;;;;;;6159:191;;6135:215;-1:-1:-1;;;;;6367:16:25;;;6363:204;;-1:-1:-1;;;;;6442:24:25;;6404:16;6442:24;;;:20;:24;;;;;6404:16;;6442:43;;6472:4;6478:6;6442:29;:43::i;:::-;6403:82;;;;6529:2;-1:-1:-1;;;;;6508:44:25;;6533:8;6543;6508:44;;;;;;23226:25:44;;;23282:2;23267:18;;23260:34;23214:2;23199:18;;23052:248;8445:311:27;8570:18;8576:2;8580:7;8570:5;:18::i;:::-;8619:54;8650:1;8654:2;8658:7;8667:5;8619:22;:54::i;:::-;8598:151;;;;-1:-1:-1;;;8598:151:27;;;;;;;:::i;12334:778::-;12484:4;-1:-1:-1;;;;;12504:13:27;;1465:19:32;:23;12500:606:27;;12539:72;;-1:-1:-1;;;12539:72:27;;-1:-1:-1;;;;;12539:36:27;;;;;:72;;719:10:34;;12590:4:27;;12596:7;;12605:5;;12539:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12539:72:27;;;;;;;;-1:-1:-1;;12539:72:27;;;;;;;;;;;;:::i;:::-;;;12535:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12778:6;:13;12795:1;12778:18;12774:266;;12820:60;;-1:-1:-1;;;12820:60:27;;;;;;;:::i;12774:266::-;12992:6;12986:13;12977:6;12973:2;12969:15;12962:38;12535:519;-1:-1:-1;;;;;;12661:51:27;-1:-1:-1;;;12661:51:27;;-1:-1:-1;12654:58:27;;12500:606;-1:-1:-1;13091:4:27;13084:11;;5716:1603:37;5842:7;;6766:66;6753:79;;6749:161;;;-1:-1:-1;6864:1:37;;-1:-1:-1;6868:30:37;6848:51;;6749:161;6923:1;:7;;6928:2;6923:7;;:18;;;;;6934:1;:7;;6939:2;6934:7;;6923:18;6919:100;;;-1:-1:-1;6973:1:37;;-1:-1:-1;6977:30:37;6957:51;;6919:100;7130:24;;;7113:14;7130:24;;;;;;;;;24677:25:44;;;24750:4;24738:17;;24718:18;;;24711:45;;;;24772:18;;;24765:34;;;24815:18;;;24808:34;;;7130:24:37;;24649:19:44;;7130:24:37;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7130:24:37;;-1:-1:-1;;7130:24:37;;;-1:-1:-1;;;;;;;7168:20:37;;7164:101;;7220:1;7224:29;7204:50;;;;;;;7164:101;7283:6;-1:-1:-1;7291:20:37;;-1:-1:-1;5716:1603:37;;;;;;;;:::o;548:631::-;625:20;616:5;:29;;;;;;;;:::i;:::-;;612:561;;548:631;:::o;612:561::-;721:29;712:5;:38;;;;;;;;:::i;:::-;;708:465;;766:34;;-1:-1:-1;;;766:34:37;;25187:2:44;766:34:37;;;25169:21:44;25226:2;25206:18;;;25199:30;25265:26;25245:18;;;25238:54;25309:18;;766:34:37;24985:348:44;708:465:37;830:35;821:5;:44;;;;;;;;:::i;:::-;;817:356;;881:41;;-1:-1:-1;;;881:41:37;;25540:2:44;881:41:37;;;25522:21:44;25579:2;25559:18;;;25552:30;25618:33;25598:18;;;25591:61;25669:18;;881:41:37;25338:355:44;817:356:37;952:30;943:5;:39;;;;;;;;:::i;:::-;;939:234;;998:44;;-1:-1:-1;;;998:44:37;;25900:2:44;998:44:37;;;25882:21:44;25939:2;25919:18;;;25912:30;25978:34;25958:18;;;25951:62;-1:-1:-1;;;26029:18:44;;;26022:32;26071:19;;998:44:37;25698:398:44;939:234:37;1072:30;1063:5;:39;;;;;;;;:::i;:::-;;1059:114;;1118:44;;-1:-1:-1;;;1118:44:37;;26303:2:44;1118:44:37;;;26285:21:44;26342:2;26322:18;;;26315:30;26381:34;26361:18;;;26354:62;-1:-1:-1;;;26432:18:44;;;26425:32;26474:19;;1118:44:37;26101:398:44;5502:385:25;-1:-1:-1;;;;;5635:18:25;;5631:85;;5669:36;:17;5692:4;5698:6;5669:22;:36::i;:::-;;;5631:85;-1:-1:-1;;;;;5729:16:25;;5725:88;;5761:41;:17;5784:9;5795:6;5761:22;:41::i;:::-;;;5725:88;-1:-1:-1;;;;;3893:20:25;;;3867:7;3893:20;;;:11;:20;;;;;;;;;;;;;;;5822:58;;3893:20;;;;;5873:6;5822:18;:58::i;6691:101::-;6754:7;6780:5;6784:1;6780;:5;:::i;2822:230:33:-;2975:7;2984;3010:35;3015:4;3021:23;3024:12;3031:4;3024:6;:12::i;:::-;3038:5;3021:2;:23;;:::i;:::-;3010:4;:35::i;:::-;3003:42;;;;2822:230;;;;;;:::o;6589:96:25:-;6647:7;6673:5;6677:1;6673;:5;:::i;9078:427:27:-;-1:-1:-1;;;;;9157:16:27;;9149:61;;;;-1:-1:-1;;;9149:61:27;;26706:2:44;9149:61:27;;;26688:21:44;;;26725:18;;;26718:30;26784:34;26764:18;;;26757:62;26836:18;;9149:61:27;26504:356:44;9149:61:27;7224:4;7247:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7247:16:27;:30;9220:58;;;;-1:-1:-1;;;9220:58:27;;27067:2:44;9220:58:27;;;27049:21:44;27106:2;27086:18;;;27079:30;27145;27125:18;;;27118:58;27193:18;;9220:58:27;26865:352:44;9220:58:27;-1:-1:-1;;;;;9345:13:27;;;;;;:9;:13;;;;;:18;;9362:1;;9345:13;:18;;9362:1;;9345:18;:::i;:::-;;;;-1:-1:-1;;9373:16:27;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9373:21:27;-1:-1:-1;;;;;9373:21:27;;;;;;;;9410:33;;9373:16;;;9410:33;;9373:16;;9410:33;9454:44;9482:1;9486:2;9490:7;9454:19;:44::i;2037:553:33:-;2148:24;;2106:7;;;;;2196:12;2148:4;2196:6;:12::i;:::-;2182:26;;2228:1;2222:3;:7;:66;;;;-1:-1:-1;2276:12:33;2233:4;2251:7;2257:1;2251:3;:7;:::i;:::-;2233:26;;;;;;;;:::i;:::-;;;;;;;;;;:39;;;:55;2222:66;2218:337;;;2340:25;2359:5;2340:18;:25::i;:::-;2304:4;2322:7;2328:1;2322:3;:7;:::i;:::-;2304:26;;;;;;;;:::i;:::-;;;;;;;;:33;;;:61;;;;;-1:-1:-1;;;;;2304:61:33;;;;;-1:-1:-1;;;;;2304:61:33;;;;;;2218:337;;;2396:4;:17;;2436:94;;;;;;;;2462:31;2480:12;2462:17;:31::i;:::-;2436:94;;;;;;2503:25;2522:5;2503:18;:25::i;:::-;-1:-1:-1;;;;;2436:94:33;;;;;;2396:148;;;;;;;-1:-1:-1;2396:148:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2218:337;2572:3;-1:-1:-1;2577:5:33;;-1:-1:-1;;2037:553:33;;;;;;:::o;1135:192:42:-;1192:7;-1:-1:-1;;;;;1219:26:42;;;1211:78;;;;-1:-1:-1;;;1211:78:42;;27424:2:44;1211:78:42;;;27406:21:44;27463:2;27443:18;;;27436:30;27502:34;27482:18;;;27475:62;-1:-1:-1;;;27553:18:44;;;27546:37;27600:19;;1211:78:42;27222:403:44;1211:78:42;-1:-1:-1;1314:5:42;1135:192::o;3045:187::-;3101:6;3136:16;3127:25;;;3119:76;;;;-1:-1:-1;;;3119:76:42;;27832:2:44;3119:76:42;;;27814:21:44;27871:2;27851:18;;;27844:30;27910:34;27890:18;;;27883:62;-1:-1:-1;;;27961:18:44;;;27954:36;28007:19;;3119:76:42;27630:402:44;14:131;-1:-1:-1;;;;;;88:32:44;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:250::-;859:1;869:113;883:6;880:1;877:13;869:113;;;959:11;;;953:18;940:11;;;933:39;905:2;898:10;869:113;;;-1:-1:-1;;1016:1:44;998:16;;991:27;774:250::o;1029:271::-;1071:3;1109:5;1103:12;1136:6;1131:3;1124:19;1152:76;1221:6;1214:4;1209:3;1205:14;1198:4;1191:5;1187:16;1152:76;:::i;:::-;1282:2;1261:15;-1:-1:-1;;1257:29:44;1248:39;;;;1289:4;1244:50;;1029:271;-1:-1:-1;;1029:271:44:o;1305:220::-;1454:2;1443:9;1436:21;1417:4;1474:45;1515:2;1504:9;1500:18;1492:6;1474:45;:::i;1530:180::-;1589:6;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;-1:-1:-1;1681:23:44;;1530:180;-1:-1:-1;1530:180:44:o;2032:131::-;-1:-1:-1;;;;;2107:31:44;;2097:42;;2087:70;;2153:1;2150;2143:12;2168:315;2236:6;2244;2297:2;2285:9;2276:7;2272:23;2268:32;2265:52;;;2313:1;2310;2303:12;2265:52;2352:9;2339:23;2371:31;2396:5;2371:31;:::i;:::-;2421:5;2473:2;2458:18;;;;2445:32;;-1:-1:-1;;;2168:315:44:o;2488:456::-;2565:6;2573;2581;2634:2;2622:9;2613:7;2609:23;2605:32;2602:52;;;2650:1;2647;2640:12;2602:52;2689:9;2676:23;2708:31;2733:5;2708:31;:::i;:::-;2758:5;-1:-1:-1;2815:2:44;2800:18;;2787:32;2828:33;2787:32;2828:33;:::i;:::-;2488:456;;2880:7;;-1:-1:-1;;;2934:2:44;2919:18;;;;2906:32;;2488:456::o;2949:276::-;3037:6;3090:2;3078:9;3069:7;3065:23;3061:32;3058:52;;;3106:1;3103;3096:12;3058:52;3145:9;3132:23;3164:31;3189:5;3164:31;:::i;3412:165::-;3482:5;3527:2;3518:6;3513:3;3509:16;3505:25;3502:45;;;3543:1;3540;3533:12;3582:445;3688:6;3696;3749:2;3737:9;3728:7;3724:23;3720:32;3717:52;;;3765:1;3762;3755:12;3717:52;3801:9;3788:23;3778:33;;3862:2;3851:9;3847:18;3834:32;3889:18;3881:6;3878:30;3875:50;;;3921:1;3918;3911:12;3875:50;3944:77;4013:7;4004:6;3993:9;3989:22;3944:77;:::i;:::-;3934:87;;;3582:445;;;;;:::o;4032:248::-;4100:6;4108;4161:2;4149:9;4140:7;4136:23;4132:32;4129:52;;;4177:1;4174;4167:12;4129:52;-1:-1:-1;;4200:23:44;;;4270:2;4255:18;;;4242:32;;-1:-1:-1;4032:248:44:o;4537:512::-;4643:6;4651;4704:2;4692:9;4683:7;4679:23;4675:32;4672:52;;;4720:1;4717;4710:12;4672:52;4759:9;4746:23;4778:31;4803:5;4778:31;:::i;:::-;4828:5;-1:-1:-1;4884:2:44;4869:18;;4856:32;4911:18;4900:30;;4897:50;;;4943:1;4940;4933:12;5054:118;5140:5;5133:13;5126:21;5119:5;5116:32;5106:60;;5162:1;5159;5152:12;5177:382;5242:6;5250;5303:2;5291:9;5282:7;5278:23;5274:32;5271:52;;;5319:1;5316;5309:12;5271:52;5358:9;5345:23;5377:31;5402:5;5377:31;:::i;:::-;5427:5;-1:-1:-1;5484:2:44;5469:18;;5456:32;5497:30;5456:32;5497:30;:::i;:::-;5546:7;5536:17;;;5177:382;;;;;:::o;5798:127::-;5859:10;5854:3;5850:20;5847:1;5840:31;5890:4;5887:1;5880:15;5914:4;5911:1;5904:15;5930:275;6001:2;5995:9;6066:2;6047:13;;-1:-1:-1;;6043:27:44;6031:40;;6101:18;6086:34;;6122:22;;;6083:62;6080:88;;;6148:18;;:::i;:::-;6184:2;6177:22;5930:275;;-1:-1:-1;5930:275:44:o;6210:186::-;6258:4;6291:18;6283:6;6280:30;6277:56;;;6313:18;;:::i;:::-;-1:-1:-1;6379:2:44;6358:15;-1:-1:-1;;6354:29:44;6385:4;6350:40;;6210:186::o;6401:1016::-;6496:6;6504;6512;6520;6573:3;6561:9;6552:7;6548:23;6544:33;6541:53;;;6590:1;6587;6580:12;6541:53;6629:9;6616:23;6648:31;6673:5;6648:31;:::i;:::-;6698:5;-1:-1:-1;6755:2:44;6740:18;;6727:32;6768:33;6727:32;6768:33;:::i;:::-;6820:7;-1:-1:-1;6874:2:44;6859:18;;6846:32;;-1:-1:-1;6929:2:44;6914:18;;6901:32;6956:18;6945:30;;6942:50;;;6988:1;6985;6978:12;6942:50;7011:22;;7064:4;7056:13;;7052:27;-1:-1:-1;7042:55:44;;7093:1;7090;7083:12;7042:55;7129:2;7116:16;7154:48;7170:31;7198:2;7170:31;:::i;:::-;7154:48;:::i;:::-;7225:2;7218:5;7211:17;7265:7;7260:2;7255;7251;7247:11;7243:20;7240:33;7237:53;;;7286:1;7283;7276:12;7237:53;7341:2;7336;7332;7328:11;7323:2;7316:5;7312:14;7299:45;7385:1;7380:2;7375;7368:5;7364:14;7360:23;7353:34;7406:5;7396:15;;;;;6401:1016;;;;;;;:::o;7422:687::-;7524:6;7532;7540;7548;7556;7564;7617:3;7605:9;7596:7;7592:23;7588:33;7585:53;;;7634:1;7631;7624:12;7585:53;7673:9;7660:23;7692:31;7717:5;7692:31;:::i;:::-;7742:5;-1:-1:-1;7794:2:44;7779:18;;7766:32;;-1:-1:-1;7845:2:44;7830:18;;7817:32;;-1:-1:-1;7901:2:44;7886:18;;7873:32;7949:4;7936:18;;7924:31;;7914:59;;7969:1;7966;7959:12;7914:59;7422:687;;;;-1:-1:-1;7422:687:44;;8046:3;8031:19;;8018:33;;8098:3;8083:19;;;8070:33;;-1:-1:-1;7422:687:44;-1:-1:-1;;7422:687:44:o;8351:388::-;8419:6;8427;8480:2;8468:9;8459:7;8455:23;8451:32;8448:52;;;8496:1;8493;8486:12;8448:52;8535:9;8522:23;8554:31;8579:5;8554:31;:::i;:::-;8604:5;-1:-1:-1;8661:2:44;8646:18;;8633:32;8674:33;8633:32;8674:33;:::i;8744:380::-;8823:1;8819:12;;;;8866;;;8887:61;;8941:4;8933:6;8929:17;8919:27;;8887:61;8994:2;8986:6;8983:14;8963:18;8960:38;8957:161;;9040:10;9035:3;9031:20;9028:1;9021:31;9075:4;9072:1;9065:15;9103:4;9100:1;9093:15;10369:413;10571:2;10553:21;;;10610:2;10590:18;;;10583:30;10649:34;10644:2;10629:18;;10622:62;-1:-1:-1;;;10715:2:44;10700:18;;10693:47;10772:3;10757:19;;10369:413::o;10787:356::-;10989:2;10971:21;;;11008:18;;;11001:30;11067:34;11062:2;11047:18;;11040:62;11134:2;11119:18;;10787:356::o;11148:522::-;11226:4;11232:6;11292:11;11279:25;11386:2;11382:7;11371:8;11355:14;11351:29;11347:43;11327:18;11323:68;11313:96;;11405:1;11402;11395:12;11313:96;11432:33;;11484:20;;;-1:-1:-1;11527:18:44;11516:30;;11513:50;;;11559:1;11556;11549:12;11513:50;11592:4;11580:17;;-1:-1:-1;11623:14:44;11619:27;;;11609:38;;11606:58;;;11660:1;11657;11650:12;11801:543;11903:2;11898:3;11895:11;11892:446;;;11939:1;11963:5;11960:1;11953:16;12007:4;12004:1;11994:18;12077:2;12065:10;12061:19;12058:1;12054:27;12048:4;12044:38;12113:4;12101:10;12098:20;12095:47;;;-1:-1:-1;12136:4:44;12095:47;12191:2;12186:3;12182:12;12179:1;12175:20;12169:4;12165:31;12155:41;;12246:82;12264:2;12257:5;12254:13;12246:82;;;12309:17;;;12290:1;12279:13;12246:82;;;12250:3;;;11801:543;;;:::o;12520:1206::-;12644:18;12639:3;12636:27;12633:53;;;12666:18;;:::i;:::-;12695:94;12785:3;12745:38;12777:4;12771:11;12745:38;:::i;:::-;12739:4;12695:94;:::i;:::-;12815:1;12840:2;12835:3;12832:11;12857:1;12852:616;;;;13512:1;13529:3;13526:93;;;-1:-1:-1;13585:19:44;;;13572:33;13526:93;-1:-1:-1;;12477:1:44;12473:11;;;12469:24;12465:29;12455:40;12501:1;12497:11;;;12452:57;13632:78;;12825:895;;12852:616;11748:1;11741:14;;;11785:4;11772:18;;-1:-1:-1;;12888:17:44;;;12989:9;13011:229;13025:7;13022:1;13019:14;13011:229;;;13114:19;;;13101:33;13086:49;;13221:4;13206:20;;;;13174:1;13162:14;;;;13041:12;13011:229;;;13015:3;13268;13259:7;13256:16;13253:159;;;13392:1;13388:6;13382:3;13376;13373:1;13369:11;13365:21;13361:34;13357:39;13344:9;13339:3;13335:19;13322:33;13318:79;13310:6;13303:95;13253:159;;;13455:1;13449:3;13446:1;13442:11;13438:19;13432:4;13425:33;12825:895;;;12520:1206;;;:::o;13731:1053::-;13962:2;13951:9;13944:21;13925:4;14013:6;14000:20;14100:2;14096:7;14087:6;14071:14;14067:27;14063:41;14043:18;14039:66;14029:94;;14119:1;14116;14109:12;14029:94;14145:31;;14253:4;14242:16;;;14199:19;14281:18;14270:30;;14267:50;;;14313:1;14310;14303:12;14267:50;14362:6;14346:14;14342:27;14333:7;14329:41;14326:61;;;14383:1;14380;14373:12;14326:61;14423:2;14418;14407:9;14403:18;14396:30;14463:6;14457:3;14446:9;14442:19;14435:35;14522:6;14513:7;14507:3;14496:9;14492:19;14479:50;14579:1;14573:3;14564:6;14553:9;14549:22;14545:32;14538:43;14642:4;14634:6;14630:17;14617:31;14612:2;14601:9;14597:18;14590:59;14717:3;14710:2;14706:7;14701:2;14693:6;14689:15;14685:29;14674:9;14670:45;14666:55;14658:63;;;;14730:48;14772:4;14761:9;14757:20;14749:6;-1:-1:-1;;;;;1781:31:44;1769:44;;1715:104;15199:127;15260:10;15255:3;15251:20;15248:1;15241:31;15291:4;15288:1;15281:15;15315:4;15312:1;15305:15;15331:135;15370:3;15391:17;;;15388:43;;15411:18;;:::i;:::-;-1:-1:-1;15458:1:44;15447:13;;15331:135::o;17361:648::-;17441:6;17494:2;17482:9;17473:7;17469:23;17465:32;17462:52;;;17510:1;17507;17500:12;17462:52;17543:9;17537:16;17576:18;17568:6;17565:30;17562:50;;;17608:1;17605;17598:12;17562:50;17631:22;;17684:4;17676:13;;17672:27;-1:-1:-1;17662:55:44;;17713:1;17710;17703:12;17662:55;17742:2;17736:9;17767:48;17783:31;17811:2;17783:31;:::i;17767:48::-;17838:2;17831:5;17824:17;17878:7;17873:2;17868;17864;17860:11;17856:20;17853:33;17850:53;;;17899:1;17896;17889:12;17850:53;17912:67;17976:2;17971;17964:5;17960:14;17955:2;17951;17947:11;17912:67;:::i;:::-;17998:5;17361:648;-1:-1:-1;;;;;17361:648:44:o;19645:128::-;19712:9;;;19733:11;;;19730:37;;;19747:18;;:::i;19778:125::-;19843:9;;;19864:10;;;19861:36;;;19877:18;;:::i;20360:245::-;20427:6;20480:2;20468:9;20459:7;20455:23;20451:32;20448:52;;;20496:1;20493;20486:12;20448:52;20528:9;20522:16;20547:28;20569:5;20547:28;:::i;21431:127::-;21492:10;21487:3;21483:20;21480:1;21473:31;21523:4;21520:1;21513:15;21547:4;21544:1;21537:15;21917:414;22119:2;22101:21;;;22158:2;22138:18;;;22131:30;22197:34;22192:2;22177:18;;22170:62;-1:-1:-1;;;22263:2:44;22248:18;;22241:48;22321:3;22306:19;;21917:414::o;22830:217::-;22870:1;22896;22886:132;;22940:10;22935:3;22931:20;22928:1;22921:31;22975:4;22972:1;22965:15;23003:4;23000:1;22993:15;22886:132;-1:-1:-1;23032:9:44;;22830:217::o;23305:489::-;-1:-1:-1;;;;;23574:15:44;;;23556:34;;23626:15;;23621:2;23606:18;;23599:43;23673:2;23658:18;;23651:34;;;23721:3;23716:2;23701:18;;23694:31;;;23499:4;;23742:46;;23768:19;;23760:6;23742:46;:::i;:::-;23734:54;23305:489;-1:-1:-1;;;;;;23305:489:44:o;23799:249::-;23868:6;23921:2;23909:9;23900:7;23896:23;23892:32;23889:52;;;23937:1;23934;23927:12;23889:52;23969:9;23963:16;23988:30;24012:5;23988:30;:::i;24853:127::-;24914:10;24909:3;24905:20;24902:1;24895:31;24945:4;24942:1;24935:15;24969:4;24966:1;24959:15","linkReferences":{},"immutableReferences":{"24650":[{"start":994,"length":32},{"start":4960,"length":32},{"start":5127,"length":32}],"27947":[{"start":4691,"length":32}],"27949":[{"start":4649,"length":32}],"27951":[{"start":4607,"length":32}],"27953":[{"start":4774,"length":32}],"27955":[{"start":4811,"length":32}],"27957":[{"start":4732,"length":32}]}},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","count()":"06661abd","createFor(address,(string,uint256))":"666d87a0","delegate(address)":"5c19a95c","delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)":"c3cda520","delegates(address)":"587cde1e","getApproved(uint256)":"081812fc","getPastTotalSupply(uint256)":"8e539e8c","getPastVotes(address,uint256)":"3a46b1a8","getVotes(address)":"9ab24eb0","isApprovedForAll(address,address)":"e985e9c5","metadataContentOf(uint256,uint256)":"39fbc775","name()":"06fdde03","nonces(address)":"7ecebe00","operatorStore()":"ad007d63","owner()":"8da5cb5b","ownerOf(uint256)":"6352211e","renounceOwnership()":"715018a6","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","setMetadataOf(uint256,(string,uint256))":"36574975","setTokenUriResolver(address)":"2407497e","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenURI(uint256)":"c87b56dd","tokenUriResolver()":"e131fc0c","transferFrom(address,address,uint256)":"23b872dd","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"_operatorStore\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"UNAUTHORIZED\",\"type\":\"error\"},{\"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\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct JBProjectMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Create\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct JBProjectMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetMetadata\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IJBTokenUriResolver\",\"name\":\"resolver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetTokenUriResolver\",\"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\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"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\":[],\"name\":\"count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"internalType\":\"struct JBProjectMetadata\",\"name\":\"_metadata\",\"type\":\"tuple\"}],\"name\":\"createFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"metadataContentOf\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IJBOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"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\":\"_projectId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"content\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"domain\",\"type\":\"uint256\"}],\"internalType\":\"struct JBProjectMetadata\",\"name\":\"_metadata\",\"type\":\"tuple\"}],\"name\":\"setMetadataOf\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IJBTokenUriResolver\",\"name\":\"_newResolver\",\"type\":\"address\"}],\"name\":\"setTokenUriResolver\",\"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\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenUriResolver\",\"outputs\":[{\"internalType\":\"contract IJBTokenUriResolver\",\"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\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Projects are represented as ERC-721's.Adheres to - IJBProjects: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.Inherits from - JBOperatable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions. ERC721Votes: A checkpointable standard definition for non-fungible tokens (NFTs). Ownable: Includes convenience functionality for checking a message sender's permissions before executing certain transactions.\",\"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.\"},\"DelegateChanged(address,address,address)\":{\"details\":\"Emitted when an account changes their delegate.\"},\"DelegateVotesChanged(address,uint256,uint256)\":{\"details\":\"Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the contract's {EIP712} domain separator.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\"}},\"createFor(address,(string,uint256))\":{\"details\":\" Anyone can create a project on an owner's behalf.\",\"params\":{\"_metadata\":\"A struct containing metadata content about the project, and domain within which the metadata applies.\",\"_owner\":\"The address that will be the owner of the project.\"},\"returns\":{\"projectId\":\"The token ID of the newly created project.\"}},\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined\"},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"nonces(address)\":{\"details\":\"Returns an address nonce.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"setMetadataOf(uint256,(string,uint256))\":{\"details\":\" Only a project's owner or operator can set its metadata. Applications can use the domain namespace as they wish.\",\"params\":{\"_metadata\":\"A struct containing metadata content, and domain within which the metadata applies. \",\"_projectId\":\"The ID of the project who's metadata is being changed.\"}},\"setTokenUriResolver(address)\":{\"params\":{\"_newResolver\":\"The address of the new resolver.\"}},\"supportsInterface(bytes4)\":{\"details\":\" See {IERC165-supportsInterface}.\",\"params\":{\"_interfaceId\":\"The ID of the interface to check for adherance to.\"}},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenURI(uint256)\":{\"params\":{\"_projectId\":\"The ID of the project to get a URI of.\"},\"returns\":{\"_0\":\"The token URI to use for the provided `_projectId`.\"}},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"stateVariables\":{\"count\":{\"details\":\"The count is incremented with each new project created. The resulting ERC-721 token ID for each project is the newly incremented count value.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"count()\":{\"notice\":\" The number of projects that have been created using this contract.\"},\"createFor(address,(string,uint256))\":{\"notice\":\" Create a new project for the specified owner, which mints an NFT (ERC-721) into their wallet.\"},\"metadataContentOf(uint256,uint256)\":{\"notice\":\" The metadata for each project, which can be used across several domains. _projectId The ID of the project to which the metadata belongs. _domain The domain within which the metadata applies. Applications can use the domain namespace as they wish.\"},\"operatorStore()\":{\"notice\":\" A contract storing operator assignments.\"},\"setMetadataOf(uint256,(string,uint256))\":{\"notice\":\" Allows a project owner to set the project's metadata content for a particular domain namespace. \"},\"setTokenUriResolver(address)\":{\"notice\":\" Sets the address of the resolver used to retrieve the tokenURI of projects.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Indicates if this contract adheres to the specified interface.\"},\"tokenURI(uint256)\":{\"notice\":\" Returns the URI where the ERC-721 standard JSON of a project is hosted.\"},\"tokenUriResolver()\":{\"notice\":\"The contract resolving each project ID to its ERC721 URI.\"}},\"notice\":\" Stores project ownership and metadata.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol\":\"JBProjects\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol\":{\"keccak256\":\"0x7578efb357e78844d1f629aa6644606d5d66e6e70cf793ef67dd40ecd4753b0c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5f849b5b91a1baf7e1638a307136fe893e402b8f0421b90ba74b1e474eaa6a92\",\"dweb:/ipfs/QmYcVZnKgriwH3woJntwH1XRscQ289TYN2g8gPs4WXiNU8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol\":{\"keccak256\":\"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735\",\"dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol\":{\"keccak256\":\"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b\",\"dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol\":{\"keccak256\":\"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c\",\"dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol\":{\"keccak256\":\"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9\",\"dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol\":{\"keccak256\":\"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e\",\"dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol\":{\"keccak256\":\"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a\",\"dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol\":{\"keccak256\":\"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af\",\"dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP\"]},\"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol\":{\"keccak256\":\"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494\",\"dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt\"]},\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981\",\"dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51\"]},\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]},\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":{\"keccak256\":\"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767\",\"dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f\",\"dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol\":{\"keccak256\":\"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff\",\"dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]},\"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\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"contract IJBOperatorStore","name":"_operatorStore","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"UNAUTHORIZED"},{"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":"projectId","type":"uint256","indexed":true},{"internalType":"address","name":"owner","type":"address","indexed":true},{"internalType":"struct JBProjectMetadata","name":"metadata","type":"tuple","components":[{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"domain","type":"uint256"}],"indexed":false},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"Create","anonymous":false},{"inputs":[{"internalType":"address","name":"delegator","type":"address","indexed":true},{"internalType":"address","name":"fromDelegate","type":"address","indexed":true},{"internalType":"address","name":"toDelegate","type":"address","indexed":true}],"type":"event","name":"DelegateChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"delegate","type":"address","indexed":true},{"internalType":"uint256","name":"previousBalance","type":"uint256","indexed":false},{"internalType":"uint256","name":"newBalance","type":"uint256","indexed":false}],"type":"event","name":"DelegateVotesChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256","indexed":true},{"internalType":"struct JBProjectMetadata","name":"metadata","type":"tuple","components":[{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"domain","type":"uint256"}],"indexed":false},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"SetMetadata","anonymous":false},{"inputs":[{"internalType":"contract IJBTokenUriResolver","name":"resolver","type":"address","indexed":true},{"internalType":"address","name":"caller","type":"address","indexed":false}],"type":"event","name":"SetTokenUriResolver","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":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"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":[],"stateMutability":"view","type":"function","name":"count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"struct JBProjectMetadata","name":"_metadata","type":"tuple","components":[{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"domain","type":"uint256"}]}],"stateMutability":"nonpayable","type":"function","name":"createFor","outputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"delegate"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"delegateBySig"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function","name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"view","type":"function","name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"view","type":"function","name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"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":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","name":"metadataContentOf","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"name","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function","name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"operatorStore","outputs":[{"internalType":"contract IJBOperatorStore","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function","name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"renounceOwnership"},{"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":"_projectId","type":"uint256"},{"internalType":"struct JBProjectMetadata","name":"_metadata","type":"tuple","components":[{"internalType":"string","name":"content","type":"string"},{"internalType":"uint256","name":"domain","type":"uint256"}]}],"stateMutability":"nonpayable","type":"function","name":"setMetadataOf"},{"inputs":[{"internalType":"contract IJBTokenUriResolver","name":"_newResolver","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setTokenUriResolver"},{"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":"_projectId","type":"uint256"}],"stateMutability":"view","type":"function","name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"tokenUriResolver","outputs":[{"internalType":"contract IJBTokenUriResolver","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":"transferFrom"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"DOMAIN_SEPARATOR()":{"details":"Returns the contract's {EIP712} domain separator."},"approve(address,uint256)":{"details":"See {IERC721-approve}."},"balanceOf(address)":{"details":"See {IERC721-balanceOf}."},"constructor":{"params":{"_operatorStore":"A contract storing operator assignments."}},"createFor(address,(string,uint256))":{"details":" Anyone can create a project on an owner's behalf.","params":{"_metadata":"A struct containing metadata content about the project, and domain within which the metadata applies.","_owner":"The address that will be the owner of the project."},"returns":{"projectId":"The token ID of the newly created project."}},"delegate(address)":{"details":"Delegates votes from the sender to `delegatee`."},"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)":{"details":"Delegates votes from signer to `delegatee`."},"delegates(address)":{"details":"Returns the delegate that `account` has chosen."},"getApproved(uint256)":{"details":"See {IERC721-getApproved}."},"getPastTotalSupply(uint256)":{"details":"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined"},"getPastVotes(address,uint256)":{"details":"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined"},"getVotes(address)":{"details":"Returns the current amount of votes that `account` has."},"isApprovedForAll(address,address)":{"details":"See {IERC721-isApprovedForAll}."},"name()":{"details":"See {IERC721Metadata-name}."},"nonces(address)":{"details":"Returns an address nonce."},"owner()":{"details":"Returns the address of the current owner."},"ownerOf(uint256)":{"details":"See {IERC721-ownerOf}."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"safeTransferFrom(address,address,uint256)":{"details":"See {IERC721-safeTransferFrom}."},"safeTransferFrom(address,address,uint256,bytes)":{"details":"See {IERC721-safeTransferFrom}."},"setApprovalForAll(address,bool)":{"details":"See {IERC721-setApprovalForAll}."},"setMetadataOf(uint256,(string,uint256))":{"details":" Only a project's owner or operator can set its metadata. Applications can use the domain namespace as they wish.","params":{"_metadata":"A struct containing metadata content, and domain within which the metadata applies. ","_projectId":"The ID of the project who's metadata is being changed."}},"setTokenUriResolver(address)":{"params":{"_newResolver":"The address of the new resolver."}},"supportsInterface(bytes4)":{"details":" See {IERC165-supportsInterface}.","params":{"_interfaceId":"The ID of the interface to check for adherance to."}},"symbol()":{"details":"See {IERC721Metadata-symbol}."},"tokenURI(uint256)":{"params":{"_projectId":"The ID of the project to get a URI of."},"returns":{"_0":"The token URI to use for the provided `_projectId`."}},"transferFrom(address,address,uint256)":{"details":"See {IERC721-transferFrom}."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"version":1},"userdoc":{"kind":"user","methods":{"count()":{"notice":" The number of projects that have been created using this contract."},"createFor(address,(string,uint256))":{"notice":" Create a new project for the specified owner, which mints an NFT (ERC-721) into their wallet."},"metadataContentOf(uint256,uint256)":{"notice":" The metadata for each project, which can be used across several domains. _projectId The ID of the project to which the metadata belongs. _domain The domain within which the metadata applies. Applications can use the domain namespace as they wish."},"operatorStore()":{"notice":" A contract storing operator assignments."},"setMetadataOf(uint256,(string,uint256))":{"notice":" Allows a project owner to set the project's metadata content for a particular domain namespace. "},"setTokenUriResolver(address)":{"notice":" Sets the address of the resolver used to retrieve the tokenURI of projects."},"supportsInterface(bytes4)":{"notice":"Indicates if this contract adheres to the specified interface."},"tokenURI(uint256)":{"notice":" Returns the URI where the ERC-721 standard JSON of a project is hosted."},"tokenUriResolver()":{"notice":"The contract resolving each project ID to its ERC721 URI."}},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol":"JBProjects"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@jbx-protocol/juice-contracts-v3/contracts/JBProjects.sol":{"keccak256":"0x7578efb357e78844d1f629aa6644606d5d66e6e70cf793ef67dd40ecd4753b0c","urls":["bzz-raw://5f849b5b91a1baf7e1638a307136fe893e402b8f0421b90ba74b1e474eaa6a92","dweb:/ipfs/QmYcVZnKgriwH3woJntwH1XRscQ289TYN2g8gPs4WXiNU8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/abstract/JBOperatable.sol":{"keccak256":"0x9e62cac5c464eb973f881cf6c373b95aab31d2ddbeb048ee7ad82b5c9ab28add","urls":["bzz-raw://3b76b81bf5076219f1babbebcf993ecb1fc04ee547e3c82a8c74bfa761c8a735","dweb:/ipfs/QmbpQintWGTJvQyqoe4fdWFF22mBxb2hSomwbbuJ73CQpi"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatable.sol":{"keccak256":"0x09a55a91c6ce3625379334271d236cfa47bf36522a91568b406bf06f7239407e","urls":["bzz-raw://c4e0058ff862925a9070f88bec5c53e8aaa5d3ac75952285b1e7ca67ecbe1d3b","dweb:/ipfs/QmVowtkRjGePcpaGjivvFyWTjQBGCtJQqoXFtxX6qhkx56"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBOperatorStore.sol":{"keccak256":"0x17f4929812a356984795fafed8cb2be816a025c9a0771d85595ac0b5ff3cffc5","urls":["bzz-raw://4379909df832d51d25ac6f863c12e5271c96f01c4fd399eaeb16be3db8786e4c","dweb:/ipfs/QmTeGMNaf3KPT2A54sQ6HoZiBwfGRNqMZtvvci4oAN4z2s"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBProjects.sol":{"keccak256":"0x7cfc021d0bd7e73b1ba8f4845d7d35e3419d6a14d3d25ca3a8010e7f91062fe4","urls":["bzz-raw://ff265e13e60da56b93104260ed69ab01153437ec2af9d453781f22ca295eaef9","dweb:/ipfs/QmfGCSLX2Wy26ojf4U12udsdtjSSacbLcZGwCjTw7MjWF8"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/interfaces/IJBTokenUriResolver.sol":{"keccak256":"0xd267fd8ca7c21c2c71794acdb9a98314c33a35fc559e0bf0897a6686d196d174","urls":["bzz-raw://aa7053d4300ed1374f3f993e6e2163d0a05ee780e4e99eb007b55eabc93c724e","dweb:/ipfs/QmYZAUn7VCwqpDWYZNCXLNYMRQpD334YgPRiGCfxQApzuT"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/libraries/JBOperations.sol":{"keccak256":"0x7f8e501e6890297f4015b1c27cebdb44fadbf21204bea1f3162f5388c060f690","urls":["bzz-raw://6827d04b543d9579e910703ffe4b97293cad258faab20c52dfb17b905a4b5e9a","dweb:/ipfs/QmUW4NQdubMEd71uAdo7VkDXgTdvmiV9CAMSjk9ozQBfz9"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBOperatorData.sol":{"keccak256":"0x3b85be7b69515976ee10770776283911666aceca820b0cf4e201ea4dbffeb6f0","urls":["bzz-raw://1a18afb385759e5440c645f2a5c581e42a7ac357c73c376fb34dbb5d5fd8f9af","dweb:/ipfs/QmZziN5ixwUXpk185YrcneBEVq91gVqYoBD7MrbvTTpALP"],"license":"MIT"},"node_modules/@jbx-protocol/juice-contracts-v3/contracts/structs/JBProjectMetadata.sol":{"keccak256":"0x90ad7b1014c0a9f945fe7a2efde9d5de41e40574fa27969070b1d2ff52033ea0","urls":["bzz-raw://1fafc65a9fd74605b7d6c6f0a92b3237a8e3efdd160affb8c117bad00dcf9494","dweb:/ipfs/QmQkcVt11WLqrxHVrcDCF6dNxzg2kKHEghAgSbfLF6CHkt"],"license":"MIT"},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"keccak256":"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9","urls":["bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981","dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51"],"license":"MIT"},"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol":{"keccak256":"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0","urls":["bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86","dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY"],"license":"MIT"},"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol":{"keccak256":"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474","urls":["bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767","dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"keccak256":"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de","urls":["bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f","dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"keccak256":"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f","urls":["bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f","dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a"],"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/token/ERC721/extensions/draft-ERC721Votes.sol":{"keccak256":"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658","urls":["bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff","dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87","urls":["bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58","dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol":{"keccak256":"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c","urls":["bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb","dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ"],"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":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29","urls":["bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7","dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol":{"keccak256":"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7","urls":["bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba","dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT"],"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":"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2","urls":["bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6","dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7","urls":["bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1","dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E"],"license":"MIT"}},"version":1},"id":14} \ No newline at end of file diff --git a/out/Math.sol/Math.json b/out/Math.sol/Math.json index a831ea1..e12e57e 100644 --- a/out/Math.sol/Math.json +++ b/out/Math.sol/Math.json @@ -1,1153 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122095bf8b15d53cb1d3020ba95d6f09f8712d1bb111d945c9c8f5cd147bb5fb561464736f6c63430008100033", - "sourceMap": "202:1024:40:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;202:1024:40;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122095bf8b15d53cb1d3020ba95d6f09f8712d1bb111d945c9c8f5cd147bb5fb561464736f6c63430008100033", - "sourceMap": "202:1024:40:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": "Math" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2", - "urls": [ - "bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6", - "dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/math/Math.sol", - "id": 27820, - "exportedSymbols": { - "Math": [ - 27819 - ] - }, - "nodeType": "SourceUnit", - "src": "103:1124:40", - "nodes": [ - { - "id": 27733, - "nodeType": "PragmaDirective", - "src": "103:23:40", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27819, - "nodeType": "ContractDefinition", - "src": "202:1024:40", - "nodes": [ - { - "id": 27752, - "nodeType": "FunctionDefinition", - "src": "285:105:40", - "body": { - "id": 27751, - "nodeType": "Block", - "src": "352:38:40", - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27744, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27737, - "src": "369:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 27745, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27739, - "src": "374:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "369:6:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 27748, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27739, - "src": "382:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "369:14:40", - "trueExpression": { - "id": 27747, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27737, - "src": "378:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27743, - "id": 27750, - "nodeType": "Return", - "src": "362:21:40" - } - ] - }, - "documentation": { - "id": 27735, - "nodeType": "StructuredDocumentation", - "src": "221:59:40", - "text": " @dev Returns the largest of two numbers." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "max", - "nameLocation": "294:3:40", - "parameters": { - "id": 27740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27737, - "mutability": "mutable", - "name": "a", - "nameLocation": "306:1:40", - "nodeType": "VariableDeclaration", - "scope": 27752, - "src": "298:9:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "298:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27739, - "mutability": "mutable", - "name": "b", - "nameLocation": "317:1:40", - "nodeType": "VariableDeclaration", - "scope": 27752, - "src": "309:9:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27738, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "309:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "297:22:40" - }, - "returnParameters": { - "id": 27743, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27742, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27752, - "src": "343:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27741, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "343:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "342:9:40" - }, - "scope": 27819, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27770, - "nodeType": "FunctionDefinition", - "src": "461:104:40", - "body": { - "id": 27769, - "nodeType": "Block", - "src": "528:37:40", - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27762, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27755, - "src": "545:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 27763, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27757, - "src": "549:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "545:5:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 27766, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27757, - "src": "557:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "545:13:40", - "trueExpression": { - "id": 27765, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27755, - "src": "553:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27761, - "id": 27768, - "nodeType": "Return", - "src": "538:20:40" - } - ] - }, - "documentation": { - "id": 27753, - "nodeType": "StructuredDocumentation", - "src": "396:60:40", - "text": " @dev Returns the smallest of two numbers." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "min", - "nameLocation": "470:3:40", - "parameters": { - "id": 27758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27755, - "mutability": "mutable", - "name": "a", - "nameLocation": "482:1:40", - "nodeType": "VariableDeclaration", - "scope": 27770, - "src": "474:9:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27754, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "474:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27757, - "mutability": "mutable", - "name": "b", - "nameLocation": "493:1:40", - "nodeType": "VariableDeclaration", - "scope": 27770, - "src": "485:9:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27756, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "485:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "473:22:40" - }, - "returnParameters": { - "id": 27761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27760, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27770, - "src": "519:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27759, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "519:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "518:9:40" - }, - "scope": 27819, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27793, - "nodeType": "FunctionDefinition", - "src": "678:153:40", - "body": { - "id": 27792, - "nodeType": "Block", - "src": "749:82:40", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27780, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27773, - "src": "804:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "id": 27781, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27775, - "src": "808:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "804:5:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27783, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "803:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27784, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27773, - "src": "814:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "id": 27785, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27775, - "src": "818:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "814:5:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 27787, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "813:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "hexValue": "32", - "id": 27788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "823:1:40", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "813:11:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "803:21:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27779, - "id": 27791, - "nodeType": "Return", - "src": "796:28:40" - } - ] - }, - "documentation": { - "id": 27771, - "nodeType": "StructuredDocumentation", - "src": "571:102:40", - "text": " @dev Returns the average of two numbers. The result is rounded towards\n zero." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "average", - "nameLocation": "687:7:40", - "parameters": { - "id": 27776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27773, - "mutability": "mutable", - "name": "a", - "nameLocation": "703:1:40", - "nodeType": "VariableDeclaration", - "scope": 27793, - "src": "695:9:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27772, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "695:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27775, - "mutability": "mutable", - "name": "b", - "nameLocation": "714:1:40", - "nodeType": "VariableDeclaration", - "scope": 27793, - "src": "706:9:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27774, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "706:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "694:22:40" - }, - "returnParameters": { - "id": 27779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27778, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27793, - "src": "740:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27777, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "740:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "739:9:40" - }, - "scope": 27819, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27818, - "nodeType": "FunctionDefinition", - "src": "1030:194:40", - "body": { - "id": 27817, - "nodeType": "Block", - "src": "1101:123:40", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27803, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27796, - "src": "1189:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 27804, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27798, - "src": "1193:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1189:5:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "components": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27806, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27796, - "src": "1198:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "id": 27807, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27798, - "src": "1202:1:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1198:5:40", - "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": "1207:1:40", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1198:10:40", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "31", - "id": 27812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1215:1:40", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "id": 27813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1198:18:40", - "trueExpression": { - "hexValue": "30", - "id": 27811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1211:1:40", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "id": 27814, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1197:20:40", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "1189:28:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 27802, - "id": 27816, - "nodeType": "Return", - "src": "1182:35:40" - } - ] - }, - "documentation": { - "id": 27794, - "nodeType": "StructuredDocumentation", - "src": "837:188:40", - "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": "1039:7:40", - "parameters": { - "id": 27799, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27796, - "mutability": "mutable", - "name": "a", - "nameLocation": "1055:1:40", - "nodeType": "VariableDeclaration", - "scope": 27818, - "src": "1047:9:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27795, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1047:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27798, - "mutability": "mutable", - "name": "b", - "nameLocation": "1066:1:40", - "nodeType": "VariableDeclaration", - "scope": 27818, - "src": "1058:9:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27797, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1058:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1046:22:40" - }, - "returnParameters": { - "id": 27802, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27801, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27818, - "src": "1092:7:40", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27800, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1092:7:40", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1091:9:40" - }, - "scope": 27819, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Math", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 27734, - "nodeType": "StructuredDocumentation", - "src": "128:73:40", - "text": " @dev Standard math utilities missing in the Solidity language." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27819 - ], - "name": "Math", - "nameLocation": "210:4:40", - "scope": 27820, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 40 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204675aa469799d7e36ffeb5ed73d5136ea5833511c80c38df1e9ba8e7ec9a816d64736f6c63430008170033","sourceMap":"202:1024:41:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;202:1024:41;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204675aa469799d7e36ffeb5ed73d5136ea5833511c80c38df1e9ba8e7ec9a816d64736f6c63430008170033","sourceMap":"202:1024:41:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/math/Math.sol":"Math"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"keccak256":"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2","urls":["bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6","dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr"],"license":"MIT"}},"version":1},"id":41} \ No newline at end of file diff --git a/out/Ownable.sol/Ownable.json b/out/Ownable.sol/Ownable.json index ceb2400..2dd7e4f 100644 --- a/out/Ownable.sol/Ownable.json +++ b/out/Ownable.sol/Ownable.json @@ -1,1445 +1 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "owner()": "8da5cb5b", - "renounceOwnership()": "715018a6", - "transferOwnership(address)": "f2fde38b" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the contract setting the deployer as the initial owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":\"Ownable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981\",\"dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51\"]},\"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.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "previousOwner", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "newOwner", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "OwnershipTransferred", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "renounceOwnership" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferOwnership" - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "constructor": { - "details": "Initializes the contract setting the deployer as the initial owner." - }, - "owner()": { - "details": "Returns the address of the current owner." - }, - "renounceOwnership()": { - "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." - }, - "transferOwnership(address)": { - "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/access/Ownable.sol": "Ownable" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/access/Ownable.sol": { - "keccak256": "0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9", - "urls": [ - "bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981", - "dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51" - ], - "license": "MIT" - }, - "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/access/Ownable.sol", - "id": 24695, - "exportedSymbols": { - "Context": [ - 26857 - ], - "Ownable": [ - 24694 - ] - }, - "nodeType": "SourceUnit", - "src": "87:2373:22", - "nodes": [ - { - "id": 24591, - "nodeType": "PragmaDirective", - "src": "87:23:22", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 24592, - "nodeType": "ImportDirective", - "src": "112:30:22", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Context.sol", - "file": "../utils/Context.sol", - "nameLocation": "-1:-1:-1", - "scope": 24695, - "sourceUnit": 26858, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24694, - "nodeType": "ContractDefinition", - "src": "639:1820:22", - "nodes": [ - { - "id": 24597, - "nodeType": "VariableDeclaration", - "src": "682:22:22", - "constant": false, - "mutability": "mutable", - "name": "_owner", - "nameLocation": "698:6:22", - "scope": 24694, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24596, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "682:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "private" - }, - { - "id": 24603, - "nodeType": "EventDefinition", - "src": "711:84:22", - "anonymous": false, - "eventSelector": "8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "name": "OwnershipTransferred", - "nameLocation": "717:20:22", - "parameters": { - "id": 24602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24599, - "indexed": true, - "mutability": "mutable", - "name": "previousOwner", - "nameLocation": "754:13:22", - "nodeType": "VariableDeclaration", - "scope": 24603, - "src": "738:29:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "738:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24601, - "indexed": true, - "mutability": "mutable", - "name": "newOwner", - "nameLocation": "785:8:22", - "nodeType": "VariableDeclaration", - "scope": 24603, - "src": "769:24:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24600, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "769:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "737:57:22" - } - }, - { - "id": 24613, - "nodeType": "FunctionDefinition", - "src": "897:63:22", - "body": { - "id": 24612, - "nodeType": "Block", - "src": "911:49:22", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 24608, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "940:10:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 24609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "940:12:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24607, - "name": "_transferOwnership", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24693, - "src": "921:18:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 24610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "921:32:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24611, - "nodeType": "ExpressionStatement", - "src": "921:32:22" - } - ] - }, - "documentation": { - "id": 24604, - "nodeType": "StructuredDocumentation", - "src": "801:91:22", - "text": " @dev Initializes the contract setting the deployer as the initial owner." - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 24605, - "nodeType": "ParameterList", - "parameters": [], - "src": "908:2:22" - }, - "returnParameters": { - "id": 24606, - "nodeType": "ParameterList", - "parameters": [], - "src": "911:0:22" - }, - "scope": 24694, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 24622, - "nodeType": "FunctionDefinition", - "src": "1036:85:22", - "body": { - "id": 24621, - "nodeType": "Block", - "src": "1091:30:22", - "statements": [ - { - "expression": { - "id": 24619, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24597, - "src": "1108:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 24618, - "id": 24620, - "nodeType": "Return", - "src": "1101:13:22" - } - ] - }, - "documentation": { - "id": 24614, - "nodeType": "StructuredDocumentation", - "src": "966:65:22", - "text": " @dev Returns the address of the current owner." - }, - "functionSelector": "8da5cb5b", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "owner", - "nameLocation": "1045:5:22", - "parameters": { - "id": 24615, - "nodeType": "ParameterList", - "parameters": [], - "src": "1050:2:22" - }, - "returnParameters": { - "id": 24618, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24617, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24622, - "src": "1082:7:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24616, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1082:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1081:9:22" - }, - "scope": 24694, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 24636, - "nodeType": "ModifierDefinition", - "src": "1209:117:22", - "body": { - "id": 24635, - "nodeType": "Block", - "src": "1230:96:22", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 24630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 24626, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24622, - "src": "1248:5:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 24627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1248:7:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 24628, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "1259:10:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 24629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1259:12:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1248:23:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572", - "id": 24631, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1273:34:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", - "typeString": "literal_string \"Ownable: caller is not the owner\"" - }, - "value": "Ownable: caller is not the owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", - "typeString": "literal_string \"Ownable: caller is not the owner\"" - } - ], - "id": 24625, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1240:7:22", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 24632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1240:68:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24633, - "nodeType": "ExpressionStatement", - "src": "1240:68:22" - }, - { - "id": 24634, - "nodeType": "PlaceholderStatement", - "src": "1318:1:22" - } - ] - }, - "documentation": { - "id": 24623, - "nodeType": "StructuredDocumentation", - "src": "1127:77:22", - "text": " @dev Throws if called by any account other than the owner." - }, - "name": "onlyOwner", - "nameLocation": "1218:9:22", - "parameters": { - "id": 24624, - "nodeType": "ParameterList", - "parameters": [], - "src": "1227:2:22" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 24650, - "nodeType": "FunctionDefinition", - "src": "1668:101:22", - "body": { - "id": 24649, - "nodeType": "Block", - "src": "1722:47:22", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30", - "id": 24645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1759:1:22", - "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": 24644, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1751:7:22", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 24643, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1751:7:22", - "typeDescriptions": {} - } - }, - "id": 24646, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1751:10:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24642, - "name": "_transferOwnership", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24693, - "src": "1732:18:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 24647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1732:30:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24648, - "nodeType": "ExpressionStatement", - "src": "1732:30:22" - } - ] - }, - "documentation": { - "id": 24637, - "nodeType": "StructuredDocumentation", - "src": "1332:331:22", - "text": " @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions anymore. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby removing any functionality that is only available to the owner." - }, - "functionSelector": "715018a6", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "id": 24640, - "kind": "modifierInvocation", - "modifierName": { - "id": 24639, - "name": "onlyOwner", - "nameLocations": [ - "1712:9:22" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24636, - "src": "1712:9:22" - }, - "nodeType": "ModifierInvocation", - "src": "1712:9:22" - } - ], - "name": "renounceOwnership", - "nameLocation": "1677:17:22", - "parameters": { - "id": 24638, - "nodeType": "ParameterList", - "parameters": [], - "src": "1694:2:22" - }, - "returnParameters": { - "id": 24641, - "nodeType": "ParameterList", - "parameters": [], - "src": "1722:0:22" - }, - "scope": 24694, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 24673, - "nodeType": "FunctionDefinition", - "src": "1918:198:22", - "body": { - "id": 24672, - "nodeType": "Block", - "src": "1988:128:22", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 24664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 24659, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24653, - "src": "2006:8:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 24662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2026:1:22", - "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": 24661, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2018:7:22", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 24660, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2018:7:22", - "typeDescriptions": {} - } - }, - "id": 24663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2018:10:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2006:22:22", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373", - "id": 24665, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2030:40:22", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", - "typeString": "literal_string \"Ownable: new owner is the zero address\"" - }, - "value": "Ownable: new owner is the zero address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", - "typeString": "literal_string \"Ownable: new owner is the zero address\"" - } - ], - "id": 24658, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1998:7:22", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 24666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1998:73:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24667, - "nodeType": "ExpressionStatement", - "src": "1998:73:22" - }, - { - "expression": { - "arguments": [ - { - "id": 24669, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24653, - "src": "2100:8:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24668, - "name": "_transferOwnership", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24693, - "src": "2081:18:22", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 24670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2081:28:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24671, - "nodeType": "ExpressionStatement", - "src": "2081:28:22" - } - ] - }, - "documentation": { - "id": 24651, - "nodeType": "StructuredDocumentation", - "src": "1775:138:22", - "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner." - }, - "functionSelector": "f2fde38b", - "implemented": true, - "kind": "function", - "modifiers": [ - { - "id": 24656, - "kind": "modifierInvocation", - "modifierName": { - "id": 24655, - "name": "onlyOwner", - "nameLocations": [ - "1978:9:22" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24636, - "src": "1978:9:22" - }, - "nodeType": "ModifierInvocation", - "src": "1978:9:22" - } - ], - "name": "transferOwnership", - "nameLocation": "1927:17:22", - "parameters": { - "id": 24654, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24653, - "mutability": "mutable", - "name": "newOwner", - "nameLocation": "1953:8:22", - "nodeType": "VariableDeclaration", - "scope": 24673, - "src": "1945:16:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24652, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1945:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1944:18:22" - }, - "returnParameters": { - "id": 24657, - "nodeType": "ParameterList", - "parameters": [], - "src": "1988:0:22" - }, - "scope": 24694, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 24693, - "nodeType": "FunctionDefinition", - "src": "2270:187:22", - "body": { - "id": 24692, - "nodeType": "Block", - "src": "2333:124:22", - "statements": [ - { - "assignments": [ - 24680 - ], - "declarations": [ - { - "constant": false, - "id": 24680, - "mutability": "mutable", - "name": "oldOwner", - "nameLocation": "2351:8:22", - "nodeType": "VariableDeclaration", - "scope": 24692, - "src": "2343:16:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24679, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2343:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 24682, - "initialValue": { - "id": 24681, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24597, - "src": "2362:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2343:25:22" - }, - { - "expression": { - "id": 24685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 24683, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24597, - "src": "2378:6:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 24684, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24676, - "src": "2387:8:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2378:17:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 24686, - "nodeType": "ExpressionStatement", - "src": "2378:17:22" - }, - { - "eventCall": { - "arguments": [ - { - "id": 24688, - "name": "oldOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24680, - "src": "2431:8:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24689, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24676, - "src": "2441:8:22", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24687, - "name": "OwnershipTransferred", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24603, - "src": "2410:20:22", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 24690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2410:40:22", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24691, - "nodeType": "EmitStatement", - "src": "2405:45:22" - } - ] - }, - "documentation": { - "id": 24674, - "nodeType": "StructuredDocumentation", - "src": "2122:143:22", - "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Internal function without access restriction." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transferOwnership", - "nameLocation": "2279:18:22", - "parameters": { - "id": 24677, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24676, - "mutability": "mutable", - "name": "newOwner", - "nameLocation": "2306:8:22", - "nodeType": "VariableDeclaration", - "scope": 24693, - "src": "2298:16:22", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24675, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2298:7:22", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2297:18:22" - }, - "returnParameters": { - "id": 24678, - "nodeType": "ParameterList", - "parameters": [], - "src": "2333:0:22" - }, - "scope": 24694, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 24594, - "name": "Context", - "nameLocations": [ - "668:7:22" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26857, - "src": "668:7:22" - }, - "id": 24595, - "nodeType": "InheritanceSpecifier", - "src": "668:7:22" - } - ], - "canonicalName": "Ownable", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 24593, - "nodeType": "StructuredDocumentation", - "src": "144:494:22", - "text": " @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 24694, - 26857 - ], - "name": "Ownable", - "nameLocation": "657:7:22", - "scope": 24695, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 22 -} \ No newline at end of file +{"abi":[{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"owner()":"8da5cb5b","renounceOwnership()":"715018a6","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the contract setting the deployer as the initial owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":\"Ownable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981\",\"dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51\"]},\"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.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"renounceOwnership"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"constructor":{"details":"Initializes the contract setting the deployer as the initial owner."},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/access/Ownable.sol":"Ownable"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"keccak256":"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9","urls":["bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981","dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],"license":"MIT"}},"version":1},"id":23} \ No newline at end of file diff --git a/out/SafeCast.sol/SafeCast.json b/out/SafeCast.sol/SafeCast.json index 86dd99f..7c7e2bd 100644 --- a/out/SafeCast.sol/SafeCast.json +++ b/out/SafeCast.sol/SafeCast.json @@ -1,5257 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e2e2daa31f14270a43d6789f7b653bc8b35d5ab67ae0db8510294f229caa0bfd64736f6c63430008100033", - "sourceMap": "827:6990:41:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;827:6990:41;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e2e2daa31f14270a43d6789f7b653bc8b35d5ab67ae0db8510294f229caa0bfd64736f6c63430008100033", - "sourceMap": "827:6990:41:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Wrappers over Solidity's uintXX/intXX casting operators with added overflow checks. Downcasting from uint256/int256 in Solidity does not revert on overflow. This can easily result in undesired exploitation or bugs, since developers usually assume that overflows raise errors. `SafeCast` restores this intuition by reverting the transaction when such an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always. Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing all math on `uint256` and `int256` and then downcasting.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":\"SafeCast\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": "SafeCast" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": { - "keccak256": "0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7", - "urls": [ - "bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1", - "dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol", - "id": 28213, - "exportedSymbols": { - "SafeCast": [ - 28212 - ] - }, - "nodeType": "SourceUnit", - "src": "92:7726:41", - "nodes": [ - { - "id": 27821, - "nodeType": "PragmaDirective", - "src": "92:23:41", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 28212, - "nodeType": "ContractDefinition", - "src": "827:6990:41", - "nodes": [ - { - "id": 27847, - "nodeType": "FunctionDefinition", - "src": "1135:192:41", - "body": { - "id": 27846, - "nodeType": "Block", - "src": "1201:126:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27831, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27825, - "src": "1219:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1233:7:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint224_$", - "typeString": "type(uint224)" - }, - "typeName": { - "id": 27833, - "name": "uint224", - "nodeType": "ElementaryTypeName", - "src": "1233:7:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_uint224_$", - "typeString": "type(uint224)" - } - ], - "id": 27832, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "1228:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1228:13:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_uint224", - "typeString": "type(uint224)" - } - }, - "id": 27836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1242:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "1228:17:41", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "src": "1219:26:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e203232342062697473", - "id": 27838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1247:41:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9d2acf551b2466898443b9bc3a403a4d86037386bc5a8960c1bbb0f204e69b79", - "typeString": "literal_string \"SafeCast: value doesn't fit in 224 bits\"" - }, - "value": "SafeCast: value doesn't fit in 224 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_9d2acf551b2466898443b9bc3a403a4d86037386bc5a8960c1bbb0f204e69b79", - "typeString": "literal_string \"SafeCast: value doesn't fit in 224 bits\"" - } - ], - "id": 27830, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1211:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1211:78:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27840, - "nodeType": "ExpressionStatement", - "src": "1211:78:41" - }, - { - "expression": { - "arguments": [ - { - "id": 27843, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27825, - "src": "1314:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27842, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1306:7:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint224_$", - "typeString": "type(uint224)" - }, - "typeName": { - "id": 27841, - "name": "uint224", - "nodeType": "ElementaryTypeName", - "src": "1306:7:41", - "typeDescriptions": {} - } - }, - "id": 27844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1306:14:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "functionReturnParameters": 27829, - "id": 27845, - "nodeType": "Return", - "src": "1299:21:41" - } - ] - }, - "documentation": { - "id": 27823, - "nodeType": "StructuredDocumentation", - "src": "850:280:41", - "text": " @dev Returns the downcasted uint224 from uint256, reverting on\n overflow (when the input is greater than largest uint224).\n Counterpart to Solidity's `uint224` operator.\n Requirements:\n - input must fit into 224 bits" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toUint224", - "nameLocation": "1144:9:41", - "parameters": { - "id": 27826, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27825, - "mutability": "mutable", - "name": "value", - "nameLocation": "1162:5:41", - "nodeType": "VariableDeclaration", - "scope": 27847, - "src": "1154:13:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27824, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1154:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1153:15:41" - }, - "returnParameters": { - "id": 27829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27828, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27847, - "src": "1192:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - }, - "typeName": { - "id": 27827, - "name": "uint224", - "nodeType": "ElementaryTypeName", - "src": "1192:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint224", - "typeString": "uint224" - } - }, - "visibility": "internal" - } - ], - "src": "1191:9:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27872, - "nodeType": "FunctionDefinition", - "src": "1618:192:41", - "body": { - "id": 27871, - "nodeType": "Block", - "src": "1684:126:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27856, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27850, - "src": "1702:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1716:7:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint128_$", - "typeString": "type(uint128)" - }, - "typeName": { - "id": 27858, - "name": "uint128", - "nodeType": "ElementaryTypeName", - "src": "1716:7:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_uint128_$", - "typeString": "type(uint128)" - } - ], - "id": 27857, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "1711:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1711:13:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_uint128", - "typeString": "type(uint128)" - } - }, - "id": 27861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1725:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "1711:17:41", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "src": "1702:26:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e203132382062697473", - "id": 27863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1730:41:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_47a1e201974f94d3d1a31c8b08ae18c6966c758bdcd4400020012b98cc55426c", - "typeString": "literal_string \"SafeCast: value doesn't fit in 128 bits\"" - }, - "value": "SafeCast: value doesn't fit in 128 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_47a1e201974f94d3d1a31c8b08ae18c6966c758bdcd4400020012b98cc55426c", - "typeString": "literal_string \"SafeCast: value doesn't fit in 128 bits\"" - } - ], - "id": 27855, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1694:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1694:78:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27865, - "nodeType": "ExpressionStatement", - "src": "1694:78:41" - }, - { - "expression": { - "arguments": [ - { - "id": 27868, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27850, - "src": "1797:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1789:7:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint128_$", - "typeString": "type(uint128)" - }, - "typeName": { - "id": 27866, - "name": "uint128", - "nodeType": "ElementaryTypeName", - "src": "1789:7:41", - "typeDescriptions": {} - } - }, - "id": 27869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1789:14:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "functionReturnParameters": 27854, - "id": 27870, - "nodeType": "Return", - "src": "1782:21:41" - } - ] - }, - "documentation": { - "id": 27848, - "nodeType": "StructuredDocumentation", - "src": "1333:280:41", - "text": " @dev Returns the downcasted uint128 from uint256, reverting on\n overflow (when the input is greater than largest uint128).\n Counterpart to Solidity's `uint128` operator.\n Requirements:\n - input must fit into 128 bits" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toUint128", - "nameLocation": "1627:9:41", - "parameters": { - "id": 27851, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27850, - "mutability": "mutable", - "name": "value", - "nameLocation": "1645:5:41", - "nodeType": "VariableDeclaration", - "scope": 27872, - "src": "1637:13:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27849, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1637:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1636:15:41" - }, - "returnParameters": { - "id": 27854, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27853, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27872, - "src": "1675:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - }, - "typeName": { - "id": 27852, - "name": "uint128", - "nodeType": "ElementaryTypeName", - "src": "1675:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "visibility": "internal" - } - ], - "src": "1674:9:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27897, - "nodeType": "FunctionDefinition", - "src": "2097:187:41", - "body": { - "id": 27896, - "nodeType": "Block", - "src": "2161:123:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27881, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27875, - "src": "2179:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2193:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint96_$", - "typeString": "type(uint96)" - }, - "typeName": { - "id": 27883, - "name": "uint96", - "nodeType": "ElementaryTypeName", - "src": "2193:6:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_uint96_$", - "typeString": "type(uint96)" - } - ], - "id": 27882, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "2188:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2188:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_uint96", - "typeString": "type(uint96)" - } - }, - "id": 27886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2201:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "2188:16:41", - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - } - }, - "src": "2179:25:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2039362062697473", - "id": 27888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2206:40:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_06d20189090e973729391526269baef79c35dd621633195648e5f8309eef9e19", - "typeString": "literal_string \"SafeCast: value doesn't fit in 96 bits\"" - }, - "value": "SafeCast: value doesn't fit in 96 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_06d20189090e973729391526269baef79c35dd621633195648e5f8309eef9e19", - "typeString": "literal_string \"SafeCast: value doesn't fit in 96 bits\"" - } - ], - "id": 27880, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2171:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2171:76:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27890, - "nodeType": "ExpressionStatement", - "src": "2171:76:41" - }, - { - "expression": { - "arguments": [ - { - "id": 27893, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27875, - "src": "2271:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2264:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint96_$", - "typeString": "type(uint96)" - }, - "typeName": { - "id": 27891, - "name": "uint96", - "nodeType": "ElementaryTypeName", - "src": "2264:6:41", - "typeDescriptions": {} - } - }, - "id": 27894, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2264:13:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - } - }, - "functionReturnParameters": 27879, - "id": 27895, - "nodeType": "Return", - "src": "2257:20:41" - } - ] - }, - "documentation": { - "id": 27873, - "nodeType": "StructuredDocumentation", - "src": "1816:276:41", - "text": " @dev Returns the downcasted uint96 from uint256, reverting on\n overflow (when the input is greater than largest uint96).\n Counterpart to Solidity's `uint96` operator.\n Requirements:\n - input must fit into 96 bits" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toUint96", - "nameLocation": "2106:8:41", - "parameters": { - "id": 27876, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27875, - "mutability": "mutable", - "name": "value", - "nameLocation": "2123:5:41", - "nodeType": "VariableDeclaration", - "scope": 27897, - "src": "2115:13:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27874, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2115:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2114:15:41" - }, - "returnParameters": { - "id": 27879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27878, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27897, - "src": "2153:6:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - }, - "typeName": { - "id": 27877, - "name": "uint96", - "nodeType": "ElementaryTypeName", - "src": "2153:6:41", - "typeDescriptions": { - "typeIdentifier": "t_uint96", - "typeString": "uint96" - } - }, - "visibility": "internal" - } - ], - "src": "2152:8:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27922, - "nodeType": "FunctionDefinition", - "src": "2571:187:41", - "body": { - "id": 27921, - "nodeType": "Block", - "src": "2635:123:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27906, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27900, - "src": "2653:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2667:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 27908, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2667:6:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "id": 27907, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "2662:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2662:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_uint64", - "typeString": "type(uint64)" - } - }, - "id": 27911, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2675:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "2662:16:41", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "2653:25:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2036342062697473", - "id": 27913, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2680:40:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93ae0c6bf6ffaece591a770b1865daa9f65157e541970aa9d8dc5f89a9490939", - "typeString": "literal_string \"SafeCast: value doesn't fit in 64 bits\"" - }, - "value": "SafeCast: value doesn't fit in 64 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_93ae0c6bf6ffaece591a770b1865daa9f65157e541970aa9d8dc5f89a9490939", - "typeString": "literal_string \"SafeCast: value doesn't fit in 64 bits\"" - } - ], - "id": 27905, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2645:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2645:76:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27915, - "nodeType": "ExpressionStatement", - "src": "2645:76:41" - }, - { - "expression": { - "arguments": [ - { - "id": 27918, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27900, - "src": "2745:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2738:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 27916, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2738:6:41", - "typeDescriptions": {} - } - }, - "id": 27919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2738:13:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 27904, - "id": 27920, - "nodeType": "Return", - "src": "2731:20:41" - } - ] - }, - "documentation": { - "id": 27898, - "nodeType": "StructuredDocumentation", - "src": "2290:276:41", - "text": " @dev Returns the downcasted uint64 from uint256, reverting on\n overflow (when the input is greater than largest uint64).\n Counterpart to Solidity's `uint64` operator.\n Requirements:\n - input must fit into 64 bits" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toUint64", - "nameLocation": "2580:8:41", - "parameters": { - "id": 27901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27900, - "mutability": "mutable", - "name": "value", - "nameLocation": "2597:5:41", - "nodeType": "VariableDeclaration", - "scope": 27922, - "src": "2589:13:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27899, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2589:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2588:15:41" - }, - "returnParameters": { - "id": 27904, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27903, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27922, - "src": "2627:6:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 27902, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2627:6:41", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "2626:8:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27947, - "nodeType": "FunctionDefinition", - "src": "3045:187:41", - "body": { - "id": 27946, - "nodeType": "Block", - "src": "3109:123:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27931, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27925, - "src": "3127:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27934, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3141:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint32_$", - "typeString": "type(uint32)" - }, - "typeName": { - "id": 27933, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "3141:6:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_uint32_$", - "typeString": "type(uint32)" - } - ], - "id": 27932, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "3136:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27935, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3136:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_uint32", - "typeString": "type(uint32)" - } - }, - "id": 27936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3149:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "3136:16:41", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "src": "3127:25:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2033322062697473", - "id": 27938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3154:40:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19", - "typeString": "literal_string \"SafeCast: value doesn't fit in 32 bits\"" - }, - "value": "SafeCast: value doesn't fit in 32 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19", - "typeString": "literal_string \"SafeCast: value doesn't fit in 32 bits\"" - } - ], - "id": 27930, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3119:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3119:76:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27940, - "nodeType": "ExpressionStatement", - "src": "3119:76:41" - }, - { - "expression": { - "arguments": [ - { - "id": 27943, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27925, - "src": "3219:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3212:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint32_$", - "typeString": "type(uint32)" - }, - "typeName": { - "id": 27941, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "3212:6:41", - "typeDescriptions": {} - } - }, - "id": 27944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3212:13:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "functionReturnParameters": 27929, - "id": 27945, - "nodeType": "Return", - "src": "3205:20:41" - } - ] - }, - "documentation": { - "id": 27923, - "nodeType": "StructuredDocumentation", - "src": "2764:276:41", - "text": " @dev Returns the downcasted uint32 from uint256, reverting on\n overflow (when the input is greater than largest uint32).\n Counterpart to Solidity's `uint32` operator.\n Requirements:\n - input must fit into 32 bits" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toUint32", - "nameLocation": "3054:8:41", - "parameters": { - "id": 27926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27925, - "mutability": "mutable", - "name": "value", - "nameLocation": "3071:5:41", - "nodeType": "VariableDeclaration", - "scope": 27947, - "src": "3063:13:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27924, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3063:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3062:15:41" - }, - "returnParameters": { - "id": 27929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27947, - "src": "3101:6:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 27927, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "3101:6:41", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "3100:8:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27972, - "nodeType": "FunctionDefinition", - "src": "3519:187:41", - "body": { - "id": 27971, - "nodeType": "Block", - "src": "3583:123:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27956, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27950, - "src": "3601:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3615:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint16_$", - "typeString": "type(uint16)" - }, - "typeName": { - "id": 27958, - "name": "uint16", - "nodeType": "ElementaryTypeName", - "src": "3615:6:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_uint16_$", - "typeString": "type(uint16)" - } - ], - "id": 27957, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "3610:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27960, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3610:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_uint16", - "typeString": "type(uint16)" - } - }, - "id": 27961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3623:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "3610:16:41", - "typeDescriptions": { - "typeIdentifier": "t_uint16", - "typeString": "uint16" - } - }, - "src": "3601:25:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2031362062697473", - "id": 27963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3628:40:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_13d3a66f9e0e5c92bbe7743bcd3bdb4695009d5f3a96e5ff49718d715b484033", - "typeString": "literal_string \"SafeCast: value doesn't fit in 16 bits\"" - }, - "value": "SafeCast: value doesn't fit in 16 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_13d3a66f9e0e5c92bbe7743bcd3bdb4695009d5f3a96e5ff49718d715b484033", - "typeString": "literal_string \"SafeCast: value doesn't fit in 16 bits\"" - } - ], - "id": 27955, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3593:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3593:76:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27965, - "nodeType": "ExpressionStatement", - "src": "3593:76:41" - }, - { - "expression": { - "arguments": [ - { - "id": 27968, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27950, - "src": "3693:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3686:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint16_$", - "typeString": "type(uint16)" - }, - "typeName": { - "id": 27966, - "name": "uint16", - "nodeType": "ElementaryTypeName", - "src": "3686:6:41", - "typeDescriptions": {} - } - }, - "id": 27969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3686:13:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint16", - "typeString": "uint16" - } - }, - "functionReturnParameters": 27954, - "id": 27970, - "nodeType": "Return", - "src": "3679:20:41" - } - ] - }, - "documentation": { - "id": 27948, - "nodeType": "StructuredDocumentation", - "src": "3238:276:41", - "text": " @dev Returns the downcasted uint16 from uint256, reverting on\n overflow (when the input is greater than largest uint16).\n Counterpart to Solidity's `uint16` operator.\n Requirements:\n - input must fit into 16 bits" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toUint16", - "nameLocation": "3528:8:41", - "parameters": { - "id": 27951, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27950, - "mutability": "mutable", - "name": "value", - "nameLocation": "3545:5:41", - "nodeType": "VariableDeclaration", - "scope": 27972, - "src": "3537:13:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27949, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3537:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3536:15:41" - }, - "returnParameters": { - "id": 27954, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27953, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27972, - "src": "3575:6:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint16", - "typeString": "uint16" - }, - "typeName": { - "id": 27952, - "name": "uint16", - "nodeType": "ElementaryTypeName", - "src": "3575:6:41", - "typeDescriptions": { - "typeIdentifier": "t_uint16", - "typeString": "uint16" - } - }, - "visibility": "internal" - } - ], - "src": "3574:8:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27997, - "nodeType": "FunctionDefinition", - "src": "3990:182:41", - "body": { - "id": 27996, - "nodeType": "Block", - "src": "4052:120:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27981, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27975, - "src": "4070:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 27984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4084:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 27983, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "4084:5:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - } - ], - "id": 27982, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "4079:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 27985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4079:11:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_uint8", - "typeString": "type(uint8)" - } - }, - "id": 27986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4091:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "4079:15:41", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "4070:24:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e20382062697473", - "id": 27988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4096:39:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2610961ba53259047cd57c60366c5ad0b8aabf5eb4132487619b736715a740d1", - "typeString": "literal_string \"SafeCast: value doesn't fit in 8 bits\"" - }, - "value": "SafeCast: value doesn't fit in 8 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2610961ba53259047cd57c60366c5ad0b8aabf5eb4132487619b736715a740d1", - "typeString": "literal_string \"SafeCast: value doesn't fit in 8 bits\"" - } - ], - "id": 27980, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4062:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4062:74:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27990, - "nodeType": "ExpressionStatement", - "src": "4062:74:41" - }, - { - "expression": { - "arguments": [ - { - "id": 27993, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27975, - "src": "4159:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4153:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 27991, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "4153:5:41", - "typeDescriptions": {} - } - }, - "id": 27994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4153:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "functionReturnParameters": 27979, - "id": 27995, - "nodeType": "Return", - "src": "4146:19:41" - } - ] - }, - "documentation": { - "id": 27973, - "nodeType": "StructuredDocumentation", - "src": "3712:273:41", - "text": " @dev Returns the downcasted uint8 from uint256, reverting on\n overflow (when the input is greater than largest uint8).\n Counterpart to Solidity's `uint8` operator.\n Requirements:\n - input must fit into 8 bits." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toUint8", - "nameLocation": "3999:7:41", - "parameters": { - "id": 27976, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27975, - "mutability": "mutable", - "name": "value", - "nameLocation": "4015:5:41", - "nodeType": "VariableDeclaration", - "scope": 27997, - "src": "4007:13:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27974, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4007:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4006:15:41" - }, - "returnParameters": { - "id": 27979, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27978, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27997, - "src": "4045:5:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 27977, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "4045:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - } - ], - "src": "4044:7:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28018, - "nodeType": "FunctionDefinition", - "src": "4343:168:41", - "body": { - "id": 28017, - "nodeType": "Block", - "src": "4408:103:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28006, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28000, - "src": "4426:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "hexValue": "30", - "id": 28007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4435:1:41", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "4426:10:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c7565206d75737420626520706f736974697665", - "id": 28009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4438:34:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74e6d3a4204092bea305532ded31d3763fc378e46be3884a93ceff08a0761807", - "typeString": "literal_string \"SafeCast: value must be positive\"" - }, - "value": "SafeCast: value must be positive" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_74e6d3a4204092bea305532ded31d3763fc378e46be3884a93ceff08a0761807", - "typeString": "literal_string \"SafeCast: value must be positive\"" - } - ], - "id": 28005, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4418:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 28010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4418:55:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28011, - "nodeType": "ExpressionStatement", - "src": "4418:55:41" - }, - { - "expression": { - "arguments": [ - { - "id": 28014, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28000, - "src": "4498:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 28013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4490:7:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 28012, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4490:7:41", - "typeDescriptions": {} - } - }, - "id": 28015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4490:14:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 28004, - "id": 28016, - "nodeType": "Return", - "src": "4483:21:41" - } - ] - }, - "documentation": { - "id": 27998, - "nodeType": "StructuredDocumentation", - "src": "4178:160:41", - "text": " @dev Converts a signed int256 into an unsigned uint256.\n Requirements:\n - input must be greater than or equal to 0." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toUint256", - "nameLocation": "4352:9:41", - "parameters": { - "id": 28001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28000, - "mutability": "mutable", - "name": "value", - "nameLocation": "4369:5:41", - "nodeType": "VariableDeclaration", - "scope": 28018, - "src": "4362:12:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 27999, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "4362:6:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "4361:14:41" - }, - "returnParameters": { - "id": 28004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28003, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28018, - "src": "4399:7:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28002, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4399:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4398:9:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28051, - "nodeType": "FunctionDefinition", - "src": "4872:216:41", - "body": { - "id": 28050, - "nodeType": "Block", - "src": "4935:153:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28027, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28021, - "src": "4953:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4967:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int128_$", - "typeString": "type(int128)" - }, - "typeName": { - "id": 28029, - "name": "int128", - "nodeType": "ElementaryTypeName", - "src": "4967:6:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int128_$", - "typeString": "type(int128)" - } - ], - "id": 28028, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "4962:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4962:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int128", - "typeString": "type(int128)" - } - }, - "id": 28032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4975:3:41", - "memberName": "min", - "nodeType": "MemberAccess", - "src": "4962:16:41", - "typeDescriptions": { - "typeIdentifier": "t_int128", - "typeString": "int128" - } - }, - "src": "4953:25:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28034, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28021, - "src": "4982:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4996:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int128_$", - "typeString": "type(int128)" - }, - "typeName": { - "id": 28036, - "name": "int128", - "nodeType": "ElementaryTypeName", - "src": "4996:6:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int128_$", - "typeString": "type(int128)" - } - ], - "id": 28035, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "4991:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4991:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int128", - "typeString": "type(int128)" - } - }, - "id": 28039, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5004:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "4991:16:41", - "typeDescriptions": { - "typeIdentifier": "t_int128", - "typeString": "int128" - } - }, - "src": "4982:25:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4953:54:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e203132382062697473", - "id": 28042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5009:41:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_47a1e201974f94d3d1a31c8b08ae18c6966c758bdcd4400020012b98cc55426c", - "typeString": "literal_string \"SafeCast: value doesn't fit in 128 bits\"" - }, - "value": "SafeCast: value doesn't fit in 128 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_47a1e201974f94d3d1a31c8b08ae18c6966c758bdcd4400020012b98cc55426c", - "typeString": "literal_string \"SafeCast: value doesn't fit in 128 bits\"" - } - ], - "id": 28026, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4945:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 28043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4945:106:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28044, - "nodeType": "ExpressionStatement", - "src": "4945:106:41" - }, - { - "expression": { - "arguments": [ - { - "id": 28047, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28021, - "src": "5075:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 28046, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5068:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int128_$", - "typeString": "type(int128)" - }, - "typeName": { - "id": 28045, - "name": "int128", - "nodeType": "ElementaryTypeName", - "src": "5068:6:41", - "typeDescriptions": {} - } - }, - "id": 28048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5068:13:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int128", - "typeString": "int128" - } - }, - "functionReturnParameters": 28025, - "id": 28049, - "nodeType": "Return", - "src": "5061:20:41" - } - ] - }, - "documentation": { - "id": 28019, - "nodeType": "StructuredDocumentation", - "src": "4517:350:41", - "text": " @dev Returns the downcasted int128 from int256, reverting on\n overflow (when the input is less than smallest int128 or\n greater than largest int128).\n Counterpart to Solidity's `int128` operator.\n Requirements:\n - input must fit into 128 bits\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toInt128", - "nameLocation": "4881:8:41", - "parameters": { - "id": 28022, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28021, - "mutability": "mutable", - "name": "value", - "nameLocation": "4897:5:41", - "nodeType": "VariableDeclaration", - "scope": 28051, - "src": "4890:12:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 28020, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "4890:6:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "4889:14:41" - }, - "returnParameters": { - "id": 28025, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28024, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28051, - "src": "4927:6:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int128", - "typeString": "int128" - }, - "typeName": { - "id": 28023, - "name": "int128", - "nodeType": "ElementaryTypeName", - "src": "4927:6:41", - "typeDescriptions": { - "typeIdentifier": "t_int128", - "typeString": "int128" - } - }, - "visibility": "internal" - } - ], - "src": "4926:8:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28084, - "nodeType": "FunctionDefinition", - "src": "5444:210:41", - "body": { - "id": 28083, - "nodeType": "Block", - "src": "5505:149:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28066, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28060, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28054, - "src": "5523:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28063, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5537:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int64_$", - "typeString": "type(int64)" - }, - "typeName": { - "id": 28062, - "name": "int64", - "nodeType": "ElementaryTypeName", - "src": "5537:5:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int64_$", - "typeString": "type(int64)" - } - ], - "id": 28061, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "5532:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5532:11:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int64", - "typeString": "type(int64)" - } - }, - "id": 28065, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5544:3:41", - "memberName": "min", - "nodeType": "MemberAccess", - "src": "5532:15:41", - "typeDescriptions": { - "typeIdentifier": "t_int64", - "typeString": "int64" - } - }, - "src": "5523:24:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28067, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28054, - "src": "5551:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5565:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int64_$", - "typeString": "type(int64)" - }, - "typeName": { - "id": 28069, - "name": "int64", - "nodeType": "ElementaryTypeName", - "src": "5565:5:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int64_$", - "typeString": "type(int64)" - } - ], - "id": 28068, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "5560:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5560:11:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int64", - "typeString": "type(int64)" - } - }, - "id": 28072, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5572:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "5560:15:41", - "typeDescriptions": { - "typeIdentifier": "t_int64", - "typeString": "int64" - } - }, - "src": "5551:24:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5523:52:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2036342062697473", - "id": 28075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5577:40:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93ae0c6bf6ffaece591a770b1865daa9f65157e541970aa9d8dc5f89a9490939", - "typeString": "literal_string \"SafeCast: value doesn't fit in 64 bits\"" - }, - "value": "SafeCast: value doesn't fit in 64 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_93ae0c6bf6ffaece591a770b1865daa9f65157e541970aa9d8dc5f89a9490939", - "typeString": "literal_string \"SafeCast: value doesn't fit in 64 bits\"" - } - ], - "id": 28059, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5515:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 28076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5515:103:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28077, - "nodeType": "ExpressionStatement", - "src": "5515:103:41" - }, - { - "expression": { - "arguments": [ - { - "id": 28080, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28054, - "src": "5641:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 28079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5635:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int64_$", - "typeString": "type(int64)" - }, - "typeName": { - "id": 28078, - "name": "int64", - "nodeType": "ElementaryTypeName", - "src": "5635:5:41", - "typeDescriptions": {} - } - }, - "id": 28081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5635:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int64", - "typeString": "int64" - } - }, - "functionReturnParameters": 28058, - "id": 28082, - "nodeType": "Return", - "src": "5628:19:41" - } - ] - }, - "documentation": { - "id": 28052, - "nodeType": "StructuredDocumentation", - "src": "5094:345:41", - "text": " @dev Returns the downcasted int64 from int256, reverting on\n overflow (when the input is less than smallest int64 or\n greater than largest int64).\n Counterpart to Solidity's `int64` operator.\n Requirements:\n - input must fit into 64 bits\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toInt64", - "nameLocation": "5453:7:41", - "parameters": { - "id": 28055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28054, - "mutability": "mutable", - "name": "value", - "nameLocation": "5468:5:41", - "nodeType": "VariableDeclaration", - "scope": 28084, - "src": "5461:12:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 28053, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "5461:6:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "5460:14:41" - }, - "returnParameters": { - "id": 28058, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28057, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28084, - "src": "5498:5:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int64", - "typeString": "int64" - }, - "typeName": { - "id": 28056, - "name": "int64", - "nodeType": "ElementaryTypeName", - "src": "5498:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int64", - "typeString": "int64" - } - }, - "visibility": "internal" - } - ], - "src": "5497:7:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28117, - "nodeType": "FunctionDefinition", - "src": "6010:210:41", - "body": { - "id": 28116, - "nodeType": "Block", - "src": "6071:149:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28099, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28093, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28087, - "src": "6089:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28096, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6103:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int32_$", - "typeString": "type(int32)" - }, - "typeName": { - "id": 28095, - "name": "int32", - "nodeType": "ElementaryTypeName", - "src": "6103:5:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int32_$", - "typeString": "type(int32)" - } - ], - "id": 28094, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "6098:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28097, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6098:11:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int32", - "typeString": "type(int32)" - } - }, - "id": 28098, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6110:3:41", - "memberName": "min", - "nodeType": "MemberAccess", - "src": "6098:15:41", - "typeDescriptions": { - "typeIdentifier": "t_int32", - "typeString": "int32" - } - }, - "src": "6089:24:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28100, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28087, - "src": "6117:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28103, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6131:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int32_$", - "typeString": "type(int32)" - }, - "typeName": { - "id": 28102, - "name": "int32", - "nodeType": "ElementaryTypeName", - "src": "6131:5:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int32_$", - "typeString": "type(int32)" - } - ], - "id": 28101, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "6126:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6126:11:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int32", - "typeString": "type(int32)" - } - }, - "id": 28105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6138:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "6126:15:41", - "typeDescriptions": { - "typeIdentifier": "t_int32", - "typeString": "int32" - } - }, - "src": "6117:24:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6089:52:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2033322062697473", - "id": 28108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6143:40:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19", - "typeString": "literal_string \"SafeCast: value doesn't fit in 32 bits\"" - }, - "value": "SafeCast: value doesn't fit in 32 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c907489dafcfb622d3b83f2657a14d6da2f59e0de3116af0d6a80554c1a7cb19", - "typeString": "literal_string \"SafeCast: value doesn't fit in 32 bits\"" - } - ], - "id": 28092, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6081:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 28109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6081:103:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28110, - "nodeType": "ExpressionStatement", - "src": "6081:103:41" - }, - { - "expression": { - "arguments": [ - { - "id": 28113, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28087, - "src": "6207:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 28112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6201:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int32_$", - "typeString": "type(int32)" - }, - "typeName": { - "id": 28111, - "name": "int32", - "nodeType": "ElementaryTypeName", - "src": "6201:5:41", - "typeDescriptions": {} - } - }, - "id": 28114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6201:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int32", - "typeString": "int32" - } - }, - "functionReturnParameters": 28091, - "id": 28115, - "nodeType": "Return", - "src": "6194:19:41" - } - ] - }, - "documentation": { - "id": 28085, - "nodeType": "StructuredDocumentation", - "src": "5660:345:41", - "text": " @dev Returns the downcasted int32 from int256, reverting on\n overflow (when the input is less than smallest int32 or\n greater than largest int32).\n Counterpart to Solidity's `int32` operator.\n Requirements:\n - input must fit into 32 bits\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toInt32", - "nameLocation": "6019:7:41", - "parameters": { - "id": 28088, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28087, - "mutability": "mutable", - "name": "value", - "nameLocation": "6034:5:41", - "nodeType": "VariableDeclaration", - "scope": 28117, - "src": "6027:12:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 28086, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6027:6:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "6026:14:41" - }, - "returnParameters": { - "id": 28091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28090, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28117, - "src": "6064:5:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int32", - "typeString": "int32" - }, - "typeName": { - "id": 28089, - "name": "int32", - "nodeType": "ElementaryTypeName", - "src": "6064:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int32", - "typeString": "int32" - } - }, - "visibility": "internal" - } - ], - "src": "6063:7:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28150, - "nodeType": "FunctionDefinition", - "src": "6576:210:41", - "body": { - "id": 28149, - "nodeType": "Block", - "src": "6637:149:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28126, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28120, - "src": "6655:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28129, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6669:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int16_$", - "typeString": "type(int16)" - }, - "typeName": { - "id": 28128, - "name": "int16", - "nodeType": "ElementaryTypeName", - "src": "6669:5:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int16_$", - "typeString": "type(int16)" - } - ], - "id": 28127, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "6664:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28130, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6664:11:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int16", - "typeString": "type(int16)" - } - }, - "id": 28131, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6676:3:41", - "memberName": "min", - "nodeType": "MemberAccess", - "src": "6664:15:41", - "typeDescriptions": { - "typeIdentifier": "t_int16", - "typeString": "int16" - } - }, - "src": "6655:24:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28133, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28120, - "src": "6683:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6697:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int16_$", - "typeString": "type(int16)" - }, - "typeName": { - "id": 28135, - "name": "int16", - "nodeType": "ElementaryTypeName", - "src": "6697:5:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int16_$", - "typeString": "type(int16)" - } - ], - "id": 28134, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "6692:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28137, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6692:11:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int16", - "typeString": "type(int16)" - } - }, - "id": 28138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6704:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "6692:15:41", - "typeDescriptions": { - "typeIdentifier": "t_int16", - "typeString": "int16" - } - }, - "src": "6683:24:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6655:52:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e2031362062697473", - "id": 28141, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6709:40:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_13d3a66f9e0e5c92bbe7743bcd3bdb4695009d5f3a96e5ff49718d715b484033", - "typeString": "literal_string \"SafeCast: value doesn't fit in 16 bits\"" - }, - "value": "SafeCast: value doesn't fit in 16 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_13d3a66f9e0e5c92bbe7743bcd3bdb4695009d5f3a96e5ff49718d715b484033", - "typeString": "literal_string \"SafeCast: value doesn't fit in 16 bits\"" - } - ], - "id": 28125, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6647:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 28142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6647:103:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28143, - "nodeType": "ExpressionStatement", - "src": "6647:103:41" - }, - { - "expression": { - "arguments": [ - { - "id": 28146, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28120, - "src": "6773:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 28145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6767:5:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int16_$", - "typeString": "type(int16)" - }, - "typeName": { - "id": 28144, - "name": "int16", - "nodeType": "ElementaryTypeName", - "src": "6767:5:41", - "typeDescriptions": {} - } - }, - "id": 28147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6767:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int16", - "typeString": "int16" - } - }, - "functionReturnParameters": 28124, - "id": 28148, - "nodeType": "Return", - "src": "6760:19:41" - } - ] - }, - "documentation": { - "id": 28118, - "nodeType": "StructuredDocumentation", - "src": "6226:345:41", - "text": " @dev Returns the downcasted int16 from int256, reverting on\n overflow (when the input is less than smallest int16 or\n greater than largest int16).\n Counterpart to Solidity's `int16` operator.\n Requirements:\n - input must fit into 16 bits\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toInt16", - "nameLocation": "6585:7:41", - "parameters": { - "id": 28121, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28120, - "mutability": "mutable", - "name": "value", - "nameLocation": "6600:5:41", - "nodeType": "VariableDeclaration", - "scope": 28150, - "src": "6593:12:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 28119, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "6593:6:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "6592:14:41" - }, - "returnParameters": { - "id": 28124, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28123, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28150, - "src": "6630:5:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int16", - "typeString": "int16" - }, - "typeName": { - "id": 28122, - "name": "int16", - "nodeType": "ElementaryTypeName", - "src": "6630:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int16", - "typeString": "int16" - } - }, - "visibility": "internal" - } - ], - "src": "6629:7:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28183, - "nodeType": "FunctionDefinition", - "src": "7138:204:41", - "body": { - "id": 28182, - "nodeType": "Block", - "src": "7197:145:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 28173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28165, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28159, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28153, - "src": "7215:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7229:4:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int8_$", - "typeString": "type(int8)" - }, - "typeName": { - "id": 28161, - "name": "int8", - "nodeType": "ElementaryTypeName", - "src": "7229:4:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int8_$", - "typeString": "type(int8)" - } - ], - "id": 28160, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "7224:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28163, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7224:10:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int8", - "typeString": "type(int8)" - } - }, - "id": 28164, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7235:3:41", - "memberName": "min", - "nodeType": "MemberAccess", - "src": "7224:14:41", - "typeDescriptions": { - "typeIdentifier": "t_int8", - "typeString": "int8" - } - }, - "src": "7215:23:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 28172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28166, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28153, - "src": "7242:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "expression": { - "arguments": [ - { - "id": 28169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7256:4:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int8_$", - "typeString": "type(int8)" - }, - "typeName": { - "id": 28168, - "name": "int8", - "nodeType": "ElementaryTypeName", - "src": "7256:4:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int8_$", - "typeString": "type(int8)" - } - ], - "id": 28167, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "7251:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7251:10:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int8", - "typeString": "type(int8)" - } - }, - "id": 28171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7262:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "7251:14:41", - "typeDescriptions": { - "typeIdentifier": "t_int8", - "typeString": "int8" - } - }, - "src": "7242:23:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "7215:50:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e20382062697473", - "id": 28174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7267:39:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2610961ba53259047cd57c60366c5ad0b8aabf5eb4132487619b736715a740d1", - "typeString": "literal_string \"SafeCast: value doesn't fit in 8 bits\"" - }, - "value": "SafeCast: value doesn't fit in 8 bits" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2610961ba53259047cd57c60366c5ad0b8aabf5eb4132487619b736715a740d1", - "typeString": "literal_string \"SafeCast: value doesn't fit in 8 bits\"" - } - ], - "id": 28158, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7207:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 28175, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7207:100:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28176, - "nodeType": "ExpressionStatement", - "src": "7207:100:41" - }, - { - "expression": { - "arguments": [ - { - "id": 28179, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28153, - "src": "7329:5:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 28178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7324:4:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int8_$", - "typeString": "type(int8)" - }, - "typeName": { - "id": 28177, - "name": "int8", - "nodeType": "ElementaryTypeName", - "src": "7324:4:41", - "typeDescriptions": {} - } - }, - "id": 28180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7324:11:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int8", - "typeString": "int8" - } - }, - "functionReturnParameters": 28157, - "id": 28181, - "nodeType": "Return", - "src": "7317:18:41" - } - ] - }, - "documentation": { - "id": 28151, - "nodeType": "StructuredDocumentation", - "src": "6792:341:41", - "text": " @dev Returns the downcasted int8 from int256, reverting on\n overflow (when the input is less than smallest int8 or\n greater than largest int8).\n Counterpart to Solidity's `int8` operator.\n Requirements:\n - input must fit into 8 bits.\n _Available since v3.1._" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toInt8", - "nameLocation": "7147:6:41", - "parameters": { - "id": 28154, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28153, - "mutability": "mutable", - "name": "value", - "nameLocation": "7161:5:41", - "nodeType": "VariableDeclaration", - "scope": 28183, - "src": "7154:12:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 28152, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "7154:6:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "7153:14:41" - }, - "returnParameters": { - "id": 28157, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28156, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28183, - "src": "7191:4:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int8", - "typeString": "int8" - }, - "typeName": { - "id": 28155, - "name": "int8", - "nodeType": "ElementaryTypeName", - "src": "7191:4:41", - "typeDescriptions": { - "typeIdentifier": "t_int8", - "typeString": "int8" - } - }, - "visibility": "internal" - } - ], - "src": "7190:6:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 28211, - "nodeType": "FunctionDefinition", - "src": "7518:297:41", - "body": { - "id": 28210, - "nodeType": "Block", - "src": "7582:233:41", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 28201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 28192, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28186, - "src": "7699:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "arguments": [ - { - "expression": { - "arguments": [ - { - "id": 28197, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7721:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 28196, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "7721:6:41", - "typeDescriptions": {} - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - } - ], - "id": 28195, - "name": "type", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -27, - "src": "7716:4:41", - "typeDescriptions": { - "typeIdentifier": "t_function_metatype_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 28198, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7716:12:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_magic_meta_type_t_int256", - "typeString": "type(int256)" - } - }, - "id": 28199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7729:3:41", - "memberName": "max", - "nodeType": "MemberAccess", - "src": "7716:16:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 28194, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7708:7:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 28193, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7708:7:41", - "typeDescriptions": {} - } - }, - "id": 28200, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7708:25:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7699:34:41", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "53616665436173743a2076616c756520646f65736e27742066697420696e20616e20696e74323536", - "id": 28202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7735:42:41", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d70dcf21692b3c91b4c5fbb89ed57f464aa42efbe5b0ea96c4acb7c080144227", - "typeString": "literal_string \"SafeCast: value doesn't fit in an int256\"" - }, - "value": "SafeCast: value doesn't fit in an int256" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d70dcf21692b3c91b4c5fbb89ed57f464aa42efbe5b0ea96c4acb7c080144227", - "typeString": "literal_string \"SafeCast: value doesn't fit in an int256\"" - } - ], - "id": 28191, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7691:7:41", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 28203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7691:87:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 28204, - "nodeType": "ExpressionStatement", - "src": "7691:87:41" - }, - { - "expression": { - "arguments": [ - { - "id": 28207, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 28186, - "src": "7802:5:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 28206, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7795:6:41", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 28205, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "7795:6:41", - "typeDescriptions": {} - } - }, - "id": 28208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7795:13:41", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 28190, - "id": 28209, - "nodeType": "Return", - "src": "7788:20:41" - } - ] - }, - "documentation": { - "id": 28184, - "nodeType": "StructuredDocumentation", - "src": "7348:165:41", - "text": " @dev Converts an unsigned uint256 into a signed int256.\n Requirements:\n - input must be less than or equal to maxInt256." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toInt256", - "nameLocation": "7527:8:41", - "parameters": { - "id": 28187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28186, - "mutability": "mutable", - "name": "value", - "nameLocation": "7544:5:41", - "nodeType": "VariableDeclaration", - "scope": 28211, - "src": "7536:13:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 28185, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7536:7:41", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7535:15:41" - }, - "returnParameters": { - "id": 28190, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 28189, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 28211, - "src": "7574:6:41", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 28188, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "7574:6:41", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "7573:8:41" - }, - "scope": 28212, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "SafeCast", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 27822, - "nodeType": "StructuredDocumentation", - "src": "117:709:41", - "text": " @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow\n checks.\n Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n easily result in undesired exploitation or bugs, since developers usually\n assume that overflows raise errors. `SafeCast` restores this intuition by\n reverting the transaction when such an operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always.\n Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing\n all math on `uint256` and `int256` and then downcasting." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 28212 - ], - "name": "SafeCast", - "nameLocation": "835:8:41", - "scope": 28213, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 41 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220548401b76a268dba30757de9004407da265538e139f4f30be72b7d842d87272464736f6c63430008170033","sourceMap":"827:6990:42:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;827:6990:42;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220548401b76a268dba30757de9004407da265538e139f4f30be72b7d842d87272464736f6c63430008170033","sourceMap":"827:6990:42:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Wrappers over Solidity's uintXX/intXX casting operators with added overflow checks. Downcasting from uint256/int256 in Solidity does not revert on overflow. This can easily result in undesired exploitation or bugs, since developers usually assume that overflows raise errors. `SafeCast` restores this intuition by reverting the transaction when such an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always. Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing all math on `uint256` and `int256` and then downcasting.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":\"SafeCast\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":"SafeCast"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7","urls":["bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1","dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E"],"license":"MIT"}},"version":1},"id":42} \ No newline at end of file diff --git a/out/Script.sol/Script.json b/out/Script.sol/Script.json index 6bde7c2..b9e724d 100644 --- a/out/Script.sol/Script.json +++ b/out/Script.sol/Script.json @@ -1,4096 +1 @@ -{ - "abi": [ - { - "inputs": [], - "name": "IS_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_SCRIPT()": "f8ccbf47", - "vm()": "3a768463" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"IS_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Script.sol\":\"Script\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "IS_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Script.sol": "Script" - }, - "libraries": {} - }, - "sources": { - "lib/forge-std/src/Script.sol": { - "keccak256": "0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00", - "urls": [ - "bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b", - "dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "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": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Script.sol", - "id": 2536, - "exportedSymbols": { - "Script": [ - 2535 - ], - "Vm": [ - 7558 - ], - "console": [ - 15622 - ], - "console2": [ - 23686 - ], - "stdJson": [ - 2895 - ] - }, - "nodeType": "SourceUnit", - "src": "32:2821:5", - "nodes": [ - { - "id": 2274, - "nodeType": "PragmaDirective", - "src": "32:31:5", - "literals": [ - "solidity", - ">=", - "0.6", - ".0", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2275, - "nodeType": "ImportDirective", - "src": "65:23:5", - "absolutePath": "lib/forge-std/src/console.sol", - "file": "./console.sol", - "nameLocation": "-1:-1:-1", - "scope": 2536, - "sourceUnit": 15623, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2276, - "nodeType": "ImportDirective", - "src": "89:24:5", - "absolutePath": "lib/forge-std/src/console2.sol", - "file": "./console2.sol", - "nameLocation": "-1:-1:-1", - "scope": 2536, - "sourceUnit": 23687, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2277, - "nodeType": "ImportDirective", - "src": "114:23:5", - "absolutePath": "lib/forge-std/src/StdJson.sol", - "file": "./StdJson.sol", - "nameLocation": "-1:-1:-1", - "scope": 2536, - "sourceUnit": 2896, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2535, - "nodeType": "ContractDefinition", - "src": "139:2713:5", - "nodes": [ - { - "id": 2280, - "nodeType": "VariableDeclaration", - "src": "170:28:5", - "constant": false, - "functionSelector": "f8ccbf47", - "mutability": "mutable", - "name": "IS_SCRIPT", - "nameLocation": "182:9:5", - "scope": 2535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2278, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "170:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": { - "hexValue": "74727565", - "id": 2279, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "194:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "visibility": "public" - }, - { - "id": 2297, - "nodeType": "VariableDeclaration", - "src": "204:110:5", - "constant": true, - "mutability": "constant", - "name": "VM_ADDRESS", - "nameLocation": "229:10:5", - "scope": 2535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2281, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "204:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 2291, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "292:17:5", - "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": 2290, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "282:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "282:28:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "274:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 2288, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "274:7:5", - "typeDescriptions": {} - } - }, - "id": 2293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "274:37:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "266:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 2286, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "266:7:5", - "typeDescriptions": {} - } - }, - "id": 2294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "266:46:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 2285, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "258:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes20_$", - "typeString": "type(bytes20)" - }, - "typeName": { - "id": 2284, - "name": "bytes20", - "nodeType": "ElementaryTypeName", - "src": "258:7:5", - "typeDescriptions": {} - } - }, - "id": 2295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "258:55:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - ], - "id": 2283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "250:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2282, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "250:7:5", - "typeDescriptions": {} - } - }, - "id": 2296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "250:64:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "private" - }, - { - "id": 2303, - "nodeType": "VariableDeclaration", - "src": "321:38:5", - "constant": true, - "functionSelector": "3a768463", - "mutability": "constant", - "name": "vm", - "nameLocation": "340:2:5", - "scope": 2535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - }, - "typeName": { - "id": 2299, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2298, - "name": "Vm", - "nameLocations": [ - "321:2:5" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 7558, - "src": "321:2:5" - }, - "referencedDeclaration": 7558, - "src": "321:2:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "id": 2301, - "name": "VM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2297, - "src": "348:10:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2300, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7558, - "src": "345:2:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$7558_$", - "typeString": "type(contract Vm)" - } - }, - "id": 2302, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "345:14:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "visibility": "public" - }, - { - "id": 2488, - "nodeType": "FunctionDefinition", - "src": "598:1878:5", - "body": { - "id": 2487, - "nodeType": "Block", - "src": "693:1783:5", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2313, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "984:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30783030", - "id": 2314, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "993:4:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x00" - }, - "src": "984:13:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2337, - "nodeType": "IfStatement", - "src": "980:141:5", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786436", - "id": 2322, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1075:4:5", - "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": 2321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1068:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2320, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1068:6:5", - "typeDescriptions": {} - } - }, - "id": 2323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1068:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 2326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1089:4:5", - "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": 2325, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1082:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2324, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1082:6:5", - "typeDescriptions": {} - } - }, - "id": 2327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1082:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 2328, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2306, - "src": "1096:8:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783830", - "id": 2331, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1113:4:5", - "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": 2330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1106:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2329, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1106:6:5", - "typeDescriptions": {} - } - }, - "id": 2332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1106:12:5", - "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": 2318, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1051:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1055:12:5", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1051:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1051:68:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2317, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1041:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1041:79:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2316, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2507, - "src": "1018:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 2335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1018:103:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2312, - "id": 2336, - "nodeType": "Return", - "src": "1011:110:5" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2338, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "1135:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "hexValue": "30783766", - "id": 2339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1144:4:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_127_by_1", - "typeString": "int_const 127" - }, - "value": "0x7f" - }, - "src": "1135:13:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2362, - "nodeType": "IfStatement", - "src": "1131:141:5", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786436", - "id": 2347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1226:4:5", - "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": 2346, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1219:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2345, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1219:6:5", - "typeDescriptions": {} - } - }, - "id": 2348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1219:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 2351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1240:4:5", - "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": 2350, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1233:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2349, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1233:6:5", - "typeDescriptions": {} - } - }, - "id": 2352, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1233:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 2353, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2306, - "src": "1247:8:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 2356, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "1263:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2355, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1257:5:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 2354, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1257:5:5", - "typeDescriptions": {} - } - }, - "id": 2357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1257:12:5", - "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": 2343, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1202:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1206:12:5", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1202:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1202:68:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2342, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1192:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1192:79:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2341, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2507, - "src": "1169:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 2360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1169:103:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2312, - "id": 2361, - "nodeType": "Return", - "src": "1162:110:5" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2363, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "1425:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "id": 2368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_rational_256_by_1", - "typeString": "int_const 256" - }, - "id": 2366, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 2364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1434:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "38", - "id": 2365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1437:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "1434:4:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_256_by_1", - "typeString": "int_const 256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 2367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1441:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1434:8:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - } - }, - "src": "1425:17:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2395, - "nodeType": "IfStatement", - "src": "1421:148:5", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786437", - "id": 2376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1509:4:5", - "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": 2375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1502:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2374, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1502:6:5", - "typeDescriptions": {} - } - }, - "id": 2377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1502:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 2380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1523:4:5", - "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": 2379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1516:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2378, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1516:6:5", - "typeDescriptions": {} - } - }, - "id": 2381, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1516:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 2382, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2306, - "src": "1530:8:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783831", - "id": 2385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1547:4:5", - "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": 2384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1540:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2383, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1540:6:5", - "typeDescriptions": {} - } - }, - "id": 2386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1540:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "id": 2389, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "1560:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1554:5:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 2387, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1554:5:5", - "typeDescriptions": {} - } - }, - "id": 2390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1554:12:5", - "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": 2372, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1485:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2373, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1489:12:5", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1485:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1485:82:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2371, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1475:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1475:93:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2370, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2507, - "src": "1452:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 2393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1452:117:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2312, - "id": 2394, - "nodeType": "Return", - "src": "1445:124:5" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2396, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "1583:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_65535_by_1", - "typeString": "int_const 65535" - }, - "id": 2401, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_rational_65536_by_1", - "typeString": "int_const 65536" - }, - "id": 2399, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 2397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1592:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3136", - "id": 2398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1595:2:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "1592:5:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_65536_by_1", - "typeString": "int_const 65536" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 2400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1600:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1592:9:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_65535_by_1", - "typeString": "int_const 65535" - } - }, - "src": "1583:18:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2428, - "nodeType": "IfStatement", - "src": "1579:149:5", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786438", - "id": 2409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1667:4:5", - "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": 2408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1660:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2407, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1660:6:5", - "typeDescriptions": {} - } - }, - "id": 2410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1660:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 2413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1681:4:5", - "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": 2412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1674:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2411, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1674:6:5", - "typeDescriptions": {} - } - }, - "id": 2414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1674:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 2415, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2306, - "src": "1688:8:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783832", - "id": 2418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1705:4:5", - "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": 2417, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1698:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2416, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1698:6:5", - "typeDescriptions": {} - } - }, - "id": 2419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1698:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "id": 2422, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "1719:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1712:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint16_$", - "typeString": "type(uint16)" - }, - "typeName": { - "id": 2420, - "name": "uint16", - "nodeType": "ElementaryTypeName", - "src": "1712:6:5", - "typeDescriptions": {} - } - }, - "id": 2423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1712:13:5", - "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": 2405, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1643:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1647:12:5", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1643:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1643:83:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2404, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1633:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1633:94:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2403, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2507, - "src": "1610:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 2426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1610:118:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2312, - "id": 2427, - "nodeType": "Return", - "src": "1603:125:5" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2429, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "1742:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_rational_16777215_by_1", - "typeString": "int_const 16777215" - }, - "id": 2434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_rational_16777216_by_1", - "typeString": "int_const 16777216" - }, - "id": 2432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 2430, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1751:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "hexValue": "3234", - "id": 2431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1754:2:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_24_by_1", - "typeString": "int_const 24" - }, - "value": "24" - }, - "src": "1751:5:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_16777216_by_1", - "typeString": "int_const 16777216" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 2433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1759:1:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1751:9:5", - "typeDescriptions": { - "typeIdentifier": "t_rational_16777215_by_1", - "typeString": "int_const 16777215" - } - }, - "src": "1742:18:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2461, - "nodeType": "IfStatement", - "src": "1738:149:5", - "trueBody": { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786439", - "id": 2442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1826:4:5", - "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": 2441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1819:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2440, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1819:6:5", - "typeDescriptions": {} - } - }, - "id": 2443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1819:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 2446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1840:4:5", - "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": 2445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1833:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2444, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1833:6:5", - "typeDescriptions": {} - } - }, - "id": 2447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1833:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 2448, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2306, - "src": "1847:8:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783833", - "id": 2451, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1864:4:5", - "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": 2450, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1857:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2449, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1857:6:5", - "typeDescriptions": {} - } - }, - "id": 2452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1857:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "id": 2455, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "1878:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1871:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint24_$", - "typeString": "type(uint24)" - }, - "typeName": { - "id": 2453, - "name": "uint24", - "nodeType": "ElementaryTypeName", - "src": "1871:6:5", - "typeDescriptions": {} - } - }, - "id": 2456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1871:13:5", - "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": 2438, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1802:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1806:12:5", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1802:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1802:83:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2437, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1792:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2458, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1792:94:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2436, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2507, - "src": "1769:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 2459, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1769:118:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2312, - "id": 2460, - "nodeType": "Return", - "src": "1762:125:5" - } - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30786461", - "id": 2468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2408:4:5", - "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": 2467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2401:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2466, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2401:6:5", - "typeDescriptions": {} - } - }, - "id": 2469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2401:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "hexValue": "30783934", - "id": 2472, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2422:4:5", - "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": 2471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2415:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2470, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2415:6:5", - "typeDescriptions": {} - } - }, - "id": 2473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2415:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "id": 2474, - "name": "deployer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2306, - "src": "2429:8:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "30783834", - "id": 2477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2446:4:5", - "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": 2476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2439:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 2475, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "2439:6:5", - "typeDescriptions": {} - } - }, - "id": 2478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2439:12:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - { - "arguments": [ - { - "id": 2481, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2308, - "src": "2460:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2453:6:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint32_$", - "typeString": "type(uint32)" - }, - "typeName": { - "id": 2479, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "2453:6:5", - "typeDescriptions": {} - } - }, - "id": 2482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2453:13:5", - "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": 2464, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2384:3:5", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2388:12:5", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2384:16:5", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2384:83:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2463, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2374:9:5", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2374:94:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2462, - "name": "addressFromLast20Bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2507, - "src": "2351:22:5", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32) pure returns (address)" - } - }, - "id": 2485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2351:118:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2312, - "id": 2486, - "nodeType": "Return", - "src": "2344:125:5" - } - ] - }, - "documentation": { - "id": 2304, - "nodeType": "StructuredDocumentation", - "src": "366:227:5", - "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/transmissions11/solmate/blob/main/src/utils/LibRLP.sol)" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "computeCreateAddress", - "nameLocation": "607:20:5", - "parameters": { - "id": 2309, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2306, - "mutability": "mutable", - "name": "deployer", - "nameLocation": "636:8:5", - "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "628:16:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2305, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "628:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2308, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "654:5:5", - "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "646:13:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2307, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "646:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "627:33:5" - }, - "returnParameters": { - "id": 2312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2311, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "684:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2310, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "684:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "683:9:5" - }, - "scope": 2535, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2507, - "nodeType": "FunctionDefinition", - "src": "2482:145:5", - "body": { - "id": 2506, - "nodeType": "Block", - "src": "2566:61:5", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 2501, - "name": "bytesValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2490, - "src": "2607:10:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2599:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 2499, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2599:7:5", - "typeDescriptions": {} - } - }, - "id": 2502, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2599:19:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2591:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 2497, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "2591:7:5", - "typeDescriptions": {} - } - }, - "id": 2503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2591:28:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 2496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2583:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2495, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2583:7:5", - "typeDescriptions": {} - } - }, - "id": 2504, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2583:37:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 2494, - "id": 2505, - "nodeType": "Return", - "src": "2576:44:5" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "addressFromLast20Bytes", - "nameLocation": "2491:22:5", - "parameters": { - "id": 2491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2490, - "mutability": "mutable", - "name": "bytesValue", - "nameLocation": "2522:10:5", - "nodeType": "VariableDeclaration", - "scope": 2507, - "src": "2514:18:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2489, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2514:7:5", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "2513:20:5" - }, - "returnParameters": { - "id": 2494, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2493, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2507, - "src": "2557:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2492, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2557:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2556:9:5" - }, - "scope": 2535, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2534, - "nodeType": "FunctionDefinition", - "src": "2633:217:5", - "body": { - "id": 2533, - "nodeType": "Block", - "src": "2749:101:5", - "statements": [ - { - "expression": { - "id": 2524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2518, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2516, - "src": "2759:10:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 2521, - "name": "mnemonic", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2509, - "src": "2785:8:5", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2522, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2511, - "src": "2795:5:5", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - ], - "expression": { - "id": 2519, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2772:2:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2775:9:5", - "memberName": "deriveKey", - "nodeType": "MemberAccess", - "referencedDeclaration": 7523, - "src": "2772:12:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_uint32_$returns$_t_uint256_$", - "typeString": "function (string memory,uint32) external returns (uint256)" - } - }, - "id": 2523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2772:29:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2759:42:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2525, - "nodeType": "ExpressionStatement", - "src": "2759:42:5" - }, - { - "expression": { - "id": 2531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2526, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2514, - "src": "2811:3:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 2529, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2516, - "src": "2832:10:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2527, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2817:2:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2820:11:5", - "memberName": "rememberKey", - "nodeType": "MemberAccess", - "referencedDeclaration": 7541, - "src": "2817:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) external returns (address)" - } - }, - "id": 2530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2817:26:5", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2811:32:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2532, - "nodeType": "ExpressionStatement", - "src": "2811:32:5" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deriveRememberKey", - "nameLocation": "2642:17:5", - "parameters": { - "id": 2512, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2509, - "mutability": "mutable", - "name": "mnemonic", - "nameLocation": "2674:8:5", - "nodeType": "VariableDeclaration", - "scope": 2534, - "src": "2660:22:5", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2508, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2660:6:5", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2511, - "mutability": "mutable", - "name": "index", - "nameLocation": "2691:5:5", - "nodeType": "VariableDeclaration", - "scope": 2534, - "src": "2684:12:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 2510, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "2684:6:5", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "2659:38:5" - }, - "returnParameters": { - "id": 2517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2514, - "mutability": "mutable", - "name": "who", - "nameLocation": "2724:3:5", - "nodeType": "VariableDeclaration", - "scope": 2534, - "src": "2716:11:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2513, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2716:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2516, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "2737:10:5", - "nodeType": "VariableDeclaration", - "scope": 2534, - "src": "2729:18:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2515, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2729:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2715:33:5" - }, - "scope": 2535, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [], - "canonicalName": "Script", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 2535 - ], - "name": "Script", - "nameLocation": "157:6:5", - "scope": 2536, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 5 -} \ No newline at end of file +{"abi":[{"type":"function","name":"IS_SCRIPT","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"vm","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Vm"}],"stateMutability":"view"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"IS_SCRIPT()":"f8ccbf47","vm()":"3a768463"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"IS_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Script.sol\":\"Script\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"view","type":"function","name":"IS_SCRIPT","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"vm","outputs":[{"internalType":"contract Vm","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/Script.sol":"Script"},"evmVersion":"paris","libraries":{}},"sources":{"lib/forge-std/src/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"}},"version":1},"id":5} \ No newline at end of file diff --git a/out/StdJson.sol/stdJson.json b/out/StdJson.sol/stdJson.json index 76c9075..1acbedd 100644 --- a/out/StdJson.sol/stdJson.json +++ b/out/StdJson.sol/stdJson.json @@ -1,4898 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201c86234edf654394cc9c3909d0d95c911ce19b348c61c50f1e73cd4e0ac0566764736f6c63430008100033", - "sourceMap": "159:2908:6:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;159:2908:6;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201c86234edf654394cc9c3909d0d95c911ce19b348c61c50f1e73cd4e0ac0566764736f6c63430008100033", - "sourceMap": "159:2908:6:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/StdJson.sol": "stdJson" - }, - "libraries": {} - }, - "sources": { - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/StdJson.sol", - "id": 2896, - "exportedSymbols": { - "Vm": [ - 7558 - ], - "stdJson": [ - 2895 - ] - }, - "nodeType": "SourceUnit", - "src": "32:3036:6", - "nodes": [ - { - "id": 2537, - "nodeType": "PragmaDirective", - "src": "32:31:6", - "literals": [ - "solidity", - ">=", - "0.6", - ".0", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2538, - "nodeType": "PragmaDirective", - "src": "64:33:6", - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 2539, - "nodeType": "ImportDirective", - "src": "99:18:6", - "absolutePath": "lib/forge-std/src/Vm.sol", - "file": "./Vm.sol", - "nameLocation": "-1:-1:-1", - "scope": 2896, - "sourceUnit": 7559, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2895, - "nodeType": "ContractDefinition", - "src": "159:2908:6", - "nodes": [ - { - "id": 2556, - "nodeType": "VariableDeclaration", - "src": "182:84:6", - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "202:2:6", - "scope": 2895, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - }, - "typeName": { - "id": 2541, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2540, - "name": "Vm", - "nameLocations": [ - "182:2:6" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 7558, - "src": "182:2:6" - }, - "referencedDeclaration": 7558, - "src": "182:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 2550, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "244: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": 2549, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "234:9:6", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2551, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "234:28:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 2548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "226:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 2547, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "226:7:6", - "typeDescriptions": {} - } - }, - "id": 2552, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "226:37:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "218:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 2545, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "218:7:6", - "typeDescriptions": {} - } - }, - "id": 2553, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "218:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 2544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "210:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2543, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "210:7:6", - "typeDescriptions": {} - } - }, - "id": 2554, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "210:55:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 2542, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7558, - "src": "207:2:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$7558_$", - "typeString": "type(contract Vm)" - } - }, - "id": 2555, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "207:59:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 2572, - "nodeType": "FunctionDefinition", - "src": "273:156:6", - "body": { - "id": 2571, - "nodeType": "Block", - "src": "382:47:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2567, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2558, - "src": "412:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2568, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2560, - "src": "418: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": 2565, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "399:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "402:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "399:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "399:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 2564, - "id": 2570, - "nodeType": "Return", - "src": "392:30:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "parseRaw", - "nameLocation": "282:8:6", - "parameters": { - "id": 2561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2558, - "mutability": "mutable", - "name": "json", - "nameLocation": "305:4:6", - "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "291:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2557, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "291:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2560, - "mutability": "mutable", - "name": "key", - "nameLocation": "325:3:6", - "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "311:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2559, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "311:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "290:39:6" - }, - "returnParameters": { - "id": 2564, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2563, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "364:12:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2562, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "364:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "363:14:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2594, - "nodeType": "FunctionDefinition", - "src": "435:174:6", - "body": { - "id": 2593, - "nodeType": "Block", - "src": "539:70:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2585, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2574, - "src": "580:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2586, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2576, - "src": "586: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": 2583, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "567:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "570:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "567:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "567:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 2589, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "593:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 2588, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "593:7:6", - "typeDescriptions": {} - } - } - ], - "id": 2590, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "592: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": 2581, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "556:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "560:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "556:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2591, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "556:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 2580, - "id": 2592, - "nodeType": "Return", - "src": "549:53:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readUint", - "nameLocation": "444:8:6", - "parameters": { - "id": 2577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2574, - "mutability": "mutable", - "name": "json", - "nameLocation": "467:4:6", - "nodeType": "VariableDeclaration", - "scope": 2594, - "src": "453:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2573, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "453:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2576, - "mutability": "mutable", - "name": "key", - "nameLocation": "487:3:6", - "nodeType": "VariableDeclaration", - "scope": 2594, - "src": "473:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2575, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "473:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "452:39:6" - }, - "returnParameters": { - "id": 2580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2579, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2594, - "src": "526:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2578, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "526:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "525:9:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2618, - "nodeType": "FunctionDefinition", - "src": "615:190:6", - "body": { - "id": 2617, - "nodeType": "Block", - "src": "733:72:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2608, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "774:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2609, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2598, - "src": "780: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": 2606, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "761:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "764:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "761:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "761:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 2612, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "787:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 2611, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "787:7:6", - "typeDescriptions": {} - } - }, - "id": 2613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "787:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_uint256_$dyn_memory_ptr_$", - "typeString": "type(uint256[] memory)" - } - } - ], - "id": 2614, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "786:11:6", - "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": 2604, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "750:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "754:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "750:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "750:48:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - "functionReturnParameters": 2603, - "id": 2616, - "nodeType": "Return", - "src": "743:55:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readUintArray", - "nameLocation": "624:13:6", - "parameters": { - "id": 2599, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2596, - "mutability": "mutable", - "name": "json", - "nameLocation": "652:4:6", - "nodeType": "VariableDeclaration", - "scope": 2618, - "src": "638:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2595, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "638:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2598, - "mutability": "mutable", - "name": "key", - "nameLocation": "672:3:6", - "nodeType": "VariableDeclaration", - "scope": 2618, - "src": "658:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2597, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "658:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "637:39:6" - }, - "returnParameters": { - "id": 2603, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2602, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2618, - "src": "711:16:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2600, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "711:7:6", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2601, - "nodeType": "ArrayTypeName", - "src": "711:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "710:18:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2640, - "nodeType": "FunctionDefinition", - "src": "811:171:6", - "body": { - "id": 2639, - "nodeType": "Block", - "src": "913:69:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2631, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "954:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2632, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "960: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": 2629, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "941:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "944:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "941:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "941:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 2635, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "967:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 2634, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "967:6:6", - "typeDescriptions": {} - } - } - ], - "id": 2636, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "966:8:6", - "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": 2627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "930:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "934:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "930:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "930:45:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 2626, - "id": 2638, - "nodeType": "Return", - "src": "923:52:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readInt", - "nameLocation": "820:7:6", - "parameters": { - "id": 2623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2620, - "mutability": "mutable", - "name": "json", - "nameLocation": "842:4:6", - "nodeType": "VariableDeclaration", - "scope": 2640, - "src": "828:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2619, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "828:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2622, - "mutability": "mutable", - "name": "key", - "nameLocation": "862:3:6", - "nodeType": "VariableDeclaration", - "scope": 2640, - "src": "848:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2621, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "848:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "827:39:6" - }, - "returnParameters": { - "id": 2626, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2625, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2640, - "src": "901:6:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 2624, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "901:6:6", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "900:8:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2664, - "nodeType": "FunctionDefinition", - "src": "988:187:6", - "body": { - "id": 2663, - "nodeType": "Block", - "src": "1104:71:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2654, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2642, - "src": "1145:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2655, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2644, - "src": "1151: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": 2652, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "1132:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1135:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "1132:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1132:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 2658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1158:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 2657, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1158:6:6", - "typeDescriptions": {} - } - }, - "id": 2659, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1158:8:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_int256_$dyn_memory_ptr_$", - "typeString": "type(int256[] memory)" - } - } - ], - "id": 2660, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1157:10:6", - "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": 2650, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1121:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2651, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1125:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1121:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2661, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1121:47:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - }, - "functionReturnParameters": 2649, - "id": 2662, - "nodeType": "Return", - "src": "1114:54:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readIntArray", - "nameLocation": "997:12:6", - "parameters": { - "id": 2645, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2642, - "mutability": "mutable", - "name": "json", - "nameLocation": "1024:4:6", - "nodeType": "VariableDeclaration", - "scope": 2664, - "src": "1010:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2641, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1010:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2644, - "mutability": "mutable", - "name": "key", - "nameLocation": "1044:3:6", - "nodeType": "VariableDeclaration", - "scope": 2664, - "src": "1030:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2643, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1030:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1009:39:6" - }, - "returnParameters": { - "id": 2649, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2648, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2664, - "src": "1083:15:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2646, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1083:6:6", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2647, - "nodeType": "ArrayTypeName", - "src": "1083:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "1082:17:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2686, - "nodeType": "FunctionDefinition", - "src": "1181:177:6", - "body": { - "id": 2685, - "nodeType": "Block", - "src": "1288:70:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2677, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2666, - "src": "1329:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2678, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2668, - "src": "1335: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": 2675, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "1316:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1319:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "1316:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1316:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 2681, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1342:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 2680, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1342:7:6", - "typeDescriptions": {} - } - } - ], - "id": 2682, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1341:9:6", - "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": 2673, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1305:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1309:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1305:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1305:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 2672, - "id": 2684, - "nodeType": "Return", - "src": "1298:53:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBytes32", - "nameLocation": "1190:11:6", - "parameters": { - "id": 2669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2666, - "mutability": "mutable", - "name": "json", - "nameLocation": "1216:4:6", - "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "1202:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2665, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1202:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2668, - "mutability": "mutable", - "name": "key", - "nameLocation": "1236:3:6", - "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "1222:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2667, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1222:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1201:39:6" - }, - "returnParameters": { - "id": 2672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2671, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "1275:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 2670, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1275:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1274:9:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2710, - "nodeType": "FunctionDefinition", - "src": "1364:193:6", - "body": { - "id": 2709, - "nodeType": "Block", - "src": "1485:72:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2700, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "1526:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2701, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2690, - "src": "1532: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": 2698, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "1513:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1516:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "1513:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1513:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 2704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1539:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 2703, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1539:7:6", - "typeDescriptions": {} - } - }, - "id": 2705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1539:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bytes32_$dyn_memory_ptr_$", - "typeString": "type(bytes32[] memory)" - } - } - ], - "id": 2706, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1538:11:6", - "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": 2696, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1502:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1506:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1502:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1502:48:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "functionReturnParameters": 2695, - "id": 2708, - "nodeType": "Return", - "src": "1495:55:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBytes32Array", - "nameLocation": "1373:16:6", - "parameters": { - "id": 2691, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2688, - "mutability": "mutable", - "name": "json", - "nameLocation": "1404:4:6", - "nodeType": "VariableDeclaration", - "scope": 2710, - "src": "1390:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2687, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1390:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2690, - "mutability": "mutable", - "name": "key", - "nameLocation": "1424:3:6", - "nodeType": "VariableDeclaration", - "scope": 2710, - "src": "1410:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2689, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1410:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1389:39:6" - }, - "returnParameters": { - "id": 2695, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2694, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2710, - "src": "1463:16:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 2692, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1463:7:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 2693, - "nodeType": "ArrayTypeName", - "src": "1463:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "1462:18:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2732, - "nodeType": "FunctionDefinition", - "src": "1563:181:6", - "body": { - "id": 2731, - "nodeType": "Block", - "src": "1675:69:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2723, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2712, - "src": "1716:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2724, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2714, - "src": "1722: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": 2721, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "1703:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1706:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "1703:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1703:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 2727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1729:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 2726, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1729:6:6", - "typeDescriptions": {} - } - } - ], - "id": 2728, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1728:8:6", - "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": 2719, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1692:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1696:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1692:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1692:45:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 2718, - "id": 2730, - "nodeType": "Return", - "src": "1685:52:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readString", - "nameLocation": "1572:10:6", - "parameters": { - "id": 2715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2712, - "mutability": "mutable", - "name": "json", - "nameLocation": "1597:4:6", - "nodeType": "VariableDeclaration", - "scope": 2732, - "src": "1583:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2711, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1583:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2714, - "mutability": "mutable", - "name": "key", - "nameLocation": "1617:3:6", - "nodeType": "VariableDeclaration", - "scope": 2732, - "src": "1603:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2713, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1603:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1582:39:6" - }, - "returnParameters": { - "id": 2718, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2717, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2732, - "src": "1656:13:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2716, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1656:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1655:15:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2756, - "nodeType": "FunctionDefinition", - "src": "1750:190:6", - "body": { - "id": 2755, - "nodeType": "Block", - "src": "1869:71:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2746, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2734, - "src": "1910:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2747, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2736, - "src": "1916: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": 2744, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "1897:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1900:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "1897:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1897:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 2750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1923:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 2749, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1923:6:6", - "typeDescriptions": {} - } - }, - "id": 2751, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1923:8:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(string memory[] memory)" - } - } - ], - "id": 2752, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1922:10:6", - "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": 2742, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1886:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1890:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1886:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1886:47:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "functionReturnParameters": 2741, - "id": 2754, - "nodeType": "Return", - "src": "1879:54:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readStringArray", - "nameLocation": "1759:15:6", - "parameters": { - "id": 2737, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2734, - "mutability": "mutable", - "name": "json", - "nameLocation": "1789:4:6", - "nodeType": "VariableDeclaration", - "scope": 2756, - "src": "1775:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2733, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1775:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2736, - "mutability": "mutable", - "name": "key", - "nameLocation": "1809:3:6", - "nodeType": "VariableDeclaration", - "scope": 2756, - "src": "1795:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2735, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1795:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1774:39:6" - }, - "returnParameters": { - "id": 2741, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2740, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2756, - "src": "1848:15:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 2738, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1848:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 2739, - "nodeType": "ArrayTypeName", - "src": "1848:8:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1847:17:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2778, - "nodeType": "FunctionDefinition", - "src": "1946:177:6", - "body": { - "id": 2777, - "nodeType": "Block", - "src": "2053:70:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2769, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2758, - "src": "2094:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2770, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2760, - "src": "2100: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": 2767, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "2081:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2084:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "2081:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2081:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 2773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2107:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2772, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2107:7:6", - "typeDescriptions": {} - } - } - ], - "id": 2774, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2106:9:6", - "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": 2765, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2070:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2074:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2070:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2070:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 2764, - "id": 2776, - "nodeType": "Return", - "src": "2063:53:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readAddress", - "nameLocation": "1955:11:6", - "parameters": { - "id": 2761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2758, - "mutability": "mutable", - "name": "json", - "nameLocation": "1981:4:6", - "nodeType": "VariableDeclaration", - "scope": 2778, - "src": "1967:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2757, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1967:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2760, - "mutability": "mutable", - "name": "key", - "nameLocation": "2001:3:6", - "nodeType": "VariableDeclaration", - "scope": 2778, - "src": "1987:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2759, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1987:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1966:39:6" - }, - "returnParameters": { - "id": 2764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2763, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2778, - "src": "2040:7:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2762, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2040:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2039:9:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2802, - "nodeType": "FunctionDefinition", - "src": "2129:193:6", - "body": { - "id": 2801, - "nodeType": "Block", - "src": "2250:72:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2792, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2780, - "src": "2291:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2793, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2782, - "src": "2297: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": 2790, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "2278:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2281:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "2278:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2278:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 2796, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2304:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 2795, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2304:7:6", - "typeDescriptions": {} - } - }, - "id": 2797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2304:9:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "type(address[] memory)" - } - } - ], - "id": 2798, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2303:11:6", - "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": 2788, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2267:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2271:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2267:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2267:48:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "functionReturnParameters": 2787, - "id": 2800, - "nodeType": "Return", - "src": "2260:55:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readAddressArray", - "nameLocation": "2138:16:6", - "parameters": { - "id": 2783, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2780, - "mutability": "mutable", - "name": "json", - "nameLocation": "2169:4:6", - "nodeType": "VariableDeclaration", - "scope": 2802, - "src": "2155:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2779, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2155:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2782, - "mutability": "mutable", - "name": "key", - "nameLocation": "2189:3:6", - "nodeType": "VariableDeclaration", - "scope": 2802, - "src": "2175:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2781, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2175:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2154:39:6" - }, - "returnParameters": { - "id": 2787, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2786, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2802, - "src": "2228:16:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2784, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2228:7:6", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2785, - "nodeType": "ArrayTypeName", - "src": "2228:9:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2227:18:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2824, - "nodeType": "FunctionDefinition", - "src": "2328:168:6", - "body": { - "id": 2823, - "nodeType": "Block", - "src": "2429:67:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2815, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "2470:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2816, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2806, - "src": "2476: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": 2813, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "2457:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2460:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "2457:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2457:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 2819, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2483:4:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - }, - "typeName": { - "id": 2818, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2483:4:6", - "typeDescriptions": {} - } - } - ], - "id": 2820, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2482:6:6", - "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": 2811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2446:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2450:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2446:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2446:43:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 2810, - "id": 2822, - "nodeType": "Return", - "src": "2439:50:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBool", - "nameLocation": "2337:8:6", - "parameters": { - "id": 2807, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2804, - "mutability": "mutable", - "name": "json", - "nameLocation": "2360:4:6", - "nodeType": "VariableDeclaration", - "scope": 2824, - "src": "2346:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2803, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2346:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2806, - "mutability": "mutable", - "name": "key", - "nameLocation": "2380:3:6", - "nodeType": "VariableDeclaration", - "scope": 2824, - "src": "2366:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2805, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2366:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2345:39:6" - }, - "returnParameters": { - "id": 2810, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2809, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2824, - "src": "2419:4:6", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2808, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2419:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "2418:6:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2848, - "nodeType": "FunctionDefinition", - "src": "2502:184:6", - "body": { - "id": 2847, - "nodeType": "Block", - "src": "2617:69:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2838, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2826, - "src": "2658:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2839, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2828, - "src": "2664: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": 2836, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "2645:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2648:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "2645:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2645:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 2842, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2671:4:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - }, - "typeName": { - "id": 2841, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2671:4:6", - "typeDescriptions": {} - } - }, - "id": 2843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2671:6:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bool_$dyn_memory_ptr_$", - "typeString": "type(bool[] memory)" - } - } - ], - "id": 2844, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2670:8:6", - "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": 2834, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2634:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2638:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2634:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2634:45:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[] memory" - } - }, - "functionReturnParameters": 2833, - "id": 2846, - "nodeType": "Return", - "src": "2627:52:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBoolArray", - "nameLocation": "2511:13:6", - "parameters": { - "id": 2829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2826, - "mutability": "mutable", - "name": "json", - "nameLocation": "2539:4:6", - "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "2525:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2525:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2828, - "mutability": "mutable", - "name": "key", - "nameLocation": "2559:3:6", - "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "2545:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2827, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2545:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2524:39:6" - }, - "returnParameters": { - "id": 2833, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2832, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "2598:13:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[]" - }, - "typeName": { - "baseType": { - "id": 2830, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2598:4:6", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2831, - "nodeType": "ArrayTypeName", - "src": "2598:6:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", - "typeString": "bool[]" - } - }, - "visibility": "internal" - } - ], - "src": "2597:15:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2870, - "nodeType": "FunctionDefinition", - "src": "2692:178:6", - "body": { - "id": 2869, - "nodeType": "Block", - "src": "2802:68:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2861, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2850, - "src": "2843:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2862, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "2849: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": 2859, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "2830:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2833:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "2830:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2830:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 2865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2856:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 2864, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2856:5:6", - "typeDescriptions": {} - } - } - ], - "id": 2866, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2855:7:6", - "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": 2857, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2819:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2823:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2819:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2819:44:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 2856, - "id": 2868, - "nodeType": "Return", - "src": "2812:51:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBytes", - "nameLocation": "2701:9:6", - "parameters": { - "id": 2853, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2850, - "mutability": "mutable", - "name": "json", - "nameLocation": "2725:4:6", - "nodeType": "VariableDeclaration", - "scope": 2870, - "src": "2711:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2849, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2711:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2852, - "mutability": "mutable", - "name": "key", - "nameLocation": "2745:3:6", - "nodeType": "VariableDeclaration", - "scope": 2870, - "src": "2731:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2851, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2731:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2710:39:6" - }, - "returnParameters": { - "id": 2856, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2855, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2870, - "src": "2784:12:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2854, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2784:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2783:14:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2894, - "nodeType": "FunctionDefinition", - "src": "2876:187:6", - "body": { - "id": 2893, - "nodeType": "Block", - "src": "2993:70:6", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 2884, - "name": "json", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2872, - "src": "3034:4:6", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2885, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2874, - "src": "3040: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": 2882, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "3021:2:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3024:9:6", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "3021:12:6", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 2886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3021:23:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 2888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3047:5:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 2887, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3047:5:6", - "typeDescriptions": {} - } - }, - "id": 2889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3047:7:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(bytes memory[] memory)" - } - } - ], - "id": 2890, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3046:9:6", - "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": 2880, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3010:3:6", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3014:6:6", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3010:10:6", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 2891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3010:46:6", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes memory[] memory" - } - }, - "functionReturnParameters": 2879, - "id": 2892, - "nodeType": "Return", - "src": "3003:53:6" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readBytesArray", - "nameLocation": "2885:14:6", - "parameters": { - "id": 2875, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2872, - "mutability": "mutable", - "name": "json", - "nameLocation": "2914:4:6", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "2900:18:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2871, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2900:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2874, - "mutability": "mutable", - "name": "key", - "nameLocation": "2934:3:6", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "2920:17:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2873, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2920:6:6", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2899:39:6" - }, - "returnParameters": { - "id": 2879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2878, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 2894, - "src": "2973:14:6", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 2876, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2973:5:6", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 2877, - "nodeType": "ArrayTypeName", - "src": "2973:7:6", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "internal" - } - ], - "src": "2972:16:6" - }, - "scope": 2895, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdJson", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 2895 - ], - "name": "stdJson", - "nameLocation": "167:7:6", - "scope": 2896, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 6 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f28b864c0e4023183dba55727976af1a9dfde026b5140f1f893597150fa149b464736f6c63430008170033","sourceMap":"159:2908:6:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;159:2908:6;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f28b864c0e4023183dba55727976af1a9dfde026b5140f1f893597150fa149b464736f6c63430008170033","sourceMap":"159:2908:6:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/StdJson.sol":"stdJson"},"evmVersion":"paris","libraries":{}},"sources":{"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"license":"MIT"}},"version":1},"id":6} \ No newline at end of file diff --git a/out/Strings.sol/Strings.json b/out/Strings.sol/Strings.json index 69d39cd..e05061f 100644 --- a/out/Strings.sol/Strings.json +++ b/out/Strings.sol/Strings.json @@ -1,2624 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c67f129e52eb6f24d54ba2e29957b3c2ed66ad3bec705b5d14f92e409a9dc7d264736f6c63430008100033", - "sourceMap": "146:1885:35:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;146:1885:35;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c67f129e52eb6f24d54ba2e29957b3c2ed66ad3bec705b5d14f92e409a9dc7d264736f6c63430008100033", - "sourceMap": "146:1885:35:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/Strings.sol": "Strings" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Strings.sol", - "id": 27135, - "exportedSymbols": { - "Strings": [ - 27134 - ] - }, - "nodeType": "SourceUnit", - "src": "86:1946:35", - "nodes": [ - { - "id": 26933, - "nodeType": "PragmaDirective", - "src": "86:23:35", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27134, - "nodeType": "ContractDefinition", - "src": "146:1885:35", - "nodes": [ - { - "id": 26937, - "nodeType": "VariableDeclaration", - "src": "168:58:35", - "constant": true, - "mutability": "constant", - "name": "_HEX_SYMBOLS", - "nameLocation": "193:12:35", - "scope": 27134, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 26935, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "168:7:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "value": { - "hexValue": "30313233343536373839616263646566", - "id": 26936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "208:18:35", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", - "typeString": "literal_string \"0123456789abcdef\"" - }, - "value": "0123456789abcdef" - }, - "visibility": "private" - }, - { - "id": 27016, - "nodeType": "FunctionDefinition", - "src": "328:703:35", - "body": { - "id": 27015, - "nodeType": "Block", - "src": "399:632:35", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26945, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26940, - "src": "601:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 26946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "610:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "601:10:35", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 26951, - "nodeType": "IfStatement", - "src": "597:51:35", - "trueBody": { - "id": 26950, - "nodeType": "Block", - "src": "613:35:35", - "statements": [ - { - "expression": { - "hexValue": "30", - "id": 26948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "634:3:35", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "typeString": "literal_string \"0\"" - }, - "value": "0" - }, - "functionReturnParameters": 26944, - "id": 26949, - "nodeType": "Return", - "src": "627:10:35" - } - ] - } - }, - { - "assignments": [ - 26953 - ], - "declarations": [ - { - "constant": false, - "id": 26953, - "mutability": "mutable", - "name": "temp", - "nameLocation": "665:4:35", - "nodeType": "VariableDeclaration", - "scope": 27015, - "src": "657:12:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "657:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26955, - "initialValue": { - "id": 26954, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26940, - "src": "672:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "657:20:35" - }, - { - "assignments": [ - 26957 - ], - "declarations": [ - { - "constant": false, - "id": 26957, - "mutability": "mutable", - "name": "digits", - "nameLocation": "695:6:35", - "nodeType": "VariableDeclaration", - "scope": 27015, - "src": "687:14:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "687:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 26958, - "nodeType": "VariableDeclarationStatement", - "src": "687:14:35" - }, - { - "body": { - "id": 26969, - "nodeType": "Block", - "src": "729:57:35", - "statements": [ - { - "expression": { - "id": 26963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "743:8:35", - "subExpression": { - "id": 26962, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26957, - "src": "743:6:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26964, - "nodeType": "ExpressionStatement", - "src": "743:8:35" - }, - { - "expression": { - "id": 26967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 26965, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26953, - "src": "765:4:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "hexValue": "3130", - "id": 26966, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "773:2:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "765:10:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26968, - "nodeType": "ExpressionStatement", - "src": "765:10:35" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26959, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26953, - "src": "718:4:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "hexValue": "30", - "id": 26960, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "726:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "718:9:35", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 26970, - "nodeType": "WhileStatement", - "src": "711:75:35" - }, - { - "assignments": [ - 26972 - ], - "declarations": [ - { - "constant": false, - "id": 26972, - "mutability": "mutable", - "name": "buffer", - "nameLocation": "808:6:35", - "nodeType": "VariableDeclaration", - "scope": 27015, - "src": "795:19:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 26971, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "795:5:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 26977, - "initialValue": { - "arguments": [ - { - "id": 26975, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26957, - "src": "827:6:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "817:9:35", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 26973, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "821:5:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 26976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "817:17:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "795:39:35" - }, - { - "body": { - "id": 27008, - "nodeType": "Block", - "src": "863:131:35", - "statements": [ - { - "expression": { - "id": 26983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 26981, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26957, - "src": "877:6:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "hexValue": "31", - "id": 26982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "887:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "877:11:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 26984, - "nodeType": "ExpressionStatement", - "src": "877:11:35" - }, - { - "expression": { - "id": 27002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 26985, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26972, - "src": "902:6:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 26987, - "indexExpression": { - "id": 26986, - "name": "digits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26957, - "src": "909:6:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "902:14:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3438", - "id": 26992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "932:2:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_48_by_1", - "typeString": "int_const 48" - }, - "value": "48" - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26995, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26940, - "src": "945:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "hexValue": "3130", - "id": 26996, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "953:2:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "945:10:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "937:7:35", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 26993, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "937:7:35", - "typeDescriptions": {} - } - }, - "id": 26998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "937:19:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "932:24:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 26991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "926:5:35", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 26990, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "926:5:35", - "typeDescriptions": {} - } - }, - "id": 27000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "926:31:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "id": 26989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "919:6:35", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes1_$", - "typeString": "type(bytes1)" - }, - "typeName": { - "id": 26988, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "919:6:35", - "typeDescriptions": {} - } - }, - "id": 27001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "919:39:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "902:56:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 27003, - "nodeType": "ExpressionStatement", - "src": "902:56:35" - }, - { - "expression": { - "id": 27006, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27004, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26940, - "src": "972:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "/=", - "rightHandSide": { - "hexValue": "3130", - "id": 27005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "981:2:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_10_by_1", - "typeString": "int_const 10" - }, - "value": "10" - }, - "src": "972:11:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27007, - "nodeType": "ExpressionStatement", - "src": "972:11:35" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 26980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 26978, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26940, - "src": "851:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "hexValue": "30", - "id": 26979, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "860:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "851:10:35", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27009, - "nodeType": "WhileStatement", - "src": "844:150:35" - }, - { - "expression": { - "arguments": [ - { - "id": 27012, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26972, - "src": "1017:6:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27011, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1010:6:35", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 27010, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1010:6:35", - "typeDescriptions": {} - } - }, - "id": 27013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1010:14:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 26944, - "id": 27014, - "nodeType": "Return", - "src": "1003:21:35" - } - ] - }, - "documentation": { - "id": 26938, - "nodeType": "StructuredDocumentation", - "src": "233:90:35", - "text": " @dev Converts a `uint256` to its ASCII `string` decimal representation." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "337:8:35", - "parameters": { - "id": 26941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26940, - "mutability": "mutable", - "name": "value", - "nameLocation": "354:5:35", - "nodeType": "VariableDeclaration", - "scope": 27016, - "src": "346:13:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26939, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "346:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "345:15:35" - }, - "returnParameters": { - "id": 26944, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26943, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27016, - "src": "384:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 26942, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "384:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "383:15:35" - }, - "scope": 27134, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27057, - "nodeType": "FunctionDefinition", - "src": "1136:329:35", - "body": { - "id": 27056, - "nodeType": "Block", - "src": "1210:255:35", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27024, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27019, - "src": "1224:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1233:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1224:10:35", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27030, - "nodeType": "IfStatement", - "src": "1220:54:35", - "trueBody": { - "id": 27029, - "nodeType": "Block", - "src": "1236:38:35", - "statements": [ - { - "expression": { - "hexValue": "30783030", - "id": 27027, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1257:6:35", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27489e20a0060b723a1748bdff5e44570ee9fae64141728105692eac6031e8a4", - "typeString": "literal_string \"0x00\"" - }, - "value": "0x00" - }, - "functionReturnParameters": 27023, - "id": 27028, - "nodeType": "Return", - "src": "1250:13:35" - } - ] - } - }, - { - "assignments": [ - 27032 - ], - "declarations": [ - { - "constant": false, - "id": 27032, - "mutability": "mutable", - "name": "temp", - "nameLocation": "1291:4:35", - "nodeType": "VariableDeclaration", - "scope": 27056, - "src": "1283:12:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27031, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1283:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27034, - "initialValue": { - "id": 27033, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27019, - "src": "1298:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1283:20:35" - }, - { - "assignments": [ - 27036 - ], - "declarations": [ - { - "constant": false, - "id": 27036, - "mutability": "mutable", - "name": "length", - "nameLocation": "1321:6:35", - "nodeType": "VariableDeclaration", - "scope": 27056, - "src": "1313:14:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27035, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1313:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27038, - "initialValue": { - "hexValue": "30", - "id": 27037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1330:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1313:18:35" - }, - { - "body": { - "id": 27049, - "nodeType": "Block", - "src": "1359:57:35", - "statements": [ - { - "expression": { - "id": 27043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1373:8:35", - "subExpression": { - "id": 27042, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27036, - "src": "1373:6:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27044, - "nodeType": "ExpressionStatement", - "src": "1373:8:35" - }, - { - "expression": { - "id": 27047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27045, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27032, - "src": "1395:4:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "38", - "id": 27046, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1404:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "1395:10:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27048, - "nodeType": "ExpressionStatement", - "src": "1395:10:35" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27039, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27032, - "src": "1348:4:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "hexValue": "30", - "id": 27040, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1356:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1348:9:35", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27050, - "nodeType": "WhileStatement", - "src": "1341:75:35" - }, - { - "expression": { - "arguments": [ - { - "id": 27052, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27019, - "src": "1444:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 27053, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27036, - "src": "1451:6:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27051, - "name": "toHexString", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 27057, - 27133 - ], - "referencedDeclaration": 27133, - "src": "1432:11:35", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256,uint256) pure returns (string memory)" - } - }, - "id": 27054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1432:26:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 27023, - "id": 27055, - "nodeType": "Return", - "src": "1425:33:35" - } - ] - }, - "documentation": { - "id": 27017, - "nodeType": "StructuredDocumentation", - "src": "1037:94:35", - "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toHexString", - "nameLocation": "1145:11:35", - "parameters": { - "id": 27020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27019, - "mutability": "mutable", - "name": "value", - "nameLocation": "1165:5:35", - "nodeType": "VariableDeclaration", - "scope": 27057, - "src": "1157:13:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1157:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1156:15:35" - }, - "returnParameters": { - "id": 27023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27022, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27057, - "src": "1195:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27021, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1195:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1194:15:35" - }, - "scope": 27134, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27133, - "nodeType": "FunctionDefinition", - "src": "1588:441:35", - "body": { - "id": 27132, - "nodeType": "Block", - "src": "1678:351:35", - "statements": [ - { - "assignments": [ - 27068 - ], - "declarations": [ - { - "constant": false, - "id": 27068, - "mutability": "mutable", - "name": "buffer", - "nameLocation": "1701:6:35", - "nodeType": "VariableDeclaration", - "scope": 27132, - "src": "1688:19:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 27067, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1688:5:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 27077, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1720:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27072, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27062, - "src": "1724:6:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1720:10:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "32", - "id": 27074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1733:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "1720:14:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 27070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "1710:9:35", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 27069, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1714:5:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 27076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1710:25:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1688:47:35" - }, - { - "expression": { - "id": 27082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 27078, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27068, - "src": "1745:6:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27080, - "indexExpression": { - "hexValue": "30", - "id": 27079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1752:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1745:9:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "30", - "id": 27081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1757:3:35", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "typeString": "literal_string \"0\"" - }, - "value": "0" - }, - "src": "1745:15:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 27083, - "nodeType": "ExpressionStatement", - "src": "1745:15:35" - }, - { - "expression": { - "id": 27088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 27084, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27068, - "src": "1770:6:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27086, - "indexExpression": { - "hexValue": "31", - "id": 27085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1777:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1770:9:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "78", - "id": 27087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1782:3:35", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83", - "typeString": "literal_string \"x\"" - }, - "value": "x" - }, - "src": "1770:15:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 27089, - "nodeType": "ExpressionStatement", - "src": "1770:15:35" - }, - { - "body": { - "id": 27118, - "nodeType": "Block", - "src": "1840:87:35", - "statements": [ - { - "expression": { - "id": 27112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 27104, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27068, - "src": "1854:6:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 27106, - "indexExpression": { - "id": 27105, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27091, - "src": "1861:1:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1854:9:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 27107, - "name": "_HEX_SYMBOLS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26937, - "src": "1866:12:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "id": 27111, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27108, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27060, - "src": "1879:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "307866", - "id": 27109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1887:3:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_15_by_1", - "typeString": "int_const 15" - }, - "value": "0xf" - }, - "src": "1879:11:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1866:25:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "1854:37:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 27113, - "nodeType": "ExpressionStatement", - "src": "1854:37:35" - }, - { - "expression": { - "id": 27116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27114, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27060, - "src": "1905:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": ">>=", - "rightHandSide": { - "hexValue": "34", - "id": 27115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1915:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "1905:11:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27117, - "nodeType": "ExpressionStatement", - "src": "1905:11:35" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27098, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27091, - "src": "1828:1:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 27099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1832:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1828:5:35", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 27119, - "initializationExpression": { - "assignments": [ - 27091 - ], - "declarations": [ - { - "constant": false, - "id": 27091, - "mutability": "mutable", - "name": "i", - "nameLocation": "1808:1:35", - "nodeType": "VariableDeclaration", - "scope": 27119, - "src": "1800:9:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27090, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1800:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 27097, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 27092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1812:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 27093, - "name": "length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27062, - "src": "1816:6:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1812:10:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 27095, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1825:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1812:14:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1800:26:35" - }, - "loopExpression": { - "expression": { - "id": 27102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": true, - "src": "1835:3:35", - "subExpression": { - "id": 27101, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27091, - "src": "1837:1:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27103, - "nodeType": "ExpressionStatement", - "src": "1835:3:35" - }, - "nodeType": "ForStatement", - "src": "1795:132:35" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 27121, - "name": "value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27060, - "src": "1944:5:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 27122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1953:1:35", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1944:10:35", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", - "id": 27124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1956:34:35", - "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": 27120, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "1936:7:35", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 27125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1936:55:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 27126, - "nodeType": "ExpressionStatement", - "src": "1936:55:35" - }, - { - "expression": { - "arguments": [ - { - "id": 27129, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27068, - "src": "2015:6:35", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2008:6:35", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 27127, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2008:6:35", - "typeDescriptions": {} - } - }, - "id": 27130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2008:14:35", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 27066, - "id": 27131, - "nodeType": "Return", - "src": "2001:21:35" - } - ] - }, - "documentation": { - "id": 27058, - "nodeType": "StructuredDocumentation", - "src": "1471:112:35", - "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "toHexString", - "nameLocation": "1597:11:35", - "parameters": { - "id": 27063, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27060, - "mutability": "mutable", - "name": "value", - "nameLocation": "1617:5:35", - "nodeType": "VariableDeclaration", - "scope": 27133, - "src": "1609:13:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27059, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1609:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27062, - "mutability": "mutable", - "name": "length", - "nameLocation": "1632:6:35", - "nodeType": "VariableDeclaration", - "scope": 27133, - "src": "1624:14:35", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27061, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1624:7:35", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1608:31:35" - }, - "returnParameters": { - "id": 27066, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27065, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27133, - "src": "1663:13:35", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1663:6:35", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1662:15:35" - }, - "scope": 27134, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Strings", - "contractDependencies": [], - "contractKind": "library", - "documentation": { - "id": 26934, - "nodeType": "StructuredDocumentation", - "src": "111:34:35", - "text": " @dev String operations." - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27134 - ], - "name": "Strings", - "nameLocation": "154:7:35", - "scope": 27135, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 35 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cbb211415e6e0ac33edfa7218d98bbfc8eae17c0f16a39aa55309ce1866bde8364736f6c63430008170033","sourceMap":"146:1885:36:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;146:1885:36;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cbb211415e6e0ac33edfa7218d98bbfc8eae17c0f16a39aa55309ce1866bde8364736f6c63430008170033","sourceMap":"146:1885:36:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/Strings.sol":"Strings"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"}},"version":1},"id":36} \ No newline at end of file diff --git a/out/Test.sol/Test.json b/out/Test.sol/Test.json index b6303e7..755f6bb 100644 --- a/out/Test.sol/Test.json +++ b/out/Test.sol/Test.json @@ -1,52429 +1 @@ -{ - "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_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "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": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_SCRIPT()": "f8ccbf47", - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6", - "vm()": "3a768463" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "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_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "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": "view", - "type": "function", - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Test.sol": "Test" - }, - "libraries": {} - }, - "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/Script.sol": { - "keccak256": "0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00", - "urls": [ - "bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b", - "dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b", - "urls": [ - "bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2", - "dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "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": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Test.sol", - "id": 6805, - "exportedSymbols": { - "DSTest": [ - 2272 - ], - "Script": [ - 2535 - ], - "StdStorage": [ - 5563 - ], - "Test": [ - 5465 - ], - "Vm": [ - 7558 - ], - "console": [ - 15622 - ], - "console2": [ - 23686 - ], - "stdError": [ - 5535 - ], - "stdJson": [ - 2895 - ], - "stdMath": [ - 6804 - ], - "stdStorage": [ - 6665 - ] - }, - "nodeType": "SourceUnit", - "src": "32:38033:7", - "nodes": [ - { - "id": 2897, - "nodeType": "PragmaDirective", - "src": "32:31:7", - "literals": [ - "solidity", - ">=", - "0.6", - ".0", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2898, - "nodeType": "PragmaDirective", - "src": "64:33:7", - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 2899, - "nodeType": "ImportDirective", - "src": "99:22:7", - "absolutePath": "lib/forge-std/src/Script.sol", - "file": "./Script.sol", - "nameLocation": "-1:-1:-1", - "scope": 6805, - "sourceUnit": 2536, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2900, - "nodeType": "ImportDirective", - "src": "122:26:7", - "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", - "file": "ds-test/test.sol", - "nameLocation": "-1:-1:-1", - "scope": 6805, - "sourceUnit": 2273, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 5465, - "nodeType": "ContractDefinition", - "src": "198:25824:7", - "nodes": [ - { - "id": 2908, - "nodeType": "UsingForDirective", - "src": "245:32:7", - "global": false, - "libraryName": { - "id": 2905, - "name": "stdStorage", - "nameLocations": [ - "251:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6665, - "src": "251:10:7" - }, - "typeName": { - "id": 2907, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2906, - "name": "StdStorage", - "nameLocations": [ - "266:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "266:10:7" - }, - "referencedDeclaration": 5563, - "src": "266:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - } - }, - { - "id": 2911, - "nodeType": "VariableDeclaration", - "src": "283:126:7", - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "309:11:7", - "scope": 5465, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2909, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "283:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 2910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "331:78:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "internal" - }, - { - "id": 2914, - "nodeType": "VariableDeclaration", - "src": "416:28:7", - "constant": false, - "mutability": "mutable", - "name": "stdstore", - "nameLocation": "436:8:7", - "scope": 5465, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 2913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2912, - "name": "StdStorage", - "nameLocations": [ - "416:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "416:10:7" - }, - "referencedDeclaration": 5563, - "src": "416:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "id": 2919, - "nodeType": "EventDefinition", - "src": "659:31:7", - "anonymous": false, - "eventSelector": "fb102865d50addddf69da9b5aa1bced66c80cf869a5c8d0471a467e18ce9cab1", - "name": "log_array", - "nameLocation": "665:9:7", - "parameters": { - "id": 2918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2917, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "685:3:7", - "nodeType": "VariableDeclaration", - "scope": 2919, - "src": "675:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "675:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2916, - "nodeType": "ArrayTypeName", - "src": "675:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "674:15:7" - } - }, - { - "id": 2924, - "nodeType": "EventDefinition", - "src": "695:30:7", - "anonymous": false, - "eventSelector": "890a82679b470f2bd82816ed9b161f97d8b967f37fa3647c21d5bf39749e2dd5", - "name": "log_array", - "nameLocation": "701:9:7", - "parameters": { - "id": 2923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2922, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "720:3:7", - "nodeType": "VariableDeclaration", - "scope": 2924, - "src": "711:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2920, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "711:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2921, - "nodeType": "ArrayTypeName", - "src": "711:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "710:14:7" - } - }, - { - "id": 2929, - "nodeType": "EventDefinition", - "src": "730:31:7", - "anonymous": false, - "eventSelector": "40e1840f5769073d61bd01372d9b75baa9842d5629a0c99ff103be1178a8e9e2", - "name": "log_array", - "nameLocation": "736:9:7", - "parameters": { - "id": 2928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2927, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "756:3:7", - "nodeType": "VariableDeclaration", - "scope": 2929, - "src": "746:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "746:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2926, - "nodeType": "ArrayTypeName", - "src": "746:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "745:15:7" - } - }, - { - "id": 2936, - "nodeType": "EventDefinition", - "src": "766:49:7", - "anonymous": false, - "eventSelector": "00aaa39c9ffb5f567a4534380c737075702e1f7f14107fc95328e3b56c0325fb", - "name": "log_named_array", - "nameLocation": "772:15:7", - "parameters": { - "id": 2935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2931, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "795:3:7", - "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "788:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2930, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "788:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2934, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "810:3:7", - "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "800:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2933, - "nodeType": "ArrayTypeName", - "src": "800:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "787:27:7" - } - }, - { - "id": 2943, - "nodeType": "EventDefinition", - "src": "820:48:7", - "anonymous": false, - "eventSelector": "a73eda09662f46dde729be4611385ff34fe6c44fbbc6f7e17b042b59a3445b57", - "name": "log_named_array", - "nameLocation": "826:15:7", - "parameters": { - "id": 2942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2938, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "849:3:7", - "nodeType": "VariableDeclaration", - "scope": 2943, - "src": "842:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2937, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "842:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2941, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "863:3:7", - "nodeType": "VariableDeclaration", - "scope": 2943, - "src": "854:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2939, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "854:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2940, - "nodeType": "ArrayTypeName", - "src": "854:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "841:26:7" - } - }, - { - "id": 2950, - "nodeType": "EventDefinition", - "src": "873:49:7", - "anonymous": false, - "eventSelector": "3bcfb2ae2e8d132dd1fce7cf278a9a19756a9fceabe470df3bdabb4bc577d1bd", - "name": "log_named_array", - "nameLocation": "879:15:7", - "parameters": { - "id": 2949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2945, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "902:3:7", - "nodeType": "VariableDeclaration", - "scope": 2950, - "src": "895:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2944, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "895:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2948, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "917:3:7", - "nodeType": "VariableDeclaration", - "scope": 2950, - "src": "907:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2946, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "907:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2947, - "nodeType": "ArrayTypeName", - "src": "907:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "894:27:7" - } - }, - { - "id": 2965, - "nodeType": "FunctionDefinition", - "src": "1208:85:7", - "body": { - "id": 2964, - "nodeType": "Block", - "src": "1245:48:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2958, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1263:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 2959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1269:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "1263:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 2960, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2952, - "src": "1281:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1263:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2955, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1255:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1258:4:7", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 6818, - "src": "1255:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 2962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1255:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2963, - "nodeType": "ExpressionStatement", - "src": "1255:31:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "skip", - "nameLocation": "1217:4:7", - "parameters": { - "id": 2953, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2952, - "mutability": "mutable", - "name": "time", - "nameLocation": "1230:4:7", - "nodeType": "VariableDeclaration", - "scope": 2965, - "src": "1222:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2951, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1221:14:7" - }, - "returnParameters": { - "id": 2954, - "nodeType": "ParameterList", - "parameters": [], - "src": "1245:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2980, - "nodeType": "FunctionDefinition", - "src": "1299:87:7", - "body": { - "id": 2979, - "nodeType": "Block", - "src": "1338:48:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2973, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1356:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 2974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1362:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "1356:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 2975, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2967, - "src": "1374:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1356:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2970, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1348:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1351:4:7", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 6818, - "src": "1348:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 2977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1348:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2978, - "nodeType": "ExpressionStatement", - "src": "1348:31:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewind", - "nameLocation": "1308:6:7", - "parameters": { - "id": 2968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2967, - "mutability": "mutable", - "name": "time", - "nameLocation": "1323:4:7", - "nodeType": "VariableDeclaration", - "scope": 2980, - "src": "1315:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1315:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1314:14:7" - }, - "returnParameters": { - "id": 2969, - "nodeType": "ParameterList", - "parameters": [], - "src": "1338:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3001, - "nodeType": "FunctionDefinition", - "src": "1449:98:7", - "body": { - "id": 3000, - "nodeType": "Block", - "src": "1485:62:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2988, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2982, - "src": "1503:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 2991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 2989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1508:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 2990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1513:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "1508:8:7", - "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": 2985, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1495:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1498:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1495:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 2992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1495:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2993, - "nodeType": "ExpressionStatement", - "src": "1495:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 2997, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2982, - "src": "1536:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2994, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1527:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1530:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7029, - "src": "1527:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 2998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1527:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2999, - "nodeType": "ExpressionStatement", - "src": "1527:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1458:4:7", - "parameters": { - "id": 2983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2982, - "mutability": "mutable", - "name": "who", - "nameLocation": "1471:3:7", - "nodeType": "VariableDeclaration", - "scope": 3001, - "src": "1463:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1463:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1462:13:7" - }, - "returnParameters": { - "id": 2984, - "nodeType": "ParameterList", - "parameters": [], - "src": "1485:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3022, - "nodeType": "FunctionDefinition", - "src": "1553:108:7", - "body": { - "id": 3021, - "nodeType": "Block", - "src": "1603:58:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3011, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3003, - "src": "1621:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3012, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3005, - "src": "1626:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3008, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1613:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1616:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1613:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1613:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3014, - "nodeType": "ExpressionStatement", - "src": "1613:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3018, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3003, - "src": "1650:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3015, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1641:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1644:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7029, - "src": "1641:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1641:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3020, - "nodeType": "ExpressionStatement", - "src": "1641:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1562:4:7", - "parameters": { - "id": 3006, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3003, - "mutability": "mutable", - "name": "who", - "nameLocation": "1575:3:7", - "nodeType": "VariableDeclaration", - "scope": 3022, - "src": "1567:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3002, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1567:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3005, - "mutability": "mutable", - "name": "give", - "nameLocation": "1588:4:7", - "nodeType": "VariableDeclaration", - "scope": 3022, - "src": "1580:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3004, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1580:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1566:27:7" - }, - "returnParameters": { - "id": 3007, - "nodeType": "ParameterList", - "parameters": [], - "src": "1603:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3046, - "nodeType": "FunctionDefinition", - "src": "1667:122:7", - "body": { - "id": 3045, - "nodeType": "Block", - "src": "1719:70:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3032, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "1737:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1742:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1747:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "1742:8:7", - "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": 3029, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1729:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1732:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1729:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1729:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3037, - "nodeType": "ExpressionStatement", - "src": "1729:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3041, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "1770:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3042, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "1775:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3038, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1761:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1764:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7041, - "src": "1761:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1761:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3044, - "nodeType": "ExpressionStatement", - "src": "1761:21:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1676:4:7", - "parameters": { - "id": 3027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3024, - "mutability": "mutable", - "name": "who", - "nameLocation": "1689:3:7", - "nodeType": "VariableDeclaration", - "scope": 3046, - "src": "1681:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1681:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3026, - "mutability": "mutable", - "name": "origin", - "nameLocation": "1702:6:7", - "nodeType": "VariableDeclaration", - "scope": 3046, - "src": "1694:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1694:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1680:29:7" - }, - "returnParameters": { - "id": 3028, - "nodeType": "ParameterList", - "parameters": [], - "src": "1719:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3070, - "nodeType": "FunctionDefinition", - "src": "1795:132:7", - "body": { - "id": 3069, - "nodeType": "Block", - "src": "1861:66:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3058, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3048, - "src": "1879:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3059, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "1884:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3055, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1871:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1874:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1871:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1871:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3061, - "nodeType": "ExpressionStatement", - "src": "1871:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3065, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3048, - "src": "1908:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3066, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3050, - "src": "1913:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3062, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1899:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1902:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7041, - "src": "1899:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1899:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3068, - "nodeType": "ExpressionStatement", - "src": "1899:21:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1804:4:7", - "parameters": { - "id": 3053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3048, - "mutability": "mutable", - "name": "who", - "nameLocation": "1817:3:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1809:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1809:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3050, - "mutability": "mutable", - "name": "origin", - "nameLocation": "1830:6:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1822:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1822:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3052, - "mutability": "mutable", - "name": "give", - "nameLocation": "1846:4:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1838:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3051, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1838:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1808:43:7" - }, - "returnParameters": { - "id": 3054, - "nodeType": "ParameterList", - "parameters": [], - "src": "1861:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3091, - "nodeType": "FunctionDefinition", - "src": "1998:108:7", - "body": { - "id": 3090, - "nodeType": "Block", - "src": "2039:67:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3078, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3072, - "src": "2057:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2062:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2067:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "2062:8:7", - "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": 3075, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2049:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2052:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2049:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2049:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3083, - "nodeType": "ExpressionStatement", - "src": "2049:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3087, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3072, - "src": "2095:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3084, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2081:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2084:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2081:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2081:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3089, - "nodeType": "ExpressionStatement", - "src": "2081:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2007:9:7", - "parameters": { - "id": 3073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3072, - "mutability": "mutable", - "name": "who", - "nameLocation": "2025:3:7", - "nodeType": "VariableDeclaration", - "scope": 3091, - "src": "2017:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3071, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2017:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2016:13:7" - }, - "returnParameters": { - "id": 3074, - "nodeType": "ParameterList", - "parameters": [], - "src": "2039:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3112, - "nodeType": "FunctionDefinition", - "src": "2112:118:7", - "body": { - "id": 3111, - "nodeType": "Block", - "src": "2167:63:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3101, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2185:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3102, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3095, - "src": "2190:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3098, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2177:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2180:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2177:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3104, - "nodeType": "ExpressionStatement", - "src": "2177:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3108, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2219:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3105, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2205:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2208:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2205:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2205:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3110, - "nodeType": "ExpressionStatement", - "src": "2205:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2121:9:7", - "parameters": { - "id": 3096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3093, - "mutability": "mutable", - "name": "who", - "nameLocation": "2139:3:7", - "nodeType": "VariableDeclaration", - "scope": 3112, - "src": "2131:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3092, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2131:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3095, - "mutability": "mutable", - "name": "give", - "nameLocation": "2152:4:7", - "nodeType": "VariableDeclaration", - "scope": 3112, - "src": "2144:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3094, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2144:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2130:27:7" - }, - "returnParameters": { - "id": 3097, - "nodeType": "ParameterList", - "parameters": [], - "src": "2167:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3136, - "nodeType": "FunctionDefinition", - "src": "2349:132:7", - "body": { - "id": 3135, - "nodeType": "Block", - "src": "2406:75:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3122, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "2424:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2434:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "2429:8:7", - "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": 3119, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2416:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2419:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2416:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2416:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3127, - "nodeType": "ExpressionStatement", - "src": "2416:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3131, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "2462:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3132, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3116, - "src": "2467:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3128, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2448:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2451:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7048, - "src": "2448:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2448:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3134, - "nodeType": "ExpressionStatement", - "src": "2448:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2358:9:7", - "parameters": { - "id": 3117, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3114, - "mutability": "mutable", - "name": "who", - "nameLocation": "2376:3:7", - "nodeType": "VariableDeclaration", - "scope": 3136, - "src": "2368:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3113, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2368:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3116, - "mutability": "mutable", - "name": "origin", - "nameLocation": "2389:6:7", - "nodeType": "VariableDeclaration", - "scope": 3136, - "src": "2381:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3115, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2381:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2367:29:7" - }, - "returnParameters": { - "id": 3118, - "nodeType": "ParameterList", - "parameters": [], - "src": "2406:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3160, - "nodeType": "FunctionDefinition", - "src": "2487:142:7", - "body": { - "id": 3159, - "nodeType": "Block", - "src": "2558:71:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3148, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3138, - "src": "2576:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3149, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3142, - "src": "2581:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3145, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2568:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2571:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2568:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2568:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3151, - "nodeType": "ExpressionStatement", - "src": "2568:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3155, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3138, - "src": "2610:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3156, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3140, - "src": "2615:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3152, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2596:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2599:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7048, - "src": "2596:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2596:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3158, - "nodeType": "ExpressionStatement", - "src": "2596:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2496:9:7", - "parameters": { - "id": 3143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3138, - "mutability": "mutable", - "name": "who", - "nameLocation": "2514:3:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2506:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3137, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2506:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3140, - "mutability": "mutable", - "name": "origin", - "nameLocation": "2527:6:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2519:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2519:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3142, - "mutability": "mutable", - "name": "give", - "nameLocation": "2543:4:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2535:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3141, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2535:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2505:43:7" - }, - "returnParameters": { - "id": 3144, - "nodeType": "ParameterList", - "parameters": [], - "src": "2558:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3177, - "nodeType": "FunctionDefinition", - "src": "2635:102:7", - "body": { - "id": 3176, - "nodeType": "Block", - "src": "2678:59:7", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 3165, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2688:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2691:9:7", - "memberName": "stopPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7051, - "src": "2688:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 3168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2688:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3169, - "nodeType": "ExpressionStatement", - "src": "2688:14:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3173, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3162, - "src": "2726:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3170, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2712:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2715:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2712:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2712:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3175, - "nodeType": "ExpressionStatement", - "src": "2712:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "changePrank", - "nameLocation": "2644:11:7", - "parameters": { - "id": 3163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3162, - "mutability": "mutable", - "name": "who", - "nameLocation": "2664:3:7", - "nodeType": "VariableDeclaration", - "scope": 3177, - "src": "2656:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2656:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2655:13:7" - }, - "returnParameters": { - "id": 3164, - "nodeType": "ParameterList", - "parameters": [], - "src": "2678:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3213, - "nodeType": "FunctionDefinition", - "src": "2810:233:7", - "body": { - "id": 3212, - "nodeType": "Block", - "src": "2905:138:7", - "statements": [ - { - "expression": { - "id": 3196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3186, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3184, - "src": "2915:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 3192, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "2963:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3190, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2946:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2950:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2946:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2946:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3189, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2936:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2936:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 3188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2928:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2928:7:7", - "typeDescriptions": {} - } - }, - "id": 3195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2928:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2915:55:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3197, - "nodeType": "ExpressionStatement", - "src": "2915:55:7" - }, - { - "expression": { - "id": 3203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3198, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3182, - "src": "2980:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 3201, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3184, - "src": "2995:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3199, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2987:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2990:4:7", - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 6876, - "src": "2987:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) external returns (address)" - } - }, - "id": 3202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2987:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2980:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3204, - "nodeType": "ExpressionStatement", - "src": "2980:26:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3208, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3182, - "src": "3025:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3209, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "3031:4:7", - "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": 3205, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "3016:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3019:5:7", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 7176, - "src": "3016:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 3210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3016:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3211, - "nodeType": "ExpressionStatement", - "src": "3016:20:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddrAndKey", - "nameLocation": "2819:14:7", - "parameters": { - "id": 3180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3179, - "mutability": "mutable", - "name": "name", - "nameLocation": "2848:4:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2834:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3178, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2834:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2833:20:7" - }, - "returnParameters": { - "id": 3185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3182, - "mutability": "mutable", - "name": "addr", - "nameLocation": "2879:4:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2871:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3181, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2871:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3184, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "2893:10:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2885:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3183, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2885:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2870:34:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3228, - "nodeType": "FunctionDefinition", - "src": "3082:116:7", - "body": { - "id": 3227, - "nodeType": "Block", - "src": "3151:47:7", - "statements": [ - { - "expression": { - "id": 3225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 3220, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3218, - "src": "3162:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - null - ], - "id": 3221, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "3161:7:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$__$", - "typeString": "tuple(address,)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 3223, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3215, - "src": "3186:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3222, - "name": "makeAddrAndKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3213, - "src": "3171:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$_t_address_$_t_uint256_$", - "typeString": "function (string memory) returns (address,uint256)" - } - }, - "id": 3224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3171:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_uint256_$", - "typeString": "tuple(address,uint256)" - } - }, - "src": "3161:30:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3226, - "nodeType": "ExpressionStatement", - "src": "3161:30:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddr", - "nameLocation": "3091:8:7", - "parameters": { - "id": 3216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3215, - "mutability": "mutable", - "name": "name", - "nameLocation": "3114:4:7", - "nodeType": "VariableDeclaration", - "scope": 3228, - "src": "3100:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3214, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3100:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3099:20:7" - }, - "returnParameters": { - "id": 3219, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3218, - "mutability": "mutable", - "name": "addr", - "nameLocation": "3145:4:7", - "nodeType": "VariableDeclaration", - "scope": 3228, - "src": "3137:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3217, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3137:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3136:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3258, - "nodeType": "FunctionDefinition", - "src": "3242:343:7", - "body": { - "id": 3257, - "nodeType": "Block", - "src": "3305:280:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "5741524e494e47", - "id": 3238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3337:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51aac253d1d3eb5d066c1c453a3853c9527c2f88e5bdf63a1c20e25e8cf24885", - "typeString": "literal_string \"WARNING\"" - }, - "value": "WARNING" - }, - { - "hexValue": "546573742074697028616464726573732c616464726573732c75696e74323536293a2054686520607469706020737464636865617420686173206265656e20646570726563617465642e2055736520606465616c6020696e73746561642e", - "id": 3239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3348:96:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_762cc440f1f8cee7b2ded8a4dd443d4267a1f30da9ac7fb41d8332668a3aaa5e", - "typeString": "literal_string \"Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead.\"" - }, - "value": "Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51aac253d1d3eb5d066c1c453a3853c9527c2f88e5bdf63a1c20e25e8cf24885", - "typeString": "literal_string \"WARNING\"" - }, - { - "typeIdentifier": "t_stringliteral_762cc440f1f8cee7b2ded8a4dd443d4267a1f30da9ac7fb41d8332668a3aaa5e", - "typeString": "literal_string \"Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead.\"" - } - ], - "id": 3237, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "3320:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3320:125:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3241, - "nodeType": "EmitStatement", - "src": "3315:130:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3254, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3234, - "src": "3573:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 3251, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3232, - "src": "3542:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3508:10:7", - "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": 3245, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "3484:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3242, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "3455:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3244, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3477:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "3455:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3247, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3504:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "3455:52:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:64:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3250, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3533:8:7", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6158, - "src": "3455:86:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:90:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3253, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3559:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "3455:117:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:123:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3256, - "nodeType": "ExpressionStatement", - "src": "3455:123:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tip", - "nameLocation": "3251:3:7", - "parameters": { - "id": 3235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3230, - "mutability": "mutable", - "name": "token", - "nameLocation": "3263:5:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3255:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3255:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3232, - "mutability": "mutable", - "name": "to", - "nameLocation": "3278:2:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3270:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3231, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3270:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3234, - "mutability": "mutable", - "name": "give", - "nameLocation": "3290:4:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3282:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3233, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3282:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3254:41:7" - }, - "returnParameters": { - "id": 3236, - "nodeType": "ParameterList", - "parameters": [], - "src": "3305:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3273, - "nodeType": "FunctionDefinition", - "src": "3676:83:7", - "body": { - "id": 3272, - "nodeType": "Block", - "src": "3725:34:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3268, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3260, - "src": "3743:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3269, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3262, - "src": "3747:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3265, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "3735:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3738:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "3735:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3735:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3271, - "nodeType": "ExpressionStatement", - "src": "3735:17:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3685:4:7", - "parameters": { - "id": 3263, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3260, - "mutability": "mutable", - "name": "to", - "nameLocation": "3698:2:7", - "nodeType": "VariableDeclaration", - "scope": 3273, - "src": "3690:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3690:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3262, - "mutability": "mutable", - "name": "give", - "nameLocation": "3710:4:7", - "nodeType": "VariableDeclaration", - "scope": 3273, - "src": "3702:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3702:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3689:26:7" - }, - "returnParameters": { - "id": 3264, - "nodeType": "ParameterList", - "parameters": [], - "src": "3725:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3290, - "nodeType": "FunctionDefinition", - "src": "3883:109:7", - "body": { - "id": 3289, - "nodeType": "Block", - "src": "3947:45:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3283, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3275, - "src": "3962:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3284, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3277, - "src": "3969:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3285, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3279, - "src": "3973:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "66616c7365", - "id": 3286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3979:5:7", - "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": 3282, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3273, - 3290, - 3393 - ], - "referencedDeclaration": 3393, - "src": "3957:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$", - "typeString": "function (address,address,uint256,bool)" - } - }, - "id": 3287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3957:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3288, - "nodeType": "ExpressionStatement", - "src": "3957:28:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3892:4:7", - "parameters": { - "id": 3280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3275, - "mutability": "mutable", - "name": "token", - "nameLocation": "3905:5:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3897:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3274, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3897:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3277, - "mutability": "mutable", - "name": "to", - "nameLocation": "3920:2:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3912:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3276, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3912:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3279, - "mutability": "mutable", - "name": "give", - "nameLocation": "3932:4:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3924:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3278, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3924:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3896:41:7" - }, - "returnParameters": { - "id": 3281, - "nodeType": "ParameterList", - "parameters": [], - "src": "3947:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3393, - "nodeType": "FunctionDefinition", - "src": "3998:917:7", - "body": { - "id": 3392, - "nodeType": "Block", - "src": "4075:840:7", - "statements": [ - { - "assignments": [ - null, - 3302 - ], - "declarations": [ - null, - { - "constant": false, - "id": 3302, - "mutability": "mutable", - "name": "balData", - "nameLocation": "4132:7:7", - "nodeType": "VariableDeclaration", - "scope": 3392, - "src": "4119:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3301, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4119:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3311, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4177:10:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - "value": "0x70a08231" - }, - { - "id": 3308, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "4189:2:7", - "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": 3305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4154:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4158:18:7", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "4154:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 3309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4154:38:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 3303, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4143:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4149:4:7", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "4143:10:7", - "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": 3310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4143:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4116:77:7" - }, - { - "assignments": [ - 3313 - ], - "declarations": [ - { - "constant": false, - "id": 3313, - "mutability": "mutable", - "name": "prevBal", - "nameLocation": "4211:7:7", - "nodeType": "VariableDeclaration", - "scope": 3392, - "src": "4203:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3312, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4203:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3321, - "initialValue": { - "arguments": [ - { - "id": 3316, - "name": "balData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "4232:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 3318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4242:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4242:7:7", - "typeDescriptions": {} - } - } - ], - "id": 3319, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4241:9:7", - "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": 3314, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4221:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4225:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4221:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 3320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4221:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4203:48:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3334, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4406:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 3331, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "4375:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4341:10:7", - "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": 3325, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4317:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3322, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "4288:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3324, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4310:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "4288:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4337:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "4288:52:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:64:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3330, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4366:8:7", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6158, - "src": "4288:86:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:90:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3333, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4392:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "4288:117:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:123:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3336, - "nodeType": "ExpressionStatement", - "src": "4288:123:7" - }, - { - "condition": { - "id": 3337, - "name": "adjust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3298, - "src": "4456:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3391, - "nodeType": "IfStatement", - "src": "4453:456:7", - "trueBody": { - "id": 3390, - "nodeType": "Block", - "src": "4463:446:7", - "statements": [ - { - "assignments": [ - null, - 3339 - ], - "declarations": [ - null, - { - "constant": false, - "id": 3339, - "mutability": "mutable", - "name": "totSupData", - "nameLocation": "4493:10:7", - "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "4480:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3338, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4480:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3347, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 3344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4541:10:7", - "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": 3342, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4518:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4522:18:7", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "4518:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 3345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4518:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 3340, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4507:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4513:4:7", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "4507:10:7", - "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": 3346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4507:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4477:76:7" - }, - { - "assignments": [ - 3349 - ], - "declarations": [ - { - "constant": false, - "id": 3349, - "mutability": "mutable", - "name": "totSup", - "nameLocation": "4575:6:7", - "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "4567:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3348, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4567:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3357, - "initialValue": { - "arguments": [ - { - "id": 3352, - "name": "totSupData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3339, - "src": "4595:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 3354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4608:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3353, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4608:7:7", - "typeDescriptions": {} - } - } - ], - "id": 3355, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4607:9:7", - "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": 3350, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4584:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4588:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4584:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 3356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4584:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4567:50:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3358, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4634:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 3359, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4641:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4634:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 3376, - "nodeType": "Block", - "src": "4715:59:7", - "statements": [ - { - "expression": { - "id": 3374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3369, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4733:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3370, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4744:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3371, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4751:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4744:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 3373, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4743:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4733:26:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3375, - "nodeType": "ExpressionStatement", - "src": "4733:26:7" - } - ] - }, - "id": 3377, - "nodeType": "IfStatement", - "src": "4631:143:7", - "trueBody": { - "id": 3368, - "nodeType": "Block", - "src": "4650:59:7", - "statements": [ - { - "expression": { - "id": 3366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3361, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4668:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3362, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4679:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3363, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4689:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4679:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 3365, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4678:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4668:26:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3367, - "nodeType": "ExpressionStatement", - "src": "4668:26:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 3387, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4891:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 3384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4848:10:7", - "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": 3381, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4820:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3378, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "4787:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4813:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "4787:32:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3383, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4844:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "4787:60:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:72:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3386, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4877:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "4787:103:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:111:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3389, - "nodeType": "ExpressionStatement", - "src": "4787:111:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "4007:4:7", - "parameters": { - "id": 3299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3292, - "mutability": "mutable", - "name": "token", - "nameLocation": "4020:5:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4012:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4012:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3294, - "mutability": "mutable", - "name": "to", - "nameLocation": "4035:2:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4027:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4027:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3296, - "mutability": "mutable", - "name": "give", - "nameLocation": "4047:4:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4039:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3295, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4039:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3298, - "mutability": "mutable", - "name": "adjust", - "nameLocation": "4058:6:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4053:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3297, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4053:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4011:54:7" - }, - "returnParameters": { - "id": 3300, - "nodeType": "ParameterList", - "parameters": [], - "src": "4075:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3457, - "nodeType": "FunctionDefinition", - "src": "4921:578:7", - "body": { - "id": 3456, - "nodeType": "Block", - "src": "5015:484:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3405, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5033:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 3406, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3399, - "src": "5040:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5033:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "5465737420626f756e642875696e743235362c75696e743235362c75696e74323536293a204d6178206973206c657373207468616e206d696e2e", - "id": 3408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5045:60:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3bbfc2dadabc14e74ee28873c31ab942a6b0084199df371a57fc6e23a8b91a7d", - "typeString": "literal_string \"Test bound(uint256,uint256,uint256): Max is less than min.\"" - }, - "value": "Test bound(uint256,uint256,uint256): Max is less than min." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3bbfc2dadabc14e74ee28873c31ab942a6b0084199df371a57fc6e23a8b91a7d", - "typeString": "literal_string \"Test bound(uint256,uint256,uint256): Max is less than min.\"" - } - ], - "id": 3404, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5025:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5025:81:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3410, - "nodeType": "ExpressionStatement", - "src": "5025:81:7" - }, - { - "assignments": [ - 3412 - ], - "declarations": [ - { - "constant": false, - "id": 3412, - "mutability": "mutable", - "name": "size", - "nameLocation": "5125:4:7", - "nodeType": "VariableDeclaration", - "scope": 3456, - "src": "5117:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3411, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5117:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3416, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3413, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3399, - "src": "5132:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3414, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5138:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5132:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5117:24:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3417, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5156:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 3418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5164:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5156:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3425, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5230:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 3426, - "name": "UINT256_MAX", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2911, - "src": "5238:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5230:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 3448, - "nodeType": "Block", - "src": "5316:123:7", - "statements": [ - { - "expression": { - "id": 3434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "5330:6:7", - "subExpression": { - "id": 3433, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5332:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3435, - "nodeType": "ExpressionStatement", - "src": "5330:6:7" - }, - { - "assignments": [ - 3437 - ], - "declarations": [ - { - "constant": false, - "id": 3437, - "mutability": "mutable", - "name": "mod", - "nameLocation": "5382:3:7", - "nodeType": "VariableDeclaration", - "scope": 3448, - "src": "5374:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5374:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3441, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3438, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "5388:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "id": 3439, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5392:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5388:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5374:22:7" - }, - { - "expression": { - "id": 3446, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3442, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5410:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3443, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5419:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 3444, - "name": "mod", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3437, - "src": "5425:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5419:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5410:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3447, - "nodeType": "ExpressionStatement", - "src": "5410:18:7" - } - ] - }, - "id": 3449, - "nodeType": "IfStatement", - "src": "5226:213:7", - "trueBody": { - "id": 3432, - "nodeType": "Block", - "src": "5259:35:7", - "statements": [ - { - "expression": { - "id": 3430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3428, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5273:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 3429, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "5282:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5273:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3431, - "nodeType": "ExpressionStatement", - "src": "5273:10:7" - } - ] - } - }, - "id": 3450, - "nodeType": "IfStatement", - "src": "5152:287:7", - "trueBody": { - "id": 3424, - "nodeType": "Block", - "src": "5175:37:7", - "statements": [ - { - "expression": { - "id": 3422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3420, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5189:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 3421, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5198:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5189:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3423, - "nodeType": "ExpressionStatement", - "src": "5189:12:7" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "426f756e6420526573756c74", - "id": 3452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5469:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - "value": "Bound Result" - }, - { - "id": 3453, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5485:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3451, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "5454:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5454:38:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3455, - "nodeType": "EmitStatement", - "src": "5449:43:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bound", - "nameLocation": "4930:5:7", - "parameters": { - "id": 3400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3395, - "mutability": "mutable", - "name": "x", - "nameLocation": "4944:1:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4936:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4936:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3397, - "mutability": "mutable", - "name": "min", - "nameLocation": "4955:3:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4947:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4947:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3399, - "mutability": "mutable", - "name": "max", - "nameLocation": "4968:3:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4960:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3398, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4960:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4935:37:7" - }, - "returnParameters": { - "id": 3403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3402, - "mutability": "mutable", - "name": "result", - "nameLocation": "5007:6:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4999:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4999:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4998:16:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3489, - "nodeType": "FunctionDefinition", - "src": "5659:457:7", - "body": { - "id": 3488, - "nodeType": "Block", - "src": "5770:346:7", - "statements": [ - { - "assignments": [ - 3467 - ], - "declarations": [ - { - "constant": false, - "id": 3467, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "5793:8:7", - "nodeType": "VariableDeclaration", - "scope": 3488, - "src": "5780:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5780:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3476, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 3472, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3459, - "src": "5832:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3470, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "5821:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5824:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "5821:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5821:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3474, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3461, - "src": "5839:4:7", - "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": 3468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5804:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5808:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5804:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5804:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5780:64:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "5906:79:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "5920:55:7", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5935:1:7", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "5942:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5952:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5938:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "5938:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "5965:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5959:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "5959:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "5928:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "5928:47:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "5920:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3464, - "isOffset": false, - "isSlot": false, - "src": "5920:4:7", - "valueSize": 1 - }, - { - "declaration": 3467, - "isOffset": false, - "isSlot": false, - "src": "5942:8:7", - "valueSize": 1 - }, - { - "declaration": 3467, - "isOffset": false, - "isSlot": false, - "src": "5965:8:7", - "valueSize": 1 - } - ], - "id": 3477, - "nodeType": "InlineAssembly", - "src": "5897:88:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3479, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3464, - "src": "6016:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6032:1:7", - "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": 3481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6024:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3480, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6024:7:7", - "typeDescriptions": {} - } - }, - "id": 3483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6024:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6016:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c6279746573293a204465706c6f796d656e74206661696c65642e", - "id": 3485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6048:51:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d1c806ce7af1725b71ce0c84a849070672773be785c276ca8554d3c1f196865d", - "typeString": "literal_string \"Test deployCode(string,bytes): Deployment failed.\"" - }, - "value": "Test deployCode(string,bytes): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d1c806ce7af1725b71ce0c84a849070672773be785c276ca8554d3c1f196865d", - "typeString": "literal_string \"Test deployCode(string,bytes): Deployment failed.\"" - } - ], - "id": 3478, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5995:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5995:114:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3487, - "nodeType": "ExpressionStatement", - "src": "5995:114:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "5668:10:7", - "parameters": { - "id": 3462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3459, - "mutability": "mutable", - "name": "what", - "nameLocation": "5693:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5679:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3458, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5679:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3461, - "mutability": "mutable", - "name": "args", - "nameLocation": "5712:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5699:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3460, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5699:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5678:39:7" - }, - "returnParameters": { - "id": 3465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3464, - "mutability": "mutable", - "name": "addr", - "nameLocation": "5760:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5752:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3463, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5752:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5751:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3515, - "nodeType": "FunctionDefinition", - "src": "6122:408:7", - "body": { - "id": 3514, - "nodeType": "Block", - "src": "6214:316:7", - "statements": [ - { - "assignments": [ - 3497 - ], - "declarations": [ - { - "constant": false, - "id": 3497, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "6237:8:7", - "nodeType": "VariableDeclaration", - "scope": 3514, - "src": "6224:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3496, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6224:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3502, - "initialValue": { - "arguments": [ - { - "id": 3500, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3491, - "src": "6259:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3498, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "6248:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6251:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "6248:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6248:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6224:40:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6326:79:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "6340:55:7", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6355:1:7", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6362:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6372:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6358:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "6358:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6385:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6379:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "6379:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "6348:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "6348:47:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "6340:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3494, - "isOffset": false, - "isSlot": false, - "src": "6340:4:7", - "valueSize": 1 - }, - { - "declaration": 3497, - "isOffset": false, - "isSlot": false, - "src": "6362:8:7", - "valueSize": 1 - }, - { - "declaration": 3497, - "isOffset": false, - "isSlot": false, - "src": "6385:8:7", - "valueSize": 1 - } - ], - "id": 3503, - "nodeType": "InlineAssembly", - "src": "6317:88:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3505, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3494, - "src": "6436:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6452:1:7", - "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": 3507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6444:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3506, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6444:7:7", - "typeDescriptions": {} - } - }, - "id": 3509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6444:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6436:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e67293a204465706c6f796d656e74206661696c65642e", - "id": 3511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6468:45:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b9fd17b1c001ca1277bfc68fcfcc57948bec4ffe1adf822157bd27978fa551cb", - "typeString": "literal_string \"Test deployCode(string): Deployment failed.\"" - }, - "value": "Test deployCode(string): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b9fd17b1c001ca1277bfc68fcfcc57948bec4ffe1adf822157bd27978fa551cb", - "typeString": "literal_string \"Test deployCode(string): Deployment failed.\"" - } - ], - "id": 3504, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6415:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6415:108:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3513, - "nodeType": "ExpressionStatement", - "src": "6415:108:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "6131:10:7", - "parameters": { - "id": 3492, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3491, - "mutability": "mutable", - "name": "what", - "nameLocation": "6156:4:7", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "6142:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3490, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6142:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6141:20:7" - }, - "returnParameters": { - "id": 3495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3494, - "mutability": "mutable", - "name": "addr", - "nameLocation": "6204:4:7", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "6196:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6196:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6195:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3550, - "nodeType": "FunctionDefinition", - "src": "6587:480:7", - "body": { - "id": 3549, - "nodeType": "Block", - "src": "6711:356:7", - "statements": [ - { - "assignments": [ - 3528 - ], - "declarations": [ - { - "constant": false, - "id": 3528, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "6734:8:7", - "nodeType": "VariableDeclaration", - "scope": 3549, - "src": "6721:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3527, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6721:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3537, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 3533, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3518, - "src": "6773:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3531, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "6762:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6765:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "6762:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6762:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3535, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3520, - "src": "6780:4:7", - "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": 3529, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6745:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6749:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "6745:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6745:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6721:64:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6847:81:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "6861:57:7", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "6876:3:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6885:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6895:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6881:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "6881:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6908:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6902:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "6902:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "6869:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "6869:49:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "6861:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3525, - "isOffset": false, - "isSlot": false, - "src": "6861:4:7", - "valueSize": 1 - }, - { - "declaration": 3528, - "isOffset": false, - "isSlot": false, - "src": "6885:8:7", - "valueSize": 1 - }, - { - "declaration": 3528, - "isOffset": false, - "isSlot": false, - "src": "6908:8:7", - "valueSize": 1 - }, - { - "declaration": 3522, - "isOffset": false, - "isSlot": false, - "src": "6876:3:7", - "valueSize": 1 - } - ], - "id": 3538, - "nodeType": "InlineAssembly", - "src": "6838:90:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3540, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3525, - "src": "6959:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6975:1:7", - "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": 3542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6967:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3541, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6967:7:7", - "typeDescriptions": {} - } - }, - "id": 3544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6967:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6959:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c62797465732c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 3546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6991:59:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48c6a907f17116971b60f748697256dfa1e2b6301c67424b0afa1c8e2a6fcf69", - "typeString": "literal_string \"Test deployCode(string,bytes,uint256): Deployment failed.\"" - }, - "value": "Test deployCode(string,bytes,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_48c6a907f17116971b60f748697256dfa1e2b6301c67424b0afa1c8e2a6fcf69", - "typeString": "literal_string \"Test deployCode(string,bytes,uint256): Deployment failed.\"" - } - ], - "id": 3539, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6938:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6938:122:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3548, - "nodeType": "ExpressionStatement", - "src": "6938:122:7" - } - ] - }, - "documentation": { - "id": 3516, - "nodeType": "StructuredDocumentation", - "src": "6536:46:7", - "text": "deploy contract with value on construction" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "6596:10:7", - "parameters": { - "id": 3523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3518, - "mutability": "mutable", - "name": "what", - "nameLocation": "6621:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6607:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6607:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3520, - "mutability": "mutable", - "name": "args", - "nameLocation": "6640:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6627:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3519, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6627:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3522, - "mutability": "mutable", - "name": "val", - "nameLocation": "6654:3:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6646:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3521, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6646:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6606:52:7" - }, - "returnParameters": { - "id": 3526, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3525, - "mutability": "mutable", - "name": "addr", - "nameLocation": "6701:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6693:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3524, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6693:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6692:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3578, - "nodeType": "FunctionDefinition", - "src": "7073:431:7", - "body": { - "id": 3577, - "nodeType": "Block", - "src": "7178:326:7", - "statements": [ - { - "assignments": [ - 3560 - ], - "declarations": [ - { - "constant": false, - "id": 3560, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "7201:8:7", - "nodeType": "VariableDeclaration", - "scope": 3577, - "src": "7188:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7188:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3565, - "initialValue": { - "arguments": [ - { - "id": 3563, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3552, - "src": "7223:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3561, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "7212:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7215:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "7212:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7212:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7188:40:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "7290:81:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "7304:57:7", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "7319:3:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "7328:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7338:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7324:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "7324:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "7351:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "7345:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "7345:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "7312:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "7312:49:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "7304:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3557, - "isOffset": false, - "isSlot": false, - "src": "7304:4:7", - "valueSize": 1 - }, - { - "declaration": 3560, - "isOffset": false, - "isSlot": false, - "src": "7328:8:7", - "valueSize": 1 - }, - { - "declaration": 3560, - "isOffset": false, - "isSlot": false, - "src": "7351:8:7", - "valueSize": 1 - }, - { - "declaration": 3554, - "isOffset": false, - "isSlot": false, - "src": "7319:3:7", - "valueSize": 1 - } - ], - "id": 3566, - "nodeType": "InlineAssembly", - "src": "7281:90:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3568, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3557, - "src": "7402:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7418:1:7", - "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": 3570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7410:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7410:7:7", - "typeDescriptions": {} - } - }, - "id": 3572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7410:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7402:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 3574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7434:53:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3fa81ff94e5c0be4a794a2745793ac7e0a88d8864b4f59c0b3d5cc00c8442226", - "typeString": "literal_string \"Test deployCode(string,uint256): Deployment failed.\"" - }, - "value": "Test deployCode(string,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3fa81ff94e5c0be4a794a2745793ac7e0a88d8864b4f59c0b3d5cc00c8442226", - "typeString": "literal_string \"Test deployCode(string,uint256): Deployment failed.\"" - } - ], - "id": 3567, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7381:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7381:116:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3576, - "nodeType": "ExpressionStatement", - "src": "7381:116:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "7082:10:7", - "parameters": { - "id": 3555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3552, - "mutability": "mutable", - "name": "what", - "nameLocation": "7107:4:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7093:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3551, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7093:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3554, - "mutability": "mutable", - "name": "val", - "nameLocation": "7121:3:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7113:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3553, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7113:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7092:33:7" - }, - "returnParameters": { - "id": 3558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3557, - "mutability": "mutable", - "name": "addr", - "nameLocation": "7168:4:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7160:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3556, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7160:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7159:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3592, - "nodeType": "FunctionDefinition", - "src": "7724:118:7", - "body": { - "id": 3591, - "nodeType": "Block", - "src": "7774:68:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7806:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3585, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3580, - "src": "7815:3:7", - "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": 3583, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "7789:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7789:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3587, - "nodeType": "EmitStatement", - "src": "7784:35:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3588, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "7829:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7829:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3590, - "nodeType": "ExpressionStatement", - "src": "7829:6:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fail", - "nameLocation": "7733:4:7", - "parameters": { - "id": 3581, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3580, - "mutability": "mutable", - "name": "err", - "nameLocation": "7752:3:7", - "nodeType": "VariableDeclaration", - "scope": 3592, - "src": "7738:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3579, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7737:19:7" - }, - "returnParameters": { - "id": 3582, - "nodeType": "ParameterList", - "parameters": [], - "src": "7774:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3603, - "nodeType": "FunctionDefinition", - "src": "7848:83:7", - "body": { - "id": 3602, - "nodeType": "Block", - "src": "7897:34:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "7918:5:7", - "subExpression": { - "id": 3598, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3594, - "src": "7919:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 3597, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 755, - "src": "7907:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool)" - } - }, - "id": 3600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7907:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3601, - "nodeType": "ExpressionStatement", - "src": "7907:17:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "7857:11:7", - "parameters": { - "id": 3595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3594, - "mutability": "mutable", - "name": "data", - "nameLocation": "7874:4:7", - "nodeType": "VariableDeclaration", - "scope": 3603, - "src": "7869:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3593, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7869:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7868:11:7" - }, - "returnParameters": { - "id": 3596, - "nodeType": "ParameterList", - "parameters": [], - "src": "7897:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3617, - "nodeType": "FunctionDefinition", - "src": "7937:107:7", - "body": { - "id": 3616, - "nodeType": "Block", - "src": "8005:39:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "8026:5:7", - "subExpression": { - "id": 3611, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3605, - "src": "8027:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3613, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3607, - "src": "8033:3:7", - "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": 3610, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 776, - "src": "8015:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory)" - } - }, - "id": 3614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8015:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3615, - "nodeType": "ExpressionStatement", - "src": "8015:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "7946:11:7", - "parameters": { - "id": 3608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3605, - "mutability": "mutable", - "name": "data", - "nameLocation": "7963:4:7", - "nodeType": "VariableDeclaration", - "scope": 3617, - "src": "7958:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3604, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7958:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3607, - "mutability": "mutable", - "name": "err", - "nameLocation": "7983:3:7", - "nodeType": "VariableDeclaration", - "scope": 3617, - "src": "7969:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3606, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7969:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7957:30:7" - }, - "returnParameters": { - "id": 3609, - "nodeType": "ParameterList", - "parameters": [], - "src": "8005:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3653, - "nodeType": "FunctionDefinition", - "src": "8050:326:7", - "body": { - "id": 3652, - "nodeType": "Block", - "src": "8093:283:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3624, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3619, - "src": "8107:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 3625, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3621, - "src": "8112:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8107:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3651, - "nodeType": "IfStatement", - "src": "8103:267:7", - "trueBody": { - "id": 3650, - "nodeType": "Block", - "src": "8115:255:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b626f6f6c5d", - "id": 3628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8154:36:7", - "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": 3627, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8134:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8134:57:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3630, - "nodeType": "EmitStatement", - "src": "8129:62:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3632, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8230:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "condition": { - "id": 3633, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3621, - "src": "8244:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 3635, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8257:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 3636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8244:20:7", - "trueExpression": { - "hexValue": "74727565", - "id": 3634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8248:6:7", - "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": 3631, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8210:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8210:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3638, - "nodeType": "EmitStatement", - "src": "8205:60:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8304:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "condition": { - "id": 3641, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3619, - "src": "8318:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 3643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8331:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 3644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8318:20:7", - "trueExpression": { - "hexValue": "74727565", - "id": 3642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8322:6:7", - "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": 3639, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8284:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8284:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3646, - "nodeType": "EmitStatement", - "src": "8279:60:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3647, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "8353:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8353:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3649, - "nodeType": "ExpressionStatement", - "src": "8353:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8059:8:7", - "parameters": { - "id": 3622, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3619, - "mutability": "mutable", - "name": "a", - "nameLocation": "8073:1:7", - "nodeType": "VariableDeclaration", - "scope": 3653, - "src": "8068:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3618, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8068:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3621, - "mutability": "mutable", - "name": "b", - "nameLocation": "8081:1:7", - "nodeType": "VariableDeclaration", - "scope": 3653, - "src": "8076:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8076:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8067:16:7" - }, - "returnParameters": { - "id": 3623, - "nodeType": "ParameterList", - "parameters": [], - "src": "8093:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3678, - "nodeType": "FunctionDefinition", - "src": "8382:178:7", - "body": { - "id": 3677, - "nodeType": "Block", - "src": "8444:116:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3662, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3655, - "src": "8458:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 3663, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3657, - "src": "8463:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8458:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3676, - "nodeType": "IfStatement", - "src": "8454:100:7", - "trueBody": { - "id": 3675, - "nodeType": "Block", - "src": "8466:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8502:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3667, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3659, - "src": "8511:3:7", - "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": 3665, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8485:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8485:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3669, - "nodeType": "EmitStatement", - "src": "8480:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3671, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3655, - "src": "8538:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3672, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3657, - "src": "8541:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 3670, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3653, - "src": "8529:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_bool_$returns$__$", - "typeString": "function (bool,bool)" - } - }, - "id": 3673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8529:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3674, - "nodeType": "ExpressionStatement", - "src": "8529:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8391:8:7", - "parameters": { - "id": 3660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3655, - "mutability": "mutable", - "name": "a", - "nameLocation": "8405:1:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8400:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3654, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8400:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3657, - "mutability": "mutable", - "name": "b", - "nameLocation": "8413:1:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8408:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8408:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3659, - "mutability": "mutable", - "name": "err", - "nameLocation": "8430:3:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8416:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3658, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8416:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8399:35:7" - }, - "returnParameters": { - "id": 3661, - "nodeType": "ParameterList", - "parameters": [], - "src": "8444:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3691, - "nodeType": "FunctionDefinition", - "src": "8566:91:7", - "body": { - "id": 3690, - "nodeType": "Block", - "src": "8625:32:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3686, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3680, - "src": "8645:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3687, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3682, - "src": "8648:1:7", - "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": 3685, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2244, - "src": "8635:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,bytes memory)" - } - }, - "id": 3688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8635:15:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3689, - "nodeType": "ExpressionStatement", - "src": "8635:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8575:8:7", - "parameters": { - "id": 3683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3680, - "mutability": "mutable", - "name": "a", - "nameLocation": "8597:1:7", - "nodeType": "VariableDeclaration", - "scope": 3691, - "src": "8584:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3679, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8584:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3682, - "mutability": "mutable", - "name": "b", - "nameLocation": "8613:1:7", - "nodeType": "VariableDeclaration", - "scope": 3691, - "src": "8600:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3681, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8600:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8583:32:7" - }, - "returnParameters": { - "id": 3684, - "nodeType": "ParameterList", - "parameters": [], - "src": "8625:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3707, - "nodeType": "FunctionDefinition", - "src": "8663:115:7", - "body": { - "id": 3706, - "nodeType": "Block", - "src": "8741:37:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3701, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3693, - "src": "8761:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3702, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3695, - "src": "8764:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3703, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3697, - "src": "8767:3:7", - "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": 3700, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2271, - "src": "8751:9:7", - "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": 3704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8751:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3705, - "nodeType": "ExpressionStatement", - "src": "8751:20:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8672:8:7", - "parameters": { - "id": 3698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3693, - "mutability": "mutable", - "name": "a", - "nameLocation": "8694:1:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8681:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3692, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8681:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3695, - "mutability": "mutable", - "name": "b", - "nameLocation": "8710:1:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8697:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3694, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8697:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3697, - "mutability": "mutable", - "name": "err", - "nameLocation": "8727:3:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8713:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3696, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8713:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8680:51:7" - }, - "returnParameters": { - "id": 3699, - "nodeType": "ParameterList", - "parameters": [], - "src": "8741:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3749, - "nodeType": "FunctionDefinition", - "src": "8784:336:7", - "body": { - "id": 3748, - "nodeType": "Block", - "src": "8851:269:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3719, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "8886:1:7", - "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": 3717, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8875:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8879:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8875:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8875:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3716, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8865:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8865:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3725, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "8914:1:7", - "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": 3723, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8903:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8907:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8903:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8903:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3722, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8893:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8893:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8865:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3747, - "nodeType": "IfStatement", - "src": "8861:253:7", - "trueBody": { - "id": 3746, - "nodeType": "Block", - "src": "8919:195:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e745b5d5d", - "id": 3730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8942:38:7", - "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": 3729, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8938:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8938:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3732, - "nodeType": "EmitStatement", - "src": "8933:48:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9016:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3735, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "9030:1:7", - "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": 3733, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2936, - "src": "9000:15:7", - "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": 3736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9000:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3737, - "nodeType": "EmitStatement", - "src": "8995:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9067:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3740, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "9081:1:7", - "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": 3738, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2936, - "src": "9051:15:7", - "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": 3741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9051:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3742, - "nodeType": "EmitStatement", - "src": "9046:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3743, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9097:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9097:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3745, - "nodeType": "ExpressionStatement", - "src": "9097:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8793:8:7", - "parameters": { - "id": 3714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3710, - "mutability": "mutable", - "name": "a", - "nameLocation": "8819:1:7", - "nodeType": "VariableDeclaration", - "scope": 3749, - "src": "8802:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3708, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8802:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3709, - "nodeType": "ArrayTypeName", - "src": "8802:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3713, - "mutability": "mutable", - "name": "b", - "nameLocation": "8839:1:7", - "nodeType": "VariableDeclaration", - "scope": 3749, - "src": "8822:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3711, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8822:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3712, - "nodeType": "ArrayTypeName", - "src": "8822:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "8801:40:7" - }, - "returnParameters": { - "id": 3715, - "nodeType": "ParameterList", - "parameters": [], - "src": "8851:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3791, - "nodeType": "FunctionDefinition", - "src": "9126:333:7", - "body": { - "id": 3790, - "nodeType": "Block", - "src": "9191:268:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3761, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "9226:1:7", - "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": 3759, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9215:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9219:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9215:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9215:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3758, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9205:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9205:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3767, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3755, - "src": "9254:1:7", - "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": 3765, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9243:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9247:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9243:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9243:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3764, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9233:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9233:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9205:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3789, - "nodeType": "IfStatement", - "src": "9201:252:7", - "trueBody": { - "id": 3788, - "nodeType": "Block", - "src": "9259:194:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b696e745b5d5d", - "id": 3772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9282:37:7", - "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": 3771, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9278:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9278:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3774, - "nodeType": "EmitStatement", - "src": "9273:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9355:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3777, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3755, - "src": "9369:1:7", - "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": 3775, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2943, - "src": "9339:15:7", - "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": 3778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9339:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3779, - "nodeType": "EmitStatement", - "src": "9334:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3781, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9406:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3782, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "9420:1:7", - "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": 3780, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2943, - "src": "9390:15:7", - "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": 3783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9390:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3784, - "nodeType": "EmitStatement", - "src": "9385:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3785, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9436:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9436:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3787, - "nodeType": "ExpressionStatement", - "src": "9436:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9135:8:7", - "parameters": { - "id": 3756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3752, - "mutability": "mutable", - "name": "a", - "nameLocation": "9160:1:7", - "nodeType": "VariableDeclaration", - "scope": 3791, - "src": "9144:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3750, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9144:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3751, - "nodeType": "ArrayTypeName", - "src": "9144:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3755, - "mutability": "mutable", - "name": "b", - "nameLocation": "9179:1:7", - "nodeType": "VariableDeclaration", - "scope": 3791, - "src": "9163:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3753, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9163:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3754, - "nodeType": "ArrayTypeName", - "src": "9163:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "9143:38:7" - }, - "returnParameters": { - "id": 3757, - "nodeType": "ParameterList", - "parameters": [], - "src": "9191:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3833, - "nodeType": "FunctionDefinition", - "src": "9465:339:7", - "body": { - "id": 3832, - "nodeType": "Block", - "src": "9532:272:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3803, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3794, - "src": "9567:1:7", - "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": 3801, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9556:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9560:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9556:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9556:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3800, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9546:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9546:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3809, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3797, - "src": "9595:1:7", - "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": 3807, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9584:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9588:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9584:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9584:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3806, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9574:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9574:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9546:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3831, - "nodeType": "IfStatement", - "src": "9542:256:7", - "trueBody": { - "id": 3830, - "nodeType": "Block", - "src": "9600:198:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b616464726573735b5d5d", - "id": 3814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9623:41:7", - "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": 3813, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9619:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9619:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3816, - "nodeType": "EmitStatement", - "src": "9614:51:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9700:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3819, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3797, - "src": "9714:1:7", - "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": 3817, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2950, - "src": "9684:15:7", - "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": 3820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9684:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3821, - "nodeType": "EmitStatement", - "src": "9679:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9751:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3824, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3794, - "src": "9765:1:7", - "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": 3822, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2950, - "src": "9735:15:7", - "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": 3825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9735:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3826, - "nodeType": "EmitStatement", - "src": "9730:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3827, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9781:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9781:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3829, - "nodeType": "ExpressionStatement", - "src": "9781:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9474:8:7", - "parameters": { - "id": 3798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3794, - "mutability": "mutable", - "name": "a", - "nameLocation": "9500:1:7", - "nodeType": "VariableDeclaration", - "scope": 3833, - "src": "9483:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3792, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9483:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3793, - "nodeType": "ArrayTypeName", - "src": "9483:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3797, - "mutability": "mutable", - "name": "b", - "nameLocation": "9520:1:7", - "nodeType": "VariableDeclaration", - "scope": 3833, - "src": "9503:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3795, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9503:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3796, - "nodeType": "ArrayTypeName", - "src": "9503:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "9482:40:7" - }, - "returnParameters": { - "id": 3799, - "nodeType": "ParameterList", - "parameters": [], - "src": "9532:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3870, - "nodeType": "FunctionDefinition", - "src": "9810:248:7", - "body": { - "id": 3869, - "nodeType": "Block", - "src": "9896:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3847, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3836, - "src": "9931:1:7", - "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": 3845, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9920:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9924:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9920:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9920:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3844, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9910:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9910:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3853, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3839, - "src": "9959:1:7", - "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": 3851, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9948:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9952:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9948:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9948:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3850, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9938:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9938:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9910:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3868, - "nodeType": "IfStatement", - "src": "9906:146:7", - "trueBody": { - "id": 3867, - "nodeType": "Block", - "src": "9964:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10000:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3859, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3841, - "src": "10009:3:7", - "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": 3857, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "9983:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3861, - "nodeType": "EmitStatement", - "src": "9978:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3863, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3836, - "src": "10036:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - { - "id": 3864, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3839, - "src": "10039:1:7", - "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": 3862, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3749, - "src": "10027:8:7", - "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": 3865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10027:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3866, - "nodeType": "ExpressionStatement", - "src": "10027:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9819:8:7", - "parameters": { - "id": 3842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3836, - "mutability": "mutable", - "name": "a", - "nameLocation": "9845:1:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9828:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3834, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9828:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3835, - "nodeType": "ArrayTypeName", - "src": "9828:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3839, - "mutability": "mutable", - "name": "b", - "nameLocation": "9865:1:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9848:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3838, - "nodeType": "ArrayTypeName", - "src": "9848:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3841, - "mutability": "mutable", - "name": "err", - "nameLocation": "9882:3:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9868:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3840, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9868:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9827:59:7" - }, - "returnParameters": { - "id": 3843, - "nodeType": "ParameterList", - "parameters": [], - "src": "9896:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3907, - "nodeType": "FunctionDefinition", - "src": "10064:246:7", - "body": { - "id": 3906, - "nodeType": "Block", - "src": "10148:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3884, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "10183:1:7", - "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": 3882, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10172:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10176:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10172:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10172:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3881, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10162:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10162:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3890, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3876, - "src": "10211:1:7", - "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": 3888, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10200:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10204:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10200:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3887, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10190:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10190:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10162:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3905, - "nodeType": "IfStatement", - "src": "10158:146:7", - "trueBody": { - "id": 3904, - "nodeType": "Block", - "src": "10216:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10252:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3896, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3878, - "src": "10261:3:7", - "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": 3894, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10235:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10235:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3898, - "nodeType": "EmitStatement", - "src": "10230:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3900, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "10288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - }, - { - "id": 3901, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3876, - "src": "10291:1:7", - "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": 3899, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3791, - "src": "10279:8:7", - "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": 3902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10279:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3903, - "nodeType": "ExpressionStatement", - "src": "10279:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "10073:8:7", - "parameters": { - "id": 3879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3873, - "mutability": "mutable", - "name": "a", - "nameLocation": "10098:1:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10082:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3871, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10082:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3872, - "nodeType": "ArrayTypeName", - "src": "10082:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3876, - "mutability": "mutable", - "name": "b", - "nameLocation": "10117:1:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10101:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3874, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10101:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3875, - "nodeType": "ArrayTypeName", - "src": "10101:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3878, - "mutability": "mutable", - "name": "err", - "nameLocation": "10134:3:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10120:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3877, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10120:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10081:57:7" - }, - "returnParameters": { - "id": 3880, - "nodeType": "ParameterList", - "parameters": [], - "src": "10148:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3944, - "nodeType": "FunctionDefinition", - "src": "10317:248:7", - "body": { - "id": 3943, - "nodeType": "Block", - "src": "10403:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3921, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3910, - "src": "10438:1:7", - "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": 3919, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10427:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10431:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10427:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10427:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3918, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10417:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10417:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3927, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3913, - "src": "10466:1:7", - "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": 3925, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10455:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10459:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10455:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10455:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3924, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10445:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10445:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10417:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3942, - "nodeType": "IfStatement", - "src": "10413:146:7", - "trueBody": { - "id": 3941, - "nodeType": "Block", - "src": "10471:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10507:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3933, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3915, - "src": "10516:3:7", - "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": 3931, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10490:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10490:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3935, - "nodeType": "EmitStatement", - "src": "10485:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3937, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3910, - "src": "10543:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 3938, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3913, - "src": "10546:1:7", - "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": 3936, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3833, - "src": "10534:8:7", - "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": 3939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10534:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3940, - "nodeType": "ExpressionStatement", - "src": "10534:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "10326:8:7", - "parameters": { - "id": 3916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3910, - "mutability": "mutable", - "name": "a", - "nameLocation": "10352:1:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10335:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10335:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3909, - "nodeType": "ArrayTypeName", - "src": "10335:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3913, - "mutability": "mutable", - "name": "b", - "nameLocation": "10372:1:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10355:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3911, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10355:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3912, - "nodeType": "ArrayTypeName", - "src": "10355:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3915, - "mutability": "mutable", - "name": "err", - "nameLocation": "10389:3:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10375:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10375:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10334:59:7" - }, - "returnParameters": { - "id": 3917, - "nodeType": "ParameterList", - "parameters": [], - "src": "10403:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3963, - "nodeType": "FunctionDefinition", - "src": "10571:102:7", - "body": { - "id": 3962, - "nodeType": "Block", - "src": "10624:49:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 3954, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3946, - "src": "10651:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10643:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10643:7:7", - "typeDescriptions": {} - } - }, - "id": 3955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10643:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 3958, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3948, - "src": "10663:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3957, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10655:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10655:7:7", - "typeDescriptions": {} - } - }, - "id": 3959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10655:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3951, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "10634:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 3960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10634:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3961, - "nodeType": "ExpressionStatement", - "src": "10634:32:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqUint", - "nameLocation": "10580:12:7", - "parameters": { - "id": 3949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3946, - "mutability": "mutable", - "name": "a", - "nameLocation": "10601:1:7", - "nodeType": "VariableDeclaration", - "scope": 3963, - "src": "10593:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3945, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10593:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3948, - "mutability": "mutable", - "name": "b", - "nameLocation": "10612:1:7", - "nodeType": "VariableDeclaration", - "scope": 3963, - "src": "10604:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3947, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10604:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10592:22:7" - }, - "returnParameters": { - "id": 3950, - "nodeType": "ParameterList", - "parameters": [], - "src": "10624:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4013, - "nodeType": "FunctionDefinition", - "src": "10679:516:7", - "body": { - "id": 4012, - "nodeType": "Block", - "src": "10793:402:7", - "statements": [ - { - "assignments": [ - 3973 - ], - "declarations": [ - { - "constant": false, - "id": 3973, - "mutability": "mutable", - "name": "delta", - "nameLocation": "10811:5:7", - "nodeType": "VariableDeclaration", - "scope": 4012, - "src": "10803:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3972, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10803:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3979, - "initialValue": { - "arguments": [ - { - "id": 3976, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "10833:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3977, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "10836:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3974, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "10819:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10827:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6715, - "src": "10819:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10819:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10803:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3980, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3973, - "src": "10853:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3981, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3969, - "src": "10861:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10853:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4011, - "nodeType": "IfStatement", - "src": "10849:340:7", - "trueBody": { - "id": 4010, - "nodeType": "Block", - "src": "10871:318:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 3984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10906:36:7", - "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": 3983, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "10890:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10890:53:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3986, - "nodeType": "EmitStatement", - "src": "10885:58:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10978:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3989, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "10992:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3987, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "10962:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10962:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3991, - "nodeType": "EmitStatement", - "src": "10957:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11029:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3994, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "11043:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3992, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11013:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11013:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3996, - "nodeType": "EmitStatement", - "src": "11008:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 3998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11080:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 3999, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3969, - "src": "11094:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3997, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11064:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11064:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4001, - "nodeType": "EmitStatement", - "src": "11059:44:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 4003, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11138:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 4004, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3973, - "src": "11152:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4002, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11122:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11122:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4006, - "nodeType": "EmitStatement", - "src": "11117:41:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4007, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "11172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11172:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4009, - "nodeType": "ExpressionStatement", - "src": "11172:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "10688:17:7", - "parameters": { - "id": 3970, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3965, - "mutability": "mutable", - "name": "a", - "nameLocation": "10723:1:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10715:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3964, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10715:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3967, - "mutability": "mutable", - "name": "b", - "nameLocation": "10742:1:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10734:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10734:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3969, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "10761:8:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10753:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3968, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10753:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10705:70:7" - }, - "returnParameters": { - "id": 3971, - "nodeType": "ParameterList", - "parameters": [], - "src": "10793:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4049, - "nodeType": "FunctionDefinition", - "src": "11201:335:7", - "body": { - "id": 4048, - "nodeType": "Block", - "src": "11342:194:7", - "statements": [ - { - "assignments": [ - 4025 - ], - "declarations": [ - { - "constant": false, - "id": 4025, - "mutability": "mutable", - "name": "delta", - "nameLocation": "11360:5:7", - "nodeType": "VariableDeclaration", - "scope": 4048, - "src": "11352:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4024, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11352:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4031, - "initialValue": { - "arguments": [ - { - "id": 4028, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4015, - "src": "11382:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4029, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4017, - "src": "11385:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4026, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "11368:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11376:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6715, - "src": "11368:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11368:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11352:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4032, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4025, - "src": "11402:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4033, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4019, - "src": "11410:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11402:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4047, - "nodeType": "IfStatement", - "src": "11398:132:7", - "trueBody": { - "id": 4046, - "nodeType": "Block", - "src": "11420:110:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11459:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4037, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4021, - "src": "11468:3:7", - "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": 4035, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "11439:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11439:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4039, - "nodeType": "EmitStatement", - "src": "11434:38:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4041, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4015, - "src": "11504:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4042, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4017, - "src": "11507:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4043, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4019, - "src": "11510:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4040, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4013, - 4049, - 4099, - 4135 - ], - "referencedDeclaration": 4013, - "src": "11486:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 4044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11486:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4045, - "nodeType": "ExpressionStatement", - "src": "11486:33:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "11210:17:7", - "parameters": { - "id": 4022, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4015, - "mutability": "mutable", - "name": "a", - "nameLocation": "11245:1:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11237:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4014, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11237:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4017, - "mutability": "mutable", - "name": "b", - "nameLocation": "11264:1:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11256:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4016, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11256:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4019, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "11283:8:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11275:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4021, - "mutability": "mutable", - "name": "err", - "nameLocation": "11315:3:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11301:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4020, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11301:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11227:97:7" - }, - "returnParameters": { - "id": 4023, - "nodeType": "ParameterList", - "parameters": [], - "src": "11342:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4099, - "nodeType": "FunctionDefinition", - "src": "11542:513:7", - "body": { - "id": 4098, - "nodeType": "Block", - "src": "11654:401:7", - "statements": [ - { - "assignments": [ - 4059 - ], - "declarations": [ - { - "constant": false, - "id": 4059, - "mutability": "mutable", - "name": "delta", - "nameLocation": "11672:5:7", - "nodeType": "VariableDeclaration", - "scope": 4098, - "src": "11664:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4058, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11664:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4065, - "initialValue": { - "arguments": [ - { - "id": 4062, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4051, - "src": "11694:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4063, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "11697:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4060, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "11680:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11688:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6751, - "src": "11680:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11680:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11664:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4066, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "11714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4067, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "11722:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11714:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4097, - "nodeType": "IfStatement", - "src": "11710:339:7", - "trueBody": { - "id": 4096, - "nodeType": "Block", - "src": "11732:317:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 4070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11767:35:7", - "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": 4069, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "11751:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11751:52:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4072, - "nodeType": "EmitStatement", - "src": "11746:57:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 4074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11838:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4075, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "11852:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4073, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11822:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11822:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4077, - "nodeType": "EmitStatement", - "src": "11817:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 4079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11889:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4080, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4051, - "src": "11903:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4078, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11873:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11873:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4082, - "nodeType": "EmitStatement", - "src": "11868:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 4084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11940:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 4085, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "11954:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4083, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11924:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11924:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4087, - "nodeType": "EmitStatement", - "src": "11919:44:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 4089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11998:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 4090, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "12012:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4088, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11982:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11982:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4092, - "nodeType": "EmitStatement", - "src": "11977:41:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4093, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "12032:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12032:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4095, - "nodeType": "ExpressionStatement", - "src": "12032:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "11551:17:7", - "parameters": { - "id": 4056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4051, - "mutability": "mutable", - "name": "a", - "nameLocation": "11585:1:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11578:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4050, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11578:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4053, - "mutability": "mutable", - "name": "b", - "nameLocation": "11603:1:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11596:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4052, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11596:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4055, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "11622:8:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11614:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4054, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11614:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11568:68:7" - }, - "returnParameters": { - "id": 4057, - "nodeType": "ParameterList", - "parameters": [], - "src": "11654:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4135, - "nodeType": "FunctionDefinition", - "src": "12061:333:7", - "body": { - "id": 4134, - "nodeType": "Block", - "src": "12200:194:7", - "statements": [ - { - "assignments": [ - 4111 - ], - "declarations": [ - { - "constant": false, - "id": 4111, - "mutability": "mutable", - "name": "delta", - "nameLocation": "12218:5:7", - "nodeType": "VariableDeclaration", - "scope": 4134, - "src": "12210:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4110, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12210:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4117, - "initialValue": { - "arguments": [ - { - "id": 4114, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "12240:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4115, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "12243:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4112, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "12226:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12234:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6751, - "src": "12226:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12226:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12210:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4118, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4111, - "src": "12260:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4119, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "12268:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12260:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4133, - "nodeType": "IfStatement", - "src": "12256:132:7", - "trueBody": { - "id": 4132, - "nodeType": "Block", - "src": "12278:110:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12317:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4123, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4107, - "src": "12326:3:7", - "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": 4121, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "12297:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12297:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4125, - "nodeType": "EmitStatement", - "src": "12292:38:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4127, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "12362:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4128, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "12365:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4129, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "12368:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4126, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4013, - 4049, - 4099, - 4135 - ], - "referencedDeclaration": 4099, - "src": "12344:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 4130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12344:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4131, - "nodeType": "ExpressionStatement", - "src": "12344:33:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "12070:17:7", - "parameters": { - "id": 4108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4101, - "mutability": "mutable", - "name": "a", - "nameLocation": "12104:1:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12097:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4100, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "12097:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4103, - "mutability": "mutable", - "name": "b", - "nameLocation": "12122:1:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12115:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4102, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "12115:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4105, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "12141:8:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12133:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4104, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12133:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4107, - "mutability": "mutable", - "name": "err", - "nameLocation": "12173:3:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12159:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4106, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12159:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12087:95:7" - }, - "returnParameters": { - "id": 4109, - "nodeType": "ParameterList", - "parameters": [], - "src": "12200:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4196, - "nodeType": "FunctionDefinition", - "src": "12400:766:7", - "body": { - "id": 4195, - "nodeType": "Block", - "src": "12577:589:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4144, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12591:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12596:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12591:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4152, - "nodeType": "IfStatement", - "src": "12587:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4148, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12615:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4149, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12618:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4147, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "12606:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 4150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12606:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4143, - "id": 4151, - "nodeType": "Return", - "src": "12599:21:7" - } - }, - { - "assignments": [ - 4154 - ], - "declarations": [ - { - "constant": false, - "id": 4154, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "12684:12:7", - "nodeType": "VariableDeclaration", - "scope": 4195, - "src": "12676:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4153, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12676:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4160, - "initialValue": { - "arguments": [ - { - "id": 4157, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12720:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4158, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12723:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4155, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "12699:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12707:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6774, - "src": "12699:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12699:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12676:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4161, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4154, - "src": "12740:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4162, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4141, - "src": "12755:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12740:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4194, - "nodeType": "IfStatement", - "src": "12736:424:7", - "trueBody": { - "id": 4193, - "nodeType": "Block", - "src": "12772:388:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 4165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12815:36:7", - "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": 4164, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "12791:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12791:61:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4167, - "nodeType": "EmitStatement", - "src": "12786:66:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 4169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12895:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4170, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12911:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4168, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12871:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12871:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4172, - "nodeType": "EmitStatement", - "src": "12866:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 4174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12956:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4175, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12972:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4173, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12932:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12932:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4177, - "nodeType": "EmitStatement", - "src": "12927:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 4179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13017:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 4180, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4141, - "src": "13033:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13050:2:7", - "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": 4178, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "12993:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12993:60:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4183, - "nodeType": "EmitStatement", - "src": "12988:65:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 4185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13096:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 4186, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4154, - "src": "13112:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4187, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13126:2:7", - "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": 4184, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "13072:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13072:57:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4189, - "nodeType": "EmitStatement", - "src": "13067:62:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4190, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "13143:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13143:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4192, - "nodeType": "ExpressionStatement", - "src": "13143:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "12409:17:7", - "parameters": { - "id": 4142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4137, - "mutability": "mutable", - "name": "a", - "nameLocation": "12444:1:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12436:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12436:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4139, - "mutability": "mutable", - "name": "b", - "nameLocation": "12463:1:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12455:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12455:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4141, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "12482:15:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12474:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4140, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12474:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12426:133:7" - }, - "returnParameters": { - "id": 4143, - "nodeType": "ParameterList", - "parameters": [], - "src": "12577:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4242, - "nodeType": "FunctionDefinition", - "src": "13172:531:7", - "body": { - "id": 4241, - "nodeType": "Block", - "src": "13376:327:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4207, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13390:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13395:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13390:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4216, - "nodeType": "IfStatement", - "src": "13386:38:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4211, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13414:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4212, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13417:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4213, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4204, - "src": "13420:3:7", - "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": 4210, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1025, - "src": "13405:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,string memory)" - } - }, - "id": 4214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13405:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4206, - "id": 4215, - "nodeType": "Return", - "src": "13398:26:7" - } - }, - { - "assignments": [ - 4218 - ], - "declarations": [ - { - "constant": false, - "id": 4218, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "13488:12:7", - "nodeType": "VariableDeclaration", - "scope": 4241, - "src": "13480:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4217, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13480:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4224, - "initialValue": { - "arguments": [ - { - "id": 4221, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13524:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4222, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13527:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4219, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "13503:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13511:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6774, - "src": "13503:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13503:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13480:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4225, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4218, - "src": "13544:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4226, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4202, - "src": "13559:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13544:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4240, - "nodeType": "IfStatement", - "src": "13540:157:7", - "trueBody": { - "id": 4239, - "nodeType": "Block", - "src": "13576:121:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13619:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4230, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4204, - "src": "13628:3:7", - "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": 4228, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "13595:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13595:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4232, - "nodeType": "EmitStatement", - "src": "13590:42:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4234, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13664:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4235, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13667:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4236, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4202, - "src": "13670:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4233, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4196, - 4242, - 4303, - 4348 - ], - "referencedDeclaration": 4196, - "src": "13646:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 4237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13646:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4238, - "nodeType": "ExpressionStatement", - "src": "13646:40:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "13181:17:7", - "parameters": { - "id": 4205, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4198, - "mutability": "mutable", - "name": "a", - "nameLocation": "13216:1:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13208:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13208:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4200, - "mutability": "mutable", - "name": "b", - "nameLocation": "13235:1:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13227:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4199, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13227:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4202, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "13254:15:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13246:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4201, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13246:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4204, - "mutability": "mutable", - "name": "err", - "nameLocation": "13349:3:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13335:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4203, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13335:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13198:160:7" - }, - "returnParameters": { - "id": 4206, - "nodeType": "ParameterList", - "parameters": [], - "src": "13376:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4303, - "nodeType": "FunctionDefinition", - "src": "13709:702:7", - "body": { - "id": 4302, - "nodeType": "Block", - "src": "13828:583:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 4253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4251, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13842:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13847:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13842:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4259, - "nodeType": "IfStatement", - "src": "13838:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4255, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "13866:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4256, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13869:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4254, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "13857:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 4257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13857:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4250, - "id": 4258, - "nodeType": "Return", - "src": "13850:21:7" - } - }, - { - "assignments": [ - 4261 - ], - "declarations": [ - { - "constant": false, - "id": 4261, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "13935:12:7", - "nodeType": "VariableDeclaration", - "scope": 4302, - "src": "13927:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4260, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13927:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4267, - "initialValue": { - "arguments": [ - { - "id": 4264, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "13971:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4265, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13974:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4262, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "13950:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13958:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6803, - "src": "13950:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13950:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13927:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4268, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4261, - "src": "13991:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4269, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "14006:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13991:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4301, - "nodeType": "IfStatement", - "src": "13987:418:7", - "trueBody": { - "id": 4300, - "nodeType": "Block", - "src": "14023:382:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 4272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14065:35:7", - "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": 4271, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "14042:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14042:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4274, - "nodeType": "EmitStatement", - "src": "14037:64:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 4276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14143:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4277, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "14159:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4275, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "14120:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14120:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4279, - "nodeType": "EmitStatement", - "src": "14115:46:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 4281, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14203:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4282, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "14219:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4280, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "14180:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14180:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4284, - "nodeType": "EmitStatement", - "src": "14175:46:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 4286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14263:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 4287, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "14279:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14296:2:7", - "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": 4285, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14240:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14240:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4290, - "nodeType": "EmitStatement", - "src": "14235:64:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 4292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14341:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 4293, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4261, - "src": "14357:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14371:2:7", - "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": 4291, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14318:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14318:56:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4296, - "nodeType": "EmitStatement", - "src": "14313:61:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4297, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "14388:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14388:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4299, - "nodeType": "ExpressionStatement", - "src": "14388:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "13718:17:7", - "parameters": { - "id": 4249, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4244, - "mutability": "mutable", - "name": "a", - "nameLocation": "13752:1:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13745:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4243, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "13745:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4246, - "mutability": "mutable", - "name": "b", - "nameLocation": "13770:1:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13763:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4245, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "13763:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4248, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "13789:15:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13781:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13781:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13735:75:7" - }, - "returnParameters": { - "id": 4250, - "nodeType": "ParameterList", - "parameters": [], - "src": "13828:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4348, - "nodeType": "FunctionDefinition", - "src": "14417:467:7", - "body": { - "id": 4347, - "nodeType": "Block", - "src": "14563:321:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 4316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4314, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14577:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14582:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "14577:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4322, - "nodeType": "IfStatement", - "src": "14573:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4318, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14601:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4319, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14604:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4317, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "14592:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 4320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14592:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4313, - "id": 4321, - "nodeType": "Return", - "src": "14585:21:7" - } - }, - { - "assignments": [ - 4324 - ], - "declarations": [ - { - "constant": false, - "id": 4324, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "14670:12:7", - "nodeType": "VariableDeclaration", - "scope": 4347, - "src": "14662:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14662:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4330, - "initialValue": { - "arguments": [ - { - "id": 4327, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14706:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4328, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14709:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4325, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "14685:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14693:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6803, - "src": "14685:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14685:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14662:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4331, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4324, - "src": "14726:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4332, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4309, - "src": "14741:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14726:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4346, - "nodeType": "IfStatement", - "src": "14722:156:7", - "trueBody": { - "id": 4345, - "nodeType": "Block", - "src": "14758:120:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14800:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4336, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4311, - "src": "14809:3:7", - "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": 4334, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "14777:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14777:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4338, - "nodeType": "EmitStatement", - "src": "14772:41:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4340, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14845:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4341, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14848:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4342, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4309, - "src": "14851:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4339, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4196, - 4242, - 4303, - 4348 - ], - "referencedDeclaration": 4303, - "src": "14827:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 4343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14827:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4344, - "nodeType": "ExpressionStatement", - "src": "14827:40:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "14426:17:7", - "parameters": { - "id": 4312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4305, - "mutability": "mutable", - "name": "a", - "nameLocation": "14460:1:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14453:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4304, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "14453:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4307, - "mutability": "mutable", - "name": "b", - "nameLocation": "14478:1:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14471:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4306, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "14471:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4309, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "14497:15:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14489:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4311, - "mutability": "mutable", - "name": "err", - "nameLocation": "14536:3:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14522:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14522:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14443:102:7" - }, - "returnParameters": { - "id": 4313, - "nodeType": "ParameterList", - "parameters": [], - "src": "14563:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4365, - "nodeType": "StructDefinition", - "src": "15306:325:7", - "canonicalName": "Test.RawTx1559", - "members": [ - { - "constant": false, - "id": 4351, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "15342:9:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15333:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4349, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15333:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4350, - "nodeType": "ArrayTypeName", - "src": "15333:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4353, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "15369:15:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15361:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4352, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15361:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4355, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "15401:12:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15394:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4354, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15394:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4357, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "15468:11:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15461:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4356, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15461:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4359, - "mutability": "mutable", - "name": "hash", - "nameLocation": "15497:4:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15489:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4358, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4362, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "15559:8:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15543:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - }, - "typeName": { - "id": 4361, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4360, - "name": "RawTx1559Detail", - "nameLocations": [ - "15543:15:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4384, - "src": "15543:15:7" - }, - "referencedDeclaration": 4384, - "src": "15543:15:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4364, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "15618:6:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15611:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4363, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15611:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559", - "nameLocation": "15313:9:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4384, - "nodeType": "StructDefinition", - "src": "15637:208:7", - "canonicalName": "Test.RawTx1559Detail", - "members": [ - { - "constant": false, - "id": 4369, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "15683:10:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15670:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4367, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4366, - "name": "AccessList", - "nameLocations": [ - "15670:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "15670:10:7" - }, - "referencedDeclaration": 4476, - "src": "15670:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4368, - "nodeType": "ArrayTypeName", - "src": "15670:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4371, - "mutability": "mutable", - "name": "data", - "nameLocation": "15709:4:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15703:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4370, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15703:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4373, - "mutability": "mutable", - "name": "from", - "nameLocation": "15731:4:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15723:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15723:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4375, - "mutability": "mutable", - "name": "gas", - "nameLocation": "15751:3:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15745:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4374, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15745:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4377, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "15770:5:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15764:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4376, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15764:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4379, - "mutability": "mutable", - "name": "to", - "nameLocation": "15793:2:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15785:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15785:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4381, - "mutability": "mutable", - "name": "txType", - "nameLocation": "15811:6:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15805:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4380, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15805:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4383, - "mutability": "mutable", - "name": "value", - "nameLocation": "15833:5:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15827:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4382, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15827:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559Detail", - "nameLocation": "15644:15:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4401, - "nodeType": "StructDefinition", - "src": "15851:215:7", - "canonicalName": "Test.Tx1559", - "members": [ - { - "constant": false, - "id": 4387, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "15884:9:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15875:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15875:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4386, - "nodeType": "ArrayTypeName", - "src": "15875:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4389, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "15911:15:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15903:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4388, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15903:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4391, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "15943:12:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15936:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15936:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4393, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "15972:11:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15965:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4392, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4395, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16001:4:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15993:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4394, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15993:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4398, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "16028:8:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "16015:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4397, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4396, - "name": "Tx1559Detail", - "nameLocations": [ - "16015:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "16015:12:7" - }, - "referencedDeclaration": 4420, - "src": "16015:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4400, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16053:6:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "16046:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4399, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16046:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559", - "nameLocation": "15858:6:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4420, - "nodeType": "StructDefinition", - "src": "16072:213:7", - "canonicalName": "Test.Tx1559Detail", - "members": [ - { - "constant": false, - "id": 4405, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "16115:10:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16102:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4403, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4402, - "name": "AccessList", - "nameLocations": [ - "16102:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "16102:10:7" - }, - "referencedDeclaration": 4476, - "src": "16102:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4404, - "nodeType": "ArrayTypeName", - "src": "16102:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4407, - "mutability": "mutable", - "name": "data", - "nameLocation": "16141:4:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16135:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4406, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16135:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4409, - "mutability": "mutable", - "name": "from", - "nameLocation": "16163:4:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16155:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4408, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16155:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4411, - "mutability": "mutable", - "name": "gas", - "nameLocation": "16185:3:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16177:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4410, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4413, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "16206:5:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16198:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4412, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16198:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4415, - "mutability": "mutable", - "name": "to", - "nameLocation": "16229:2:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16221:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4414, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16221:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4417, - "mutability": "mutable", - "name": "txType", - "nameLocation": "16249:6:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16241:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16241:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4419, - "mutability": "mutable", - "name": "value", - "nameLocation": "16273:5:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16265:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4418, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16265:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559Detail", - "nameLocation": "16079:12:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4437, - "nodeType": "StructDefinition", - "src": "16533:220:7", - "canonicalName": "Test.TxLegacy", - "members": [ - { - "constant": false, - "id": 4423, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "16567:9:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16558:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4421, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16558:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4422, - "nodeType": "ArrayTypeName", - "src": "16558:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4425, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "16594:15:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16586:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4424, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16586:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4427, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "16626:12:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16619:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4426, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16619:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4429, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "16655:11:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16648:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4428, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16648:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4431, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16683:4:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16676:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4430, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16676:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4433, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16704:6:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16697:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4432, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16697:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4436, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "16735:11:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16720:26:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$4470_storage_ptr", - "typeString": "struct Test.TxDetailLegacy" - }, - "typeName": { - "id": 4435, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4434, - "name": "TxDetailLegacy", - "nameLocations": [ - "16720:14:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4470, - "src": "16720:14:7" - }, - "referencedDeclaration": 4470, - "src": "16720:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$4470_storage_ptr", - "typeString": "struct Test.TxDetailLegacy" - } - }, - "visibility": "internal" - } - ], - "name": "TxLegacy", - "nameLocation": "16540:8:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4470, - "nodeType": "StructDefinition", - "src": "16759:365:7", - "canonicalName": "Test.TxDetailLegacy", - "members": [ - { - "constant": false, - "id": 4441, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "16803:10:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16790:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4439, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4438, - "name": "AccessList", - "nameLocations": [ - "16790:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "16790:10:7" - }, - "referencedDeclaration": 4476, - "src": "16790:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4440, - "nodeType": "ArrayTypeName", - "src": "16790:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4443, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "16831:7:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16823:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16823:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4445, - "mutability": "mutable", - "name": "data", - "nameLocation": "16854:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16848:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4444, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16848:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4447, - "mutability": "mutable", - "name": "from", - "nameLocation": "16876:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16868:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16868:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4449, - "mutability": "mutable", - "name": "gas", - "nameLocation": "16898:3:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16890:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4448, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16890:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4451, - "mutability": "mutable", - "name": "gasPrice", - "nameLocation": "16919:8:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16911:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4450, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16911:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4453, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16945:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16937:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "16937:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4455, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "16967:5:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16959:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4454, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16959:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4457, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16989:6:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16982:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 4456, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "16982:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4459, - "mutability": "mutable", - "name": "r", - "nameLocation": "17013:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17005:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4458, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17005:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4461, - "mutability": "mutable", - "name": "s", - "nameLocation": "17032:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17024:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4460, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17024:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4463, - "mutability": "mutable", - "name": "txType", - "nameLocation": "17051:6:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17043:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4462, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17043:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4465, - "mutability": "mutable", - "name": "to", - "nameLocation": "17075:2:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17067:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17067:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4467, - "mutability": "mutable", - "name": "v", - "nameLocation": "17093:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17087:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 4466, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "17087:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4469, - "mutability": "mutable", - "name": "value", - "nameLocation": "17112:5:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17104:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4468, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17104:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "TxDetailLegacy", - "nameLocation": "16766:14:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4476, - "nodeType": "StructDefinition", - "src": "17130:86:7", - "canonicalName": "Test.AccessList", - "members": [ - { - "constant": false, - "id": 4472, - "mutability": "mutable", - "name": "accessAddress", - "nameLocation": "17165:13:7", - "nodeType": "VariableDeclaration", - "scope": 4476, - "src": "17157:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4471, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17157:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4475, - "mutability": "mutable", - "name": "storageKeys", - "nameLocation": "17198:11:7", - "nodeType": "VariableDeclaration", - "scope": 4476, - "src": "17188:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4473, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17188:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4474, - "nodeType": "ArrayTypeName", - "src": "17188:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "name": "AccessList", - "nameLocation": "17137:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4505, - "nodeType": "StructDefinition", - "src": "17432:385:7", - "canonicalName": "Test.RawReceipt", - "members": [ - { - "constant": false, - "id": 4478, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "17468:9:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17460:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4477, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17460:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4480, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "17493:11:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17487:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4479, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17487:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4482, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "17522:15:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17514:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17514:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4484, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "17553:17:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17547:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4483, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17547:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4486, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "17586:17:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17580:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4485, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17580:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4488, - "mutability": "mutable", - "name": "from", - "nameLocation": "17621:4:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17613:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4487, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17613:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4490, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "17641:7:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17635:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17635:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4494, - "mutability": "mutable", - "name": "logs", - "nameLocation": "17674:4:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17658:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4492, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4491, - "name": "RawReceiptLog", - "nameLocations": [ - "17658:13:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4602, - "src": "17658:13:7" - }, - "referencedDeclaration": 4602, - "src": "17658:13:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_storage_ptr", - "typeString": "struct Test.RawReceiptLog" - } - }, - "id": 4493, - "nodeType": "ArrayTypeName", - "src": "17658:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4496, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "17694:9:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17688:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4495, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17688:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4498, - "mutability": "mutable", - "name": "status", - "nameLocation": "17719:6:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17713:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4497, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17713:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4500, - "mutability": "mutable", - "name": "to", - "nameLocation": "17743:2:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17735:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4499, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17735:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4502, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "17763:15:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17755:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4501, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17755:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4504, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "17794:16:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17788:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4503, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17788:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceipt", - "nameLocation": "17439:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4534, - "nodeType": "StructDefinition", - "src": "17823:391:7", - "canonicalName": "Test.Receipt", - "members": [ - { - "constant": false, - "id": 4507, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "17856:9:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17848:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4506, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4509, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "17883:11:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17875:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4508, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17875:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4511, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "17912:15:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17904:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4510, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17904:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4513, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "17945:17:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17937:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4512, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17937:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4515, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "17980:17:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17972:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17972:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4517, - "mutability": "mutable", - "name": "from", - "nameLocation": "18015:4:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18007:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4516, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18007:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4519, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "18037:7:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18029:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4518, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18029:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4523, - "mutability": "mutable", - "name": "logs", - "nameLocation": "18067:4:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18054:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4521, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4520, - "name": "ReceiptLog", - "nameLocations": [ - "18054:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "18054:10:7" - }, - "referencedDeclaration": 4622, - "src": "18054:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 4522, - "nodeType": "ArrayTypeName", - "src": "18054:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4525, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "18087:9:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18081:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4524, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18081:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4527, - "mutability": "mutable", - "name": "status", - "nameLocation": "18114:6:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18106:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4526, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18106:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4529, - "mutability": "mutable", - "name": "to", - "nameLocation": "18138:2:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18130:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4528, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18130:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4531, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "18158:15:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18150:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4530, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18150:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4533, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "18191:16:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18183:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4532, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18183:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Receipt", - "nameLocation": "17830:7:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4557, - "nodeType": "StructDefinition", - "src": "18337:227:7", - "canonicalName": "Test.EIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 4537, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "18385:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18376:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18376:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4536, - "nodeType": "ArrayTypeName", - "src": "18376:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4539, - "mutability": "mutable", - "name": "path", - "nameLocation": "18411:4:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18404:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4538, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18404:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4542, - "mutability": "mutable", - "name": "pending", - "nameLocation": "18434:7:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18425:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18425:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4541, - "nodeType": "ArrayTypeName", - "src": "18425:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4546, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "18461:8:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18451:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4544, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4543, - "name": "Receipt", - "nameLocations": [ - "18451:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "18451:7:7" - }, - "referencedDeclaration": 4534, - "src": "18451:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 4545, - "nodeType": "ArrayTypeName", - "src": "18451:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4548, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "18487:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18479:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4547, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18479:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4552, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "18515:12:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18506:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4550, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4549, - "name": "Tx1559", - "nameLocations": [ - "18506:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "18506:6:7" - }, - "referencedDeclaration": 4401, - "src": "18506:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4551, - "nodeType": "ArrayTypeName", - "src": "18506:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4556, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "18548:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18537:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 4554, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4553, - "name": "TxReturn", - "nameLocations": [ - "18537:8:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4627, - "src": "18537:8:7" - }, - "referencedDeclaration": 4627, - "src": "18537:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$4627_storage_ptr", - "typeString": "struct Test.TxReturn" - } - }, - "id": 4555, - "nodeType": "ArrayTypeName", - "src": "18537:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - } - }, - "visibility": "internal" - } - ], - "name": "EIP1559ScriptArtifact", - "nameLocation": "18344:21:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4580, - "nodeType": "StructDefinition", - "src": "18570:236:7", - "canonicalName": "Test.RawEIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 4560, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "18621:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18612:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18612:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4559, - "nodeType": "ArrayTypeName", - "src": "18612:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4562, - "mutability": "mutable", - "name": "path", - "nameLocation": "18647:4:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18640:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18640:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4565, - "mutability": "mutable", - "name": "pending", - "nameLocation": "18670:7:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18661:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4563, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18661:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4564, - "nodeType": "ArrayTypeName", - "src": "18661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4569, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "18700:8:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18687:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 4567, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4566, - "name": "RawReceipt", - "nameLocations": [ - "18687:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "18687:10:7" - }, - "referencedDeclaration": 4505, - "src": "18687:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 4568, - "nodeType": "ArrayTypeName", - "src": "18687:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4573, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "18729:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18718:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 4571, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4570, - "name": "TxReturn", - "nameLocations": [ - "18718:8:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4627, - "src": "18718:8:7" - }, - "referencedDeclaration": 4627, - "src": "18718:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$4627_storage_ptr", - "typeString": "struct Test.TxReturn" - } - }, - "id": 4572, - "nodeType": "ArrayTypeName", - "src": "18718:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4575, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "18756:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18748:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4574, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4579, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "18787:12:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18775:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4577, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4576, - "name": "RawTx1559", - "nameLocations": [ - "18775:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "18775:9:7" - }, - "referencedDeclaration": 4365, - "src": "18775:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4578, - "nodeType": "ArrayTypeName", - "src": "18775:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "name": "RawEIP1559ScriptArtifact", - "nameLocation": "18577:24:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4602, - "nodeType": "StructDefinition", - "src": "18812:334:7", - "canonicalName": "Test.RawReceiptLog", - "members": [ - { - "constant": false, - "id": 4582, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "18883:10:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18875:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4581, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18875:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4584, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "18911:9:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18903:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4583, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18903:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4586, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "18936:11:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18930:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4585, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18930:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4588, - "mutability": "mutable", - "name": "data", - "nameLocation": "18963:4:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18957:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4587, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18957:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4590, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "18983:8:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18977:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4589, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18977:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4592, - "mutability": "mutable", - "name": "removed", - "nameLocation": "19006:7:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19001:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4591, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19001:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4595, - "mutability": "mutable", - "name": "topics", - "nameLocation": "19033:6:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19023:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4593, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19023:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4594, - "nodeType": "ArrayTypeName", - "src": "19023:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4597, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "19057:15:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19049:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4596, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19049:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4599, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "19088:16:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19082:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4598, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19082:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4601, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "19120:19:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19114:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4600, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19114:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceiptLog", - "nameLocation": "18819:13:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4622, - "nodeType": "StructDefinition", - "src": "19152:306:7", - "canonicalName": "Test.ReceiptLog", - "members": [ - { - "constant": false, - "id": 4604, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "19220:10:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19212:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19212:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4606, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "19248:9:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19240:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4605, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19240:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4608, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "19275:11:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19267:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4607, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19267:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4610, - "mutability": "mutable", - "name": "data", - "nameLocation": "19302:4:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19296:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4609, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19296:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4612, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "19324:8:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19316:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4611, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19316:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4615, - "mutability": "mutable", - "name": "topics", - "nameLocation": "19352:6:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19342:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4613, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19342:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4614, - "nodeType": "ArrayTypeName", - "src": "19342:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4617, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "19376:16:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19368:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4616, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19368:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4619, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "19410:19:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19402:27:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4618, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19402:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4621, - "mutability": "mutable", - "name": "removed", - "nameLocation": "19444:7:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19439:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19439:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "name": "ReceiptLog", - "nameLocation": "19159:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4627, - "nodeType": "StructDefinition", - "src": "19464:74:7", - "canonicalName": "Test.TxReturn", - "members": [ - { - "constant": false, - "id": 4624, - "mutability": "mutable", - "name": "internalType", - "nameLocation": "19497:12:7", - "nodeType": "VariableDeclaration", - "scope": 4627, - "src": "19490:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4623, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19490:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4626, - "mutability": "mutable", - "name": "value", - "nameLocation": "19526:5:7", - "nodeType": "VariableDeclaration", - "scope": 4627, - "src": "19519:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4625, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19519:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "TxReturn", - "nameLocation": "19471:8:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4719, - "nodeType": "FunctionDefinition", - "src": "19545:813:7", - "body": { - "id": 4718, - "nodeType": "Block", - "src": "19667:691:7", - "statements": [ - { - "assignments": [ - 4636 - ], - "declarations": [ - { - "constant": false, - "id": 4636, - "mutability": "mutable", - "name": "data", - "nameLocation": "19691:4:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19677:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4635, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19677:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4641, - "initialValue": { - "arguments": [ - { - "id": 4639, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4629, - "src": "19710:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4637, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "19698:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19701:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "19698:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19698:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19677:38:7" - }, - { - "assignments": [ - 4643 - ], - "declarations": [ - { - "constant": false, - "id": 4643, - "mutability": "mutable", - "name": "parsedData", - "nameLocation": "19738:10:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19725:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4642, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19725:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4648, - "initialValue": { - "arguments": [ - { - "id": 4646, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4636, - "src": "19764:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4644, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "19751:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19754:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7557, - "src": "19751:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 4647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19751:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19725:44:7" - }, - { - "assignments": [ - 4651 - ], - "declarations": [ - { - "constant": false, - "id": 4651, - "mutability": "mutable", - "name": "rawArtifact", - "nameLocation": "19811:11:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19779:43:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact" - }, - "typeName": { - "id": 4650, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4649, - "name": "RawEIP1559ScriptArtifact", - "nameLocations": [ - "19779:24:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4580, - "src": "19779:24:7" - }, - "referencedDeclaration": 4580, - "src": "19779:24:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4658, - "initialValue": { - "arguments": [ - { - "id": 4654, - "name": "parsedData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4643, - "src": "19836:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4655, - "name": "RawEIP1559ScriptArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4580, - "src": "19849:24:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "id": 4656, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "19848:26:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - ], - "expression": { - "id": 4652, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19825:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19829:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "19825:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19825:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19779:96:7" - }, - { - "assignments": [ - 4661 - ], - "declarations": [ - { - "constant": false, - "id": 4661, - "mutability": "mutable", - "name": "artifact", - "nameLocation": "19914:8:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19885:37:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4660, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4659, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "19885:21:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4557, - "src": "19885:21:7" - }, - "referencedDeclaration": 4557, - "src": "19885:21:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_storage_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4662, - "nodeType": "VariableDeclarationStatement", - "src": "19885:37:7" - }, - { - "expression": { - "id": 4668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4663, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "19932:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4665, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "19941:9:7", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 4537, - "src": "19932:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4666, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "19953:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19965:9:7", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 4560, - "src": "19953:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "19932:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4669, - "nodeType": "ExpressionStatement", - "src": "19932:42:7" - }, - { - "expression": { - "id": 4675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4670, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "19984:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4672, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "19993:4:7", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 4539, - "src": "19984:13:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4673, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20000:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4674, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20012:4:7", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 4562, - "src": "20000:16:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "19984:32:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4676, - "nodeType": "ExpressionStatement", - "src": "19984:32:7" - }, - { - "expression": { - "id": 4682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4677, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20026:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4679, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20035:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 4548, - "src": "20026:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4680, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20047:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4681, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20059:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 4575, - "src": "20047:21:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20026:42:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4683, - "nodeType": "ExpressionStatement", - "src": "20026:42:7" - }, - { - "expression": { - "id": 4689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4684, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20078:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4686, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20087:7:7", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 4542, - "src": "20078:16:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4687, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20097:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4688, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20109:7:7", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 4565, - "src": "20097:19:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "20078:38:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4690, - "nodeType": "ExpressionStatement", - "src": "20078:38:7" - }, - { - "expression": { - "id": 4696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4691, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20126:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20135:9:7", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 4556, - "src": "20126:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4694, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20147:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4695, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20159:9:7", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 4573, - "src": "20147:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "src": "20126:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "id": 4697, - "nodeType": "ExpressionStatement", - "src": "20126:42:7" - }, - { - "expression": { - "id": 4705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4698, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20178:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4700, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20187:8:7", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 4546, - "src": "20178:17:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4702, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20221:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4703, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20233:8:7", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 4569, - "src": "20221:20:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - ], - "id": 4701, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5151, - "src": "20198:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory[] memory) pure returns (struct Test.Receipt memory[] memory)" - } - }, - "id": 4704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20198:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "src": "20178:64:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "id": 4706, - "nodeType": "ExpressionStatement", - "src": "20178:64:7" - }, - { - "expression": { - "id": 4714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4707, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20252:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4709, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20261:12:7", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 4552, - "src": "20252:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4711, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20301:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4712, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20313:12:7", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 4579, - "src": "20301:24:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - ], - "id": 4710, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "20276:24:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory[] memory) pure returns (struct Test.Tx1559 memory[] memory)" - } - }, - "id": 4713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20276:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "src": "20252:74:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "id": 4715, - "nodeType": "ExpressionStatement", - "src": "20252:74:7" - }, - { - "expression": { - "id": 4716, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20343:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "functionReturnParameters": 4634, - "id": 4717, - "nodeType": "Return", - "src": "20336:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readEIP1559ScriptArtifact", - "nameLocation": "19554:25:7", - "parameters": { - "id": 4630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4629, - "mutability": "mutable", - "name": "path", - "nameLocation": "19594:4:7", - "nodeType": "VariableDeclaration", - "scope": 4719, - "src": "19580:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4628, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19580:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19579:20:7" - }, - "returnParameters": { - "id": 4634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4633, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4719, - "src": "19633:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4632, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4631, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "19633:21:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4557, - "src": "19633:21:7" - }, - "referencedDeclaration": 4557, - "src": "19633:21:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_storage_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "src": "19632:30:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4768, - "nodeType": "FunctionDefinition", - "src": "20364:321:7", - "body": { - "id": 4767, - "nodeType": "Block", - "src": "20485:200:7", - "statements": [ - { - "assignments": [ - 4734 - ], - "declarations": [ - { - "constant": false, - "id": 4734, - "mutability": "mutable", - "name": "txs", - "nameLocation": "20511:3:7", - "nodeType": "VariableDeclaration", - "scope": 4767, - "src": "20495:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4732, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4731, - "name": "Tx1559", - "nameLocations": [ - "20495:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20495:6:7" - }, - "referencedDeclaration": 4401, - "src": "20495:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4733, - "nodeType": "ArrayTypeName", - "src": "20495:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4742, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4739, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20530:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20537:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "20530:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "20517:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.Tx1559 memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4736, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4735, - "name": "Tx1559", - "nameLocations": [ - "20521:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20521:6:7" - }, - "referencedDeclaration": 4401, - "src": "20521:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4737, - "nodeType": "ArrayTypeName", - "src": "20521:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - } - }, - "id": 4741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20517:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20495:49:7" - }, - { - "body": { - "id": 4763, - "nodeType": "Block", - "src": "20591:68:7", - "statements": [ - { - "expression": { - "id": 4761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 4753, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4734, - "src": "20605:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "id": 4755, - "indexExpression": { - "id": 4754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20609:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "20605:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 4757, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20638:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4759, - "indexExpression": { - "id": 4758, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20645:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20638:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - ], - "id": 4756, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4828, - "src": "20614:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$4365_memory_ptr_$returns$_t_struct$_Tx1559_$4401_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory) pure returns (struct Test.Tx1559 memory)" - } - }, - "id": 4760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20614:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "src": "20605:43:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4762, - "nodeType": "ExpressionStatement", - "src": "20605:43:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4746, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20567:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4747, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20571:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20578:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "20571:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20567:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4764, - "initializationExpression": { - "assignments": [ - 4744 - ], - "declarations": [ - { - "constant": false, - "id": 4744, - "mutability": "mutable", - "name": "i", - "nameLocation": "20564:1:7", - "nodeType": "VariableDeclaration", - "scope": 4764, - "src": "20559:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4743, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20559:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4745, - "nodeType": "VariableDeclarationStatement", - "src": "20559:6:7" - }, - "loopExpression": { - "expression": { - "id": 4751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "20586:3:7", - "subExpression": { - "id": 4750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20586:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4752, - "nodeType": "ExpressionStatement", - "src": "20586:3:7" - }, - "nodeType": "ForStatement", - "src": "20554:105:7" - }, - { - "expression": { - "id": 4765, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4734, - "src": "20675:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4729, - "id": 4766, - "nodeType": "Return", - "src": "20668:10:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559s", - "nameLocation": "20373:24:7", - "parameters": { - "id": 4724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4723, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "20417:6:7", - "nodeType": "VariableDeclaration", - "scope": 4768, - "src": "20398:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4721, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4720, - "name": "RawTx1559", - "nameLocations": [ - "20398:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "20398:9:7" - }, - "referencedDeclaration": 4365, - "src": "20398:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4722, - "nodeType": "ArrayTypeName", - "src": "20398:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "20397:27:7" - }, - "returnParameters": { - "id": 4729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4728, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4768, - "src": "20464:15:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4726, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4725, - "name": "Tx1559", - "nameLocations": [ - "20464:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20464:6:7" - }, - "referencedDeclaration": 4401, - "src": "20464:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4727, - "nodeType": "ArrayTypeName", - "src": "20464:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "20463:17:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4828, - "nodeType": "FunctionDefinition", - "src": "20691:498:7", - "body": { - "id": 4827, - "nodeType": "Block", - "src": "20806:383:7", - "statements": [ - { - "assignments": [ - 4779 - ], - "declarations": [ - { - "constant": false, - "id": 4779, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "20830:11:7", - "nodeType": "VariableDeclaration", - "scope": 4827, - "src": "20816:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4778, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4777, - "name": "Tx1559", - "nameLocations": [ - "20816:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20816:6:7" - }, - "referencedDeclaration": 4401, - "src": "20816:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4780, - "nodeType": "VariableDeclarationStatement", - "src": "20816:25:7" - }, - { - "expression": { - "id": 4786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4781, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20851:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4783, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20863:9:7", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 4387, - "src": "20851:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4784, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20875:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20881:9:7", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 4351, - "src": "20875:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "20851:39:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4787, - "nodeType": "ExpressionStatement", - "src": "20851:39:7" - }, - { - "expression": { - "id": 4793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4788, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20900:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4790, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20912:12:7", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 4391, - "src": "20900:24:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4791, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20927:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4792, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20933:12:7", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 4355, - "src": "20927:18:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "20900:45:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4794, - "nodeType": "ExpressionStatement", - "src": "20900:45:7" - }, - { - "expression": { - "id": 4800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4795, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20955:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20967:11:7", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 4393, - "src": "20955:23:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4798, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20981:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4799, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20987:11:7", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 4357, - "src": "20981:17:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "20955:43:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4801, - "nodeType": "ExpressionStatement", - "src": "20955:43:7" - }, - { - "expression": { - "id": 4807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4802, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21008:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4804, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21020:4:7", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4395, - "src": "21008:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4805, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21026:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4806, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21032:4:7", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4359, - "src": "21026:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "21008:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4808, - "nodeType": "ExpressionStatement", - "src": "21008:28:7" - }, - { - "expression": { - "id": 4816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4809, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21046:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4811, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21058:8:7", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 4398, - "src": "21046:20:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4813, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21097:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4814, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21103:8:7", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 4362, - "src": "21097:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - ], - "id": 4812, - "name": "rawToConvertedEIP1559Detail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4908, - "src": "21069:27:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559Detail_$4384_memory_ptr_$returns$_t_struct$_Tx1559Detail_$4420_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559Detail memory) pure returns (struct Test.Tx1559Detail memory)" - } - }, - "id": 4815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21069:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "src": "21046:66:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4817, - "nodeType": "ExpressionStatement", - "src": "21046:66:7" - }, - { - "expression": { - "id": 4823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4818, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21122:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4820, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21134:6:7", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 4400, - "src": "21122:18:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4821, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21142:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4822, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21148:6:7", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 4364, - "src": "21142:12:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "21122:32:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4824, - "nodeType": "ExpressionStatement", - "src": "21122:32:7" - }, - { - "expression": { - "id": 4825, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21171:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "functionReturnParameters": 4776, - "id": 4826, - "nodeType": "Return", - "src": "21164:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559", - "nameLocation": "20700:23:7", - "parameters": { - "id": 4772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4771, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "20741:5:7", - "nodeType": "VariableDeclaration", - "scope": 4828, - "src": "20724:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559" - }, - "typeName": { - "id": 4770, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4769, - "name": "RawTx1559", - "nameLocations": [ - "20724:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "20724:9:7" - }, - "referencedDeclaration": 4365, - "src": "20724:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "src": "20723:24:7" - }, - "returnParameters": { - "id": 4776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4775, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4828, - "src": "20787:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4774, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4773, - "name": "Tx1559", - "nameLocations": [ - "20787:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20787:6:7" - }, - "referencedDeclaration": 4401, - "src": "20787:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "20786:15:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4908, - "nodeType": "FunctionDefinition", - "src": "21195:592:7", - "body": { - "id": 4907, - "nodeType": "Block", - "src": "21330:457:7", - "statements": [ - { - "assignments": [ - 4839 - ], - "declarations": [ - { - "constant": false, - "id": 4839, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "21360:8:7", - "nodeType": "VariableDeclaration", - "scope": 4907, - "src": "21340:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4838, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4837, - "name": "Tx1559Detail", - "nameLocations": [ - "21340:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "21340:12:7" - }, - "referencedDeclaration": 4420, - "src": "21340:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "id": 4840, - "nodeType": "VariableDeclarationStatement", - "src": "21340:28:7" - }, - { - "expression": { - "id": 4846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4841, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21378:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4843, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21387:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4407, - "src": "21378:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4844, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21394:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4845, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21404:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4371, - "src": "21394:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "21378:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4847, - "nodeType": "ExpressionStatement", - "src": "21378:30:7" - }, - { - "expression": { - "id": 4853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4848, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21418:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4850, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21427:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4409, - "src": "21418:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4851, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21434:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21444:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4373, - "src": "21434:14:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "21418:30:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4854, - "nodeType": "ExpressionStatement", - "src": "21418:30:7" - }, - { - "expression": { - "id": 4860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4855, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21458:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4857, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21467:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4415, - "src": "21458:11:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4858, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21472:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4859, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21482:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4379, - "src": "21472:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "21458:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4861, - "nodeType": "ExpressionStatement", - "src": "21458:26:7" - }, - { - "expression": { - "id": 4869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4862, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21494:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4864, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21503:5:7", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 4413, - "src": "21494:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4866, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21523:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21533:5:7", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 4377, - "src": "21523:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4865, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21511:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21511:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21494:45:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4870, - "nodeType": "ExpressionStatement", - "src": "21494:45:7" - }, - { - "expression": { - "id": 4878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4871, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21549:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4873, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21558:6:7", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 4417, - "src": "21549:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4875, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21579:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4876, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21589:6:7", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 4381, - "src": "21579:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4874, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21567:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21567:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21549:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4879, - "nodeType": "ExpressionStatement", - "src": "21549:47:7" - }, - { - "expression": { - "id": 4887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4880, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21606:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4882, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21615:5:7", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 4419, - "src": "21606:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4884, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21635:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4885, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21645:5:7", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 4383, - "src": "21635:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4883, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21623:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21623:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21606:45:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4888, - "nodeType": "ExpressionStatement", - "src": "21606:45:7" - }, - { - "expression": { - "id": 4896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4889, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4891, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21670:3:7", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 4411, - "src": "21661:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4893, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21688:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21698:3:7", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 4375, - "src": "21688:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4892, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21676:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21676:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21661:41:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4897, - "nodeType": "ExpressionStatement", - "src": "21661:41:7" - }, - { - "expression": { - "id": 4903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4898, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21712:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4900, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21721:10:7", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 4405, - "src": "21712:19:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4901, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21734:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4902, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21744:10:7", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 4369, - "src": "21734:20:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "src": "21712:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "id": 4904, - "nodeType": "ExpressionStatement", - "src": "21712:42:7" - }, - { - "expression": { - "id": 4905, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21771:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "functionReturnParameters": 4836, - "id": 4906, - "nodeType": "Return", - "src": "21764:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIP1559Detail", - "nameLocation": "21204:27:7", - "parameters": { - "id": 4832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4831, - "mutability": "mutable", - "name": "rawDetail", - "nameLocation": "21255:9:7", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "21232:32:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail" - }, - "typeName": { - "id": 4830, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4829, - "name": "RawTx1559Detail", - "nameLocations": [ - "21232:15:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4384, - "src": "21232:15:7" - }, - "referencedDeclaration": 4384, - "src": "21232:15:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "21231:34:7" - }, - "returnParameters": { - "id": 4836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4835, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "21305:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4834, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4833, - "name": "Tx1559Detail", - "nameLocations": [ - "21305:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "21305:12:7" - }, - "referencedDeclaration": 4420, - "src": "21305:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "21304:21:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4950, - "nodeType": "FunctionDefinition", - "src": "21793:382:7", - "body": { - "id": 4949, - "nodeType": "Block", - "src": "21889:286:7", - "statements": [ - { - "assignments": [ - 4918 - ], - "declarations": [ - { - "constant": false, - "id": 4918, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "21913:10:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "21899:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4917, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21899:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4923, - "initialValue": { - "arguments": [ - { - "id": 4921, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4910, - "src": "21938:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4919, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "21926:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21929:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "21926:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21926:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21899:44:7" - }, - { - "assignments": [ - 4925 - ], - "declarations": [ - { - "constant": false, - "id": 4925, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "21966:16:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "21953:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4924, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "21953:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4931, - "initialValue": { - "arguments": [ - { - "id": 4928, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4918, - "src": "22010:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7472616e73616374696f6e73", - "id": 4929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22022:15:7", - "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": 4926, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "21997:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22000:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "21997:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 4930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21997:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21953:85:7" - }, - { - "assignments": [ - 4936 - ], - "declarations": [ - { - "constant": false, - "id": 4936, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "22067:6:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "22048:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4934, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4933, - "name": "RawTx1559", - "nameLocations": [ - "22048:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "22048:9:7" - }, - "referencedDeclaration": 4365, - "src": "22048:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4935, - "nodeType": "ArrayTypeName", - "src": "22048:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4944, - "initialValue": { - "arguments": [ - { - "id": 4939, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4925, - "src": "22087:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 4940, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4365, - "src": "22106:9:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - }, - "id": 4941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "22106:11:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - } - ], - "id": 4942, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22105:13:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - ], - "expression": { - "id": 4937, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22076:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22080:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22076:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22076:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22048:71:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4946, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4936, - "src": "22161:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - ], - "id": 4945, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "22136:24:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory[] memory) pure returns (struct Test.Tx1559 memory[] memory)" - } - }, - "id": 4947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22136:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4916, - "id": 4948, - "nodeType": "Return", - "src": "22129:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559s", - "nameLocation": "21802:11:7", - "parameters": { - "id": 4911, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4910, - "mutability": "mutable", - "name": "path", - "nameLocation": "21828:4:7", - "nodeType": "VariableDeclaration", - "scope": 4950, - "src": "21814:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4909, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21814:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21813:20:7" - }, - "returnParameters": { - "id": 4916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4915, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4950, - "src": "21868:15:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4912, - "name": "Tx1559", - "nameLocations": [ - "21868:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "21868:6:7" - }, - "referencedDeclaration": 4401, - "src": "21868:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4914, - "nodeType": "ArrayTypeName", - "src": "21868:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "21867:17:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5005, - "nodeType": "FunctionDefinition", - "src": "22182:471:7", - "body": { - "id": 5004, - "nodeType": "Block", - "src": "22290:363:7", - "statements": [ - { - "assignments": [ - 4961 - ], - "declarations": [ - { - "constant": false, - "id": 4961, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "22314:10:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22300:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4960, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22300:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4966, - "initialValue": { - "arguments": [ - { - "id": 4964, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4952, - "src": "22339:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4962, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22327:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22330:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "22327:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22327:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22300:44:7" - }, - { - "assignments": [ - 4968 - ], - "declarations": [ - { - "constant": false, - "id": 4968, - "mutability": "mutable", - "name": "key", - "nameLocation": "22368:3:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22354:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22354:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4981, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e7472616e73616374696f6e735b", - "id": 4973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22398:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", - "typeString": "literal_string \".transactions[\"" - }, - "value": ".transactions[" - }, - { - "arguments": [ - { - "id": 4976, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4954, - "src": "22427:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4974, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22415:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22418:8:7", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 7293, - "src": "22415:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) external returns (string memory)" - } - }, - "id": 4977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22415:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 4978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22435:3:7", - "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": 4971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22381:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22385:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "22381:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22381:58:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "22374:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 4969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22374:6:7", - "typeDescriptions": {} - } - }, - "id": 4980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22374:66:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22354:86:7" - }, - { - "assignments": [ - 4983 - ], - "declarations": [ - { - "constant": false, - "id": 4983, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "22463:16:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22450:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22450:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4989, - "initialValue": { - "arguments": [ - { - "id": 4986, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4961, - "src": "22507:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4987, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "22519:3:7", - "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": 4984, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22494:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22497:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "22494:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 4988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22494:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22450:73:7" - }, - { - "assignments": [ - 4992 - ], - "declarations": [ - { - "constant": false, - "id": 4992, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "22550:5:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22533:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559" - }, - "typeName": { - "id": 4991, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4990, - "name": "RawTx1559", - "nameLocations": [ - "22533:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "22533:9:7" - }, - "referencedDeclaration": 4365, - "src": "22533:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4999, - "initialValue": { - "arguments": [ - { - "id": 4995, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4983, - "src": "22569:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4996, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4365, - "src": "22588:9:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - } - ], - "id": 4997, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22587:11:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - ], - "expression": { - "id": 4993, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22558:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22562:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22558:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22558:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22533:66:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5001, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4992, - "src": "22640:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - ], - "id": 5000, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4828, - "src": "22616:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$4365_memory_ptr_$returns$_t_struct$_Tx1559_$4401_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory) pure returns (struct Test.Tx1559 memory)" - } - }, - "id": 5002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22616:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "functionReturnParameters": 4959, - "id": 5003, - "nodeType": "Return", - "src": "22609:37:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559", - "nameLocation": "22191:10:7", - "parameters": { - "id": 4955, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4952, - "mutability": "mutable", - "name": "path", - "nameLocation": "22216:4:7", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22202:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4951, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22202:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4954, - "mutability": "mutable", - "name": "index", - "nameLocation": "22230:5:7", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22222:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4953, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22201:35:7" - }, - "returnParameters": { - "id": 4959, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4958, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22271:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4957, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4956, - "name": "Tx1559", - "nameLocations": [ - "22271:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "22271:6:7" - }, - "referencedDeclaration": 4401, - "src": "22271:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "22270:15:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5047, - "nodeType": "FunctionDefinition", - "src": "22716:378:7", - "body": { - "id": 5046, - "nodeType": "Block", - "src": "22814:280:7", - "statements": [ - { - "assignments": [ - 5015 - ], - "declarations": [ - { - "constant": false, - "id": 5015, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "22838:10:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22824:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5014, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22824:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5020, - "initialValue": { - "arguments": [ - { - "id": 5018, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5007, - "src": "22863:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5016, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22851:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22854:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "22851:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 5019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22851:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22824:44:7" - }, - { - "assignments": [ - 5022 - ], - "declarations": [ - { - "constant": false, - "id": 5022, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "22891:16:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22878:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5021, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22878:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5028, - "initialValue": { - "arguments": [ - { - "id": 5025, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5015, - "src": "22923:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7265636569707473", - "id": 5026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22935:11:7", - "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": 5023, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22910:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22913:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "22910:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 5027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22910:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22878:69:7" - }, - { - "assignments": [ - 5033 - ], - "declarations": [ - { - "constant": false, - "id": 5033, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "22977:11:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22957:31:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 5031, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5030, - "name": "RawReceipt", - "nameLocations": [ - "22957:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "22957:10:7" - }, - "referencedDeclaration": 4505, - "src": "22957:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 5032, - "nodeType": "ArrayTypeName", - "src": "22957:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 5041, - "initialValue": { - "arguments": [ - { - "id": 5036, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5022, - "src": "23002:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5037, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4505, - "src": "23021:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - }, - "id": 5038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "23021:12:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - } - ], - "id": 5039, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "23020:14:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - ], - "expression": { - "id": 5034, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22991:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22995:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22991:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22991:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22957:78:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5043, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5033, - "src": "23075:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - ], - "id": 5042, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5151, - "src": "23052:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory[] memory) pure returns (struct Test.Receipt memory[] memory)" - } - }, - "id": 5044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23052:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "functionReturnParameters": 5013, - "id": 5045, - "nodeType": "Return", - "src": "23045:42:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipts", - "nameLocation": "22725:12:7", - "parameters": { - "id": 5008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5007, - "mutability": "mutable", - "name": "path", - "nameLocation": "22752:4:7", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "22738:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22737:20:7" - }, - "returnParameters": { - "id": 5013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5012, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "22792:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5009, - "name": "Receipt", - "nameLocations": [ - "22792:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "22792:7:7" - }, - "referencedDeclaration": 4534, - "src": "22792:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5011, - "nodeType": "ArrayTypeName", - "src": "22792:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "22791:18:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5102, - "nodeType": "FunctionDefinition", - "src": "23100:464:7", - "body": { - "id": 5101, - "nodeType": "Block", - "src": "23207:357:7", - "statements": [ - { - "assignments": [ - 5058 - ], - "declarations": [ - { - "constant": false, - "id": 5058, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "23231:10:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23217:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5057, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23217:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5063, - "initialValue": { - "arguments": [ - { - "id": 5061, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5049, - "src": "23256:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5059, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23244:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23247:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "23244:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 5062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23244:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23217:44:7" - }, - { - "assignments": [ - 5065 - ], - "declarations": [ - { - "constant": false, - "id": 5065, - "mutability": "mutable", - "name": "key", - "nameLocation": "23285:3:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23271:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23271:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5078, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e72656365697074735b", - "id": 5070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23315:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", - "typeString": "literal_string \".receipts[\"" - }, - "value": ".receipts[" - }, - { - "arguments": [ - { - "id": 5073, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5051, - "src": "23340:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5071, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23328:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23331:8:7", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 7293, - "src": "23328:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) external returns (string memory)" - } - }, - "id": 5074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23328:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23348:3:7", - "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": 5068, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23298:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23302:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "23298:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23298:54:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "23291:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 5066, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23291:6:7", - "typeDescriptions": {} - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23291:62:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23271:82:7" - }, - { - "assignments": [ - 5080 - ], - "declarations": [ - { - "constant": false, - "id": 5080, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "23376:16:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23363:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5079, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "23363:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5086, - "initialValue": { - "arguments": [ - { - "id": 5083, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5058, - "src": "23408:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5084, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5065, - "src": "23420:3:7", - "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": 5081, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23395:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23398:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "23395:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 5085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23395:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23363:61:7" - }, - { - "assignments": [ - 5089 - ], - "declarations": [ - { - "constant": false, - "id": 5089, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "23452:10:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23434:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt" - }, - "typeName": { - "id": 5088, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5087, - "name": "RawReceipt", - "nameLocations": [ - "23434:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23434:10:7" - }, - "referencedDeclaration": 4505, - "src": "23434:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "id": 5096, - "initialValue": { - "arguments": [ - { - "id": 5092, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5080, - "src": "23476:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5093, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4505, - "src": "23495:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - } - ], - "id": 5094, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "23494:12:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - ], - "expression": { - "id": 5090, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23465:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23469:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "23465:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23465:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23434:73:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5098, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5089, - "src": "23546:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - ], - "id": 5097, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "23524:21:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$4505_memory_ptr_$returns$_t_struct$_Receipt_$4534_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory) pure returns (struct Test.Receipt memory)" - } - }, - "id": 5099, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23524:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "functionReturnParameters": 5056, - "id": 5100, - "nodeType": "Return", - "src": "23517:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipt", - "nameLocation": "23109:11:7", - "parameters": { - "id": 5052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5049, - "mutability": "mutable", - "name": "path", - "nameLocation": "23135:4:7", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23121:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5048, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23121:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5051, - "mutability": "mutable", - "name": "index", - "nameLocation": "23146:5:7", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23141:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5050, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23141:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23120:32:7" - }, - "returnParameters": { - "id": 5056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5055, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23187:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5054, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5053, - "name": "Receipt", - "nameLocations": [ - "23187:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23187:7:7" - }, - "referencedDeclaration": 4534, - "src": "23187:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "23186:16:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5151, - "nodeType": "FunctionDefinition", - "src": "23570:355:7", - "body": { - "id": 5150, - "nodeType": "Block", - "src": "23695:230:7", - "statements": [ - { - "assignments": [ - 5117 - ], - "declarations": [ - { - "constant": false, - "id": 5117, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "23722:8:7", - "nodeType": "VariableDeclaration", - "scope": 5150, - "src": "23705:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5115, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5114, - "name": "Receipt", - "nameLocations": [ - "23705:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23705:7:7" - }, - "referencedDeclaration": 4534, - "src": "23705:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5116, - "nodeType": "ArrayTypeName", - "src": "23705:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 5125, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 5122, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23747:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23759:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "23747:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "23733:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.Receipt memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 5119, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5118, - "name": "Receipt", - "nameLocations": [ - "23737:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23737:7:7" - }, - "referencedDeclaration": 4534, - "src": "23737:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5120, - "nodeType": "ArrayTypeName", - "src": "23737:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - } - }, - "id": 5124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23733:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23705:61:7" - }, - { - "body": { - "id": 5146, - "nodeType": "Block", - "src": "23818:76:7", - "statements": [ - { - "expression": { - "id": 5144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 5136, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "23832:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "id": 5138, - "indexExpression": { - "id": 5137, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23841:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "23832:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5140, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23868:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5142, - "indexExpression": { - "id": 5141, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23880:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "23868:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - ], - "id": 5139, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "23846:21:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$4505_memory_ptr_$returns$_t_struct$_Receipt_$4534_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory) pure returns (struct Test.Receipt memory)" - } - }, - "id": 5143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23846:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "src": "23832:51:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5145, - "nodeType": "ExpressionStatement", - "src": "23832:51:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5129, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23789:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5130, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23793:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23805:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "23793:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "23789:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5147, - "initializationExpression": { - "assignments": [ - 5127 - ], - "declarations": [ - { - "constant": false, - "id": 5127, - "mutability": "mutable", - "name": "i", - "nameLocation": "23786:1:7", - "nodeType": "VariableDeclaration", - "scope": 5147, - "src": "23781:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23781:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5128, - "nodeType": "VariableDeclarationStatement", - "src": "23781:6:7" - }, - "loopExpression": { - "expression": { - "id": 5134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "23813:3:7", - "subExpression": { - "id": 5133, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23813:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5135, - "nodeType": "ExpressionStatement", - "src": "23813:3:7" - }, - "nodeType": "ForStatement", - "src": "23776:118:7" - }, - { - "expression": { - "id": 5148, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "23910:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "functionReturnParameters": 5112, - "id": 5149, - "nodeType": "Return", - "src": "23903:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipts", - "nameLocation": "23579:22:7", - "parameters": { - "id": 5107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5106, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "23622:11:7", - "nodeType": "VariableDeclaration", - "scope": 5151, - "src": "23602:31:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 5104, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5103, - "name": "RawReceipt", - "nameLocations": [ - "23602:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23602:10:7" - }, - "referencedDeclaration": 4505, - "src": "23602:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 5105, - "nodeType": "ArrayTypeName", - "src": "23602:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "23601:33:7" - }, - "returnParameters": { - "id": 5112, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5111, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5151, - "src": "23673:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5108, - "name": "Receipt", - "nameLocations": [ - "23673:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23673:7:7" - }, - "referencedDeclaration": 4534, - "src": "23673:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5110, - "nodeType": "ArrayTypeName", - "src": "23673:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "23672:18:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5272, - "nodeType": "FunctionDefinition", - "src": "23931:966:7", - "body": { - "id": 5271, - "nodeType": "Block", - "src": "24050:847:7", - "statements": [ - { - "assignments": [ - 5162 - ], - "declarations": [ - { - "constant": false, - "id": 5162, - "mutability": "mutable", - "name": "receipt", - "nameLocation": "24075:7:7", - "nodeType": "VariableDeclaration", - "scope": 5271, - "src": "24060:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5161, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5160, - "name": "Receipt", - "nameLocations": [ - "24060:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "24060:7:7" - }, - "referencedDeclaration": 4534, - "src": "24060:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "id": 5163, - "nodeType": "VariableDeclarationStatement", - "src": "24060:22:7" - }, - { - "expression": { - "id": 5169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5164, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24092:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5166, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24100:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4507, - "src": "24092:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5167, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24112:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5168, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24123:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4478, - "src": "24112:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "24092:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5170, - "nodeType": "ExpressionStatement", - "src": "24092:40:7" - }, - { - "expression": { - "id": 5176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5171, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24142:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5173, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24150:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4529, - "src": "24142:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5174, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24155:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5175, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24166:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4500, - "src": "24155:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24142:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5177, - "nodeType": "ExpressionStatement", - "src": "24142:26:7" - }, - { - "expression": { - "id": 5183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5178, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24178:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5180, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24186:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4517, - "src": "24178:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5181, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24193:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5182, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24204:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4488, - "src": "24193:15:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24178:30:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5184, - "nodeType": "ExpressionStatement", - "src": "24178:30:7" - }, - { - "expression": { - "id": 5190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5185, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24218:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5187, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24226:15:7", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4511, - "src": "24218:23:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5188, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24244:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5189, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24255:15:7", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4482, - "src": "24244:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24218:52:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5191, - "nodeType": "ExpressionStatement", - "src": "24218:52:7" - }, - { - "expression": { - "id": 5199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5192, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24280:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5194, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24288:17:7", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 4515, - "src": "24280:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5196, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24320:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24331:17:7", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 4486, - "src": "24320:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5195, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24308:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24308:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24280:69:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5200, - "nodeType": "ExpressionStatement", - "src": "24280:69:7" - }, - { - "expression": { - "id": 5208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5201, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24359:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5203, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24367:17:7", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4513, - "src": "24359:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5205, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24398:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5206, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24409:17:7", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4484, - "src": "24398:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5204, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24386:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24386:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24359:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5209, - "nodeType": "ExpressionStatement", - "src": "24359:68:7" - }, - { - "expression": { - "id": 5217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5210, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24437:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5212, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24445:7:7", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4519, - "src": "24437:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5214, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24467:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5215, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24478:7:7", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4490, - "src": "24467:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5213, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24455:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24455:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24437:49:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5218, - "nodeType": "ExpressionStatement", - "src": "24437:49:7" - }, - { - "expression": { - "id": 5226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5219, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24496:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5221, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24504:6:7", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 4527, - "src": "24496:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5223, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24525:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5224, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24536:6:7", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 4498, - "src": "24525:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5222, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24513:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24513:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24496:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5227, - "nodeType": "ExpressionStatement", - "src": "24496:47:7" - }, - { - "expression": { - "id": 5235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5228, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24553:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5230, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24561:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4533, - "src": "24553:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5232, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24592:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5233, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24603:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4504, - "src": "24592:27:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5231, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24580:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24580:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24553:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5236, - "nodeType": "ExpressionStatement", - "src": "24553:67:7" - }, - { - "expression": { - "id": 5244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5237, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24630:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5239, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24638:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4509, - "src": "24630:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5241, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24664:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5242, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24675:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4480, - "src": "24664:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5240, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24652:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24652:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24630:57:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5245, - "nodeType": "ExpressionStatement", - "src": "24630:57:7" - }, - { - "expression": { - "id": 5253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5246, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24697:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5248, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24705:4:7", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 4523, - "src": "24697:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5250, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24738:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5251, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24749:4:7", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 4494, - "src": "24738:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - ], - "id": 5249, - "name": "rawToConvertedReceiptLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5409, - "src": "24712:25:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceiptLog memory[] memory) pure returns (struct Test.ReceiptLog memory[] memory)" - } - }, - "id": 5252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24712:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "src": "24697:57:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5254, - "nodeType": "ExpressionStatement", - "src": "24697:57:7" - }, - { - "expression": { - "id": 5260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5255, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24764:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5257, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24772:9:7", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 4525, - "src": "24764:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5258, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24784:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5259, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24795:9:7", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 4496, - "src": "24784:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "24764:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5261, - "nodeType": "ExpressionStatement", - "src": "24764:40:7" - }, - { - "expression": { - "id": 5267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5262, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24814:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24822:15:7", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4531, - "src": "24814:23:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5265, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24840:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5266, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24851:15:7", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4502, - "src": "24840:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "24814:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5268, - "nodeType": "ExpressionStatement", - "src": "24814:52:7" - }, - { - "expression": { - "id": 5269, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24883:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "functionReturnParameters": 5159, - "id": 5270, - "nodeType": "Return", - "src": "24876:14:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipt", - "nameLocation": "23940:21:7", - "parameters": { - "id": 5155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5154, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "23980:10:7", - "nodeType": "VariableDeclaration", - "scope": 5272, - "src": "23962:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt" - }, - "typeName": { - "id": 5153, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5152, - "name": "RawReceipt", - "nameLocations": [ - "23962:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23962:10:7" - }, - "referencedDeclaration": 4505, - "src": "23962:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "src": "23961:30:7" - }, - "returnParameters": { - "id": 5159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5158, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5272, - "src": "24030:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5157, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5156, - "name": "Receipt", - "nameLocations": [ - "24030:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "24030:7:7" - }, - "referencedDeclaration": 4534, - "src": "24030:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "24029:16:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5409, - "nodeType": "FunctionDefinition", - "src": "24903:843:7", - "body": { - "id": 5408, - "nodeType": "Block", - "src": "25034:712:7", - "statements": [ - { - "assignments": [ - 5287 - ], - "declarations": [ - { - "constant": false, - "id": 5287, - "mutability": "mutable", - "name": "logs", - "nameLocation": "25064:4:7", - "nodeType": "VariableDeclaration", - "scope": 5408, - "src": "25044:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5284, - "name": "ReceiptLog", - "nameLocations": [ - "25044:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25044:10:7" - }, - "referencedDeclaration": 4622, - "src": "25044:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5286, - "nodeType": "ArrayTypeName", - "src": "25044:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "id": 5295, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 5292, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25088:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25096:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25088:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5291, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "25071:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.ReceiptLog memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 5289, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5288, - "name": "ReceiptLog", - "nameLocations": [ - "25075:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25075:10:7" - }, - "referencedDeclaration": 4622, - "src": "25075:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5290, - "nodeType": "ArrayTypeName", - "src": "25075:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - } - }, - "id": 5294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25071:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "25044:59:7" - }, - { - "body": { - "id": 5404, - "nodeType": "Block", - "src": "25151:567:7", - "statements": [ - { - "expression": { - "id": 5314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5306, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25165:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5308, - "indexExpression": { - "id": 5307, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25170:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25165:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5309, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25173:10:7", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4604, - "src": "25165:18:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5310, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25186:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5312, - "indexExpression": { - "id": 5311, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25194:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25186:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5313, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25197:10:7", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4582, - "src": "25186:21:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "25165:42:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5315, - "nodeType": "ExpressionStatement", - "src": "25165:42:7" - }, - { - "expression": { - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5316, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25221:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5318, - "indexExpression": { - "id": 5317, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25226:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25221:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25229:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4606, - "src": "25221:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5320, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25241:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5322, - "indexExpression": { - "id": 5321, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25249:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25241:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25252:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4584, - "src": "25241:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "25221:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5325, - "nodeType": "ExpressionStatement", - "src": "25221:40:7" - }, - { - "expression": { - "id": 5336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5326, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25275:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5328, - "indexExpression": { - "id": 5327, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25280:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5329, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25283:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4608, - "src": "25275:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5331, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25309:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5333, - "indexExpression": { - "id": 5332, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25317:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25309:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5334, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25320:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4586, - "src": "25309:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5330, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25297:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25297:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25275:57:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5337, - "nodeType": "ExpressionStatement", - "src": "25275:57:7" - }, - { - "expression": { - "id": 5346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5338, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25346:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5340, - "indexExpression": { - "id": 5339, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25351:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25346:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5341, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25354:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4610, - "src": "25346:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5342, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25361:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5344, - "indexExpression": { - "id": 5343, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25369:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25361:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5345, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25372:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4588, - "src": "25361:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "25346:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5347, - "nodeType": "ExpressionStatement", - "src": "25346:30:7" - }, - { - "expression": { - "id": 5358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5348, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25390:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5350, - "indexExpression": { - "id": 5349, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25395:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25390:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5351, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25398:8:7", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4612, - "src": "25390:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5353, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25421:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5355, - "indexExpression": { - "id": 5354, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25421:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5356, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25432:8:7", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4590, - "src": "25421:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5352, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25409:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25409:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25390:51:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5359, - "nodeType": "ExpressionStatement", - "src": "25390:51:7" - }, - { - "expression": { - "id": 5368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5360, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25455:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5362, - "indexExpression": { - "id": 5361, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25460:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25455:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5363, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25463:6:7", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 4615, - "src": "25455:14:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5364, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25472:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5366, - "indexExpression": { - "id": 5365, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25480:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25472:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5367, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25483:6:7", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 4595, - "src": "25472:17:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "src": "25455:34:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5369, - "nodeType": "ExpressionStatement", - "src": "25455:34:7" - }, - { - "expression": { - "id": 5380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5370, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25503:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5372, - "indexExpression": { - "id": 5371, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25508:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25503:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5373, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25511:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4617, - "src": "25503:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5375, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25542:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5377, - "indexExpression": { - "id": 5376, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25550:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25542:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5378, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25553:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4599, - "src": "25542:27:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5374, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25530:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25530:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25503:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5381, - "nodeType": "ExpressionStatement", - "src": "25503:67:7" - }, - { - "expression": { - "id": 5392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5382, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25584:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5384, - "indexExpression": { - "id": 5383, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25589:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25584:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5385, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25592:19:7", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4619, - "src": "25584:27:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5387, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25626:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5389, - "indexExpression": { - "id": 5388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25634:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25626:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5390, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25637:19:7", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4601, - "src": "25626:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5386, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25614:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25614:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25584:73:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5393, - "nodeType": "ExpressionStatement", - "src": "25584:73:7" - }, - { - "expression": { - "id": 5402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5394, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25671:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5396, - "indexExpression": { - "id": 5395, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25676:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25671:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5397, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25679:7:7", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4621, - "src": "25671:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5398, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25689:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5400, - "indexExpression": { - "id": 5399, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25697:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25689:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5401, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25700:7:7", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4592, - "src": "25689:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "25671:36:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5403, - "nodeType": "ExpressionStatement", - "src": "25671:36:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25126:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5300, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25130:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25138:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25130:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25126:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5405, - "initializationExpression": { - "assignments": [ - 5297 - ], - "declarations": [ - { - "constant": false, - "id": 5297, - "mutability": "mutable", - "name": "i", - "nameLocation": "25123:1:7", - "nodeType": "VariableDeclaration", - "scope": 5405, - "src": "25118:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5296, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25118:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5298, - "nodeType": "VariableDeclarationStatement", - "src": "25118:6:7" - }, - "loopExpression": { - "expression": { - "id": 5304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "25146:3:7", - "subExpression": { - "id": 5303, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25146:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5305, - "nodeType": "ExpressionStatement", - "src": "25146:3:7" - }, - "nodeType": "ForStatement", - "src": "25113:605:7" - }, - { - "expression": { - "id": 5406, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25734:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "functionReturnParameters": 5282, - "id": 5407, - "nodeType": "Return", - "src": "25727:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceiptLogs", - "nameLocation": "24912:25:7", - "parameters": { - "id": 5277, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5276, - "mutability": "mutable", - "name": "rawLogs", - "nameLocation": "24961:7:7", - "nodeType": "VariableDeclaration", - "scope": 5409, - "src": "24938:30:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5274, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5273, - "name": "RawReceiptLog", - "nameLocations": [ - "24938:13:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4602, - "src": "24938:13:7" - }, - "referencedDeclaration": 4602, - "src": "24938:13:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_storage_ptr", - "typeString": "struct Test.RawReceiptLog" - } - }, - "id": 5275, - "nodeType": "ArrayTypeName", - "src": "24938:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "24937:32:7" - }, - "returnParameters": { - "id": 5282, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5281, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5409, - "src": "25009:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5279, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5278, - "name": "ReceiptLog", - "nameLocations": [ - "25009:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25009:10:7" - }, - "referencedDeclaration": 4622, - "src": "25009:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5280, - "nodeType": "ArrayTypeName", - "src": "25009:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "25008:21:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5464, - "nodeType": "FunctionDefinition", - "src": "25752:267:7", - "body": { - "id": 5463, - "nodeType": "Block", - "src": "25820:199:7", - "statements": [ - { - "assignments": [ - 5417 - ], - "declarations": [ - { - "constant": false, - "id": 5417, - "mutability": "mutable", - "name": "number", - "nameLocation": "25842:6:7", - "nodeType": "VariableDeclaration", - "scope": 5463, - "src": "25834:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25834:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5418, - "nodeType": "VariableDeclarationStatement", - "src": "25834:14:7" - }, - { - "body": { - "id": 5459, - "nodeType": "Block", - "src": "25896:94:7", - "statements": [ - { - "expression": { - "id": 5457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5430, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "25914:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5431, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "25923:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "baseExpression": { - "id": 5436, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25943:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5438, - "indexExpression": { - "id": 5437, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25945:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25943:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 5435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "25937:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 5434, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "25937:5:7", - "typeDescriptions": {} - } - }, - "id": 5439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25937:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "id": 5433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "25932:4:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5432, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25932:4:7", - "typeDescriptions": {} - } - }, - "id": 5440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25932:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 5441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25951:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "38", - "id": 5442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25955:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5443, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25958:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25960:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25958:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5445, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25968:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 5446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25970:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "25968:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5448, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25967:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25958:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5450, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25957:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25955:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5452, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25954:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25951:23:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5454, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25950:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25932:43:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25923:52:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25914:61:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5458, - "nodeType": "ExpressionStatement", - "src": "25914:61:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5423, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25877:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5424, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25881:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25883:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25881:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25877:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5460, - "initializationExpression": { - "assignments": [ - 5420 - ], - "declarations": [ - { - "constant": false, - "id": 5420, - "mutability": "mutable", - "name": "i", - "nameLocation": "25872:1:7", - "nodeType": "VariableDeclaration", - "scope": 5460, - "src": "25867:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5419, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25867:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5422, - "initialValue": { - "hexValue": "30", - "id": 5421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25874:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "25867:8:7" - }, - "loopExpression": { - "expression": { - "id": 5428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "25891:3:7", - "subExpression": { - "id": 5427, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25891:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5429, - "nodeType": "ExpressionStatement", - "src": "25891:3:7" - }, - "nodeType": "ForStatement", - "src": "25862:128:7" - }, - { - "expression": { - "id": 5461, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "26006:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5415, - "id": 5462, - "nodeType": "Return", - "src": "25999:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToUint", - "nameLocation": "25761:11:7", - "parameters": { - "id": 5412, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5411, - "mutability": "mutable", - "name": "b", - "nameLocation": "25786:1:7", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "25773:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5410, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "25773:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "25772:16:7" - }, - "returnParameters": { - "id": 5415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5414, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "25812:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5413, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25812:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25811:9:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 2901, - "name": "DSTest", - "nameLocations": [ - "224:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2272, - "src": "224:6:7" - }, - "id": 2902, - "nodeType": "InheritanceSpecifier", - "src": "224:6:7" - }, - { - "baseName": { - "id": 2903, - "name": "Script", - "nameLocations": [ - "232:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2535, - "src": "232:6:7" - }, - "id": 2904, - "nodeType": "InheritanceSpecifier", - "src": "232:6:7" - } - ], - "canonicalName": "Test", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5465, - 2535, - 2272 - ], - "name": "Test", - "nameLocation": "216:4:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 5535, - "nodeType": "ContractDefinition", - "src": "26222:984:7", - "nodes": [ - { - "id": 5472, - "nodeType": "VariableDeclaration", - "src": "26245:86:7", - "constant": true, - "functionSelector": "10332977", - "mutability": "constant", - "name": "assertionError", - "nameLocation": "26267:14:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26245:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26308:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783031", - "id": 5470, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26326: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": 5467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26284:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26288:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26284: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": 5471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26284:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5479, - "nodeType": "VariableDeclaration", - "src": "26337:87:7", - "constant": true, - "functionSelector": "8995290f", - "mutability": "constant", - "name": "arithmeticError", - "nameLocation": "26359:15:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5473, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26337:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26401:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783131", - "id": 5477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26419: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": 5474, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26377:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26381:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26377: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": 5478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26377:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5486, - "nodeType": "VariableDeclaration", - "src": "26430:85:7", - "constant": true, - "functionSelector": "fa784a44", - "mutability": "constant", - "name": "divisionError", - "nameLocation": "26452:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5480, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26430:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26492:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783132", - "id": 5484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26510: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": 5481, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26468:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26472:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26468: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": 5485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26468:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5493, - "nodeType": "VariableDeclaration", - "src": "26521:91:7", - "constant": true, - "functionSelector": "1de45560", - "mutability": "constant", - "name": "enumConversionError", - "nameLocation": "26543:19:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5487, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26521:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26589:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783231", - "id": 5491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26607: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": 5488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26565:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26569:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26565: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": 5492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26565:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5500, - "nodeType": "VariableDeclaration", - "src": "26618:90:7", - "constant": true, - "functionSelector": "d160e4de", - "mutability": "constant", - "name": "encodeStorageError", - "nameLocation": "26640:18:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5494, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26618:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26685:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783232", - "id": 5498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26703: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": 5495, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26661:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26665:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26661: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": 5499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26661:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5507, - "nodeType": "VariableDeclaration", - "src": "26714:80:7", - "constant": true, - "functionSelector": "b22dc54d", - "mutability": "constant", - "name": "popError", - "nameLocation": "26736:8:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5501, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26771:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783331", - "id": 5505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26789: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": 5502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26747:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26751:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26747: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": 5506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26747:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5514, - "nodeType": "VariableDeclaration", - "src": "26800:85:7", - "constant": true, - "functionSelector": "05ee8612", - "mutability": "constant", - "name": "indexOOBError", - "nameLocation": "26822:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5508, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26800:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26862:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783332", - "id": 5512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26880: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": 5509, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26838:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26842:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26838: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": 5513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26838:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5521, - "nodeType": "VariableDeclaration", - "src": "26891:88:7", - "constant": true, - "functionSelector": "986c5f68", - "mutability": "constant", - "name": "memOverflowError", - "nameLocation": "26913:16:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5515, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26891:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26956:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783431", - "id": 5519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26974: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": 5516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26932:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26936:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26932: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": 5520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26932:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5528, - "nodeType": "VariableDeclaration", - "src": "26985:84:7", - "constant": true, - "functionSelector": "b67689da", - "mutability": "constant", - "name": "zeroVarError", - "nameLocation": "27007:12:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5522, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26985:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27046:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783531", - "id": 5526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27064: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": 5523, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27022:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27026:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27022: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": 5527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27022:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5534, - "nodeType": "VariableDeclaration", - "src": "27148:47:7", - "constant": true, - "functionSelector": "ac3d92c6", - "mutability": "constant", - "name": "lowLevelError", - "nameLocation": "27170:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5529, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "27148:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "", - "id": 5532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27192:2:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 5531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "27186:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5530, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "27186:5:7", - "typeDescriptions": {} - } - }, - "id": 5533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27186:9: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": [ - 5535 - ], - "name": "stdError", - "nameLocation": "26230:8:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 5563, - "nodeType": "StructDefinition", - "src": "27407:275:7", - "canonicalName": "StdStorage", - "members": [ - { - "constant": false, - "id": 5543, - "mutability": "mutable", - "name": "slots", - "nameLocation": "27499:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27431:73:7", - "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": 5542, - "keyType": { - "id": 5536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27440:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "27431:67:7", - "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": 5541, - "keyType": { - "id": 5537, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27459:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "27451:46:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - }, - "valueType": { - "id": 5540, - "keyType": { - "id": 5538, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27477:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "27469:27:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 5539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27488:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5551, - "mutability": "mutable", - "name": "finds", - "nameLocation": "27576:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27510:71:7", - "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": 5550, - "keyType": { - "id": 5544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27519:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "27510:65:7", - "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": 5549, - "keyType": { - "id": 5545, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27538:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "27530:44:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - }, - "valueType": { - "id": 5548, - "keyType": { - "id": 5546, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27557:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "27549:24:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - }, - "valueType": { - "id": 5547, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27568:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5554, - "mutability": "mutable", - "name": "_keys", - "nameLocation": "27598:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27588:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5552, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27588:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5553, - "nodeType": "ArrayTypeName", - "src": "27588:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5556, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "27616:4:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27609:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5555, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27609:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5558, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "27634:6:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27626:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27626:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5560, - "mutability": "mutable", - "name": "_target", - "nameLocation": "27654:7:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27646:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5559, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27646:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5562, - "mutability": "mutable", - "name": "_set", - "nameLocation": "27675:4:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27667:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5561, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27667:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "name": "StdStorage", - "nameLocation": "27414:10:7", - "scope": 6805, - "visibility": "public" - }, - { - "id": 6665, - "nodeType": "ContractDefinition", - "src": "27684:8875:7", - "nodes": [ - { - "id": 5573, - "nodeType": "EventDefinition", - "src": "27709:71:7", - "anonymous": false, - "eventSelector": "9c9555b1e3102e3cf48f427d79cb678f5d9bd1ed0ad574389461e255f95170ed", - "name": "SlotFound", - "nameLocation": "27715:9:7", - "parameters": { - "id": 5572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5565, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "27733:3:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27725:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27725:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5567, - "indexed": false, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "27745:4:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27738:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5566, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5569, - "indexed": false, - "mutability": "mutable", - "name": "keysHash", - "nameLocation": "27759:8:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27751:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5568, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27751:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5571, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "27774:4:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27769:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27769:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27724:55:7" - } - }, - { - "id": 5579, - "nodeType": "EventDefinition", - "src": "27785:51:7", - "anonymous": false, - "eventSelector": "080fc4a96620c4462e705b23f346413fe3796bb63c6f8d8591baec0e231577a5", - "name": "WARNING_UninitedSlot", - "nameLocation": "27791:20:7", - "parameters": { - "id": 5578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5575, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "27820:3:7", - "nodeType": "VariableDeclaration", - "scope": 5579, - "src": "27812:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27812:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5577, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "27830:4:7", - "nodeType": "VariableDeclaration", - "scope": 5579, - "src": "27825:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5576, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27825:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27811:24:7" - } - }, - { - "id": 5582, - "nodeType": "VariableDeclaration", - "src": "27842:117:7", - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "27867:11:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27842:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 5581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27881:78:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "private" - }, - { - "id": 5585, - "nodeType": "VariableDeclaration", - "src": "27965:114:7", - "constant": true, - "mutability": "constant", - "name": "INT256_MAX", - "nameLocation": "27989:10:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 5583, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "27965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393637", - "id": 5584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28002:77:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9967" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819967" - }, - "visibility": "private" - }, - { - "id": 5602, - "nodeType": "VariableDeclaration", - "src": "28086:94:7", - "constant": true, - "mutability": "constant", - "name": "vm_std_store", - "nameLocation": "28106:12:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - }, - "typeName": { - "id": 5587, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5586, - "name": "Vm", - "nameLocations": [ - "28086:2:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 7558, - "src": "28086:2:7" - }, - "referencedDeclaration": 7558, - "src": "28086:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 5596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28158:17:7", - "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": 5595, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "28148:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28148:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28140:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5593, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28140:7:7", - "typeDescriptions": {} - } - }, - "id": 5598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28140:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28132:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 5591, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "28132:7:7", - "typeDescriptions": {} - } - }, - "id": 5599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28132:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 5590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28124:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5589, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28124:7:7", - "typeDescriptions": {} - } - }, - "id": 5600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28124:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5588, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7558, - "src": "28121:2:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$7558_$", - "typeString": "type(contract Vm)" - } - }, - "id": 5601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28121:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 5620, - "nodeType": "FunctionDefinition", - "src": "28187:165:7", - "body": { - "id": 5619, - "nodeType": "Block", - "src": "28296:56:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 5614, - "name": "sigStr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5604, - "src": "28336:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 5613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28330:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5612, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "28330:5:7", - "typeDescriptions": {} - } - }, - "id": 5615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28330:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5611, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "28320:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28320:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28313:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 5609, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "28313:6:7", - "typeDescriptions": {} - } - }, - "id": 5617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28313:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 5608, - "id": 5618, - "nodeType": "Return", - "src": "28306:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sigs", - "nameLocation": "28196:4:7", - "parameters": { - "id": 5605, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5604, - "mutability": "mutable", - "name": "sigStr", - "nameLocation": "28224:6:7", - "nodeType": "VariableDeclaration", - "scope": 5620, - "src": "28210:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5603, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28210:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28200:36:7" - }, - "returnParameters": { - "id": 5608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5607, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5620, - "src": "28284:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5606, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "28284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "28283:8:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6065, - "nodeType": "FunctionDefinition", - "src": "28866:3214:7", - "body": { - "id": 6064, - "nodeType": "Block", - "src": "28966:3114:7", - "statements": [ - { - "assignments": [ - 5630 - ], - "declarations": [ - { - "constant": false, - "id": 5630, - "mutability": "mutable", - "name": "who", - "nameLocation": "28984:3:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "28976:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5629, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28976:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 5633, - "initialValue": { - "expression": { - "id": 5631, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "28990:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5632, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "28995:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "28990:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "28976:26:7" - }, - { - "assignments": [ - 5635 - ], - "declarations": [ - { - "constant": false, - "id": 5635, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "29019:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29012:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5634, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "29012:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 5638, - "initialValue": { - "expression": { - "id": 5636, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29026:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5637, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29031:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "29026:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29012:23:7" - }, - { - "assignments": [ - 5640 - ], - "declarations": [ - { - "constant": false, - "id": 5640, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "29053:11:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29045:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5639, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29045:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5643, - "initialValue": { - "expression": { - "id": 5641, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29067:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29072:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "29067:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29045:33:7" - }, - { - "assignments": [ - 5648 - ], - "declarations": [ - { - "constant": false, - "id": 5648, - "mutability": "mutable", - "name": "ins", - "nameLocation": "29105:3:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29088:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5646, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29088:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5647, - "nodeType": "ArrayTypeName", - "src": "29088:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 5651, - "initialValue": { - "expression": { - "id": 5649, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29111:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29116:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "29111:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29088:33:7" - }, - { - "condition": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5652, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5653, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29177:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "29172:10:7", - "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": 5655, - "indexExpression": { - "id": 5654, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29183:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5657, - "indexExpression": { - "id": 5656, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29188:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5665, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5661, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29221:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5662, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29226:11:7", - "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": 5659, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29204:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29208:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29204:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29204:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5658, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "29194:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29194:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5682, - "nodeType": "IfStatement", - "src": "29168:174:7", - "trueBody": { - "id": 5681, - "nodeType": "Block", - "src": "29242:100:7", - "statements": [ - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5666, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29263:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29268:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "29263:10:7", - "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": 5669, - "indexExpression": { - "id": 5668, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29274:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5671, - "indexExpression": { - "id": 5670, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29279:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5679, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5675, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29312:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5676, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29317:11:7", - "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": 5673, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29295:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29299:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29295:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29295:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5672, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "29285:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29285:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5628, - "id": 5680, - "nodeType": "Return", - "src": "29256:75:7" - } - ] - } - }, - { - "assignments": [ - 5684 - ], - "declarations": [ - { - "constant": false, - "id": 5684, - "mutability": "mutable", - "name": "cald", - "nameLocation": "29364:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29351:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5683, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "29351:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5692, - "initialValue": { - "arguments": [ - { - "id": 5687, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29388:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 5689, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29402:3:7", - "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": 5688, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6664, - "src": "29394:7:7", - "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": 5690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29394:12:7", - "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": 5685, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29371:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29375:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29371:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29371:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29351:56:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 5693, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29417:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29430:6:7", - "memberName": "record", - "nodeType": "MemberAccess", - "referencedDeclaration": 7081, - "src": "29417:19:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 5696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29417:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5697, - "nodeType": "ExpressionStatement", - "src": "29417:21:7" - }, - { - "assignments": [ - 5699 - ], - "declarations": [ - { - "constant": false, - "id": 5699, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "29456:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29448:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5698, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29448:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5700, - "nodeType": "VariableDeclarationStatement", - "src": "29448:12:7" - }, - { - "id": 5717, - "nodeType": "Block", - "src": "29470:126:7", - "statements": [ - { - "assignments": [ - null, - 5702 - ], - "declarations": [ - null, - { - "constant": false, - "id": 5702, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "29500:4:7", - "nodeType": "VariableDeclaration", - "scope": 5717, - "src": "29487:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "29487:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5707, - "initialValue": { - "arguments": [ - { - "id": 5705, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5684, - "src": "29523:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5703, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29508:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29512:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "29508:14:7", - "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": 5706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29508:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29484:44:7" - }, - { - "expression": { - "id": 5715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5708, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "29542:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5710, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "29564:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5711, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29570:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 5712, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29573:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "29570:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5709, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "29549:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 5714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29549:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29542:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5716, - "nodeType": "ExpressionStatement", - "src": "29542:43:7" - } - ] - }, - { - "assignments": [ - 5722, - null - ], - "declarations": [ - { - "constant": false, - "id": 5722, - "mutability": "mutable", - "name": "reads", - "nameLocation": "29624:5:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29607:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5720, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29607:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5721, - "nodeType": "ArrayTypeName", - "src": "29607:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - null - ], - "id": 5730, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 5727, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29665:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29657:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29657:7:7", - "typeDescriptions": {} - } - }, - "id": 5728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29657:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5723, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29635:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29648:8:7", - "memberName": "accesses", - "nodeType": "MemberAccess", - "referencedDeclaration": 7092, - "src": "29635:21:7", - "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": 5729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29635:35:7", - "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": "29606:64:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5731, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29684:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29690:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "29684:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 5733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29700:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "29684:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5833, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30393:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30399:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "30393:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30408:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "30393:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6012, - "nodeType": "Block", - "src": "31631:107:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31653:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a204e6f2073746f726167652075736520646574656374656420666f72207461726765742e", - "id": 6009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31660:66:7", - "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": 6007, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "31645:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31645:82:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6011, - "nodeType": "ExpressionStatement", - "src": "31645:82:7" - } - ] - }, - "id": 6013, - "nodeType": "IfStatement", - "src": "30389:1349:7", - "trueBody": { - "id": 6006, - "nodeType": "Block", - "src": "30411:1214:7", - "statements": [ - { - "body": { - "id": 6004, - "nodeType": "Block", - "src": "30468:1147:7", - "statements": [ - { - "assignments": [ - 5849 - ], - "declarations": [ - { - "constant": false, - "id": 5849, - "mutability": "mutable", - "name": "prev", - "nameLocation": "30494:4:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30486:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5848, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30486:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5857, - "initialValue": { - "arguments": [ - { - "id": 5852, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30519:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5853, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30524:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5855, - "indexExpression": { - "id": 5854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30530:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30524:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 5850, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "30501:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30514:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "30501:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 5856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30501:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "30486:47:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5858, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "30555:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 5861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30571:1:7", - "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": 5860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30563:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5859, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30563:7:7", - "typeDescriptions": {} - } - }, - "id": 5862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30563:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "30555:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5875, - "nodeType": "IfStatement", - "src": "30551:114:7", - "trueBody": { - "id": 5874, - "nodeType": "Block", - "src": "30575:90:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5865, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30623:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5868, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30636:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5870, - "indexExpression": { - "id": 5869, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30642:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30636:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30628:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5866, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30628:7:7", - "typeDescriptions": {} - } - }, - "id": 5871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30628:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5864, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "30602:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30602:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5873, - "nodeType": "EmitStatement", - "src": "30597:49:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5879, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30726:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5880, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30731:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5882, - "indexExpression": { - "id": 5881, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30737:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30731:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "hexValue": "1337", - "id": 5885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30749:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 5884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30741:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5883, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30741:7:7", - "typeDescriptions": {} - } - }, - "id": 5886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30741:18:7", - "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": 5876, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "30707:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30720:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "30707:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 5887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30707:53:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5888, - "nodeType": "ExpressionStatement", - "src": "30707:53:7" - }, - { - "assignments": [ - 5890 - ], - "declarations": [ - { - "constant": false, - "id": 5890, - "mutability": "mutable", - "name": "success", - "nameLocation": "30783:7:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30778:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5889, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30778:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "id": 5891, - "nodeType": "VariableDeclarationStatement", - "src": "30778:12:7" - }, - { - "assignments": [ - 5893 - ], - "declarations": [ - { - "constant": false, - "id": 5893, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "30821:4:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30808:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5892, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "30808:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5894, - "nodeType": "VariableDeclarationStatement", - "src": "30808:17:7" - }, - { - "id": 5913, - "nodeType": "Block", - "src": "30843:144:7", - "statements": [ - { - "expression": { - "id": 5902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 5895, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5890, - "src": "30866:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5896, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "30875:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 5897, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "30865:15:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5900, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5684, - "src": "30898:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5898, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30883:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30887:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "30883:14:7", - "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": 5901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30883:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "src": "30865:38:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5903, - "nodeType": "ExpressionStatement", - "src": "30865:38:7" - }, - { - "expression": { - "id": 5911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5904, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "30925:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5906, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "30947:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30953:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 5908, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30956:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30953:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5905, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "30932:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 5910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30932:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "30925:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5912, - "nodeType": "ExpressionStatement", - "src": "30925:43:7" - } - ] - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5914, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5890, - "src": "31009:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5915, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "31020:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "1337", - "id": 5918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31036:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 5917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31028:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5916, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "31028:7:7", - "typeDescriptions": {} - } - }, - "id": 5919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31028:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "31020:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "31009:37:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5993, - "nodeType": "IfStatement", - "src": "31005:539:7", - "trueBody": { - "id": 5992, - "nodeType": "Block", - "src": "31048:496:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5923, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31154:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5924, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31159:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 5928, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31192:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5929, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31197:11:7", - "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": 5926, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31175:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31179:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31175:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31175:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5925, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31165:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31165:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5934, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31220:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5936, - "indexExpression": { - "id": 5935, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31226:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31220:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31212:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31212:7:7", - "typeDescriptions": {} - } - }, - "id": 5937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31212:17:7", - "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": 5922, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "31144:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 5938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31144:86:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5939, - "nodeType": "EmitStatement", - "src": "31139:91:7" - }, - { - "expression": { - "id": 5961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5940, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31252:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5951, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31257:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "31252:10:7", - "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": 5952, - "indexExpression": { - "id": 5942, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31263:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31252:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5953, - "indexExpression": { - "id": 5943, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31268:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31252:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5954, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5947, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31301:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5948, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31306:11:7", - "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": 5945, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31284:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31288:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31284:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31284:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5944, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31274:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31274:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "31252:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5957, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31331:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5959, - "indexExpression": { - "id": 5958, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31337:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31331:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5956, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31323:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5955, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31323:7:7", - "typeDescriptions": {} - } - }, - "id": 5960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31323:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "31252:88:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5962, - "nodeType": "ExpressionStatement", - "src": "31252:88:7" - }, - { - "expression": { - "id": 5979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5963, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31362:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31367:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "31362:10:7", - "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": 5975, - "indexExpression": { - "id": 5965, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31373:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31362:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5976, - "indexExpression": { - "id": 5966, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31378:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31362:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5977, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5970, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31411:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5971, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31416:11:7", - "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": 5968, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31394:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5969, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31398:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31394:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31394:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5967, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31384:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31384:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "31362:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 5978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31433:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "31362:75:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5980, - "nodeType": "ExpressionStatement", - "src": "31362:75:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5984, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31478:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5985, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31483:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5987, - "indexExpression": { - "id": 5986, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31489:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31483:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 5988, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "31493:4:7", - "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": 5981, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "31459:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31472:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "31459:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 5989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31459:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5990, - "nodeType": "ExpressionStatement", - "src": "31459:39:7" - }, - { - "id": 5991, - "nodeType": "Break", - "src": "31520:5:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5997, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31580:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5998, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31585:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6000, - "indexExpression": { - "id": 5999, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31591:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31585:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6001, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "31595:4:7", - "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": 5994, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "31561:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31574:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "31561:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31561:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6003, - "nodeType": "ExpressionStatement", - "src": "31561:39:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5841, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30445:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5842, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30449:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30455:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "30449:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30445:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6005, - "initializationExpression": { - "assignments": [ - 5838 - ], - "declarations": [ - { - "constant": false, - "id": 5838, - "mutability": "mutable", - "name": "i", - "nameLocation": "30438:1:7", - "nodeType": "VariableDeclaration", - "scope": 6005, - "src": "30430:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30430:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5840, - "initialValue": { - "hexValue": "30", - "id": 5839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30442:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "30430:13:7" - }, - "loopExpression": { - "expression": { - "id": 5846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "30463:3:7", - "subExpression": { - "id": 5845, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30463:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5847, - "nodeType": "ExpressionStatement", - "src": "30463:3:7" - }, - "nodeType": "ForStatement", - "src": "30425:1190:7" - } - ] - } - }, - "id": 6014, - "nodeType": "IfStatement", - "src": "29680:2058:7", - "trueBody": { - "id": 5832, - "nodeType": "Block", - "src": "29703:680:7", - "statements": [ - { - "assignments": [ - 5736 - ], - "declarations": [ - { - "constant": false, - "id": 5736, - "mutability": "mutable", - "name": "curr", - "nameLocation": "29725:4:7", - "nodeType": "VariableDeclaration", - "scope": 5832, - "src": "29717:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5735, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29717:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5744, - "initialValue": { - "arguments": [ - { - "id": 5739, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29750:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5740, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29755:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5742, - "indexExpression": { - "hexValue": "30", - "id": 5741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29761:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29755:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 5737, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29732:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29745:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "29732:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 5743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29732:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29717:47:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5745, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "29782:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 5748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29798:1:7", - "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": 5747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29790:7:7", - "typeDescriptions": {} - } - }, - "id": 5749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29790:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29782:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5762, - "nodeType": "IfStatement", - "src": "29778:106:7", - "trueBody": { - "id": 5761, - "nodeType": "Block", - "src": "29802:82:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5752, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29846:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5755, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29859:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5757, - "indexExpression": { - "hexValue": "30", - "id": 5756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29865:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29859:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29851:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5753, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29851:7:7", - "typeDescriptions": {} - } - }, - "id": 5758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29851:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5751, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "29825:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29825:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5760, - "nodeType": "EmitStatement", - "src": "29820:49:7" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5763, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "29901:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 5764, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "29909:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29901:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5772, - "nodeType": "IfStatement", - "src": "29897:180:7", - "trueBody": { - "id": 5771, - "nodeType": "Block", - "src": "29915:162:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 5767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29941:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 5768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29948:113:7", - "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": 5766, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "29933:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29933:129:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5770, - "nodeType": "ExpressionStatement", - "src": "29933:129:7" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "id": 5774, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30105:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5775, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30110:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 5779, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30143:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5780, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30148:11:7", - "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": 5777, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30126:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30130:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30126:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30126:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5776, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30116:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30116:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5785, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30171:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5787, - "indexExpression": { - "hexValue": "30", - "id": 5786, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30177:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30171:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30163:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30163:7:7", - "typeDescriptions": {} - } - }, - "id": 5788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30163:17:7", - "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": 5773, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "30095:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 5789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30095:86:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5790, - "nodeType": "EmitStatement", - "src": "30090:91:7" - }, - { - "expression": { - "id": 5812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5791, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "30195:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30200:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "30195:10:7", - "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": 5803, - "indexExpression": { - "id": 5793, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30206:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30195:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5804, - "indexExpression": { - "id": 5794, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30211:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30195:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5805, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5798, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30244:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5799, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30249:11:7", - "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": 5796, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30227:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30231:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30227:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30227:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5795, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30217:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30217:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "30195:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5808, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30274:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5810, - "indexExpression": { - "hexValue": "30", - "id": 5809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30280:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30274:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30266:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5806, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30266:7:7", - "typeDescriptions": {} - } - }, - "id": 5811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30266:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30195:88:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5813, - "nodeType": "ExpressionStatement", - "src": "30195:88:7" - }, - { - "expression": { - "id": 5830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5814, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "30297:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5825, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30302:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "30297:10:7", - "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": 5826, - "indexExpression": { - "id": 5816, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30308:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30297:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5827, - "indexExpression": { - "id": 5817, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30313:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30297:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5828, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5821, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30346:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5822, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30351:11:7", - "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": 5819, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30329:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5820, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30333:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30329:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30329:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5818, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30319:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30319:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "30297:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 5829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30368:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "30297:75:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5831, - "nodeType": "ExpressionStatement", - "src": "30297:75:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6016, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31756:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6017, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31761:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "31756:10:7", - "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": 6019, - "indexExpression": { - "id": 6018, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31767:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6021, - "indexExpression": { - "id": 6020, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31772:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6029, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6025, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31805:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6026, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31810:11:7", - "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": 6023, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31788:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31792:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31788:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31788:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6022, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31778:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31778:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a20536c6f74287329206e6f7420666f756e642e", - "id": 6030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31826:49:7", - "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": 6015, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "31748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31748:128:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6032, - "nodeType": "ExpressionStatement", - "src": "31748:128:7" - }, - { - "expression": { - "id": 6035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31887:19:7", - "subExpression": { - "expression": { - "id": 6033, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6034, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31899:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "31894:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6036, - "nodeType": "ExpressionStatement", - "src": "31887:19:7" - }, - { - "expression": { - "id": 6039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31916:16:7", - "subExpression": { - "expression": { - "id": 6037, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31923:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6038, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31928:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "31923:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6040, - "nodeType": "ExpressionStatement", - "src": "31916:16:7" - }, - { - "expression": { - "id": 6043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31942:17:7", - "subExpression": { - "expression": { - "id": 6041, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31949:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6042, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31954:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "31949:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6044, - "nodeType": "ExpressionStatement", - "src": "31942:17:7" - }, - { - "expression": { - "id": 6047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31969:18:7", - "subExpression": { - "expression": { - "id": 6045, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31976:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6046, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31981:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "31976:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6048, - "nodeType": "ExpressionStatement", - "src": "31969:18:7" - }, - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6049, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "32005:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6050, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32010:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "32005:10:7", - "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": 6052, - "indexExpression": { - "id": 6051, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "32016:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6054, - "indexExpression": { - "id": 6053, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "32021:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6062, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6058, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "32054:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6059, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "32059:11:7", - "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": 6056, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32037:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32041:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "32037:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32037:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6055, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "32027:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32027:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5628, - "id": 6063, - "nodeType": "Return", - "src": "31998:75:7" - } - ] - }, - "documentation": { - "id": 5621, - "nodeType": "StructuredDocumentation", - "src": "28358:129:7", - "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": "28875:4:7", - "parameters": { - "id": 5625, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5624, - "mutability": "mutable", - "name": "self", - "nameLocation": "28908:4:7", - "nodeType": "VariableDeclaration", - "scope": 6065, - "src": "28889:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 5623, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5622, - "name": "StdStorage", - "nameLocations": [ - "28889:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "28889:10:7" - }, - "referencedDeclaration": 5563, - "src": "28889:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "28879:39:7" - }, - "returnParameters": { - "id": 5628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5627, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6065, - "src": "28953:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5626, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28952:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6085, - "nodeType": "FunctionDefinition", - "src": "32086:156:7", - "body": { - "id": 6084, - "nodeType": "Block", - "src": "32182:60:7", - "statements": [ - { - "expression": { - "id": 6080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6076, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "32192:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32197:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "32192:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6079, - "name": "_target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6070, - "src": "32207:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "32192:22:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6081, - "nodeType": "ExpressionStatement", - "src": "32192:22:7" - }, - { - "expression": { - "id": 6082, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "32231:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6075, - "id": 6083, - "nodeType": "Return", - "src": "32224:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "target", - "nameLocation": "32095:6:7", - "parameters": { - "id": 6071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6068, - "mutability": "mutable", - "name": "self", - "nameLocation": "32121:4:7", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32102:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6067, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6066, - "name": "StdStorage", - "nameLocations": [ - "32102:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32102:10:7" - }, - "referencedDeclaration": 5563, - "src": "32102:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6070, - "mutability": "mutable", - "name": "_target", - "nameLocation": "32135:7:7", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32127:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32127:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32101:42:7" - }, - "returnParameters": { - "id": 6075, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6074, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32162:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6073, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6072, - "name": "StdStorage", - "nameLocations": [ - "32162:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32162:10:7" - }, - "referencedDeclaration": 5563, - "src": "32162:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32161:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6105, - "nodeType": "FunctionDefinition", - "src": "32248:143:7", - "body": { - "id": 6104, - "nodeType": "Block", - "src": "32337:54:7", - "statements": [ - { - "expression": { - "id": 6100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6096, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "32347:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6098, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32352:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "32347:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6099, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6090, - "src": "32359:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "32347:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6101, - "nodeType": "ExpressionStatement", - "src": "32347:16:7" - }, - { - "expression": { - "id": 6102, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "32380:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6095, - "id": 6103, - "nodeType": "Return", - "src": "32373:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "32257:3:7", - "parameters": { - "id": 6091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6088, - "mutability": "mutable", - "name": "self", - "nameLocation": "32280:4:7", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32261:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6087, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6086, - "name": "StdStorage", - "nameLocations": [ - "32261:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32261:10:7" - }, - "referencedDeclaration": 5563, - "src": "32261:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6090, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "32293:4:7", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32286:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6089, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "32286:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "32260:38:7" - }, - "returnParameters": { - "id": 6095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6094, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32317:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6093, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6092, - "name": "StdStorage", - "nameLocations": [ - "32317:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32317:10:7" - }, - "referencedDeclaration": 5563, - "src": "32317:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32316:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6127, - "nodeType": "FunctionDefinition", - "src": "32397:156:7", - "body": { - "id": 6126, - "nodeType": "Block", - "src": "32493:60:7", - "statements": [ - { - "expression": { - "id": 6122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6116, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6108, - "src": "32503:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32508:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "32503:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6120, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6110, - "src": "32520:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 6119, - "name": "sigs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5620, - "src": "32515:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (string memory) pure returns (bytes4)" - } - }, - "id": 6121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32515:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "32503:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6123, - "nodeType": "ExpressionStatement", - "src": "32503:22:7" - }, - { - "expression": { - "id": 6124, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6108, - "src": "32542:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6115, - "id": 6125, - "nodeType": "Return", - "src": "32535:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "32406:3:7", - "parameters": { - "id": 6111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6108, - "mutability": "mutable", - "name": "self", - "nameLocation": "32429:4:7", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32410:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6107, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6106, - "name": "StdStorage", - "nameLocations": [ - "32410:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32410:10:7" - }, - "referencedDeclaration": 5563, - "src": "32410:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6110, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "32449:4:7", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32435:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6109, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32435:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32409:45:7" - }, - "returnParameters": { - "id": 6115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6114, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32473:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6113, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6112, - "name": "StdStorage", - "nameLocations": [ - "32473:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32473:10:7" - }, - "referencedDeclaration": 5563, - "src": "32473:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32472:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6158, - "nodeType": "FunctionDefinition", - "src": "32559:179:7", - "body": { - "id": 6157, - "nodeType": "Block", - "src": "32653:85:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6149, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6132, - "src": "32703:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32695:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6147, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "32695:7:7", - "typeDescriptions": {} - } - }, - "id": 6150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32695:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32687:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6145, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32687:7:7", - "typeDescriptions": {} - } - }, - "id": 6151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32687:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32679:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6143, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32679:7:7", - "typeDescriptions": {} - } - }, - "id": 6152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32679:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6138, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6130, - "src": "32663:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6141, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32668:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "32663:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32674:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "32663:15:7", - "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": 6153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32663:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6154, - "nodeType": "ExpressionStatement", - "src": "32663:47:7" - }, - { - "expression": { - "id": 6155, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6130, - "src": "32727:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6137, - "id": 6156, - "nodeType": "Return", - "src": "32720:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32568:8:7", - "parameters": { - "id": 6133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6130, - "mutability": "mutable", - "name": "self", - "nameLocation": "32596:4:7", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32577:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6129, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6128, - "name": "StdStorage", - "nameLocations": [ - "32577:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32577:10:7" - }, - "referencedDeclaration": 5563, - "src": "32577:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6132, - "mutability": "mutable", - "name": "who", - "nameLocation": "32610:3:7", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32602:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32602:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32576:38:7" - }, - "returnParameters": { - "id": 6137, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6136, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32633:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6135, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6134, - "name": "StdStorage", - "nameLocations": [ - "32633:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32633:10:7" - }, - "referencedDeclaration": 5563, - "src": "32633:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32632:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6183, - "nodeType": "FunctionDefinition", - "src": "32744:161:7", - "body": { - "id": 6182, - "nodeType": "Block", - "src": "32838:67:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6176, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6163, - "src": "32872:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32864:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6174, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32864:7:7", - "typeDescriptions": {} - } - }, - "id": 6177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32864:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6169, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6161, - "src": "32848:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6172, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32853:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "32848:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32859:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "32848:15:7", - "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": 6178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32848:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6179, - "nodeType": "ExpressionStatement", - "src": "32848:29:7" - }, - { - "expression": { - "id": 6180, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6161, - "src": "32894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6168, - "id": 6181, - "nodeType": "Return", - "src": "32887:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32753:8:7", - "parameters": { - "id": 6164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6161, - "mutability": "mutable", - "name": "self", - "nameLocation": "32781:4:7", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32762:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6160, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6159, - "name": "StdStorage", - "nameLocations": [ - "32762:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32762:10:7" - }, - "referencedDeclaration": 5563, - "src": "32762:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6163, - "mutability": "mutable", - "name": "amt", - "nameLocation": "32795:3:7", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32787:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6162, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32787:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32761:38:7" - }, - "returnParameters": { - "id": 6168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6167, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32818:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6166, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6165, - "name": "StdStorage", - "nameLocations": [ - "32818:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32818:10:7" - }, - "referencedDeclaration": 5563, - "src": "32818:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32817:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6205, - "nodeType": "FunctionDefinition", - "src": "32910:152:7", - "body": { - "id": 6204, - "nodeType": "Block", - "src": "33004:58:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6199, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6188, - "src": "33030:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6194, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6186, - "src": "33014:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33019:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "33014:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33025:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "33014:15:7", - "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": 6200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33014:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6201, - "nodeType": "ExpressionStatement", - "src": "33014:20:7" - }, - { - "expression": { - "id": 6202, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6186, - "src": "33051:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6193, - "id": 6203, - "nodeType": "Return", - "src": "33044:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32919:8:7", - "parameters": { - "id": 6189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6186, - "mutability": "mutable", - "name": "self", - "nameLocation": "32947:4:7", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32928:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6185, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6184, - "name": "StdStorage", - "nameLocations": [ - "32928:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32928:10:7" - }, - "referencedDeclaration": 5563, - "src": "32928:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6188, - "mutability": "mutable", - "name": "key", - "nameLocation": "32961:3:7", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32953:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6187, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "32927:38:7" - }, - "returnParameters": { - "id": 6193, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6192, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32984:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6191, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6190, - "name": "StdStorage", - "nameLocations": [ - "32984:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32984:10:7" - }, - "referencedDeclaration": 5563, - "src": "32984:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32983:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6225, - "nodeType": "FunctionDefinition", - "src": "33068:152:7", - "body": { - "id": 6224, - "nodeType": "Block", - "src": "33162:58:7", - "statements": [ - { - "expression": { - "id": 6220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6216, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6208, - "src": "33172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6218, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "33177:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "33172:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6219, - "name": "_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6210, - "src": "33186:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "33172:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6221, - "nodeType": "ExpressionStatement", - "src": "33172:20:7" - }, - { - "expression": { - "id": 6222, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6208, - "src": "33209:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6215, - "id": 6223, - "nodeType": "Return", - "src": "33202:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depth", - "nameLocation": "33077:5:7", - "parameters": { - "id": 6211, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6208, - "mutability": "mutable", - "name": "self", - "nameLocation": "33102:4:7", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33083:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6207, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6206, - "name": "StdStorage", - "nameLocations": [ - "33083:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33083:10:7" - }, - "referencedDeclaration": 5563, - "src": "33083:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6210, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "33116:6:7", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33108:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6209, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33108:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33082:41:7" - }, - "returnParameters": { - "id": 6215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6214, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33142:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6213, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6212, - "name": "StdStorage", - "nameLocations": [ - "33142:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33142:10:7" - }, - "referencedDeclaration": 5563, - "src": "33142:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "33141:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6248, - "nodeType": "FunctionDefinition", - "src": "33226:138:7", - "body": { - "id": 6247, - "nodeType": "Block", - "src": "33296:68:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6234, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6228, - "src": "33320:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6241, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6230, - "src": "33350:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33342:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6239, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "33342:7:7", - "typeDescriptions": {} - } - }, - "id": 6242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33342:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33334:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6237, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33334:7:7", - "typeDescriptions": {} - } - }, - "id": 6243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33334:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33326:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6235, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33326:7:7", - "typeDescriptions": {} - } - }, - "id": 6244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33326:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6233, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33306:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33306:51:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6246, - "nodeType": "ExpressionStatement", - "src": "33306:51:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33235:13:7", - "parameters": { - "id": 6231, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6228, - "mutability": "mutable", - "name": "self", - "nameLocation": "33268:4:7", - "nodeType": "VariableDeclaration", - "scope": 6248, - "src": "33249:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6227, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6226, - "name": "StdStorage", - "nameLocations": [ - "33249:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33249:10:7" - }, - "referencedDeclaration": 5563, - "src": "33249:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6230, - "mutability": "mutable", - "name": "who", - "nameLocation": "33282:3:7", - "nodeType": "VariableDeclaration", - "scope": 6248, - "src": "33274:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33274:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33248:38:7" - }, - "returnParameters": { - "id": 6232, - "nodeType": "ParameterList", - "parameters": [], - "src": "33296:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6265, - "nodeType": "FunctionDefinition", - "src": "33370:120:7", - "body": { - "id": 6264, - "nodeType": "Block", - "src": "33440:50:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6257, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6251, - "src": "33464:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "id": 6260, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6253, - "src": "33478:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33470:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6258, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33470:7:7", - "typeDescriptions": {} - } - }, - "id": 6261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33470:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6256, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33450:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6262, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33450:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6263, - "nodeType": "ExpressionStatement", - "src": "33450:33:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33379:13:7", - "parameters": { - "id": 6254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6251, - "mutability": "mutable", - "name": "self", - "nameLocation": "33412:4:7", - "nodeType": "VariableDeclaration", - "scope": 6265, - "src": "33393:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6250, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6249, - "name": "StdStorage", - "nameLocations": [ - "33393:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33393:10:7" - }, - "referencedDeclaration": 5563, - "src": "33393:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6253, - "mutability": "mutable", - "name": "amt", - "nameLocation": "33426:3:7", - "nodeType": "VariableDeclaration", - "scope": 6265, - "src": "33418:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33418:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33392:38:7" - }, - "returnParameters": { - "id": 6255, - "nodeType": "ParameterList", - "parameters": [], - "src": "33440:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6283, - "nodeType": "FunctionDefinition", - "src": "33496:222:7", - "body": { - "id": 6282, - "nodeType": "Block", - "src": "33565:153:7", - "statements": [ - { - "assignments": [ - 6274 - ], - "declarations": [ - { - "constant": false, - "id": 6274, - "mutability": "mutable", - "name": "t", - "nameLocation": "33583:1:7", - "nodeType": "VariableDeclaration", - "scope": 6282, - "src": "33575:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6273, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33575:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6275, - "nodeType": "VariableDeclarationStatement", - "src": "33575:9:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "33646:34:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "33660:10:7", - "value": { - "name": "write", - "nodeType": "YulIdentifier", - "src": "33665:5:7" - }, - "variableNames": [ - { - "name": "t", - "nodeType": "YulIdentifier", - "src": "33660:1:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 6274, - "isOffset": false, - "isSlot": false, - "src": "33660:1:7", - "valueSize": 1 - }, - { - "declaration": 6270, - "isOffset": false, - "isSlot": false, - "src": "33665:5:7", - "valueSize": 1 - } - ], - "id": 6276, - "nodeType": "InlineAssembly", - "src": "33637:43:7" - }, - { - "expression": { - "arguments": [ - { - "id": 6278, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6268, - "src": "33703:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 6279, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6274, - "src": "33709:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6277, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33689:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33689:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6281, - "nodeType": "ExpressionStatement", - "src": "33689:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33505:13:7", - "parameters": { - "id": 6271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6268, - "mutability": "mutable", - "name": "self", - "nameLocation": "33538:4:7", - "nodeType": "VariableDeclaration", - "scope": 6283, - "src": "33519:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6267, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6266, - "name": "StdStorage", - "nameLocations": [ - "33519:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33519:10:7" - }, - "referencedDeclaration": 5563, - "src": "33519:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6270, - "mutability": "mutable", - "name": "write", - "nameLocation": "33549:5:7", - "nodeType": "VariableDeclaration", - "scope": 6283, - "src": "33544:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6269, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33544:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33518:37:7" - }, - "returnParameters": { - "id": 6272, - "nodeType": "ParameterList", - "parameters": [], - "src": "33565:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6428, - "nodeType": "FunctionDefinition", - "src": "33724:1089:7", - "body": { - "id": 6427, - "nodeType": "Block", - "src": "33816:997:7", - "statements": [ - { - "assignments": [ - 6292 - ], - "declarations": [ - { - "constant": false, - "id": 6292, - "mutability": "mutable", - "name": "who", - "nameLocation": "33834:3:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33826:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33826:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6295, - "initialValue": { - "expression": { - "id": 6293, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33840:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33845:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "33840:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33826:26:7" - }, - { - "assignments": [ - 6297 - ], - "declarations": [ - { - "constant": false, - "id": 6297, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "33869:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33862:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6296, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "33862:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 6300, - "initialValue": { - "expression": { - "id": 6298, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33876:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6299, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33881:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "33876:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33862:23:7" - }, - { - "assignments": [ - 6302 - ], - "declarations": [ - { - "constant": false, - "id": 6302, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "33903:11:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33895:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33895:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6305, - "initialValue": { - "expression": { - "id": 6303, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33917:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6304, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33922:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "33917:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33895:33:7" - }, - { - "assignments": [ - 6310 - ], - "declarations": [ - { - "constant": false, - "id": 6310, - "mutability": "mutable", - "name": "ins", - "nameLocation": "33955:3:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33938:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6308, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33938:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6309, - "nodeType": "ArrayTypeName", - "src": "33938:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 6313, - "initialValue": { - "expression": { - "id": 6311, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33961:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33966:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "33961:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33938:33:7" - }, - { - "assignments": [ - 6315 - ], - "declarations": [ - { - "constant": false, - "id": 6315, - "mutability": "mutable", - "name": "cald", - "nameLocation": "33995:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33982:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6314, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "33982:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6323, - "initialValue": { - "arguments": [ - { - "id": 6318, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34019:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 6320, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34033:3:7", - "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": 6319, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6664, - "src": "34025:7:7", - "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": 6321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34025:12:7", - "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": 6316, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34002:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34006:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34002:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34002:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33982:56:7" - }, - { - "condition": { - "id": 6338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "34052:69:7", - "subExpression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6324, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34053:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6325, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34058:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "34053:10:7", - "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": 6327, - "indexExpression": { - "id": 6326, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34064:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6329, - "indexExpression": { - "id": 6328, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34069:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6337, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6333, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34102:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6334, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34107:11:7", - "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": 6331, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34085:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34089:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34085:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34085:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6330, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "34075:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34075:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6344, - "nodeType": "IfStatement", - "src": "34048:110:7", - "trueBody": { - "id": 6343, - "nodeType": "Block", - "src": "34123:35:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6340, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34142:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6339, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6065, - "src": "34137:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 6341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34137:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6342, - "nodeType": "ExpressionStatement", - "src": "34137:10:7" - } - ] - } - }, - { - "assignments": [ - 6346 - ], - "declarations": [ - { - "constant": false, - "id": 6346, - "mutability": "mutable", - "name": "slot", - "nameLocation": "34175:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34167:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6345, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34167:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6364, - "initialValue": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6349, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34190:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6350, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34195:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "34190:10:7", - "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": 6352, - "indexExpression": { - "id": 6351, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34201:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6354, - "indexExpression": { - "id": 6353, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34206:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6362, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6358, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34239:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6359, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34244:11:7", - "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": 6356, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34222:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34226:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34222:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34222:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6355, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "34212:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34212:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "34182:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6347, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34182:7:7", - "typeDescriptions": {} - } - }, - "id": 6363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34182:77:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34167:92:7" - }, - { - "assignments": [ - 6366 - ], - "declarations": [ - { - "constant": false, - "id": 6366, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "34278:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34270:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6365, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34270:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6367, - "nodeType": "VariableDeclarationStatement", - "src": "34270:12:7" - }, - { - "id": 6384, - "nodeType": "Block", - "src": "34292:126:7", - "statements": [ - { - "assignments": [ - null, - 6369 - ], - "declarations": [ - null, - { - "constant": false, - "id": 6369, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "34322:4:7", - "nodeType": "VariableDeclaration", - "scope": 6384, - "src": "34309:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6368, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "34309:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6374, - "initialValue": { - "arguments": [ - { - "id": 6372, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6315, - "src": "34345:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6370, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34330:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34334:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "34330:14:7", - "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": 6373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34330:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34306:44:7" - }, - { - "expression": { - "id": 6382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6375, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6366, - "src": "34364:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6377, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6369, - "src": "34386:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 6378, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34392:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 6379, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34395:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "34392:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6376, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "34371:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 6381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34371:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "34364:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6383, - "nodeType": "ExpressionStatement", - "src": "34364:43:7" - } - ] - }, - { - "assignments": [ - 6386 - ], - "declarations": [ - { - "constant": false, - "id": 6386, - "mutability": "mutable", - "name": "curr", - "nameLocation": "34435:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34427:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6385, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34427:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6392, - "initialValue": { - "arguments": [ - { - "id": 6389, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34460:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6390, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "34465:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6387, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34442:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34455:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "34442:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 6391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34442:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34427:43:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6393, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6366, - "src": "34485:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 6394, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6386, - "src": "34493:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "34485:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6402, - "nodeType": "IfStatement", - "src": "34481:172:7", - "trueBody": { - "id": 6401, - "nodeType": "Block", - "src": "34499:154:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34521:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 6398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34528:113:7", - "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": 6396, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "34513:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34513:129:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6400, - "nodeType": "ExpressionStatement", - "src": "34513:129:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 6406, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34681:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6407, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "34686:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6408, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6288, - "src": "34692:3:7", - "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": 6403, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34662:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34675:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "34662:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34662:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6410, - "nodeType": "ExpressionStatement", - "src": "34662:34:7" - }, - { - "expression": { - "id": 6413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34706:19:7", - "subExpression": { - "expression": { - "id": 6411, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34713:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34718:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "34713:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6414, - "nodeType": "ExpressionStatement", - "src": "34706:19:7" - }, - { - "expression": { - "id": 6417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34735:16:7", - "subExpression": { - "expression": { - "id": 6415, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34742:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34747:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "34742:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6418, - "nodeType": "ExpressionStatement", - "src": "34735:16:7" - }, - { - "expression": { - "id": 6421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34761:17:7", - "subExpression": { - "expression": { - "id": 6419, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34768:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34773:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "34768:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6422, - "nodeType": "ExpressionStatement", - "src": "34761:17:7" - }, - { - "expression": { - "id": 6425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34788:18:7", - "subExpression": { - "expression": { - "id": 6423, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34795:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6424, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34800:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "34795:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6426, - "nodeType": "ExpressionStatement", - "src": "34788:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33733:13:7", - "parameters": { - "id": 6289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6286, - "mutability": "mutable", - "name": "self", - "nameLocation": "33775:4:7", - "nodeType": "VariableDeclaration", - "scope": 6428, - "src": "33756:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6284, - "name": "StdStorage", - "nameLocations": [ - "33756:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33756:10:7" - }, - "referencedDeclaration": 5563, - "src": "33756:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6288, - "mutability": "mutable", - "name": "set", - "nameLocation": "33797:3:7", - "nodeType": "VariableDeclaration", - "scope": 6428, - "src": "33789:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6287, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33789:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "33746:60:7" - }, - "returnParameters": { - "id": 6290, - "nodeType": "ParameterList", - "parameters": [], - "src": "33816:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6460, - "nodeType": "FunctionDefinition", - "src": "34819:204:7", - "body": { - "id": 6459, - "nodeType": "Block", - "src": "34889:134:7", - "statements": [ - { - "assignments": [ - 6437 - ], - "declarations": [ - { - "constant": false, - "id": 6437, - "mutability": "mutable", - "name": "t", - "nameLocation": "34907:1:7", - "nodeType": "VariableDeclaration", - "scope": 6459, - "src": "34899:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6436, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34899:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6440, - "initialValue": { - "expression": { - "id": 6438, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6431, - "src": "34911:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34916:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "34911:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34899:24:7" - }, - { - "assignments": [ - 6442 - ], - "declarations": [ - { - "constant": false, - "id": 6442, - "mutability": "mutable", - "name": "s", - "nameLocation": "34941:1:7", - "nodeType": "VariableDeclaration", - "scope": 6459, - "src": "34933:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6441, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34933:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6446, - "initialValue": { - "arguments": [ - { - "id": 6444, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6431, - "src": "34950:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6443, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6065, - "src": "34945:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 6445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34945:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34933:22:7" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6451, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6437, - "src": "35001:1:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 6454, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6442, - "src": "35012:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35004:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35004:7:7", - "typeDescriptions": {} - } - }, - "id": 6455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35004:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6449, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34983:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34996:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "34983:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 6456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34983:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6447, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34972:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34976:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "34972:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34972:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 6435, - "id": 6458, - "nodeType": "Return", - "src": "34965:51:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read", - "nameLocation": "34828:4:7", - "parameters": { - "id": 6432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6431, - "mutability": "mutable", - "name": "self", - "nameLocation": "34852:4:7", - "nodeType": "VariableDeclaration", - "scope": 6460, - "src": "34833:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6430, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6429, - "name": "StdStorage", - "nameLocations": [ - "34833:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "34833:10:7" - }, - "referencedDeclaration": 5563, - "src": "34833:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "34832:25:7" - }, - "returnParameters": { - "id": 6435, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6434, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6460, - "src": "34875:12:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6433, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "34875:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "34874:14:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 6479, - "nodeType": "FunctionDefinition", - "src": "35029:131:7", - "body": { - "id": 6478, - "nodeType": "Block", - "src": "35103:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6471, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6463, - "src": "35136:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6470, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35131:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35131:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6474, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35144:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6473, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35144:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6475, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35143:9:7", - "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": 6468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35120:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35124:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35120:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35120:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6467, - "id": 6477, - "nodeType": "Return", - "src": "35113:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bytes32", - "nameLocation": "35038:12:7", - "parameters": { - "id": 6464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6463, - "mutability": "mutable", - "name": "self", - "nameLocation": "35070:4:7", - "nodeType": "VariableDeclaration", - "scope": 6479, - "src": "35051:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6462, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6461, - "name": "StdStorage", - "nameLocations": [ - "35051:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35051:10:7" - }, - "referencedDeclaration": 5563, - "src": "35051:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35050:25:7" - }, - "returnParameters": { - "id": 6467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6466, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6479, - "src": "35094:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6465, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35094:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "35093:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6510, - "nodeType": "FunctionDefinition", - "src": "35167:279:7", - "body": { - "id": 6509, - "nodeType": "Block", - "src": "35235:211:7", - "statements": [ - { - "assignments": [ - 6488 - ], - "declarations": [ - { - "constant": false, - "id": 6488, - "mutability": "mutable", - "name": "v", - "nameLocation": "35252:1:7", - "nodeType": "VariableDeclaration", - "scope": 6509, - "src": "35245:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6487, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35245:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "id": 6492, - "initialValue": { - "arguments": [ - { - "id": 6490, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6482, - "src": "35265:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6489, - "name": "read_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6567, - "src": "35256:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_int256_$", - "typeString": "function (struct StdStorage storage pointer) returns (int256)" - } - }, - "id": 6491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35256:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "35245:25:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6493, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6488, - "src": "35284:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 6494, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35289:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "35284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6498, - "nodeType": "IfStatement", - "src": "35280:24:7", - "trueBody": { - "expression": { - "hexValue": "66616c7365", - "id": 6496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35299:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 6486, - "id": 6497, - "nodeType": "Return", - "src": "35292:12:7" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6499, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6488, - "src": "35318:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 6500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35323:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "35318:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6504, - "nodeType": "IfStatement", - "src": "35314:23:7", - "trueBody": { - "expression": { - "hexValue": "74727565", - "id": 6502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35333:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 6486, - "id": 6503, - "nodeType": "Return", - "src": "35326:11:7" - } - }, - { - "expression": { - "arguments": [ - { - "hexValue": "73746453746f7261676520726561645f626f6f6c2853746453746f72616765293a2043616e6e6f74206465636f64652e204d616b65207375726520796f75206172652072656164696e67206120626f6f6c2e", - "id": 6506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35354:84:7", - "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": 6505, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "35347:6:7", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 6507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35347:92:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6508, - "nodeType": "ExpressionStatement", - "src": "35347:92:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bool", - "nameLocation": "35176:9:7", - "parameters": { - "id": 6483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6482, - "mutability": "mutable", - "name": "self", - "nameLocation": "35205:4:7", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "35186:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6481, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6480, - "name": "StdStorage", - "nameLocations": [ - "35186:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35186:10:7" - }, - "referencedDeclaration": 5563, - "src": "35186:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35185:25:7" - }, - "returnParameters": { - "id": 6486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6485, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "35229:4:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6484, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35229:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35228:6:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6529, - "nodeType": "FunctionDefinition", - "src": "35452:131:7", - "body": { - "id": 6528, - "nodeType": "Block", - "src": "35526:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6521, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6513, - "src": "35559:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6520, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35554:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35554:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35567:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6523, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35567:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6525, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35566:9:7", - "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": 6518, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35543:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35547:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35543:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35543:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 6517, - "id": 6527, - "nodeType": "Return", - "src": "35536:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_address", - "nameLocation": "35461:12:7", - "parameters": { - "id": 6514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6513, - "mutability": "mutable", - "name": "self", - "nameLocation": "35493:4:7", - "nodeType": "VariableDeclaration", - "scope": 6529, - "src": "35474:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6512, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6511, - "name": "StdStorage", - "nameLocations": [ - "35474:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35474:10:7" - }, - "referencedDeclaration": 5563, - "src": "35474:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35473:25:7" - }, - "returnParameters": { - "id": 6517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6516, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6529, - "src": "35517:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35517:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35516:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6548, - "nodeType": "FunctionDefinition", - "src": "35589:128:7", - "body": { - "id": 6547, - "nodeType": "Block", - "src": "35660:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6540, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6532, - "src": "35693:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6539, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35688:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35688:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35701:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6542, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35701:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6544, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35700:9:7", - "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": 6537, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35677:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35681:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35677:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35677:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6536, - "id": 6546, - "nodeType": "Return", - "src": "35670:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_uint", - "nameLocation": "35598:9:7", - "parameters": { - "id": 6533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6532, - "mutability": "mutable", - "name": "self", - "nameLocation": "35627:4:7", - "nodeType": "VariableDeclaration", - "scope": 6548, - "src": "35608:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6531, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6530, - "name": "StdStorage", - "nameLocations": [ - "35608:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35608:10:7" - }, - "referencedDeclaration": 5563, - "src": "35608:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35607:25:7" - }, - "returnParameters": { - "id": 6536, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6535, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6548, - "src": "35651:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6534, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35651:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35650:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6567, - "nodeType": "FunctionDefinition", - "src": "35723:125:7", - "body": { - "id": 6566, - "nodeType": "Block", - "src": "35792:56:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6559, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6551, - "src": "35825:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6558, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35820:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35820:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35833:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 6561, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35833:6:7", - "typeDescriptions": {} - } - } - ], - "id": 6563, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35832:8:7", - "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": 6556, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35809:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35813:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35809:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35809:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 6555, - "id": 6565, - "nodeType": "Return", - "src": "35802:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_int", - "nameLocation": "35732:8:7", - "parameters": { - "id": 6552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6551, - "mutability": "mutable", - "name": "self", - "nameLocation": "35760:4:7", - "nodeType": "VariableDeclaration", - "scope": 6567, - "src": "35741:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6550, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6549, - "name": "StdStorage", - "nameLocations": [ - "35741:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35741:10:7" - }, - "referencedDeclaration": 5563, - "src": "35741:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35740:25:7" - }, - "returnParameters": { - "id": 6555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6554, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6567, - "src": "35784:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6553, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35784:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "35783:8:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6623, - "nodeType": "FunctionDefinition", - "src": "35854:297:7", - "body": { - "id": 6622, - "nodeType": "Block", - "src": "35937:214:7", - "statements": [ - { - "assignments": [ - 6577 - ], - "declarations": [ - { - "constant": false, - "id": 6577, - "mutability": "mutable", - "name": "out", - "nameLocation": "35955:3:7", - "nodeType": "VariableDeclaration", - "scope": 6622, - "src": "35947:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6576, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35947:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6578, - "nodeType": "VariableDeclarationStatement", - "src": "35947:11:7" - }, - { - "assignments": [ - 6580 - ], - "declarations": [ - { - "constant": false, - "id": 6580, - "mutability": "mutable", - "name": "max", - "nameLocation": "35977:3:7", - "nodeType": "VariableDeclaration", - "scope": 6622, - "src": "35969:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35969:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6589, - "initialValue": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6581, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "35983:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "35985:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "35983:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "3332", - "id": 6583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35994:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "35983:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "id": 6586, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "36004:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36006:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36004:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "35983:29:7", - "trueExpression": { - "hexValue": "3332", - "id": 6585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35999:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "35969:43:7" - }, - { - "body": { - "id": 6618, - "nodeType": "Block", - "src": "36053:72:7", - "statements": [ - { - "expression": { - "id": 6616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6600, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6577, - "src": "36067:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 6609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 6603, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "36082:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6607, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6604, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6571, - "src": "36084:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 6605, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36093:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36084:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "36082:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "30784646", - "id": 6608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36098:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xFF" - }, - "src": "36082:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 6602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "36074:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6601, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36074:7:7", - "typeDescriptions": {} - } - }, - "id": 6610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36074:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36108:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 6612, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36112:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "36108:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 6614, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "36107:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36074:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "36067:47:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6617, - "nodeType": "ExpressionStatement", - "src": "36067:47:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6594, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36039:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 6595, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6580, - "src": "36043:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36039:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6619, - "initializationExpression": { - "assignments": [ - 6591 - ], - "declarations": [ - { - "constant": false, - "id": 6591, - "mutability": "mutable", - "name": "i", - "nameLocation": "36032:1:7", - "nodeType": "VariableDeclaration", - "scope": 6619, - "src": "36027:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6590, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36027:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6593, - "initialValue": { - "hexValue": "30", - "id": 6592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36036:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "36027:10:7" - }, - "loopExpression": { - "expression": { - "id": 6598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "36048:3:7", - "subExpression": { - "id": 6597, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36048:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6599, - "nodeType": "ExpressionStatement", - "src": "36048:3:7" - }, - "nodeType": "ForStatement", - "src": "36022:103:7" - }, - { - "expression": { - "id": 6620, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6577, - "src": "36141:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6575, - "id": 6621, - "nodeType": "Return", - "src": "36134:10:7" - } - ] - }, - "functionSelector": "53584939", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToBytes32", - "nameLocation": "35863:14:7", - "parameters": { - "id": 6572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6569, - "mutability": "mutable", - "name": "b", - "nameLocation": "35891:1:7", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35878:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6568, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "35878:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6571, - "mutability": "mutable", - "name": "offset", - "nameLocation": "35899:6:7", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35894:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "35894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35877:29:7" - }, - "returnParameters": { - "id": 6575, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6574, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35928:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6573, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35928:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "35927:9:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 6664, - "nodeType": "FunctionDefinition", - "src": "36157:397:7", - "body": { - "id": 6663, - "nodeType": "Block", - "src": "36234:320:7", - "statements": [ - { - "assignments": [ - 6632 - ], - "declarations": [ - { - "constant": false, - "id": 6632, - "mutability": "mutable", - "name": "result", - "nameLocation": "36257:6:7", - "nodeType": "VariableDeclaration", - "scope": 6663, - "src": "36244:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6631, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36244:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6640, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6635, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36276:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36278:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36276:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "3332", - "id": 6637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36287:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "36276:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "36266:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 6633, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36270:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 6639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36266:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "36244:46:7" - }, - { - "body": { - "id": 6659, - "nodeType": "Block", - "src": "36339:185:7", - "statements": [ - { - "assignments": [ - 6653 - ], - "declarations": [ - { - "constant": false, - "id": 6653, - "mutability": "mutable", - "name": "k", - "nameLocation": "36361:1:7", - "nodeType": "VariableDeclaration", - "scope": 6659, - "src": "36353:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6652, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36353:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6657, - "initialValue": { - "baseExpression": { - "id": 6654, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36365:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6656, - "indexExpression": { - "id": 6655, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36367:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "36365:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "36353:16:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "36439:75:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "36468:6:7" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "36480:2:7", - "type": "", - "value": "32" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "36488:2:7", - "type": "", - "value": "32" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "36492:1:7" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "36484:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36484:10:7" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "36476:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36476:19:7" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "36464:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36464:32:7" - }, - { - "name": "k", - "nodeType": "YulIdentifier", - "src": "36498:1:7" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "36457:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "36457:43:7" - }, - "nodeType": "YulExpressionStatement", - "src": "36457:43:7" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 6642, - "isOffset": false, - "isSlot": false, - "src": "36492:1:7", - "valueSize": 1 - }, - { - "declaration": 6653, - "isOffset": false, - "isSlot": false, - "src": "36498:1:7", - "valueSize": 1 - }, - { - "declaration": 6632, - "isOffset": false, - "isSlot": false, - "src": "36468:6:7", - "valueSize": 1 - } - ], - "id": 6658, - "nodeType": "InlineAssembly", - "src": "36430:84:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6645, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36320:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 6646, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36324:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36326:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36324:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36320:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6660, - "initializationExpression": { - "assignments": [ - 6642 - ], - "declarations": [ - { - "constant": false, - "id": 6642, - "mutability": "mutable", - "name": "i", - "nameLocation": "36313:1:7", - "nodeType": "VariableDeclaration", - "scope": 6660, - "src": "36305:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6641, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36305:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6644, - "initialValue": { - "hexValue": "30", - "id": 6643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36317:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "36305:13:7" - }, - "loopExpression": { - "expression": { - "id": 6650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "36334:3:7", - "subExpression": { - "id": 6649, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36334:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6651, - "nodeType": "ExpressionStatement", - "src": "36334:3:7" - }, - "nodeType": "ForStatement", - "src": "36300:224:7" - }, - { - "expression": { - "id": 6661, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6632, - "src": "36541:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 6630, - "id": 6662, - "nodeType": "Return", - "src": "36534:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "flatten", - "nameLocation": "36166:7:7", - "parameters": { - "id": 6627, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6626, - "mutability": "mutable", - "name": "b", - "nameLocation": "36191:1:7", - "nodeType": "VariableDeclaration", - "scope": 6664, - "src": "36174:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6624, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36174:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6625, - "nodeType": "ArrayTypeName", - "src": "36174:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "36173:20:7" - }, - "returnParameters": { - "id": 6630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6629, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6664, - "src": "36216:12:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6628, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36216:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "36215:14:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdStorage", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6665 - ], - "name": "stdStorage", - "nameLocation": "27692:10:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 6804, - "nodeType": "ContractDefinition", - "src": "36758:1306:7", - "nodes": [ - { - "id": 6669, - "nodeType": "VariableDeclaration", - "src": "36780:115:7", - "constant": true, - "mutability": "constant", - "name": "INT256_MIN", - "nameLocation": "36804:10:7", - "scope": 6804, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6666, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "36780:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "id": 6668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "36817:78:7", - "subExpression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6667, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36818:77:7", - "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": 6694, - "nodeType": "FunctionDefinition", - "src": "36902:294:7", - "body": { - "id": 6693, - "nodeType": "Block", - "src": "36957:239:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6676, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37035:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 6677, - "name": "INT256_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6669, - "src": "37040:10:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "37035:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6681, - "nodeType": "IfStatement", - "src": "37031:117:7", - "trueBody": { - "expression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37071:77:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9968" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819968" - }, - "functionReturnParameters": 6675, - "id": 6680, - "nodeType": "Return", - "src": "37064:84:7" - } - }, - { - "expression": { - "arguments": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6684, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37174:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 6685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37178:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "37174:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 6689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "37186:2:7", - "subExpression": { - "id": 6688, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37187:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 6690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "37174:14:7", - "trueExpression": { - "id": 6687, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37182:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "37166:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6682, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37166:7:7", - "typeDescriptions": {} - } - }, - "id": 6691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37166:23:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6675, - "id": 6692, - "nodeType": "Return", - "src": "37159:30:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "abs", - "nameLocation": "36911:3:7", - "parameters": { - "id": 6672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6671, - "mutability": "mutable", - "name": "a", - "nameLocation": "36922:1:7", - "nodeType": "VariableDeclaration", - "scope": 6694, - "src": "36915:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6670, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "36915:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "36914:10:7" - }, - "returnParameters": { - "id": 6675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6674, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6694, - "src": "36948:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6673, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36948:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36947:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6715, - "nodeType": "FunctionDefinition", - "src": "37202:138:7", - "body": { - "id": 6714, - "nodeType": "Block", - "src": "37271:69:7", - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6703, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6704, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37292:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37288:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6709, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37328:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6710, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37332:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37328:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "37288:45:7", - "trueExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6706, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37308:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6707, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37312:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37308:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6702, - "id": 6713, - "nodeType": "Return", - "src": "37281:52:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "37211:5:7", - "parameters": { - "id": 6699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6696, - "mutability": "mutable", - "name": "a", - "nameLocation": "37225:1:7", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37217:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6695, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37217:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6698, - "mutability": "mutable", - "name": "b", - "nameLocation": "37236:1:7", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37228:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6697, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37228:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37216:22:7" - }, - "returnParameters": { - "id": 6702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6701, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37262:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6700, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37262:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37261:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6751, - "nodeType": "FunctionDefinition", - "src": "37346:352:7", - "body": { - "id": 6750, - "nodeType": "Block", - "src": "37413:285:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6724, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37552:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "id": 6725, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37556:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "37552:5:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "id": 6727, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "37551:7:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "37561:2:7", - "subExpression": { - "hexValue": "31", - "id": 6728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37562:1:7", - "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": "37551:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6741, - "nodeType": "IfStatement", - "src": "37547:71:7", - "trueBody": { - "id": 6740, - "nodeType": "Block", - "src": "37565:53:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6733, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37596:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6732, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37592:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37592:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 6736, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37604:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6735, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37600:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37600:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6731, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6715, - "src": "37586:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37586:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6723, - "id": 6739, - "nodeType": "Return", - "src": "37579:28:7" - } - ] - } - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 6743, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37680:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6742, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37676:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37676:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "arguments": [ - { - "id": 6746, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37689:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6745, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37685:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37685:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37676:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6723, - "id": 6749, - "nodeType": "Return", - "src": "37669:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "37355:5:7", - "parameters": { - "id": 6720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6717, - "mutability": "mutable", - "name": "a", - "nameLocation": "37368:1:7", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37361:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6716, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37361:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6719, - "mutability": "mutable", - "name": "b", - "nameLocation": "37378:1:7", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37371:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6718, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37371:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "37360:20:7" - }, - "returnParameters": { - "id": 6723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6722, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37404:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6721, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37404:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37403:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6774, - "nodeType": "FunctionDefinition", - "src": "37704:160:7", - "body": { - "id": 6773, - "nodeType": "Block", - "src": "37780:84:7", - "statements": [ - { - "assignments": [ - 6761 - ], - "declarations": [ - { - "constant": false, - "id": 6761, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "37798:8:7", - "nodeType": "VariableDeclaration", - "scope": 6773, - "src": "37790:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6760, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6766, - "initialValue": { - "arguments": [ - { - "id": 6763, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6753, - "src": "37815:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6764, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6755, - "src": "37818:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6762, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6715, - "src": "37809:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37809:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37790:30:7" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6767, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6761, - "src": "37838:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37849:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "37838:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6770, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6755, - "src": "37856:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37838:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6759, - "id": 6772, - "nodeType": "Return", - "src": "37831:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "37713:12:7", - "parameters": { - "id": 6756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6753, - "mutability": "mutable", - "name": "a", - "nameLocation": "37734:1:7", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37726:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37726:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6755, - "mutability": "mutable", - "name": "b", - "nameLocation": "37745:1:7", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37737:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6754, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37737:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37725:22:7" - }, - "returnParameters": { - "id": 6759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6758, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37771:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6757, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37771:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37770:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6803, - "nodeType": "FunctionDefinition", - "src": "37870:192:7", - "body": { - "id": 6802, - "nodeType": "Block", - "src": "37944:118:7", - "statements": [ - { - "assignments": [ - 6784 - ], - "declarations": [ - { - "constant": false, - "id": 6784, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "37962:8:7", - "nodeType": "VariableDeclaration", - "scope": 6802, - "src": "37954:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37954:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6789, - "initialValue": { - "arguments": [ - { - "id": 6786, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6776, - "src": "37979:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 6787, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6778, - "src": "37982:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6785, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6751, - "src": "37973:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37973:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37954:30:7" - }, - { - "assignments": [ - 6791 - ], - "declarations": [ - { - "constant": false, - "id": 6791, - "mutability": "mutable", - "name": "absB", - "nameLocation": "38002:4:7", - "nodeType": "VariableDeclaration", - "scope": 6802, - "src": "37994:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6790, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37994:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6795, - "initialValue": { - "arguments": [ - { - "id": 6793, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6778, - "src": "38013:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6792, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "38009:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38009:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37994:21:7" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6796, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6784, - "src": "38033:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38044:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "38033:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6799, - "name": "absB", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6791, - "src": "38051:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "38033:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6782, - "id": 6801, - "nodeType": "Return", - "src": "38026:29:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "37879:12:7", - "parameters": { - "id": 6779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6776, - "mutability": "mutable", - "name": "a", - "nameLocation": "37899:1:7", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37892:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6775, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37892:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6778, - "mutability": "mutable", - "name": "b", - "nameLocation": "37909:1:7", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37902:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6777, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37902:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "37891:20:7" - }, - "returnParameters": { - "id": 6782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6781, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37935:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6780, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37935:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37934:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdMath", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6804 - ], - "name": "stdMath", - "nameLocation": "36766:7:7", - "scope": 6805, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 7 -} \ No newline at end of file +{"abi":[{"type":"function","name":"IS_SCRIPT","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"IS_TEST","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"failed","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"vm","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract Vm"}],"stateMutability":"view"},{"type":"event","name":"log","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_address","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_array","inputs":[{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_bytes","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_bytes32","inputs":[{"name":"","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_int","inputs":[{"name":"","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_address","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256[]","indexed":false,"internalType":"int256[]"}],"anonymous":false},{"type":"event","name":"log_named_array","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address[]","indexed":false,"internalType":"address[]"}],"anonymous":false},{"type":"event","name":"log_named_bytes","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_named_bytes32","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_named_decimal_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_decimal_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_string","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_named_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_string","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_uint","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"logs","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"IS_SCRIPT()":"f8ccbf47","IS_TEST()":"fa7626d4","failed()":"ba414fa6","vm()":"3a768463"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"Test\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"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_SCRIPT","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"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":"view","type":"function","name":"vm","outputs":[{"internalType":"contract Vm","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/Test.sol":"Test"},"evmVersion":"paris","libraries":{}},"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/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Test.sol":{"keccak256":"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b","urls":["bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2","dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"}},"version":1},"id":7} \ No newline at end of file diff --git a/out/Test.sol/stdError.json b/out/Test.sol/stdError.json index ab03e2b..66a46e9 100644 --- a/out/Test.sol/stdError.json +++ b/out/Test.sol/stdError.json @@ -1,51863 +1 @@ -{ - "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": "lowLevelError", - "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": "0x61027061003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100a85760003560e01c8063ac3d92c611610070578063ac3d92c6146100eb578063b22dc54d14610101578063b67689da14610109578063d160e4de14610111578063fa784a441461011957600080fd5b806305ee8612146100ad57806310332977146100cb5780631de45560146100d35780638995290f146100db578063986c5f68146100e3575b600080fd5b6100b5610121565b6040516100c291906101ec565b60405180910390f35b6100b561015c565b6100b561016e565b6100b5610180565b6100b5610192565b6100b56040518060200160405280600081525081565b6100b56101a4565b6100b56101b6565b6100b56101c8565b6100b56101da565b604051603260248201526044015b60408051601f198184030181529190526020810180516001600160e01b0316634e487b7160e01b17905281565b6040516001602482015260440161012f565b6040516021602482015260440161012f565b6040516011602482015260440161012f565b6040516041602482015260440161012f565b6040516031602482015260440161012f565b6040516051602482015260440161012f565b6040516022602482015260440161012f565b6040516012602482015260440161012f565b600060208083528351808285015260005b81811015610219578581018301518582016040015282016101fd565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220dd979d929864d32ceda53bb9c8b672ef70450186c43b3c8ce55f5cc094f4b5e264736f6c63430008100033", - "sourceMap": "26222:984:7:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;26222:984:7;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600436106100a85760003560e01c8063ac3d92c611610070578063ac3d92c6146100eb578063b22dc54d14610101578063b67689da14610109578063d160e4de14610111578063fa784a441461011957600080fd5b806305ee8612146100ad57806310332977146100cb5780631de45560146100d35780638995290f146100db578063986c5f68146100e3575b600080fd5b6100b5610121565b6040516100c291906101ec565b60405180910390f35b6100b561015c565b6100b561016e565b6100b5610180565b6100b5610192565b6100b56040518060200160405280600081525081565b6100b56101a4565b6100b56101b6565b6100b56101c8565b6100b56101da565b604051603260248201526044015b60408051601f198184030181529190526020810180516001600160e01b0316634e487b7160e01b17905281565b6040516001602482015260440161012f565b6040516021602482015260440161012f565b6040516011602482015260440161012f565b6040516041602482015260440161012f565b6040516031602482015260440161012f565b6040516051602482015260440161012f565b6040516022602482015260440161012f565b6040516012602482015260440161012f565b600060208083528351808285015260005b81811015610219578581018301518582016040015282016101fd565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220dd979d929864d32ceda53bb9c8b672ef70450186c43b3c8ce55f5cc094f4b5e264736f6c63430008100033", - "sourceMap": "26222:984:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26800:85;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26245:86;;;:::i;26521:91::-;;;:::i;26337:87::-;;;:::i;26891:88::-;;;:::i;27148:47::-;;27186:9;;;;;;;;;;;;27148:47;;26714:80;;;:::i;26985:84::-;;;:::i;26618:90::-;;;:::i;26430:85::-;;;:::i;26800:::-;26838:47;;26880:4;26838:47;;;726:36:43;699:18;;26838:47:7;;;;-1:-1:-1;;26838:47:7;;;;;;;;;;;;;;-1:-1:-1;;;;;26838:47:7;-1:-1:-1;;;26838:47:7;;;26800:85;:::o;26245:86::-;26284:47;;26326:4;26284:47;;;726:36:43;699:18;;26284:47:7;573:195:43;26521:91:7;26565:47;;26607:4;26565:47;;;726:36:43;699:18;;26565:47:7;573:195:43;26337:87:7;26377:47;;26419:4;26377:47;;;726:36:43;699:18;;26377:47:7;573:195:43;26891:88:7;26932:47;;26974:4;26932:47;;;726:36:43;699:18;;26932:47:7;573:195:43;26714:80:7;26747:47;;26789:4;26747:47;;;726:36:43;699:18;;26747:47:7;573:195:43;26985:84:7;27022:47;;27064:4;27022:47;;;726:36:43;699:18;;27022:47:7;573:195:43;26618:90:7;26661:47;;26703:4;26661:47;;;726:36:43;699:18;;26661:47:7;573:195:43;26430:85:7;26468:47;;26510:4;26468:47;;;726:36:43;699:18;;26468:47:7;573:195:43;14:554;132:4;161:2;190;179:9;172:21;222:6;216:13;265:6;260:2;249:9;245:18;238:34;290:1;300:140;314:6;311:1;308:13;300:140;;;409:14;;;405:23;;399:30;375:17;;;394:2;371:26;364:66;329:10;;300:140;;;304:3;489:1;484:2;475:6;464:9;460:22;456:31;449:42;559:2;552;548:7;543:2;535:6;531:15;527:29;516:9;512:45;508:54;500:62;;;;14:554;;;;:::o", - "linkReferences": {} - }, - "methodIdentifiers": { - "arithmeticError()": "8995290f", - "assertionError()": "10332977", - "divisionError()": "fa784a44", - "encodeStorageError()": "d160e4de", - "enumConversionError()": "1de45560", - "indexOOBError()": "05ee8612", - "lowLevelError()": "ac3d92c6", - "memOverflowError()": "986c5f68", - "popError()": "b22dc54d", - "zeroVarError()": "b67689da" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":\"lowLevelError\",\"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/Test.sol\":\"stdError\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "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": "lowLevelError", - "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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Test.sol": "stdError" - }, - "libraries": {} - }, - "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/Script.sol": { - "keccak256": "0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00", - "urls": [ - "bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b", - "dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b", - "urls": [ - "bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2", - "dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "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": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Test.sol", - "id": 6805, - "exportedSymbols": { - "DSTest": [ - 2272 - ], - "Script": [ - 2535 - ], - "StdStorage": [ - 5563 - ], - "Test": [ - 5465 - ], - "Vm": [ - 7558 - ], - "console": [ - 15622 - ], - "console2": [ - 23686 - ], - "stdError": [ - 5535 - ], - "stdJson": [ - 2895 - ], - "stdMath": [ - 6804 - ], - "stdStorage": [ - 6665 - ] - }, - "nodeType": "SourceUnit", - "src": "32:38033:7", - "nodes": [ - { - "id": 2897, - "nodeType": "PragmaDirective", - "src": "32:31:7", - "literals": [ - "solidity", - ">=", - "0.6", - ".0", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2898, - "nodeType": "PragmaDirective", - "src": "64:33:7", - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 2899, - "nodeType": "ImportDirective", - "src": "99:22:7", - "absolutePath": "lib/forge-std/src/Script.sol", - "file": "./Script.sol", - "nameLocation": "-1:-1:-1", - "scope": 6805, - "sourceUnit": 2536, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2900, - "nodeType": "ImportDirective", - "src": "122:26:7", - "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", - "file": "ds-test/test.sol", - "nameLocation": "-1:-1:-1", - "scope": 6805, - "sourceUnit": 2273, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 5465, - "nodeType": "ContractDefinition", - "src": "198:25824:7", - "nodes": [ - { - "id": 2908, - "nodeType": "UsingForDirective", - "src": "245:32:7", - "global": false, - "libraryName": { - "id": 2905, - "name": "stdStorage", - "nameLocations": [ - "251:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6665, - "src": "251:10:7" - }, - "typeName": { - "id": 2907, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2906, - "name": "StdStorage", - "nameLocations": [ - "266:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "266:10:7" - }, - "referencedDeclaration": 5563, - "src": "266:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - } - }, - { - "id": 2911, - "nodeType": "VariableDeclaration", - "src": "283:126:7", - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "309:11:7", - "scope": 5465, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2909, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "283:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 2910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "331:78:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "internal" - }, - { - "id": 2914, - "nodeType": "VariableDeclaration", - "src": "416:28:7", - "constant": false, - "mutability": "mutable", - "name": "stdstore", - "nameLocation": "436:8:7", - "scope": 5465, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 2913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2912, - "name": "StdStorage", - "nameLocations": [ - "416:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "416:10:7" - }, - "referencedDeclaration": 5563, - "src": "416:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "id": 2919, - "nodeType": "EventDefinition", - "src": "659:31:7", - "anonymous": false, - "eventSelector": "fb102865d50addddf69da9b5aa1bced66c80cf869a5c8d0471a467e18ce9cab1", - "name": "log_array", - "nameLocation": "665:9:7", - "parameters": { - "id": 2918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2917, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "685:3:7", - "nodeType": "VariableDeclaration", - "scope": 2919, - "src": "675:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "675:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2916, - "nodeType": "ArrayTypeName", - "src": "675:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "674:15:7" - } - }, - { - "id": 2924, - "nodeType": "EventDefinition", - "src": "695:30:7", - "anonymous": false, - "eventSelector": "890a82679b470f2bd82816ed9b161f97d8b967f37fa3647c21d5bf39749e2dd5", - "name": "log_array", - "nameLocation": "701:9:7", - "parameters": { - "id": 2923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2922, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "720:3:7", - "nodeType": "VariableDeclaration", - "scope": 2924, - "src": "711:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2920, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "711:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2921, - "nodeType": "ArrayTypeName", - "src": "711:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "710:14:7" - } - }, - { - "id": 2929, - "nodeType": "EventDefinition", - "src": "730:31:7", - "anonymous": false, - "eventSelector": "40e1840f5769073d61bd01372d9b75baa9842d5629a0c99ff103be1178a8e9e2", - "name": "log_array", - "nameLocation": "736:9:7", - "parameters": { - "id": 2928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2927, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "756:3:7", - "nodeType": "VariableDeclaration", - "scope": 2929, - "src": "746:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "746:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2926, - "nodeType": "ArrayTypeName", - "src": "746:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "745:15:7" - } - }, - { - "id": 2936, - "nodeType": "EventDefinition", - "src": "766:49:7", - "anonymous": false, - "eventSelector": "00aaa39c9ffb5f567a4534380c737075702e1f7f14107fc95328e3b56c0325fb", - "name": "log_named_array", - "nameLocation": "772:15:7", - "parameters": { - "id": 2935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2931, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "795:3:7", - "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "788:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2930, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "788:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2934, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "810:3:7", - "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "800:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2933, - "nodeType": "ArrayTypeName", - "src": "800:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "787:27:7" - } - }, - { - "id": 2943, - "nodeType": "EventDefinition", - "src": "820:48:7", - "anonymous": false, - "eventSelector": "a73eda09662f46dde729be4611385ff34fe6c44fbbc6f7e17b042b59a3445b57", - "name": "log_named_array", - "nameLocation": "826:15:7", - "parameters": { - "id": 2942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2938, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "849:3:7", - "nodeType": "VariableDeclaration", - "scope": 2943, - "src": "842:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2937, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "842:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2941, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "863:3:7", - "nodeType": "VariableDeclaration", - "scope": 2943, - "src": "854:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2939, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "854:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2940, - "nodeType": "ArrayTypeName", - "src": "854:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "841:26:7" - } - }, - { - "id": 2950, - "nodeType": "EventDefinition", - "src": "873:49:7", - "anonymous": false, - "eventSelector": "3bcfb2ae2e8d132dd1fce7cf278a9a19756a9fceabe470df3bdabb4bc577d1bd", - "name": "log_named_array", - "nameLocation": "879:15:7", - "parameters": { - "id": 2949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2945, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "902:3:7", - "nodeType": "VariableDeclaration", - "scope": 2950, - "src": "895:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2944, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "895:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2948, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "917:3:7", - "nodeType": "VariableDeclaration", - "scope": 2950, - "src": "907:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2946, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "907:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2947, - "nodeType": "ArrayTypeName", - "src": "907:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "894:27:7" - } - }, - { - "id": 2965, - "nodeType": "FunctionDefinition", - "src": "1208:85:7", - "body": { - "id": 2964, - "nodeType": "Block", - "src": "1245:48:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2958, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1263:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 2959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1269:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "1263:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 2960, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2952, - "src": "1281:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1263:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2955, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1255:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1258:4:7", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 6818, - "src": "1255:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 2962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1255:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2963, - "nodeType": "ExpressionStatement", - "src": "1255:31:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "skip", - "nameLocation": "1217:4:7", - "parameters": { - "id": 2953, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2952, - "mutability": "mutable", - "name": "time", - "nameLocation": "1230:4:7", - "nodeType": "VariableDeclaration", - "scope": 2965, - "src": "1222:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2951, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1221:14:7" - }, - "returnParameters": { - "id": 2954, - "nodeType": "ParameterList", - "parameters": [], - "src": "1245:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2980, - "nodeType": "FunctionDefinition", - "src": "1299:87:7", - "body": { - "id": 2979, - "nodeType": "Block", - "src": "1338:48:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2973, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1356:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 2974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1362:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "1356:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 2975, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2967, - "src": "1374:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1356:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2970, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1348:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1351:4:7", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 6818, - "src": "1348:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 2977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1348:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2978, - "nodeType": "ExpressionStatement", - "src": "1348:31:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewind", - "nameLocation": "1308:6:7", - "parameters": { - "id": 2968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2967, - "mutability": "mutable", - "name": "time", - "nameLocation": "1323:4:7", - "nodeType": "VariableDeclaration", - "scope": 2980, - "src": "1315:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1315:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1314:14:7" - }, - "returnParameters": { - "id": 2969, - "nodeType": "ParameterList", - "parameters": [], - "src": "1338:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3001, - "nodeType": "FunctionDefinition", - "src": "1449:98:7", - "body": { - "id": 3000, - "nodeType": "Block", - "src": "1485:62:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2988, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2982, - "src": "1503:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 2991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 2989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1508:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 2990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1513:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "1508:8:7", - "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": 2985, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1495:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1498:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1495:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 2992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1495:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2993, - "nodeType": "ExpressionStatement", - "src": "1495:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 2997, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2982, - "src": "1536:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2994, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1527:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1530:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7029, - "src": "1527:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 2998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1527:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2999, - "nodeType": "ExpressionStatement", - "src": "1527:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1458:4:7", - "parameters": { - "id": 2983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2982, - "mutability": "mutable", - "name": "who", - "nameLocation": "1471:3:7", - "nodeType": "VariableDeclaration", - "scope": 3001, - "src": "1463:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1463:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1462:13:7" - }, - "returnParameters": { - "id": 2984, - "nodeType": "ParameterList", - "parameters": [], - "src": "1485:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3022, - "nodeType": "FunctionDefinition", - "src": "1553:108:7", - "body": { - "id": 3021, - "nodeType": "Block", - "src": "1603:58:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3011, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3003, - "src": "1621:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3012, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3005, - "src": "1626:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3008, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1613:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1616:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1613:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1613:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3014, - "nodeType": "ExpressionStatement", - "src": "1613:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3018, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3003, - "src": "1650:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3015, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1641:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1644:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7029, - "src": "1641:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1641:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3020, - "nodeType": "ExpressionStatement", - "src": "1641:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1562:4:7", - "parameters": { - "id": 3006, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3003, - "mutability": "mutable", - "name": "who", - "nameLocation": "1575:3:7", - "nodeType": "VariableDeclaration", - "scope": 3022, - "src": "1567:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3002, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1567:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3005, - "mutability": "mutable", - "name": "give", - "nameLocation": "1588:4:7", - "nodeType": "VariableDeclaration", - "scope": 3022, - "src": "1580:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3004, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1580:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1566:27:7" - }, - "returnParameters": { - "id": 3007, - "nodeType": "ParameterList", - "parameters": [], - "src": "1603:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3046, - "nodeType": "FunctionDefinition", - "src": "1667:122:7", - "body": { - "id": 3045, - "nodeType": "Block", - "src": "1719:70:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3032, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "1737:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1742:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1747:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "1742:8:7", - "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": 3029, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1729:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1732:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1729:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1729:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3037, - "nodeType": "ExpressionStatement", - "src": "1729:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3041, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "1770:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3042, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "1775:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3038, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1761:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1764:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7041, - "src": "1761:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1761:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3044, - "nodeType": "ExpressionStatement", - "src": "1761:21:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1676:4:7", - "parameters": { - "id": 3027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3024, - "mutability": "mutable", - "name": "who", - "nameLocation": "1689:3:7", - "nodeType": "VariableDeclaration", - "scope": 3046, - "src": "1681:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1681:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3026, - "mutability": "mutable", - "name": "origin", - "nameLocation": "1702:6:7", - "nodeType": "VariableDeclaration", - "scope": 3046, - "src": "1694:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1694:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1680:29:7" - }, - "returnParameters": { - "id": 3028, - "nodeType": "ParameterList", - "parameters": [], - "src": "1719:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3070, - "nodeType": "FunctionDefinition", - "src": "1795:132:7", - "body": { - "id": 3069, - "nodeType": "Block", - "src": "1861:66:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3058, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3048, - "src": "1879:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3059, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "1884:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3055, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1871:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1874:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1871:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1871:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3061, - "nodeType": "ExpressionStatement", - "src": "1871:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3065, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3048, - "src": "1908:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3066, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3050, - "src": "1913:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3062, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1899:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1902:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7041, - "src": "1899:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1899:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3068, - "nodeType": "ExpressionStatement", - "src": "1899:21:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1804:4:7", - "parameters": { - "id": 3053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3048, - "mutability": "mutable", - "name": "who", - "nameLocation": "1817:3:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1809:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1809:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3050, - "mutability": "mutable", - "name": "origin", - "nameLocation": "1830:6:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1822:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1822:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3052, - "mutability": "mutable", - "name": "give", - "nameLocation": "1846:4:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1838:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3051, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1838:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1808:43:7" - }, - "returnParameters": { - "id": 3054, - "nodeType": "ParameterList", - "parameters": [], - "src": "1861:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3091, - "nodeType": "FunctionDefinition", - "src": "1998:108:7", - "body": { - "id": 3090, - "nodeType": "Block", - "src": "2039:67:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3078, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3072, - "src": "2057:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2062:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2067:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "2062:8:7", - "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": 3075, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2049:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2052:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2049:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2049:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3083, - "nodeType": "ExpressionStatement", - "src": "2049:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3087, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3072, - "src": "2095:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3084, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2081:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2084:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2081:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2081:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3089, - "nodeType": "ExpressionStatement", - "src": "2081:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2007:9:7", - "parameters": { - "id": 3073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3072, - "mutability": "mutable", - "name": "who", - "nameLocation": "2025:3:7", - "nodeType": "VariableDeclaration", - "scope": 3091, - "src": "2017:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3071, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2017:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2016:13:7" - }, - "returnParameters": { - "id": 3074, - "nodeType": "ParameterList", - "parameters": [], - "src": "2039:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3112, - "nodeType": "FunctionDefinition", - "src": "2112:118:7", - "body": { - "id": 3111, - "nodeType": "Block", - "src": "2167:63:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3101, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2185:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3102, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3095, - "src": "2190:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3098, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2177:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2180:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2177:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3104, - "nodeType": "ExpressionStatement", - "src": "2177:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3108, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2219:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3105, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2205:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2208:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2205:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2205:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3110, - "nodeType": "ExpressionStatement", - "src": "2205:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2121:9:7", - "parameters": { - "id": 3096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3093, - "mutability": "mutable", - "name": "who", - "nameLocation": "2139:3:7", - "nodeType": "VariableDeclaration", - "scope": 3112, - "src": "2131:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3092, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2131:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3095, - "mutability": "mutable", - "name": "give", - "nameLocation": "2152:4:7", - "nodeType": "VariableDeclaration", - "scope": 3112, - "src": "2144:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3094, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2144:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2130:27:7" - }, - "returnParameters": { - "id": 3097, - "nodeType": "ParameterList", - "parameters": [], - "src": "2167:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3136, - "nodeType": "FunctionDefinition", - "src": "2349:132:7", - "body": { - "id": 3135, - "nodeType": "Block", - "src": "2406:75:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3122, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "2424:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2434:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "2429:8:7", - "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": 3119, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2416:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2419:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2416:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2416:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3127, - "nodeType": "ExpressionStatement", - "src": "2416:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3131, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "2462:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3132, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3116, - "src": "2467:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3128, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2448:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2451:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7048, - "src": "2448:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2448:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3134, - "nodeType": "ExpressionStatement", - "src": "2448:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2358:9:7", - "parameters": { - "id": 3117, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3114, - "mutability": "mutable", - "name": "who", - "nameLocation": "2376:3:7", - "nodeType": "VariableDeclaration", - "scope": 3136, - "src": "2368:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3113, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2368:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3116, - "mutability": "mutable", - "name": "origin", - "nameLocation": "2389:6:7", - "nodeType": "VariableDeclaration", - "scope": 3136, - "src": "2381:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3115, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2381:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2367:29:7" - }, - "returnParameters": { - "id": 3118, - "nodeType": "ParameterList", - "parameters": [], - "src": "2406:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3160, - "nodeType": "FunctionDefinition", - "src": "2487:142:7", - "body": { - "id": 3159, - "nodeType": "Block", - "src": "2558:71:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3148, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3138, - "src": "2576:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3149, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3142, - "src": "2581:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3145, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2568:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2571:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2568:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2568:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3151, - "nodeType": "ExpressionStatement", - "src": "2568:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3155, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3138, - "src": "2610:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3156, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3140, - "src": "2615:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3152, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2596:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2599:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7048, - "src": "2596:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2596:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3158, - "nodeType": "ExpressionStatement", - "src": "2596:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2496:9:7", - "parameters": { - "id": 3143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3138, - "mutability": "mutable", - "name": "who", - "nameLocation": "2514:3:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2506:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3137, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2506:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3140, - "mutability": "mutable", - "name": "origin", - "nameLocation": "2527:6:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2519:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2519:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3142, - "mutability": "mutable", - "name": "give", - "nameLocation": "2543:4:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2535:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3141, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2535:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2505:43:7" - }, - "returnParameters": { - "id": 3144, - "nodeType": "ParameterList", - "parameters": [], - "src": "2558:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3177, - "nodeType": "FunctionDefinition", - "src": "2635:102:7", - "body": { - "id": 3176, - "nodeType": "Block", - "src": "2678:59:7", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 3165, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2688:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2691:9:7", - "memberName": "stopPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7051, - "src": "2688:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 3168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2688:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3169, - "nodeType": "ExpressionStatement", - "src": "2688:14:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3173, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3162, - "src": "2726:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3170, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2712:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2715:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2712:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2712:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3175, - "nodeType": "ExpressionStatement", - "src": "2712:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "changePrank", - "nameLocation": "2644:11:7", - "parameters": { - "id": 3163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3162, - "mutability": "mutable", - "name": "who", - "nameLocation": "2664:3:7", - "nodeType": "VariableDeclaration", - "scope": 3177, - "src": "2656:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2656:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2655:13:7" - }, - "returnParameters": { - "id": 3164, - "nodeType": "ParameterList", - "parameters": [], - "src": "2678:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3213, - "nodeType": "FunctionDefinition", - "src": "2810:233:7", - "body": { - "id": 3212, - "nodeType": "Block", - "src": "2905:138:7", - "statements": [ - { - "expression": { - "id": 3196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3186, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3184, - "src": "2915:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 3192, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "2963:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3190, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2946:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2950:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2946:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2946:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3189, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2936:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2936:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 3188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2928:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2928:7:7", - "typeDescriptions": {} - } - }, - "id": 3195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2928:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2915:55:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3197, - "nodeType": "ExpressionStatement", - "src": "2915:55:7" - }, - { - "expression": { - "id": 3203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3198, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3182, - "src": "2980:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 3201, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3184, - "src": "2995:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3199, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2987:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2990:4:7", - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 6876, - "src": "2987:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) external returns (address)" - } - }, - "id": 3202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2987:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2980:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3204, - "nodeType": "ExpressionStatement", - "src": "2980:26:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3208, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3182, - "src": "3025:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3209, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "3031:4:7", - "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": 3205, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "3016:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3019:5:7", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 7176, - "src": "3016:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 3210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3016:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3211, - "nodeType": "ExpressionStatement", - "src": "3016:20:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddrAndKey", - "nameLocation": "2819:14:7", - "parameters": { - "id": 3180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3179, - "mutability": "mutable", - "name": "name", - "nameLocation": "2848:4:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2834:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3178, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2834:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2833:20:7" - }, - "returnParameters": { - "id": 3185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3182, - "mutability": "mutable", - "name": "addr", - "nameLocation": "2879:4:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2871:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3181, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2871:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3184, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "2893:10:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2885:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3183, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2885:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2870:34:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3228, - "nodeType": "FunctionDefinition", - "src": "3082:116:7", - "body": { - "id": 3227, - "nodeType": "Block", - "src": "3151:47:7", - "statements": [ - { - "expression": { - "id": 3225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 3220, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3218, - "src": "3162:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - null - ], - "id": 3221, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "3161:7:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$__$", - "typeString": "tuple(address,)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 3223, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3215, - "src": "3186:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3222, - "name": "makeAddrAndKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3213, - "src": "3171:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$_t_address_$_t_uint256_$", - "typeString": "function (string memory) returns (address,uint256)" - } - }, - "id": 3224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3171:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_uint256_$", - "typeString": "tuple(address,uint256)" - } - }, - "src": "3161:30:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3226, - "nodeType": "ExpressionStatement", - "src": "3161:30:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddr", - "nameLocation": "3091:8:7", - "parameters": { - "id": 3216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3215, - "mutability": "mutable", - "name": "name", - "nameLocation": "3114:4:7", - "nodeType": "VariableDeclaration", - "scope": 3228, - "src": "3100:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3214, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3100:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3099:20:7" - }, - "returnParameters": { - "id": 3219, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3218, - "mutability": "mutable", - "name": "addr", - "nameLocation": "3145:4:7", - "nodeType": "VariableDeclaration", - "scope": 3228, - "src": "3137:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3217, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3137:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3136:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3258, - "nodeType": "FunctionDefinition", - "src": "3242:343:7", - "body": { - "id": 3257, - "nodeType": "Block", - "src": "3305:280:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "5741524e494e47", - "id": 3238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3337:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51aac253d1d3eb5d066c1c453a3853c9527c2f88e5bdf63a1c20e25e8cf24885", - "typeString": "literal_string \"WARNING\"" - }, - "value": "WARNING" - }, - { - "hexValue": "546573742074697028616464726573732c616464726573732c75696e74323536293a2054686520607469706020737464636865617420686173206265656e20646570726563617465642e2055736520606465616c6020696e73746561642e", - "id": 3239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3348:96:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_762cc440f1f8cee7b2ded8a4dd443d4267a1f30da9ac7fb41d8332668a3aaa5e", - "typeString": "literal_string \"Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead.\"" - }, - "value": "Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51aac253d1d3eb5d066c1c453a3853c9527c2f88e5bdf63a1c20e25e8cf24885", - "typeString": "literal_string \"WARNING\"" - }, - { - "typeIdentifier": "t_stringliteral_762cc440f1f8cee7b2ded8a4dd443d4267a1f30da9ac7fb41d8332668a3aaa5e", - "typeString": "literal_string \"Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead.\"" - } - ], - "id": 3237, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "3320:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3320:125:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3241, - "nodeType": "EmitStatement", - "src": "3315:130:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3254, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3234, - "src": "3573:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 3251, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3232, - "src": "3542:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3508:10:7", - "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": 3245, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "3484:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3242, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "3455:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3244, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3477:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "3455:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3247, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3504:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "3455:52:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:64:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3250, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3533:8:7", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6158, - "src": "3455:86:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:90:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3253, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3559:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "3455:117:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:123:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3256, - "nodeType": "ExpressionStatement", - "src": "3455:123:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tip", - "nameLocation": "3251:3:7", - "parameters": { - "id": 3235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3230, - "mutability": "mutable", - "name": "token", - "nameLocation": "3263:5:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3255:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3255:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3232, - "mutability": "mutable", - "name": "to", - "nameLocation": "3278:2:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3270:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3231, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3270:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3234, - "mutability": "mutable", - "name": "give", - "nameLocation": "3290:4:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3282:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3233, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3282:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3254:41:7" - }, - "returnParameters": { - "id": 3236, - "nodeType": "ParameterList", - "parameters": [], - "src": "3305:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3273, - "nodeType": "FunctionDefinition", - "src": "3676:83:7", - "body": { - "id": 3272, - "nodeType": "Block", - "src": "3725:34:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3268, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3260, - "src": "3743:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3269, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3262, - "src": "3747:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3265, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "3735:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3738:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "3735:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3735:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3271, - "nodeType": "ExpressionStatement", - "src": "3735:17:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3685:4:7", - "parameters": { - "id": 3263, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3260, - "mutability": "mutable", - "name": "to", - "nameLocation": "3698:2:7", - "nodeType": "VariableDeclaration", - "scope": 3273, - "src": "3690:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3690:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3262, - "mutability": "mutable", - "name": "give", - "nameLocation": "3710:4:7", - "nodeType": "VariableDeclaration", - "scope": 3273, - "src": "3702:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3702:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3689:26:7" - }, - "returnParameters": { - "id": 3264, - "nodeType": "ParameterList", - "parameters": [], - "src": "3725:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3290, - "nodeType": "FunctionDefinition", - "src": "3883:109:7", - "body": { - "id": 3289, - "nodeType": "Block", - "src": "3947:45:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3283, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3275, - "src": "3962:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3284, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3277, - "src": "3969:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3285, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3279, - "src": "3973:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "66616c7365", - "id": 3286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3979:5:7", - "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": 3282, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3273, - 3290, - 3393 - ], - "referencedDeclaration": 3393, - "src": "3957:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$", - "typeString": "function (address,address,uint256,bool)" - } - }, - "id": 3287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3957:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3288, - "nodeType": "ExpressionStatement", - "src": "3957:28:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3892:4:7", - "parameters": { - "id": 3280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3275, - "mutability": "mutable", - "name": "token", - "nameLocation": "3905:5:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3897:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3274, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3897:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3277, - "mutability": "mutable", - "name": "to", - "nameLocation": "3920:2:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3912:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3276, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3912:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3279, - "mutability": "mutable", - "name": "give", - "nameLocation": "3932:4:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3924:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3278, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3924:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3896:41:7" - }, - "returnParameters": { - "id": 3281, - "nodeType": "ParameterList", - "parameters": [], - "src": "3947:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3393, - "nodeType": "FunctionDefinition", - "src": "3998:917:7", - "body": { - "id": 3392, - "nodeType": "Block", - "src": "4075:840:7", - "statements": [ - { - "assignments": [ - null, - 3302 - ], - "declarations": [ - null, - { - "constant": false, - "id": 3302, - "mutability": "mutable", - "name": "balData", - "nameLocation": "4132:7:7", - "nodeType": "VariableDeclaration", - "scope": 3392, - "src": "4119:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3301, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4119:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3311, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4177:10:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - "value": "0x70a08231" - }, - { - "id": 3308, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "4189:2:7", - "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": 3305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4154:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4158:18:7", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "4154:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 3309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4154:38:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 3303, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4143:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4149:4:7", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "4143:10:7", - "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": 3310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4143:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4116:77:7" - }, - { - "assignments": [ - 3313 - ], - "declarations": [ - { - "constant": false, - "id": 3313, - "mutability": "mutable", - "name": "prevBal", - "nameLocation": "4211:7:7", - "nodeType": "VariableDeclaration", - "scope": 3392, - "src": "4203:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3312, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4203:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3321, - "initialValue": { - "arguments": [ - { - "id": 3316, - "name": "balData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "4232:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 3318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4242:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4242:7:7", - "typeDescriptions": {} - } - } - ], - "id": 3319, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4241:9:7", - "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": 3314, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4221:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4225:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4221:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 3320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4221:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4203:48:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3334, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4406:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 3331, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "4375:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4341:10:7", - "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": 3325, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4317:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3322, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "4288:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3324, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4310:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "4288:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4337:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "4288:52:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:64:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3330, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4366:8:7", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6158, - "src": "4288:86:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:90:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3333, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4392:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "4288:117:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:123:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3336, - "nodeType": "ExpressionStatement", - "src": "4288:123:7" - }, - { - "condition": { - "id": 3337, - "name": "adjust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3298, - "src": "4456:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3391, - "nodeType": "IfStatement", - "src": "4453:456:7", - "trueBody": { - "id": 3390, - "nodeType": "Block", - "src": "4463:446:7", - "statements": [ - { - "assignments": [ - null, - 3339 - ], - "declarations": [ - null, - { - "constant": false, - "id": 3339, - "mutability": "mutable", - "name": "totSupData", - "nameLocation": "4493:10:7", - "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "4480:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3338, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4480:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3347, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 3344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4541:10:7", - "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": 3342, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4518:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4522:18:7", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "4518:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 3345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4518:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 3340, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4507:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4513:4:7", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "4507:10:7", - "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": 3346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4507:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4477:76:7" - }, - { - "assignments": [ - 3349 - ], - "declarations": [ - { - "constant": false, - "id": 3349, - "mutability": "mutable", - "name": "totSup", - "nameLocation": "4575:6:7", - "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "4567:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3348, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4567:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3357, - "initialValue": { - "arguments": [ - { - "id": 3352, - "name": "totSupData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3339, - "src": "4595:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 3354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4608:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3353, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4608:7:7", - "typeDescriptions": {} - } - } - ], - "id": 3355, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4607:9:7", - "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": 3350, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4584:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4588:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4584:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 3356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4584:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4567:50:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3358, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4634:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 3359, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4641:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4634:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 3376, - "nodeType": "Block", - "src": "4715:59:7", - "statements": [ - { - "expression": { - "id": 3374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3369, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4733:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3370, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4744:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3371, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4751:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4744:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 3373, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4743:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4733:26:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3375, - "nodeType": "ExpressionStatement", - "src": "4733:26:7" - } - ] - }, - "id": 3377, - "nodeType": "IfStatement", - "src": "4631:143:7", - "trueBody": { - "id": 3368, - "nodeType": "Block", - "src": "4650:59:7", - "statements": [ - { - "expression": { - "id": 3366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3361, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4668:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3362, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4679:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3363, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4689:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4679:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 3365, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4678:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4668:26:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3367, - "nodeType": "ExpressionStatement", - "src": "4668:26:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 3387, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4891:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 3384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4848:10:7", - "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": 3381, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4820:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3378, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "4787:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4813:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "4787:32:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3383, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4844:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "4787:60:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:72:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3386, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4877:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "4787:103:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:111:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3389, - "nodeType": "ExpressionStatement", - "src": "4787:111:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "4007:4:7", - "parameters": { - "id": 3299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3292, - "mutability": "mutable", - "name": "token", - "nameLocation": "4020:5:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4012:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4012:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3294, - "mutability": "mutable", - "name": "to", - "nameLocation": "4035:2:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4027:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4027:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3296, - "mutability": "mutable", - "name": "give", - "nameLocation": "4047:4:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4039:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3295, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4039:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3298, - "mutability": "mutable", - "name": "adjust", - "nameLocation": "4058:6:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4053:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3297, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4053:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4011:54:7" - }, - "returnParameters": { - "id": 3300, - "nodeType": "ParameterList", - "parameters": [], - "src": "4075:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3457, - "nodeType": "FunctionDefinition", - "src": "4921:578:7", - "body": { - "id": 3456, - "nodeType": "Block", - "src": "5015:484:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3405, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5033:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 3406, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3399, - "src": "5040:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5033:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "5465737420626f756e642875696e743235362c75696e743235362c75696e74323536293a204d6178206973206c657373207468616e206d696e2e", - "id": 3408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5045:60:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3bbfc2dadabc14e74ee28873c31ab942a6b0084199df371a57fc6e23a8b91a7d", - "typeString": "literal_string \"Test bound(uint256,uint256,uint256): Max is less than min.\"" - }, - "value": "Test bound(uint256,uint256,uint256): Max is less than min." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3bbfc2dadabc14e74ee28873c31ab942a6b0084199df371a57fc6e23a8b91a7d", - "typeString": "literal_string \"Test bound(uint256,uint256,uint256): Max is less than min.\"" - } - ], - "id": 3404, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5025:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5025:81:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3410, - "nodeType": "ExpressionStatement", - "src": "5025:81:7" - }, - { - "assignments": [ - 3412 - ], - "declarations": [ - { - "constant": false, - "id": 3412, - "mutability": "mutable", - "name": "size", - "nameLocation": "5125:4:7", - "nodeType": "VariableDeclaration", - "scope": 3456, - "src": "5117:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3411, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5117:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3416, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3413, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3399, - "src": "5132:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3414, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5138:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5132:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5117:24:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3417, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5156:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 3418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5164:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5156:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3425, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5230:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 3426, - "name": "UINT256_MAX", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2911, - "src": "5238:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5230:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 3448, - "nodeType": "Block", - "src": "5316:123:7", - "statements": [ - { - "expression": { - "id": 3434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "5330:6:7", - "subExpression": { - "id": 3433, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5332:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3435, - "nodeType": "ExpressionStatement", - "src": "5330:6:7" - }, - { - "assignments": [ - 3437 - ], - "declarations": [ - { - "constant": false, - "id": 3437, - "mutability": "mutable", - "name": "mod", - "nameLocation": "5382:3:7", - "nodeType": "VariableDeclaration", - "scope": 3448, - "src": "5374:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5374:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3441, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3438, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "5388:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "id": 3439, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5392:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5388:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5374:22:7" - }, - { - "expression": { - "id": 3446, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3442, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5410:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3443, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5419:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 3444, - "name": "mod", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3437, - "src": "5425:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5419:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5410:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3447, - "nodeType": "ExpressionStatement", - "src": "5410:18:7" - } - ] - }, - "id": 3449, - "nodeType": "IfStatement", - "src": "5226:213:7", - "trueBody": { - "id": 3432, - "nodeType": "Block", - "src": "5259:35:7", - "statements": [ - { - "expression": { - "id": 3430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3428, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5273:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 3429, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "5282:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5273:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3431, - "nodeType": "ExpressionStatement", - "src": "5273:10:7" - } - ] - } - }, - "id": 3450, - "nodeType": "IfStatement", - "src": "5152:287:7", - "trueBody": { - "id": 3424, - "nodeType": "Block", - "src": "5175:37:7", - "statements": [ - { - "expression": { - "id": 3422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3420, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5189:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 3421, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5198:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5189:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3423, - "nodeType": "ExpressionStatement", - "src": "5189:12:7" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "426f756e6420526573756c74", - "id": 3452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5469:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - "value": "Bound Result" - }, - { - "id": 3453, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5485:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3451, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "5454:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5454:38:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3455, - "nodeType": "EmitStatement", - "src": "5449:43:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bound", - "nameLocation": "4930:5:7", - "parameters": { - "id": 3400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3395, - "mutability": "mutable", - "name": "x", - "nameLocation": "4944:1:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4936:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4936:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3397, - "mutability": "mutable", - "name": "min", - "nameLocation": "4955:3:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4947:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4947:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3399, - "mutability": "mutable", - "name": "max", - "nameLocation": "4968:3:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4960:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3398, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4960:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4935:37:7" - }, - "returnParameters": { - "id": 3403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3402, - "mutability": "mutable", - "name": "result", - "nameLocation": "5007:6:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4999:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4999:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4998:16:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3489, - "nodeType": "FunctionDefinition", - "src": "5659:457:7", - "body": { - "id": 3488, - "nodeType": "Block", - "src": "5770:346:7", - "statements": [ - { - "assignments": [ - 3467 - ], - "declarations": [ - { - "constant": false, - "id": 3467, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "5793:8:7", - "nodeType": "VariableDeclaration", - "scope": 3488, - "src": "5780:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5780:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3476, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 3472, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3459, - "src": "5832:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3470, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "5821:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5824:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "5821:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5821:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3474, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3461, - "src": "5839:4:7", - "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": 3468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5804:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5808:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5804:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5804:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5780:64:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "5906:79:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "5920:55:7", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5935:1:7", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "5942:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5952:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5938:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "5938:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "5965:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5959:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "5959:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "5928:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "5928:47:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "5920:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3464, - "isOffset": false, - "isSlot": false, - "src": "5920:4:7", - "valueSize": 1 - }, - { - "declaration": 3467, - "isOffset": false, - "isSlot": false, - "src": "5942:8:7", - "valueSize": 1 - }, - { - "declaration": 3467, - "isOffset": false, - "isSlot": false, - "src": "5965:8:7", - "valueSize": 1 - } - ], - "id": 3477, - "nodeType": "InlineAssembly", - "src": "5897:88:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3479, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3464, - "src": "6016:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6032:1:7", - "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": 3481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6024:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3480, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6024:7:7", - "typeDescriptions": {} - } - }, - "id": 3483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6024:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6016:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c6279746573293a204465706c6f796d656e74206661696c65642e", - "id": 3485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6048:51:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d1c806ce7af1725b71ce0c84a849070672773be785c276ca8554d3c1f196865d", - "typeString": "literal_string \"Test deployCode(string,bytes): Deployment failed.\"" - }, - "value": "Test deployCode(string,bytes): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d1c806ce7af1725b71ce0c84a849070672773be785c276ca8554d3c1f196865d", - "typeString": "literal_string \"Test deployCode(string,bytes): Deployment failed.\"" - } - ], - "id": 3478, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5995:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5995:114:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3487, - "nodeType": "ExpressionStatement", - "src": "5995:114:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "5668:10:7", - "parameters": { - "id": 3462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3459, - "mutability": "mutable", - "name": "what", - "nameLocation": "5693:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5679:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3458, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5679:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3461, - "mutability": "mutable", - "name": "args", - "nameLocation": "5712:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5699:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3460, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5699:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5678:39:7" - }, - "returnParameters": { - "id": 3465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3464, - "mutability": "mutable", - "name": "addr", - "nameLocation": "5760:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5752:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3463, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5752:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5751:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3515, - "nodeType": "FunctionDefinition", - "src": "6122:408:7", - "body": { - "id": 3514, - "nodeType": "Block", - "src": "6214:316:7", - "statements": [ - { - "assignments": [ - 3497 - ], - "declarations": [ - { - "constant": false, - "id": 3497, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "6237:8:7", - "nodeType": "VariableDeclaration", - "scope": 3514, - "src": "6224:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3496, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6224:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3502, - "initialValue": { - "arguments": [ - { - "id": 3500, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3491, - "src": "6259:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3498, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "6248:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6251:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "6248:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6248:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6224:40:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6326:79:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "6340:55:7", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6355:1:7", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6362:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6372:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6358:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "6358:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6385:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6379:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "6379:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "6348:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "6348:47:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "6340:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3494, - "isOffset": false, - "isSlot": false, - "src": "6340:4:7", - "valueSize": 1 - }, - { - "declaration": 3497, - "isOffset": false, - "isSlot": false, - "src": "6362:8:7", - "valueSize": 1 - }, - { - "declaration": 3497, - "isOffset": false, - "isSlot": false, - "src": "6385:8:7", - "valueSize": 1 - } - ], - "id": 3503, - "nodeType": "InlineAssembly", - "src": "6317:88:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3505, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3494, - "src": "6436:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6452:1:7", - "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": 3507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6444:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3506, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6444:7:7", - "typeDescriptions": {} - } - }, - "id": 3509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6444:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6436:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e67293a204465706c6f796d656e74206661696c65642e", - "id": 3511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6468:45:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b9fd17b1c001ca1277bfc68fcfcc57948bec4ffe1adf822157bd27978fa551cb", - "typeString": "literal_string \"Test deployCode(string): Deployment failed.\"" - }, - "value": "Test deployCode(string): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b9fd17b1c001ca1277bfc68fcfcc57948bec4ffe1adf822157bd27978fa551cb", - "typeString": "literal_string \"Test deployCode(string): Deployment failed.\"" - } - ], - "id": 3504, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6415:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6415:108:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3513, - "nodeType": "ExpressionStatement", - "src": "6415:108:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "6131:10:7", - "parameters": { - "id": 3492, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3491, - "mutability": "mutable", - "name": "what", - "nameLocation": "6156:4:7", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "6142:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3490, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6142:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6141:20:7" - }, - "returnParameters": { - "id": 3495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3494, - "mutability": "mutable", - "name": "addr", - "nameLocation": "6204:4:7", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "6196:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6196:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6195:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3550, - "nodeType": "FunctionDefinition", - "src": "6587:480:7", - "body": { - "id": 3549, - "nodeType": "Block", - "src": "6711:356:7", - "statements": [ - { - "assignments": [ - 3528 - ], - "declarations": [ - { - "constant": false, - "id": 3528, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "6734:8:7", - "nodeType": "VariableDeclaration", - "scope": 3549, - "src": "6721:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3527, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6721:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3537, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 3533, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3518, - "src": "6773:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3531, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "6762:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6765:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "6762:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6762:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3535, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3520, - "src": "6780:4:7", - "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": 3529, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6745:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6749:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "6745:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6745:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6721:64:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6847:81:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "6861:57:7", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "6876:3:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6885:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6895:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6881:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "6881:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6908:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6902:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "6902:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "6869:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "6869:49:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "6861:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3525, - "isOffset": false, - "isSlot": false, - "src": "6861:4:7", - "valueSize": 1 - }, - { - "declaration": 3528, - "isOffset": false, - "isSlot": false, - "src": "6885:8:7", - "valueSize": 1 - }, - { - "declaration": 3528, - "isOffset": false, - "isSlot": false, - "src": "6908:8:7", - "valueSize": 1 - }, - { - "declaration": 3522, - "isOffset": false, - "isSlot": false, - "src": "6876:3:7", - "valueSize": 1 - } - ], - "id": 3538, - "nodeType": "InlineAssembly", - "src": "6838:90:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3540, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3525, - "src": "6959:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6975:1:7", - "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": 3542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6967:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3541, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6967:7:7", - "typeDescriptions": {} - } - }, - "id": 3544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6967:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6959:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c62797465732c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 3546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6991:59:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48c6a907f17116971b60f748697256dfa1e2b6301c67424b0afa1c8e2a6fcf69", - "typeString": "literal_string \"Test deployCode(string,bytes,uint256): Deployment failed.\"" - }, - "value": "Test deployCode(string,bytes,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_48c6a907f17116971b60f748697256dfa1e2b6301c67424b0afa1c8e2a6fcf69", - "typeString": "literal_string \"Test deployCode(string,bytes,uint256): Deployment failed.\"" - } - ], - "id": 3539, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6938:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6938:122:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3548, - "nodeType": "ExpressionStatement", - "src": "6938:122:7" - } - ] - }, - "documentation": { - "id": 3516, - "nodeType": "StructuredDocumentation", - "src": "6536:46:7", - "text": "deploy contract with value on construction" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "6596:10:7", - "parameters": { - "id": 3523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3518, - "mutability": "mutable", - "name": "what", - "nameLocation": "6621:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6607:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6607:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3520, - "mutability": "mutable", - "name": "args", - "nameLocation": "6640:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6627:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3519, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6627:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3522, - "mutability": "mutable", - "name": "val", - "nameLocation": "6654:3:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6646:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3521, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6646:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6606:52:7" - }, - "returnParameters": { - "id": 3526, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3525, - "mutability": "mutable", - "name": "addr", - "nameLocation": "6701:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6693:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3524, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6693:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6692:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3578, - "nodeType": "FunctionDefinition", - "src": "7073:431:7", - "body": { - "id": 3577, - "nodeType": "Block", - "src": "7178:326:7", - "statements": [ - { - "assignments": [ - 3560 - ], - "declarations": [ - { - "constant": false, - "id": 3560, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "7201:8:7", - "nodeType": "VariableDeclaration", - "scope": 3577, - "src": "7188:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7188:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3565, - "initialValue": { - "arguments": [ - { - "id": 3563, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3552, - "src": "7223:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3561, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "7212:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7215:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "7212:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7212:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7188:40:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "7290:81:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "7304:57:7", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "7319:3:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "7328:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7338:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7324:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "7324:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "7351:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "7345:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "7345:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "7312:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "7312:49:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "7304:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3557, - "isOffset": false, - "isSlot": false, - "src": "7304:4:7", - "valueSize": 1 - }, - { - "declaration": 3560, - "isOffset": false, - "isSlot": false, - "src": "7328:8:7", - "valueSize": 1 - }, - { - "declaration": 3560, - "isOffset": false, - "isSlot": false, - "src": "7351:8:7", - "valueSize": 1 - }, - { - "declaration": 3554, - "isOffset": false, - "isSlot": false, - "src": "7319:3:7", - "valueSize": 1 - } - ], - "id": 3566, - "nodeType": "InlineAssembly", - "src": "7281:90:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3568, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3557, - "src": "7402:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7418:1:7", - "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": 3570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7410:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7410:7:7", - "typeDescriptions": {} - } - }, - "id": 3572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7410:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7402:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 3574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7434:53:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3fa81ff94e5c0be4a794a2745793ac7e0a88d8864b4f59c0b3d5cc00c8442226", - "typeString": "literal_string \"Test deployCode(string,uint256): Deployment failed.\"" - }, - "value": "Test deployCode(string,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3fa81ff94e5c0be4a794a2745793ac7e0a88d8864b4f59c0b3d5cc00c8442226", - "typeString": "literal_string \"Test deployCode(string,uint256): Deployment failed.\"" - } - ], - "id": 3567, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7381:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7381:116:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3576, - "nodeType": "ExpressionStatement", - "src": "7381:116:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "7082:10:7", - "parameters": { - "id": 3555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3552, - "mutability": "mutable", - "name": "what", - "nameLocation": "7107:4:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7093:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3551, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7093:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3554, - "mutability": "mutable", - "name": "val", - "nameLocation": "7121:3:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7113:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3553, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7113:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7092:33:7" - }, - "returnParameters": { - "id": 3558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3557, - "mutability": "mutable", - "name": "addr", - "nameLocation": "7168:4:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7160:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3556, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7160:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7159:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3592, - "nodeType": "FunctionDefinition", - "src": "7724:118:7", - "body": { - "id": 3591, - "nodeType": "Block", - "src": "7774:68:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7806:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3585, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3580, - "src": "7815:3:7", - "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": 3583, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "7789:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7789:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3587, - "nodeType": "EmitStatement", - "src": "7784:35:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3588, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "7829:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7829:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3590, - "nodeType": "ExpressionStatement", - "src": "7829:6:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fail", - "nameLocation": "7733:4:7", - "parameters": { - "id": 3581, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3580, - "mutability": "mutable", - "name": "err", - "nameLocation": "7752:3:7", - "nodeType": "VariableDeclaration", - "scope": 3592, - "src": "7738:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3579, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7737:19:7" - }, - "returnParameters": { - "id": 3582, - "nodeType": "ParameterList", - "parameters": [], - "src": "7774:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3603, - "nodeType": "FunctionDefinition", - "src": "7848:83:7", - "body": { - "id": 3602, - "nodeType": "Block", - "src": "7897:34:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "7918:5:7", - "subExpression": { - "id": 3598, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3594, - "src": "7919:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 3597, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 755, - "src": "7907:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool)" - } - }, - "id": 3600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7907:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3601, - "nodeType": "ExpressionStatement", - "src": "7907:17:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "7857:11:7", - "parameters": { - "id": 3595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3594, - "mutability": "mutable", - "name": "data", - "nameLocation": "7874:4:7", - "nodeType": "VariableDeclaration", - "scope": 3603, - "src": "7869:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3593, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7869:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7868:11:7" - }, - "returnParameters": { - "id": 3596, - "nodeType": "ParameterList", - "parameters": [], - "src": "7897:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3617, - "nodeType": "FunctionDefinition", - "src": "7937:107:7", - "body": { - "id": 3616, - "nodeType": "Block", - "src": "8005:39:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "8026:5:7", - "subExpression": { - "id": 3611, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3605, - "src": "8027:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3613, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3607, - "src": "8033:3:7", - "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": 3610, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 776, - "src": "8015:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory)" - } - }, - "id": 3614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8015:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3615, - "nodeType": "ExpressionStatement", - "src": "8015:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "7946:11:7", - "parameters": { - "id": 3608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3605, - "mutability": "mutable", - "name": "data", - "nameLocation": "7963:4:7", - "nodeType": "VariableDeclaration", - "scope": 3617, - "src": "7958:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3604, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7958:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3607, - "mutability": "mutable", - "name": "err", - "nameLocation": "7983:3:7", - "nodeType": "VariableDeclaration", - "scope": 3617, - "src": "7969:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3606, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7969:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7957:30:7" - }, - "returnParameters": { - "id": 3609, - "nodeType": "ParameterList", - "parameters": [], - "src": "8005:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3653, - "nodeType": "FunctionDefinition", - "src": "8050:326:7", - "body": { - "id": 3652, - "nodeType": "Block", - "src": "8093:283:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3624, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3619, - "src": "8107:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 3625, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3621, - "src": "8112:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8107:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3651, - "nodeType": "IfStatement", - "src": "8103:267:7", - "trueBody": { - "id": 3650, - "nodeType": "Block", - "src": "8115:255:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b626f6f6c5d", - "id": 3628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8154:36:7", - "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": 3627, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8134:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8134:57:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3630, - "nodeType": "EmitStatement", - "src": "8129:62:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3632, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8230:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "condition": { - "id": 3633, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3621, - "src": "8244:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 3635, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8257:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 3636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8244:20:7", - "trueExpression": { - "hexValue": "74727565", - "id": 3634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8248:6:7", - "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": 3631, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8210:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8210:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3638, - "nodeType": "EmitStatement", - "src": "8205:60:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8304:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "condition": { - "id": 3641, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3619, - "src": "8318:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 3643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8331:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 3644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8318:20:7", - "trueExpression": { - "hexValue": "74727565", - "id": 3642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8322:6:7", - "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": 3639, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8284:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8284:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3646, - "nodeType": "EmitStatement", - "src": "8279:60:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3647, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "8353:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8353:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3649, - "nodeType": "ExpressionStatement", - "src": "8353:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8059:8:7", - "parameters": { - "id": 3622, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3619, - "mutability": "mutable", - "name": "a", - "nameLocation": "8073:1:7", - "nodeType": "VariableDeclaration", - "scope": 3653, - "src": "8068:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3618, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8068:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3621, - "mutability": "mutable", - "name": "b", - "nameLocation": "8081:1:7", - "nodeType": "VariableDeclaration", - "scope": 3653, - "src": "8076:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8076:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8067:16:7" - }, - "returnParameters": { - "id": 3623, - "nodeType": "ParameterList", - "parameters": [], - "src": "8093:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3678, - "nodeType": "FunctionDefinition", - "src": "8382:178:7", - "body": { - "id": 3677, - "nodeType": "Block", - "src": "8444:116:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3662, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3655, - "src": "8458:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 3663, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3657, - "src": "8463:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8458:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3676, - "nodeType": "IfStatement", - "src": "8454:100:7", - "trueBody": { - "id": 3675, - "nodeType": "Block", - "src": "8466:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8502:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3667, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3659, - "src": "8511:3:7", - "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": 3665, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8485:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8485:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3669, - "nodeType": "EmitStatement", - "src": "8480:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3671, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3655, - "src": "8538:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3672, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3657, - "src": "8541:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 3670, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3653, - "src": "8529:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_bool_$returns$__$", - "typeString": "function (bool,bool)" - } - }, - "id": 3673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8529:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3674, - "nodeType": "ExpressionStatement", - "src": "8529:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8391:8:7", - "parameters": { - "id": 3660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3655, - "mutability": "mutable", - "name": "a", - "nameLocation": "8405:1:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8400:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3654, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8400:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3657, - "mutability": "mutable", - "name": "b", - "nameLocation": "8413:1:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8408:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8408:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3659, - "mutability": "mutable", - "name": "err", - "nameLocation": "8430:3:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8416:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3658, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8416:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8399:35:7" - }, - "returnParameters": { - "id": 3661, - "nodeType": "ParameterList", - "parameters": [], - "src": "8444:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3691, - "nodeType": "FunctionDefinition", - "src": "8566:91:7", - "body": { - "id": 3690, - "nodeType": "Block", - "src": "8625:32:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3686, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3680, - "src": "8645:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3687, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3682, - "src": "8648:1:7", - "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": 3685, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2244, - "src": "8635:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,bytes memory)" - } - }, - "id": 3688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8635:15:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3689, - "nodeType": "ExpressionStatement", - "src": "8635:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8575:8:7", - "parameters": { - "id": 3683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3680, - "mutability": "mutable", - "name": "a", - "nameLocation": "8597:1:7", - "nodeType": "VariableDeclaration", - "scope": 3691, - "src": "8584:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3679, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8584:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3682, - "mutability": "mutable", - "name": "b", - "nameLocation": "8613:1:7", - "nodeType": "VariableDeclaration", - "scope": 3691, - "src": "8600:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3681, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8600:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8583:32:7" - }, - "returnParameters": { - "id": 3684, - "nodeType": "ParameterList", - "parameters": [], - "src": "8625:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3707, - "nodeType": "FunctionDefinition", - "src": "8663:115:7", - "body": { - "id": 3706, - "nodeType": "Block", - "src": "8741:37:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3701, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3693, - "src": "8761:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3702, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3695, - "src": "8764:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3703, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3697, - "src": "8767:3:7", - "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": 3700, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2271, - "src": "8751:9:7", - "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": 3704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8751:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3705, - "nodeType": "ExpressionStatement", - "src": "8751:20:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8672:8:7", - "parameters": { - "id": 3698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3693, - "mutability": "mutable", - "name": "a", - "nameLocation": "8694:1:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8681:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3692, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8681:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3695, - "mutability": "mutable", - "name": "b", - "nameLocation": "8710:1:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8697:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3694, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8697:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3697, - "mutability": "mutable", - "name": "err", - "nameLocation": "8727:3:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8713:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3696, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8713:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8680:51:7" - }, - "returnParameters": { - "id": 3699, - "nodeType": "ParameterList", - "parameters": [], - "src": "8741:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3749, - "nodeType": "FunctionDefinition", - "src": "8784:336:7", - "body": { - "id": 3748, - "nodeType": "Block", - "src": "8851:269:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3719, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "8886:1:7", - "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": 3717, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8875:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8879:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8875:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8875:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3716, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8865:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8865:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3725, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "8914:1:7", - "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": 3723, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8903:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8907:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8903:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8903:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3722, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8893:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8893:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8865:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3747, - "nodeType": "IfStatement", - "src": "8861:253:7", - "trueBody": { - "id": 3746, - "nodeType": "Block", - "src": "8919:195:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e745b5d5d", - "id": 3730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8942:38:7", - "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": 3729, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8938:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8938:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3732, - "nodeType": "EmitStatement", - "src": "8933:48:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9016:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3735, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "9030:1:7", - "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": 3733, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2936, - "src": "9000:15:7", - "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": 3736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9000:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3737, - "nodeType": "EmitStatement", - "src": "8995:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9067:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3740, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "9081:1:7", - "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": 3738, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2936, - "src": "9051:15:7", - "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": 3741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9051:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3742, - "nodeType": "EmitStatement", - "src": "9046:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3743, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9097:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9097:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3745, - "nodeType": "ExpressionStatement", - "src": "9097:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8793:8:7", - "parameters": { - "id": 3714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3710, - "mutability": "mutable", - "name": "a", - "nameLocation": "8819:1:7", - "nodeType": "VariableDeclaration", - "scope": 3749, - "src": "8802:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3708, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8802:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3709, - "nodeType": "ArrayTypeName", - "src": "8802:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3713, - "mutability": "mutable", - "name": "b", - "nameLocation": "8839:1:7", - "nodeType": "VariableDeclaration", - "scope": 3749, - "src": "8822:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3711, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8822:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3712, - "nodeType": "ArrayTypeName", - "src": "8822:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "8801:40:7" - }, - "returnParameters": { - "id": 3715, - "nodeType": "ParameterList", - "parameters": [], - "src": "8851:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3791, - "nodeType": "FunctionDefinition", - "src": "9126:333:7", - "body": { - "id": 3790, - "nodeType": "Block", - "src": "9191:268:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3761, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "9226:1:7", - "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": 3759, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9215:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9219:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9215:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9215:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3758, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9205:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9205:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3767, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3755, - "src": "9254:1:7", - "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": 3765, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9243:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9247:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9243:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9243:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3764, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9233:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9233:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9205:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3789, - "nodeType": "IfStatement", - "src": "9201:252:7", - "trueBody": { - "id": 3788, - "nodeType": "Block", - "src": "9259:194:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b696e745b5d5d", - "id": 3772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9282:37:7", - "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": 3771, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9278:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9278:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3774, - "nodeType": "EmitStatement", - "src": "9273:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9355:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3777, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3755, - "src": "9369:1:7", - "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": 3775, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2943, - "src": "9339:15:7", - "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": 3778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9339:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3779, - "nodeType": "EmitStatement", - "src": "9334:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3781, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9406:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3782, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "9420:1:7", - "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": 3780, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2943, - "src": "9390:15:7", - "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": 3783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9390:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3784, - "nodeType": "EmitStatement", - "src": "9385:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3785, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9436:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9436:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3787, - "nodeType": "ExpressionStatement", - "src": "9436:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9135:8:7", - "parameters": { - "id": 3756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3752, - "mutability": "mutable", - "name": "a", - "nameLocation": "9160:1:7", - "nodeType": "VariableDeclaration", - "scope": 3791, - "src": "9144:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3750, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9144:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3751, - "nodeType": "ArrayTypeName", - "src": "9144:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3755, - "mutability": "mutable", - "name": "b", - "nameLocation": "9179:1:7", - "nodeType": "VariableDeclaration", - "scope": 3791, - "src": "9163:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3753, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9163:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3754, - "nodeType": "ArrayTypeName", - "src": "9163:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "9143:38:7" - }, - "returnParameters": { - "id": 3757, - "nodeType": "ParameterList", - "parameters": [], - "src": "9191:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3833, - "nodeType": "FunctionDefinition", - "src": "9465:339:7", - "body": { - "id": 3832, - "nodeType": "Block", - "src": "9532:272:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3803, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3794, - "src": "9567:1:7", - "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": 3801, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9556:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9560:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9556:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9556:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3800, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9546:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9546:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3809, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3797, - "src": "9595:1:7", - "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": 3807, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9584:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9588:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9584:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9584:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3806, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9574:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9574:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9546:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3831, - "nodeType": "IfStatement", - "src": "9542:256:7", - "trueBody": { - "id": 3830, - "nodeType": "Block", - "src": "9600:198:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b616464726573735b5d5d", - "id": 3814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9623:41:7", - "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": 3813, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9619:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9619:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3816, - "nodeType": "EmitStatement", - "src": "9614:51:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9700:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3819, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3797, - "src": "9714:1:7", - "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": 3817, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2950, - "src": "9684:15:7", - "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": 3820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9684:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3821, - "nodeType": "EmitStatement", - "src": "9679:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9751:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3824, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3794, - "src": "9765:1:7", - "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": 3822, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2950, - "src": "9735:15:7", - "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": 3825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9735:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3826, - "nodeType": "EmitStatement", - "src": "9730:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3827, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9781:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9781:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3829, - "nodeType": "ExpressionStatement", - "src": "9781:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9474:8:7", - "parameters": { - "id": 3798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3794, - "mutability": "mutable", - "name": "a", - "nameLocation": "9500:1:7", - "nodeType": "VariableDeclaration", - "scope": 3833, - "src": "9483:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3792, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9483:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3793, - "nodeType": "ArrayTypeName", - "src": "9483:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3797, - "mutability": "mutable", - "name": "b", - "nameLocation": "9520:1:7", - "nodeType": "VariableDeclaration", - "scope": 3833, - "src": "9503:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3795, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9503:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3796, - "nodeType": "ArrayTypeName", - "src": "9503:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "9482:40:7" - }, - "returnParameters": { - "id": 3799, - "nodeType": "ParameterList", - "parameters": [], - "src": "9532:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3870, - "nodeType": "FunctionDefinition", - "src": "9810:248:7", - "body": { - "id": 3869, - "nodeType": "Block", - "src": "9896:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3847, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3836, - "src": "9931:1:7", - "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": 3845, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9920:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9924:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9920:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9920:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3844, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9910:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9910:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3853, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3839, - "src": "9959:1:7", - "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": 3851, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9948:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9952:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9948:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9948:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3850, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9938:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9938:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9910:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3868, - "nodeType": "IfStatement", - "src": "9906:146:7", - "trueBody": { - "id": 3867, - "nodeType": "Block", - "src": "9964:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10000:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3859, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3841, - "src": "10009:3:7", - "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": 3857, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "9983:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3861, - "nodeType": "EmitStatement", - "src": "9978:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3863, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3836, - "src": "10036:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - { - "id": 3864, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3839, - "src": "10039:1:7", - "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": 3862, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3749, - "src": "10027:8:7", - "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": 3865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10027:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3866, - "nodeType": "ExpressionStatement", - "src": "10027:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9819:8:7", - "parameters": { - "id": 3842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3836, - "mutability": "mutable", - "name": "a", - "nameLocation": "9845:1:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9828:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3834, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9828:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3835, - "nodeType": "ArrayTypeName", - "src": "9828:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3839, - "mutability": "mutable", - "name": "b", - "nameLocation": "9865:1:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9848:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3838, - "nodeType": "ArrayTypeName", - "src": "9848:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3841, - "mutability": "mutable", - "name": "err", - "nameLocation": "9882:3:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9868:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3840, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9868:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9827:59:7" - }, - "returnParameters": { - "id": 3843, - "nodeType": "ParameterList", - "parameters": [], - "src": "9896:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3907, - "nodeType": "FunctionDefinition", - "src": "10064:246:7", - "body": { - "id": 3906, - "nodeType": "Block", - "src": "10148:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3884, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "10183:1:7", - "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": 3882, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10172:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10176:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10172:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10172:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3881, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10162:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10162:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3890, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3876, - "src": "10211:1:7", - "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": 3888, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10200:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10204:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10200:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3887, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10190:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10190:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10162:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3905, - "nodeType": "IfStatement", - "src": "10158:146:7", - "trueBody": { - "id": 3904, - "nodeType": "Block", - "src": "10216:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10252:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3896, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3878, - "src": "10261:3:7", - "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": 3894, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10235:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10235:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3898, - "nodeType": "EmitStatement", - "src": "10230:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3900, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "10288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - }, - { - "id": 3901, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3876, - "src": "10291:1:7", - "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": 3899, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3791, - "src": "10279:8:7", - "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": 3902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10279:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3903, - "nodeType": "ExpressionStatement", - "src": "10279:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "10073:8:7", - "parameters": { - "id": 3879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3873, - "mutability": "mutable", - "name": "a", - "nameLocation": "10098:1:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10082:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3871, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10082:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3872, - "nodeType": "ArrayTypeName", - "src": "10082:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3876, - "mutability": "mutable", - "name": "b", - "nameLocation": "10117:1:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10101:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3874, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10101:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3875, - "nodeType": "ArrayTypeName", - "src": "10101:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3878, - "mutability": "mutable", - "name": "err", - "nameLocation": "10134:3:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10120:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3877, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10120:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10081:57:7" - }, - "returnParameters": { - "id": 3880, - "nodeType": "ParameterList", - "parameters": [], - "src": "10148:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3944, - "nodeType": "FunctionDefinition", - "src": "10317:248:7", - "body": { - "id": 3943, - "nodeType": "Block", - "src": "10403:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3921, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3910, - "src": "10438:1:7", - "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": 3919, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10427:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10431:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10427:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10427:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3918, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10417:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10417:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3927, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3913, - "src": "10466:1:7", - "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": 3925, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10455:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10459:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10455:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10455:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3924, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10445:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10445:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10417:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3942, - "nodeType": "IfStatement", - "src": "10413:146:7", - "trueBody": { - "id": 3941, - "nodeType": "Block", - "src": "10471:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10507:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3933, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3915, - "src": "10516:3:7", - "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": 3931, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10490:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10490:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3935, - "nodeType": "EmitStatement", - "src": "10485:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3937, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3910, - "src": "10543:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 3938, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3913, - "src": "10546:1:7", - "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": 3936, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3833, - "src": "10534:8:7", - "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": 3939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10534:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3940, - "nodeType": "ExpressionStatement", - "src": "10534:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "10326:8:7", - "parameters": { - "id": 3916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3910, - "mutability": "mutable", - "name": "a", - "nameLocation": "10352:1:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10335:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10335:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3909, - "nodeType": "ArrayTypeName", - "src": "10335:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3913, - "mutability": "mutable", - "name": "b", - "nameLocation": "10372:1:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10355:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3911, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10355:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3912, - "nodeType": "ArrayTypeName", - "src": "10355:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3915, - "mutability": "mutable", - "name": "err", - "nameLocation": "10389:3:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10375:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10375:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10334:59:7" - }, - "returnParameters": { - "id": 3917, - "nodeType": "ParameterList", - "parameters": [], - "src": "10403:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3963, - "nodeType": "FunctionDefinition", - "src": "10571:102:7", - "body": { - "id": 3962, - "nodeType": "Block", - "src": "10624:49:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 3954, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3946, - "src": "10651:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10643:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10643:7:7", - "typeDescriptions": {} - } - }, - "id": 3955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10643:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 3958, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3948, - "src": "10663:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3957, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10655:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10655:7:7", - "typeDescriptions": {} - } - }, - "id": 3959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10655:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3951, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "10634:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 3960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10634:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3961, - "nodeType": "ExpressionStatement", - "src": "10634:32:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqUint", - "nameLocation": "10580:12:7", - "parameters": { - "id": 3949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3946, - "mutability": "mutable", - "name": "a", - "nameLocation": "10601:1:7", - "nodeType": "VariableDeclaration", - "scope": 3963, - "src": "10593:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3945, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10593:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3948, - "mutability": "mutable", - "name": "b", - "nameLocation": "10612:1:7", - "nodeType": "VariableDeclaration", - "scope": 3963, - "src": "10604:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3947, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10604:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10592:22:7" - }, - "returnParameters": { - "id": 3950, - "nodeType": "ParameterList", - "parameters": [], - "src": "10624:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4013, - "nodeType": "FunctionDefinition", - "src": "10679:516:7", - "body": { - "id": 4012, - "nodeType": "Block", - "src": "10793:402:7", - "statements": [ - { - "assignments": [ - 3973 - ], - "declarations": [ - { - "constant": false, - "id": 3973, - "mutability": "mutable", - "name": "delta", - "nameLocation": "10811:5:7", - "nodeType": "VariableDeclaration", - "scope": 4012, - "src": "10803:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3972, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10803:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3979, - "initialValue": { - "arguments": [ - { - "id": 3976, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "10833:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3977, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "10836:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3974, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "10819:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10827:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6715, - "src": "10819:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10819:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10803:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3980, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3973, - "src": "10853:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3981, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3969, - "src": "10861:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10853:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4011, - "nodeType": "IfStatement", - "src": "10849:340:7", - "trueBody": { - "id": 4010, - "nodeType": "Block", - "src": "10871:318:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 3984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10906:36:7", - "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": 3983, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "10890:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10890:53:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3986, - "nodeType": "EmitStatement", - "src": "10885:58:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10978:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3989, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "10992:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3987, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "10962:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10962:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3991, - "nodeType": "EmitStatement", - "src": "10957:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11029:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3994, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "11043:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3992, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11013:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11013:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3996, - "nodeType": "EmitStatement", - "src": "11008:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 3998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11080:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 3999, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3969, - "src": "11094:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3997, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11064:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11064:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4001, - "nodeType": "EmitStatement", - "src": "11059:44:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 4003, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11138:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 4004, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3973, - "src": "11152:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4002, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11122:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11122:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4006, - "nodeType": "EmitStatement", - "src": "11117:41:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4007, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "11172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11172:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4009, - "nodeType": "ExpressionStatement", - "src": "11172:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "10688:17:7", - "parameters": { - "id": 3970, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3965, - "mutability": "mutable", - "name": "a", - "nameLocation": "10723:1:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10715:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3964, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10715:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3967, - "mutability": "mutable", - "name": "b", - "nameLocation": "10742:1:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10734:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10734:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3969, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "10761:8:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10753:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3968, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10753:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10705:70:7" - }, - "returnParameters": { - "id": 3971, - "nodeType": "ParameterList", - "parameters": [], - "src": "10793:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4049, - "nodeType": "FunctionDefinition", - "src": "11201:335:7", - "body": { - "id": 4048, - "nodeType": "Block", - "src": "11342:194:7", - "statements": [ - { - "assignments": [ - 4025 - ], - "declarations": [ - { - "constant": false, - "id": 4025, - "mutability": "mutable", - "name": "delta", - "nameLocation": "11360:5:7", - "nodeType": "VariableDeclaration", - "scope": 4048, - "src": "11352:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4024, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11352:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4031, - "initialValue": { - "arguments": [ - { - "id": 4028, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4015, - "src": "11382:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4029, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4017, - "src": "11385:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4026, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "11368:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11376:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6715, - "src": "11368:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11368:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11352:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4032, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4025, - "src": "11402:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4033, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4019, - "src": "11410:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11402:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4047, - "nodeType": "IfStatement", - "src": "11398:132:7", - "trueBody": { - "id": 4046, - "nodeType": "Block", - "src": "11420:110:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11459:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4037, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4021, - "src": "11468:3:7", - "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": 4035, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "11439:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11439:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4039, - "nodeType": "EmitStatement", - "src": "11434:38:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4041, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4015, - "src": "11504:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4042, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4017, - "src": "11507:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4043, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4019, - "src": "11510:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4040, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4013, - 4049, - 4099, - 4135 - ], - "referencedDeclaration": 4013, - "src": "11486:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 4044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11486:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4045, - "nodeType": "ExpressionStatement", - "src": "11486:33:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "11210:17:7", - "parameters": { - "id": 4022, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4015, - "mutability": "mutable", - "name": "a", - "nameLocation": "11245:1:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11237:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4014, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11237:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4017, - "mutability": "mutable", - "name": "b", - "nameLocation": "11264:1:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11256:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4016, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11256:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4019, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "11283:8:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11275:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4021, - "mutability": "mutable", - "name": "err", - "nameLocation": "11315:3:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11301:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4020, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11301:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11227:97:7" - }, - "returnParameters": { - "id": 4023, - "nodeType": "ParameterList", - "parameters": [], - "src": "11342:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4099, - "nodeType": "FunctionDefinition", - "src": "11542:513:7", - "body": { - "id": 4098, - "nodeType": "Block", - "src": "11654:401:7", - "statements": [ - { - "assignments": [ - 4059 - ], - "declarations": [ - { - "constant": false, - "id": 4059, - "mutability": "mutable", - "name": "delta", - "nameLocation": "11672:5:7", - "nodeType": "VariableDeclaration", - "scope": 4098, - "src": "11664:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4058, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11664:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4065, - "initialValue": { - "arguments": [ - { - "id": 4062, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4051, - "src": "11694:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4063, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "11697:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4060, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "11680:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11688:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6751, - "src": "11680:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11680:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11664:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4066, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "11714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4067, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "11722:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11714:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4097, - "nodeType": "IfStatement", - "src": "11710:339:7", - "trueBody": { - "id": 4096, - "nodeType": "Block", - "src": "11732:317:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 4070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11767:35:7", - "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": 4069, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "11751:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11751:52:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4072, - "nodeType": "EmitStatement", - "src": "11746:57:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 4074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11838:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4075, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "11852:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4073, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11822:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11822:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4077, - "nodeType": "EmitStatement", - "src": "11817:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 4079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11889:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4080, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4051, - "src": "11903:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4078, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11873:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11873:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4082, - "nodeType": "EmitStatement", - "src": "11868:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 4084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11940:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 4085, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "11954:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4083, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11924:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11924:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4087, - "nodeType": "EmitStatement", - "src": "11919:44:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 4089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11998:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 4090, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "12012:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4088, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11982:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11982:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4092, - "nodeType": "EmitStatement", - "src": "11977:41:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4093, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "12032:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12032:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4095, - "nodeType": "ExpressionStatement", - "src": "12032:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "11551:17:7", - "parameters": { - "id": 4056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4051, - "mutability": "mutable", - "name": "a", - "nameLocation": "11585:1:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11578:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4050, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11578:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4053, - "mutability": "mutable", - "name": "b", - "nameLocation": "11603:1:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11596:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4052, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11596:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4055, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "11622:8:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11614:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4054, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11614:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11568:68:7" - }, - "returnParameters": { - "id": 4057, - "nodeType": "ParameterList", - "parameters": [], - "src": "11654:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4135, - "nodeType": "FunctionDefinition", - "src": "12061:333:7", - "body": { - "id": 4134, - "nodeType": "Block", - "src": "12200:194:7", - "statements": [ - { - "assignments": [ - 4111 - ], - "declarations": [ - { - "constant": false, - "id": 4111, - "mutability": "mutable", - "name": "delta", - "nameLocation": "12218:5:7", - "nodeType": "VariableDeclaration", - "scope": 4134, - "src": "12210:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4110, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12210:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4117, - "initialValue": { - "arguments": [ - { - "id": 4114, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "12240:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4115, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "12243:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4112, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "12226:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12234:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6751, - "src": "12226:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12226:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12210:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4118, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4111, - "src": "12260:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4119, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "12268:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12260:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4133, - "nodeType": "IfStatement", - "src": "12256:132:7", - "trueBody": { - "id": 4132, - "nodeType": "Block", - "src": "12278:110:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12317:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4123, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4107, - "src": "12326:3:7", - "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": 4121, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "12297:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12297:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4125, - "nodeType": "EmitStatement", - "src": "12292:38:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4127, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "12362:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4128, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "12365:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4129, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "12368:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4126, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4013, - 4049, - 4099, - 4135 - ], - "referencedDeclaration": 4099, - "src": "12344:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 4130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12344:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4131, - "nodeType": "ExpressionStatement", - "src": "12344:33:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "12070:17:7", - "parameters": { - "id": 4108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4101, - "mutability": "mutable", - "name": "a", - "nameLocation": "12104:1:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12097:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4100, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "12097:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4103, - "mutability": "mutable", - "name": "b", - "nameLocation": "12122:1:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12115:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4102, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "12115:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4105, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "12141:8:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12133:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4104, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12133:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4107, - "mutability": "mutable", - "name": "err", - "nameLocation": "12173:3:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12159:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4106, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12159:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12087:95:7" - }, - "returnParameters": { - "id": 4109, - "nodeType": "ParameterList", - "parameters": [], - "src": "12200:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4196, - "nodeType": "FunctionDefinition", - "src": "12400:766:7", - "body": { - "id": 4195, - "nodeType": "Block", - "src": "12577:589:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4144, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12591:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12596:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12591:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4152, - "nodeType": "IfStatement", - "src": "12587:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4148, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12615:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4149, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12618:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4147, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "12606:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 4150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12606:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4143, - "id": 4151, - "nodeType": "Return", - "src": "12599:21:7" - } - }, - { - "assignments": [ - 4154 - ], - "declarations": [ - { - "constant": false, - "id": 4154, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "12684:12:7", - "nodeType": "VariableDeclaration", - "scope": 4195, - "src": "12676:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4153, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12676:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4160, - "initialValue": { - "arguments": [ - { - "id": 4157, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12720:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4158, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12723:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4155, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "12699:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12707:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6774, - "src": "12699:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12699:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12676:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4161, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4154, - "src": "12740:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4162, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4141, - "src": "12755:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12740:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4194, - "nodeType": "IfStatement", - "src": "12736:424:7", - "trueBody": { - "id": 4193, - "nodeType": "Block", - "src": "12772:388:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 4165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12815:36:7", - "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": 4164, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "12791:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12791:61:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4167, - "nodeType": "EmitStatement", - "src": "12786:66:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 4169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12895:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4170, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12911:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4168, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12871:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12871:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4172, - "nodeType": "EmitStatement", - "src": "12866:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 4174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12956:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4175, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12972:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4173, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12932:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12932:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4177, - "nodeType": "EmitStatement", - "src": "12927:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 4179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13017:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 4180, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4141, - "src": "13033:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13050:2:7", - "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": 4178, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "12993:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12993:60:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4183, - "nodeType": "EmitStatement", - "src": "12988:65:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 4185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13096:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 4186, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4154, - "src": "13112:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4187, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13126:2:7", - "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": 4184, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "13072:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13072:57:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4189, - "nodeType": "EmitStatement", - "src": "13067:62:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4190, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "13143:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13143:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4192, - "nodeType": "ExpressionStatement", - "src": "13143:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "12409:17:7", - "parameters": { - "id": 4142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4137, - "mutability": "mutable", - "name": "a", - "nameLocation": "12444:1:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12436:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12436:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4139, - "mutability": "mutable", - "name": "b", - "nameLocation": "12463:1:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12455:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12455:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4141, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "12482:15:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12474:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4140, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12474:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12426:133:7" - }, - "returnParameters": { - "id": 4143, - "nodeType": "ParameterList", - "parameters": [], - "src": "12577:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4242, - "nodeType": "FunctionDefinition", - "src": "13172:531:7", - "body": { - "id": 4241, - "nodeType": "Block", - "src": "13376:327:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4207, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13390:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13395:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13390:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4216, - "nodeType": "IfStatement", - "src": "13386:38:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4211, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13414:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4212, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13417:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4213, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4204, - "src": "13420:3:7", - "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": 4210, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1025, - "src": "13405:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,string memory)" - } - }, - "id": 4214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13405:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4206, - "id": 4215, - "nodeType": "Return", - "src": "13398:26:7" - } - }, - { - "assignments": [ - 4218 - ], - "declarations": [ - { - "constant": false, - "id": 4218, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "13488:12:7", - "nodeType": "VariableDeclaration", - "scope": 4241, - "src": "13480:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4217, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13480:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4224, - "initialValue": { - "arguments": [ - { - "id": 4221, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13524:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4222, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13527:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4219, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "13503:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13511:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6774, - "src": "13503:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13503:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13480:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4225, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4218, - "src": "13544:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4226, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4202, - "src": "13559:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13544:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4240, - "nodeType": "IfStatement", - "src": "13540:157:7", - "trueBody": { - "id": 4239, - "nodeType": "Block", - "src": "13576:121:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13619:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4230, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4204, - "src": "13628:3:7", - "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": 4228, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "13595:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13595:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4232, - "nodeType": "EmitStatement", - "src": "13590:42:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4234, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13664:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4235, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13667:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4236, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4202, - "src": "13670:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4233, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4196, - 4242, - 4303, - 4348 - ], - "referencedDeclaration": 4196, - "src": "13646:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 4237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13646:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4238, - "nodeType": "ExpressionStatement", - "src": "13646:40:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "13181:17:7", - "parameters": { - "id": 4205, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4198, - "mutability": "mutable", - "name": "a", - "nameLocation": "13216:1:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13208:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13208:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4200, - "mutability": "mutable", - "name": "b", - "nameLocation": "13235:1:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13227:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4199, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13227:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4202, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "13254:15:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13246:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4201, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13246:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4204, - "mutability": "mutable", - "name": "err", - "nameLocation": "13349:3:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13335:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4203, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13335:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13198:160:7" - }, - "returnParameters": { - "id": 4206, - "nodeType": "ParameterList", - "parameters": [], - "src": "13376:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4303, - "nodeType": "FunctionDefinition", - "src": "13709:702:7", - "body": { - "id": 4302, - "nodeType": "Block", - "src": "13828:583:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 4253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4251, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13842:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13847:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13842:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4259, - "nodeType": "IfStatement", - "src": "13838:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4255, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "13866:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4256, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13869:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4254, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "13857:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 4257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13857:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4250, - "id": 4258, - "nodeType": "Return", - "src": "13850:21:7" - } - }, - { - "assignments": [ - 4261 - ], - "declarations": [ - { - "constant": false, - "id": 4261, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "13935:12:7", - "nodeType": "VariableDeclaration", - "scope": 4302, - "src": "13927:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4260, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13927:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4267, - "initialValue": { - "arguments": [ - { - "id": 4264, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "13971:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4265, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13974:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4262, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "13950:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13958:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6803, - "src": "13950:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13950:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13927:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4268, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4261, - "src": "13991:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4269, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "14006:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13991:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4301, - "nodeType": "IfStatement", - "src": "13987:418:7", - "trueBody": { - "id": 4300, - "nodeType": "Block", - "src": "14023:382:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 4272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14065:35:7", - "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": 4271, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "14042:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14042:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4274, - "nodeType": "EmitStatement", - "src": "14037:64:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 4276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14143:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4277, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "14159:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4275, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "14120:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14120:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4279, - "nodeType": "EmitStatement", - "src": "14115:46:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 4281, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14203:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4282, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "14219:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4280, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "14180:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14180:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4284, - "nodeType": "EmitStatement", - "src": "14175:46:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 4286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14263:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 4287, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "14279:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14296:2:7", - "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": 4285, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14240:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14240:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4290, - "nodeType": "EmitStatement", - "src": "14235:64:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 4292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14341:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 4293, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4261, - "src": "14357:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14371:2:7", - "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": 4291, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14318:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14318:56:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4296, - "nodeType": "EmitStatement", - "src": "14313:61:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4297, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "14388:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14388:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4299, - "nodeType": "ExpressionStatement", - "src": "14388:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "13718:17:7", - "parameters": { - "id": 4249, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4244, - "mutability": "mutable", - "name": "a", - "nameLocation": "13752:1:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13745:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4243, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "13745:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4246, - "mutability": "mutable", - "name": "b", - "nameLocation": "13770:1:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13763:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4245, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "13763:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4248, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "13789:15:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13781:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13781:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13735:75:7" - }, - "returnParameters": { - "id": 4250, - "nodeType": "ParameterList", - "parameters": [], - "src": "13828:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4348, - "nodeType": "FunctionDefinition", - "src": "14417:467:7", - "body": { - "id": 4347, - "nodeType": "Block", - "src": "14563:321:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 4316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4314, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14577:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14582:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "14577:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4322, - "nodeType": "IfStatement", - "src": "14573:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4318, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14601:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4319, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14604:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4317, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "14592:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 4320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14592:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4313, - "id": 4321, - "nodeType": "Return", - "src": "14585:21:7" - } - }, - { - "assignments": [ - 4324 - ], - "declarations": [ - { - "constant": false, - "id": 4324, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "14670:12:7", - "nodeType": "VariableDeclaration", - "scope": 4347, - "src": "14662:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14662:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4330, - "initialValue": { - "arguments": [ - { - "id": 4327, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14706:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4328, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14709:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4325, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "14685:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14693:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6803, - "src": "14685:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14685:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14662:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4331, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4324, - "src": "14726:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4332, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4309, - "src": "14741:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14726:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4346, - "nodeType": "IfStatement", - "src": "14722:156:7", - "trueBody": { - "id": 4345, - "nodeType": "Block", - "src": "14758:120:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14800:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4336, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4311, - "src": "14809:3:7", - "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": 4334, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "14777:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14777:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4338, - "nodeType": "EmitStatement", - "src": "14772:41:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4340, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14845:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4341, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14848:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4342, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4309, - "src": "14851:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4339, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4196, - 4242, - 4303, - 4348 - ], - "referencedDeclaration": 4303, - "src": "14827:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 4343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14827:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4344, - "nodeType": "ExpressionStatement", - "src": "14827:40:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "14426:17:7", - "parameters": { - "id": 4312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4305, - "mutability": "mutable", - "name": "a", - "nameLocation": "14460:1:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14453:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4304, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "14453:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4307, - "mutability": "mutable", - "name": "b", - "nameLocation": "14478:1:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14471:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4306, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "14471:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4309, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "14497:15:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14489:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4311, - "mutability": "mutable", - "name": "err", - "nameLocation": "14536:3:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14522:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14522:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14443:102:7" - }, - "returnParameters": { - "id": 4313, - "nodeType": "ParameterList", - "parameters": [], - "src": "14563:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4365, - "nodeType": "StructDefinition", - "src": "15306:325:7", - "canonicalName": "Test.RawTx1559", - "members": [ - { - "constant": false, - "id": 4351, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "15342:9:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15333:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4349, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15333:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4350, - "nodeType": "ArrayTypeName", - "src": "15333:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4353, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "15369:15:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15361:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4352, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15361:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4355, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "15401:12:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15394:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4354, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15394:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4357, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "15468:11:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15461:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4356, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15461:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4359, - "mutability": "mutable", - "name": "hash", - "nameLocation": "15497:4:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15489:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4358, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4362, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "15559:8:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15543:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - }, - "typeName": { - "id": 4361, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4360, - "name": "RawTx1559Detail", - "nameLocations": [ - "15543:15:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4384, - "src": "15543:15:7" - }, - "referencedDeclaration": 4384, - "src": "15543:15:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4364, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "15618:6:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15611:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4363, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15611:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559", - "nameLocation": "15313:9:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4384, - "nodeType": "StructDefinition", - "src": "15637:208:7", - "canonicalName": "Test.RawTx1559Detail", - "members": [ - { - "constant": false, - "id": 4369, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "15683:10:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15670:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4367, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4366, - "name": "AccessList", - "nameLocations": [ - "15670:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "15670:10:7" - }, - "referencedDeclaration": 4476, - "src": "15670:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4368, - "nodeType": "ArrayTypeName", - "src": "15670:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4371, - "mutability": "mutable", - "name": "data", - "nameLocation": "15709:4:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15703:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4370, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15703:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4373, - "mutability": "mutable", - "name": "from", - "nameLocation": "15731:4:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15723:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15723:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4375, - "mutability": "mutable", - "name": "gas", - "nameLocation": "15751:3:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15745:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4374, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15745:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4377, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "15770:5:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15764:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4376, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15764:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4379, - "mutability": "mutable", - "name": "to", - "nameLocation": "15793:2:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15785:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15785:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4381, - "mutability": "mutable", - "name": "txType", - "nameLocation": "15811:6:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15805:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4380, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15805:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4383, - "mutability": "mutable", - "name": "value", - "nameLocation": "15833:5:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15827:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4382, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15827:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559Detail", - "nameLocation": "15644:15:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4401, - "nodeType": "StructDefinition", - "src": "15851:215:7", - "canonicalName": "Test.Tx1559", - "members": [ - { - "constant": false, - "id": 4387, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "15884:9:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15875:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15875:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4386, - "nodeType": "ArrayTypeName", - "src": "15875:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4389, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "15911:15:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15903:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4388, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15903:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4391, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "15943:12:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15936:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15936:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4393, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "15972:11:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15965:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4392, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4395, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16001:4:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15993:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4394, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15993:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4398, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "16028:8:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "16015:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4397, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4396, - "name": "Tx1559Detail", - "nameLocations": [ - "16015:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "16015:12:7" - }, - "referencedDeclaration": 4420, - "src": "16015:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4400, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16053:6:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "16046:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4399, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16046:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559", - "nameLocation": "15858:6:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4420, - "nodeType": "StructDefinition", - "src": "16072:213:7", - "canonicalName": "Test.Tx1559Detail", - "members": [ - { - "constant": false, - "id": 4405, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "16115:10:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16102:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4403, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4402, - "name": "AccessList", - "nameLocations": [ - "16102:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "16102:10:7" - }, - "referencedDeclaration": 4476, - "src": "16102:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4404, - "nodeType": "ArrayTypeName", - "src": "16102:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4407, - "mutability": "mutable", - "name": "data", - "nameLocation": "16141:4:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16135:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4406, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16135:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4409, - "mutability": "mutable", - "name": "from", - "nameLocation": "16163:4:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16155:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4408, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16155:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4411, - "mutability": "mutable", - "name": "gas", - "nameLocation": "16185:3:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16177:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4410, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4413, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "16206:5:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16198:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4412, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16198:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4415, - "mutability": "mutable", - "name": "to", - "nameLocation": "16229:2:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16221:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4414, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16221:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4417, - "mutability": "mutable", - "name": "txType", - "nameLocation": "16249:6:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16241:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16241:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4419, - "mutability": "mutable", - "name": "value", - "nameLocation": "16273:5:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16265:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4418, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16265:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559Detail", - "nameLocation": "16079:12:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4437, - "nodeType": "StructDefinition", - "src": "16533:220:7", - "canonicalName": "Test.TxLegacy", - "members": [ - { - "constant": false, - "id": 4423, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "16567:9:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16558:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4421, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16558:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4422, - "nodeType": "ArrayTypeName", - "src": "16558:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4425, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "16594:15:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16586:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4424, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16586:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4427, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "16626:12:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16619:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4426, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16619:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4429, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "16655:11:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16648:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4428, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16648:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4431, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16683:4:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16676:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4430, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16676:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4433, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16704:6:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16697:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4432, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16697:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4436, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "16735:11:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16720:26:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$4470_storage_ptr", - "typeString": "struct Test.TxDetailLegacy" - }, - "typeName": { - "id": 4435, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4434, - "name": "TxDetailLegacy", - "nameLocations": [ - "16720:14:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4470, - "src": "16720:14:7" - }, - "referencedDeclaration": 4470, - "src": "16720:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$4470_storage_ptr", - "typeString": "struct Test.TxDetailLegacy" - } - }, - "visibility": "internal" - } - ], - "name": "TxLegacy", - "nameLocation": "16540:8:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4470, - "nodeType": "StructDefinition", - "src": "16759:365:7", - "canonicalName": "Test.TxDetailLegacy", - "members": [ - { - "constant": false, - "id": 4441, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "16803:10:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16790:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4439, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4438, - "name": "AccessList", - "nameLocations": [ - "16790:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "16790:10:7" - }, - "referencedDeclaration": 4476, - "src": "16790:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4440, - "nodeType": "ArrayTypeName", - "src": "16790:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4443, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "16831:7:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16823:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16823:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4445, - "mutability": "mutable", - "name": "data", - "nameLocation": "16854:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16848:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4444, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16848:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4447, - "mutability": "mutable", - "name": "from", - "nameLocation": "16876:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16868:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16868:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4449, - "mutability": "mutable", - "name": "gas", - "nameLocation": "16898:3:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16890:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4448, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16890:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4451, - "mutability": "mutable", - "name": "gasPrice", - "nameLocation": "16919:8:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16911:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4450, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16911:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4453, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16945:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16937:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "16937:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4455, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "16967:5:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16959:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4454, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16959:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4457, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16989:6:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16982:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 4456, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "16982:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4459, - "mutability": "mutable", - "name": "r", - "nameLocation": "17013:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17005:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4458, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17005:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4461, - "mutability": "mutable", - "name": "s", - "nameLocation": "17032:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17024:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4460, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17024:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4463, - "mutability": "mutable", - "name": "txType", - "nameLocation": "17051:6:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17043:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4462, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17043:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4465, - "mutability": "mutable", - "name": "to", - "nameLocation": "17075:2:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17067:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17067:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4467, - "mutability": "mutable", - "name": "v", - "nameLocation": "17093:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17087:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 4466, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "17087:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4469, - "mutability": "mutable", - "name": "value", - "nameLocation": "17112:5:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17104:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4468, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17104:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "TxDetailLegacy", - "nameLocation": "16766:14:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4476, - "nodeType": "StructDefinition", - "src": "17130:86:7", - "canonicalName": "Test.AccessList", - "members": [ - { - "constant": false, - "id": 4472, - "mutability": "mutable", - "name": "accessAddress", - "nameLocation": "17165:13:7", - "nodeType": "VariableDeclaration", - "scope": 4476, - "src": "17157:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4471, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17157:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4475, - "mutability": "mutable", - "name": "storageKeys", - "nameLocation": "17198:11:7", - "nodeType": "VariableDeclaration", - "scope": 4476, - "src": "17188:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4473, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17188:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4474, - "nodeType": "ArrayTypeName", - "src": "17188:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "name": "AccessList", - "nameLocation": "17137:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4505, - "nodeType": "StructDefinition", - "src": "17432:385:7", - "canonicalName": "Test.RawReceipt", - "members": [ - { - "constant": false, - "id": 4478, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "17468:9:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17460:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4477, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17460:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4480, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "17493:11:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17487:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4479, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17487:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4482, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "17522:15:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17514:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17514:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4484, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "17553:17:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17547:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4483, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17547:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4486, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "17586:17:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17580:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4485, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17580:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4488, - "mutability": "mutable", - "name": "from", - "nameLocation": "17621:4:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17613:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4487, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17613:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4490, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "17641:7:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17635:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17635:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4494, - "mutability": "mutable", - "name": "logs", - "nameLocation": "17674:4:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17658:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4492, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4491, - "name": "RawReceiptLog", - "nameLocations": [ - "17658:13:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4602, - "src": "17658:13:7" - }, - "referencedDeclaration": 4602, - "src": "17658:13:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_storage_ptr", - "typeString": "struct Test.RawReceiptLog" - } - }, - "id": 4493, - "nodeType": "ArrayTypeName", - "src": "17658:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4496, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "17694:9:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17688:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4495, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17688:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4498, - "mutability": "mutable", - "name": "status", - "nameLocation": "17719:6:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17713:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4497, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17713:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4500, - "mutability": "mutable", - "name": "to", - "nameLocation": "17743:2:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17735:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4499, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17735:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4502, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "17763:15:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17755:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4501, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17755:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4504, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "17794:16:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17788:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4503, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17788:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceipt", - "nameLocation": "17439:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4534, - "nodeType": "StructDefinition", - "src": "17823:391:7", - "canonicalName": "Test.Receipt", - "members": [ - { - "constant": false, - "id": 4507, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "17856:9:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17848:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4506, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4509, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "17883:11:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17875:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4508, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17875:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4511, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "17912:15:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17904:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4510, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17904:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4513, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "17945:17:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17937:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4512, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17937:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4515, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "17980:17:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17972:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17972:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4517, - "mutability": "mutable", - "name": "from", - "nameLocation": "18015:4:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18007:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4516, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18007:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4519, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "18037:7:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18029:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4518, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18029:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4523, - "mutability": "mutable", - "name": "logs", - "nameLocation": "18067:4:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18054:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4521, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4520, - "name": "ReceiptLog", - "nameLocations": [ - "18054:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "18054:10:7" - }, - "referencedDeclaration": 4622, - "src": "18054:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 4522, - "nodeType": "ArrayTypeName", - "src": "18054:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4525, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "18087:9:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18081:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4524, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18081:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4527, - "mutability": "mutable", - "name": "status", - "nameLocation": "18114:6:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18106:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4526, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18106:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4529, - "mutability": "mutable", - "name": "to", - "nameLocation": "18138:2:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18130:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4528, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18130:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4531, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "18158:15:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18150:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4530, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18150:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4533, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "18191:16:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18183:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4532, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18183:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Receipt", - "nameLocation": "17830:7:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4557, - "nodeType": "StructDefinition", - "src": "18337:227:7", - "canonicalName": "Test.EIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 4537, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "18385:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18376:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18376:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4536, - "nodeType": "ArrayTypeName", - "src": "18376:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4539, - "mutability": "mutable", - "name": "path", - "nameLocation": "18411:4:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18404:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4538, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18404:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4542, - "mutability": "mutable", - "name": "pending", - "nameLocation": "18434:7:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18425:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18425:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4541, - "nodeType": "ArrayTypeName", - "src": "18425:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4546, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "18461:8:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18451:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4544, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4543, - "name": "Receipt", - "nameLocations": [ - "18451:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "18451:7:7" - }, - "referencedDeclaration": 4534, - "src": "18451:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 4545, - "nodeType": "ArrayTypeName", - "src": "18451:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4548, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "18487:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18479:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4547, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18479:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4552, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "18515:12:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18506:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4550, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4549, - "name": "Tx1559", - "nameLocations": [ - "18506:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "18506:6:7" - }, - "referencedDeclaration": 4401, - "src": "18506:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4551, - "nodeType": "ArrayTypeName", - "src": "18506:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4556, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "18548:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18537:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 4554, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4553, - "name": "TxReturn", - "nameLocations": [ - "18537:8:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4627, - "src": "18537:8:7" - }, - "referencedDeclaration": 4627, - "src": "18537:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$4627_storage_ptr", - "typeString": "struct Test.TxReturn" - } - }, - "id": 4555, - "nodeType": "ArrayTypeName", - "src": "18537:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - } - }, - "visibility": "internal" - } - ], - "name": "EIP1559ScriptArtifact", - "nameLocation": "18344:21:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4580, - "nodeType": "StructDefinition", - "src": "18570:236:7", - "canonicalName": "Test.RawEIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 4560, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "18621:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18612:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18612:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4559, - "nodeType": "ArrayTypeName", - "src": "18612:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4562, - "mutability": "mutable", - "name": "path", - "nameLocation": "18647:4:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18640:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18640:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4565, - "mutability": "mutable", - "name": "pending", - "nameLocation": "18670:7:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18661:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4563, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18661:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4564, - "nodeType": "ArrayTypeName", - "src": "18661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4569, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "18700:8:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18687:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 4567, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4566, - "name": "RawReceipt", - "nameLocations": [ - "18687:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "18687:10:7" - }, - "referencedDeclaration": 4505, - "src": "18687:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 4568, - "nodeType": "ArrayTypeName", - "src": "18687:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4573, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "18729:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18718:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 4571, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4570, - "name": "TxReturn", - "nameLocations": [ - "18718:8:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4627, - "src": "18718:8:7" - }, - "referencedDeclaration": 4627, - "src": "18718:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$4627_storage_ptr", - "typeString": "struct Test.TxReturn" - } - }, - "id": 4572, - "nodeType": "ArrayTypeName", - "src": "18718:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4575, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "18756:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18748:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4574, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4579, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "18787:12:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18775:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4577, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4576, - "name": "RawTx1559", - "nameLocations": [ - "18775:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "18775:9:7" - }, - "referencedDeclaration": 4365, - "src": "18775:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4578, - "nodeType": "ArrayTypeName", - "src": "18775:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "name": "RawEIP1559ScriptArtifact", - "nameLocation": "18577:24:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4602, - "nodeType": "StructDefinition", - "src": "18812:334:7", - "canonicalName": "Test.RawReceiptLog", - "members": [ - { - "constant": false, - "id": 4582, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "18883:10:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18875:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4581, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18875:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4584, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "18911:9:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18903:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4583, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18903:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4586, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "18936:11:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18930:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4585, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18930:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4588, - "mutability": "mutable", - "name": "data", - "nameLocation": "18963:4:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18957:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4587, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18957:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4590, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "18983:8:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18977:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4589, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18977:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4592, - "mutability": "mutable", - "name": "removed", - "nameLocation": "19006:7:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19001:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4591, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19001:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4595, - "mutability": "mutable", - "name": "topics", - "nameLocation": "19033:6:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19023:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4593, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19023:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4594, - "nodeType": "ArrayTypeName", - "src": "19023:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4597, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "19057:15:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19049:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4596, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19049:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4599, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "19088:16:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19082:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4598, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19082:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4601, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "19120:19:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19114:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4600, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19114:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceiptLog", - "nameLocation": "18819:13:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4622, - "nodeType": "StructDefinition", - "src": "19152:306:7", - "canonicalName": "Test.ReceiptLog", - "members": [ - { - "constant": false, - "id": 4604, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "19220:10:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19212:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19212:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4606, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "19248:9:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19240:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4605, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19240:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4608, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "19275:11:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19267:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4607, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19267:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4610, - "mutability": "mutable", - "name": "data", - "nameLocation": "19302:4:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19296:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4609, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19296:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4612, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "19324:8:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19316:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4611, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19316:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4615, - "mutability": "mutable", - "name": "topics", - "nameLocation": "19352:6:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19342:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4613, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19342:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4614, - "nodeType": "ArrayTypeName", - "src": "19342:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4617, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "19376:16:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19368:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4616, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19368:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4619, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "19410:19:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19402:27:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4618, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19402:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4621, - "mutability": "mutable", - "name": "removed", - "nameLocation": "19444:7:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19439:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19439:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "name": "ReceiptLog", - "nameLocation": "19159:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4627, - "nodeType": "StructDefinition", - "src": "19464:74:7", - "canonicalName": "Test.TxReturn", - "members": [ - { - "constant": false, - "id": 4624, - "mutability": "mutable", - "name": "internalType", - "nameLocation": "19497:12:7", - "nodeType": "VariableDeclaration", - "scope": 4627, - "src": "19490:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4623, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19490:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4626, - "mutability": "mutable", - "name": "value", - "nameLocation": "19526:5:7", - "nodeType": "VariableDeclaration", - "scope": 4627, - "src": "19519:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4625, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19519:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "TxReturn", - "nameLocation": "19471:8:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4719, - "nodeType": "FunctionDefinition", - "src": "19545:813:7", - "body": { - "id": 4718, - "nodeType": "Block", - "src": "19667:691:7", - "statements": [ - { - "assignments": [ - 4636 - ], - "declarations": [ - { - "constant": false, - "id": 4636, - "mutability": "mutable", - "name": "data", - "nameLocation": "19691:4:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19677:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4635, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19677:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4641, - "initialValue": { - "arguments": [ - { - "id": 4639, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4629, - "src": "19710:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4637, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "19698:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19701:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "19698:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19698:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19677:38:7" - }, - { - "assignments": [ - 4643 - ], - "declarations": [ - { - "constant": false, - "id": 4643, - "mutability": "mutable", - "name": "parsedData", - "nameLocation": "19738:10:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19725:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4642, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19725:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4648, - "initialValue": { - "arguments": [ - { - "id": 4646, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4636, - "src": "19764:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4644, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "19751:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19754:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7557, - "src": "19751:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 4647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19751:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19725:44:7" - }, - { - "assignments": [ - 4651 - ], - "declarations": [ - { - "constant": false, - "id": 4651, - "mutability": "mutable", - "name": "rawArtifact", - "nameLocation": "19811:11:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19779:43:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact" - }, - "typeName": { - "id": 4650, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4649, - "name": "RawEIP1559ScriptArtifact", - "nameLocations": [ - "19779:24:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4580, - "src": "19779:24:7" - }, - "referencedDeclaration": 4580, - "src": "19779:24:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4658, - "initialValue": { - "arguments": [ - { - "id": 4654, - "name": "parsedData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4643, - "src": "19836:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4655, - "name": "RawEIP1559ScriptArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4580, - "src": "19849:24:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "id": 4656, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "19848:26:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - ], - "expression": { - "id": 4652, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19825:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19829:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "19825:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19825:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19779:96:7" - }, - { - "assignments": [ - 4661 - ], - "declarations": [ - { - "constant": false, - "id": 4661, - "mutability": "mutable", - "name": "artifact", - "nameLocation": "19914:8:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19885:37:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4660, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4659, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "19885:21:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4557, - "src": "19885:21:7" - }, - "referencedDeclaration": 4557, - "src": "19885:21:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_storage_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4662, - "nodeType": "VariableDeclarationStatement", - "src": "19885:37:7" - }, - { - "expression": { - "id": 4668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4663, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "19932:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4665, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "19941:9:7", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 4537, - "src": "19932:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4666, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "19953:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19965:9:7", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 4560, - "src": "19953:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "19932:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4669, - "nodeType": "ExpressionStatement", - "src": "19932:42:7" - }, - { - "expression": { - "id": 4675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4670, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "19984:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4672, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "19993:4:7", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 4539, - "src": "19984:13:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4673, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20000:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4674, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20012:4:7", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 4562, - "src": "20000:16:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "19984:32:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4676, - "nodeType": "ExpressionStatement", - "src": "19984:32:7" - }, - { - "expression": { - "id": 4682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4677, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20026:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4679, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20035:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 4548, - "src": "20026:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4680, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20047:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4681, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20059:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 4575, - "src": "20047:21:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20026:42:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4683, - "nodeType": "ExpressionStatement", - "src": "20026:42:7" - }, - { - "expression": { - "id": 4689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4684, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20078:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4686, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20087:7:7", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 4542, - "src": "20078:16:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4687, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20097:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4688, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20109:7:7", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 4565, - "src": "20097:19:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "20078:38:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4690, - "nodeType": "ExpressionStatement", - "src": "20078:38:7" - }, - { - "expression": { - "id": 4696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4691, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20126:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20135:9:7", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 4556, - "src": "20126:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4694, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20147:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4695, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20159:9:7", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 4573, - "src": "20147:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "src": "20126:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "id": 4697, - "nodeType": "ExpressionStatement", - "src": "20126:42:7" - }, - { - "expression": { - "id": 4705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4698, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20178:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4700, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20187:8:7", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 4546, - "src": "20178:17:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4702, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20221:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4703, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20233:8:7", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 4569, - "src": "20221:20:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - ], - "id": 4701, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5151, - "src": "20198:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory[] memory) pure returns (struct Test.Receipt memory[] memory)" - } - }, - "id": 4704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20198:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "src": "20178:64:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "id": 4706, - "nodeType": "ExpressionStatement", - "src": "20178:64:7" - }, - { - "expression": { - "id": 4714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4707, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20252:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4709, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20261:12:7", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 4552, - "src": "20252:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4711, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20301:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4712, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20313:12:7", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 4579, - "src": "20301:24:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - ], - "id": 4710, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "20276:24:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory[] memory) pure returns (struct Test.Tx1559 memory[] memory)" - } - }, - "id": 4713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20276:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "src": "20252:74:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "id": 4715, - "nodeType": "ExpressionStatement", - "src": "20252:74:7" - }, - { - "expression": { - "id": 4716, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20343:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "functionReturnParameters": 4634, - "id": 4717, - "nodeType": "Return", - "src": "20336:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readEIP1559ScriptArtifact", - "nameLocation": "19554:25:7", - "parameters": { - "id": 4630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4629, - "mutability": "mutable", - "name": "path", - "nameLocation": "19594:4:7", - "nodeType": "VariableDeclaration", - "scope": 4719, - "src": "19580:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4628, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19580:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19579:20:7" - }, - "returnParameters": { - "id": 4634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4633, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4719, - "src": "19633:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4632, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4631, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "19633:21:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4557, - "src": "19633:21:7" - }, - "referencedDeclaration": 4557, - "src": "19633:21:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_storage_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "src": "19632:30:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4768, - "nodeType": "FunctionDefinition", - "src": "20364:321:7", - "body": { - "id": 4767, - "nodeType": "Block", - "src": "20485:200:7", - "statements": [ - { - "assignments": [ - 4734 - ], - "declarations": [ - { - "constant": false, - "id": 4734, - "mutability": "mutable", - "name": "txs", - "nameLocation": "20511:3:7", - "nodeType": "VariableDeclaration", - "scope": 4767, - "src": "20495:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4732, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4731, - "name": "Tx1559", - "nameLocations": [ - "20495:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20495:6:7" - }, - "referencedDeclaration": 4401, - "src": "20495:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4733, - "nodeType": "ArrayTypeName", - "src": "20495:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4742, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4739, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20530:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20537:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "20530:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "20517:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.Tx1559 memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4736, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4735, - "name": "Tx1559", - "nameLocations": [ - "20521:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20521:6:7" - }, - "referencedDeclaration": 4401, - "src": "20521:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4737, - "nodeType": "ArrayTypeName", - "src": "20521:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - } - }, - "id": 4741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20517:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20495:49:7" - }, - { - "body": { - "id": 4763, - "nodeType": "Block", - "src": "20591:68:7", - "statements": [ - { - "expression": { - "id": 4761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 4753, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4734, - "src": "20605:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "id": 4755, - "indexExpression": { - "id": 4754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20609:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "20605:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 4757, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20638:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4759, - "indexExpression": { - "id": 4758, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20645:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20638:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - ], - "id": 4756, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4828, - "src": "20614:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$4365_memory_ptr_$returns$_t_struct$_Tx1559_$4401_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory) pure returns (struct Test.Tx1559 memory)" - } - }, - "id": 4760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20614:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "src": "20605:43:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4762, - "nodeType": "ExpressionStatement", - "src": "20605:43:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4746, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20567:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4747, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20571:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20578:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "20571:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20567:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4764, - "initializationExpression": { - "assignments": [ - 4744 - ], - "declarations": [ - { - "constant": false, - "id": 4744, - "mutability": "mutable", - "name": "i", - "nameLocation": "20564:1:7", - "nodeType": "VariableDeclaration", - "scope": 4764, - "src": "20559:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4743, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20559:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4745, - "nodeType": "VariableDeclarationStatement", - "src": "20559:6:7" - }, - "loopExpression": { - "expression": { - "id": 4751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "20586:3:7", - "subExpression": { - "id": 4750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20586:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4752, - "nodeType": "ExpressionStatement", - "src": "20586:3:7" - }, - "nodeType": "ForStatement", - "src": "20554:105:7" - }, - { - "expression": { - "id": 4765, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4734, - "src": "20675:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4729, - "id": 4766, - "nodeType": "Return", - "src": "20668:10:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559s", - "nameLocation": "20373:24:7", - "parameters": { - "id": 4724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4723, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "20417:6:7", - "nodeType": "VariableDeclaration", - "scope": 4768, - "src": "20398:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4721, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4720, - "name": "RawTx1559", - "nameLocations": [ - "20398:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "20398:9:7" - }, - "referencedDeclaration": 4365, - "src": "20398:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4722, - "nodeType": "ArrayTypeName", - "src": "20398:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "20397:27:7" - }, - "returnParameters": { - "id": 4729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4728, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4768, - "src": "20464:15:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4726, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4725, - "name": "Tx1559", - "nameLocations": [ - "20464:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20464:6:7" - }, - "referencedDeclaration": 4401, - "src": "20464:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4727, - "nodeType": "ArrayTypeName", - "src": "20464:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "20463:17:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4828, - "nodeType": "FunctionDefinition", - "src": "20691:498:7", - "body": { - "id": 4827, - "nodeType": "Block", - "src": "20806:383:7", - "statements": [ - { - "assignments": [ - 4779 - ], - "declarations": [ - { - "constant": false, - "id": 4779, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "20830:11:7", - "nodeType": "VariableDeclaration", - "scope": 4827, - "src": "20816:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4778, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4777, - "name": "Tx1559", - "nameLocations": [ - "20816:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20816:6:7" - }, - "referencedDeclaration": 4401, - "src": "20816:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4780, - "nodeType": "VariableDeclarationStatement", - "src": "20816:25:7" - }, - { - "expression": { - "id": 4786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4781, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20851:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4783, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20863:9:7", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 4387, - "src": "20851:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4784, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20875:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20881:9:7", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 4351, - "src": "20875:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "20851:39:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4787, - "nodeType": "ExpressionStatement", - "src": "20851:39:7" - }, - { - "expression": { - "id": 4793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4788, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20900:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4790, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20912:12:7", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 4391, - "src": "20900:24:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4791, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20927:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4792, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20933:12:7", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 4355, - "src": "20927:18:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "20900:45:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4794, - "nodeType": "ExpressionStatement", - "src": "20900:45:7" - }, - { - "expression": { - "id": 4800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4795, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20955:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20967:11:7", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 4393, - "src": "20955:23:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4798, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20981:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4799, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20987:11:7", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 4357, - "src": "20981:17:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "20955:43:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4801, - "nodeType": "ExpressionStatement", - "src": "20955:43:7" - }, - { - "expression": { - "id": 4807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4802, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21008:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4804, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21020:4:7", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4395, - "src": "21008:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4805, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21026:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4806, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21032:4:7", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4359, - "src": "21026:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "21008:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4808, - "nodeType": "ExpressionStatement", - "src": "21008:28:7" - }, - { - "expression": { - "id": 4816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4809, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21046:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4811, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21058:8:7", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 4398, - "src": "21046:20:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4813, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21097:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4814, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21103:8:7", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 4362, - "src": "21097:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - ], - "id": 4812, - "name": "rawToConvertedEIP1559Detail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4908, - "src": "21069:27:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559Detail_$4384_memory_ptr_$returns$_t_struct$_Tx1559Detail_$4420_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559Detail memory) pure returns (struct Test.Tx1559Detail memory)" - } - }, - "id": 4815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21069:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "src": "21046:66:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4817, - "nodeType": "ExpressionStatement", - "src": "21046:66:7" - }, - { - "expression": { - "id": 4823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4818, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21122:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4820, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21134:6:7", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 4400, - "src": "21122:18:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4821, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21142:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4822, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21148:6:7", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 4364, - "src": "21142:12:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "21122:32:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4824, - "nodeType": "ExpressionStatement", - "src": "21122:32:7" - }, - { - "expression": { - "id": 4825, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21171:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "functionReturnParameters": 4776, - "id": 4826, - "nodeType": "Return", - "src": "21164:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559", - "nameLocation": "20700:23:7", - "parameters": { - "id": 4772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4771, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "20741:5:7", - "nodeType": "VariableDeclaration", - "scope": 4828, - "src": "20724:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559" - }, - "typeName": { - "id": 4770, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4769, - "name": "RawTx1559", - "nameLocations": [ - "20724:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "20724:9:7" - }, - "referencedDeclaration": 4365, - "src": "20724:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "src": "20723:24:7" - }, - "returnParameters": { - "id": 4776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4775, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4828, - "src": "20787:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4774, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4773, - "name": "Tx1559", - "nameLocations": [ - "20787:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20787:6:7" - }, - "referencedDeclaration": 4401, - "src": "20787:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "20786:15:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4908, - "nodeType": "FunctionDefinition", - "src": "21195:592:7", - "body": { - "id": 4907, - "nodeType": "Block", - "src": "21330:457:7", - "statements": [ - { - "assignments": [ - 4839 - ], - "declarations": [ - { - "constant": false, - "id": 4839, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "21360:8:7", - "nodeType": "VariableDeclaration", - "scope": 4907, - "src": "21340:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4838, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4837, - "name": "Tx1559Detail", - "nameLocations": [ - "21340:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "21340:12:7" - }, - "referencedDeclaration": 4420, - "src": "21340:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "id": 4840, - "nodeType": "VariableDeclarationStatement", - "src": "21340:28:7" - }, - { - "expression": { - "id": 4846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4841, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21378:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4843, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21387:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4407, - "src": "21378:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4844, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21394:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4845, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21404:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4371, - "src": "21394:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "21378:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4847, - "nodeType": "ExpressionStatement", - "src": "21378:30:7" - }, - { - "expression": { - "id": 4853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4848, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21418:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4850, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21427:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4409, - "src": "21418:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4851, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21434:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21444:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4373, - "src": "21434:14:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "21418:30:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4854, - "nodeType": "ExpressionStatement", - "src": "21418:30:7" - }, - { - "expression": { - "id": 4860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4855, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21458:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4857, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21467:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4415, - "src": "21458:11:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4858, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21472:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4859, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21482:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4379, - "src": "21472:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "21458:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4861, - "nodeType": "ExpressionStatement", - "src": "21458:26:7" - }, - { - "expression": { - "id": 4869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4862, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21494:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4864, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21503:5:7", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 4413, - "src": "21494:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4866, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21523:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21533:5:7", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 4377, - "src": "21523:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4865, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21511:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21511:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21494:45:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4870, - "nodeType": "ExpressionStatement", - "src": "21494:45:7" - }, - { - "expression": { - "id": 4878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4871, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21549:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4873, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21558:6:7", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 4417, - "src": "21549:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4875, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21579:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4876, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21589:6:7", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 4381, - "src": "21579:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4874, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21567:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21567:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21549:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4879, - "nodeType": "ExpressionStatement", - "src": "21549:47:7" - }, - { - "expression": { - "id": 4887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4880, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21606:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4882, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21615:5:7", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 4419, - "src": "21606:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4884, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21635:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4885, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21645:5:7", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 4383, - "src": "21635:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4883, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21623:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21623:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21606:45:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4888, - "nodeType": "ExpressionStatement", - "src": "21606:45:7" - }, - { - "expression": { - "id": 4896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4889, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4891, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21670:3:7", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 4411, - "src": "21661:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4893, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21688:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21698:3:7", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 4375, - "src": "21688:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4892, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21676:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21676:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21661:41:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4897, - "nodeType": "ExpressionStatement", - "src": "21661:41:7" - }, - { - "expression": { - "id": 4903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4898, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21712:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4900, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21721:10:7", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 4405, - "src": "21712:19:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4901, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21734:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4902, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21744:10:7", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 4369, - "src": "21734:20:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "src": "21712:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "id": 4904, - "nodeType": "ExpressionStatement", - "src": "21712:42:7" - }, - { - "expression": { - "id": 4905, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21771:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "functionReturnParameters": 4836, - "id": 4906, - "nodeType": "Return", - "src": "21764:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIP1559Detail", - "nameLocation": "21204:27:7", - "parameters": { - "id": 4832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4831, - "mutability": "mutable", - "name": "rawDetail", - "nameLocation": "21255:9:7", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "21232:32:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail" - }, - "typeName": { - "id": 4830, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4829, - "name": "RawTx1559Detail", - "nameLocations": [ - "21232:15:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4384, - "src": "21232:15:7" - }, - "referencedDeclaration": 4384, - "src": "21232:15:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "21231:34:7" - }, - "returnParameters": { - "id": 4836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4835, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "21305:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4834, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4833, - "name": "Tx1559Detail", - "nameLocations": [ - "21305:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "21305:12:7" - }, - "referencedDeclaration": 4420, - "src": "21305:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "21304:21:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4950, - "nodeType": "FunctionDefinition", - "src": "21793:382:7", - "body": { - "id": 4949, - "nodeType": "Block", - "src": "21889:286:7", - "statements": [ - { - "assignments": [ - 4918 - ], - "declarations": [ - { - "constant": false, - "id": 4918, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "21913:10:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "21899:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4917, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21899:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4923, - "initialValue": { - "arguments": [ - { - "id": 4921, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4910, - "src": "21938:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4919, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "21926:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21929:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "21926:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21926:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21899:44:7" - }, - { - "assignments": [ - 4925 - ], - "declarations": [ - { - "constant": false, - "id": 4925, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "21966:16:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "21953:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4924, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "21953:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4931, - "initialValue": { - "arguments": [ - { - "id": 4928, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4918, - "src": "22010:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7472616e73616374696f6e73", - "id": 4929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22022:15:7", - "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": 4926, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "21997:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22000:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "21997:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 4930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21997:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21953:85:7" - }, - { - "assignments": [ - 4936 - ], - "declarations": [ - { - "constant": false, - "id": 4936, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "22067:6:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "22048:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4934, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4933, - "name": "RawTx1559", - "nameLocations": [ - "22048:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "22048:9:7" - }, - "referencedDeclaration": 4365, - "src": "22048:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4935, - "nodeType": "ArrayTypeName", - "src": "22048:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4944, - "initialValue": { - "arguments": [ - { - "id": 4939, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4925, - "src": "22087:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 4940, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4365, - "src": "22106:9:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - }, - "id": 4941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "22106:11:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - } - ], - "id": 4942, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22105:13:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - ], - "expression": { - "id": 4937, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22076:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22080:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22076:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22076:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22048:71:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4946, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4936, - "src": "22161:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - ], - "id": 4945, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "22136:24:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory[] memory) pure returns (struct Test.Tx1559 memory[] memory)" - } - }, - "id": 4947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22136:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4916, - "id": 4948, - "nodeType": "Return", - "src": "22129:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559s", - "nameLocation": "21802:11:7", - "parameters": { - "id": 4911, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4910, - "mutability": "mutable", - "name": "path", - "nameLocation": "21828:4:7", - "nodeType": "VariableDeclaration", - "scope": 4950, - "src": "21814:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4909, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21814:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21813:20:7" - }, - "returnParameters": { - "id": 4916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4915, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4950, - "src": "21868:15:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4912, - "name": "Tx1559", - "nameLocations": [ - "21868:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "21868:6:7" - }, - "referencedDeclaration": 4401, - "src": "21868:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4914, - "nodeType": "ArrayTypeName", - "src": "21868:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "21867:17:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5005, - "nodeType": "FunctionDefinition", - "src": "22182:471:7", - "body": { - "id": 5004, - "nodeType": "Block", - "src": "22290:363:7", - "statements": [ - { - "assignments": [ - 4961 - ], - "declarations": [ - { - "constant": false, - "id": 4961, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "22314:10:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22300:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4960, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22300:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4966, - "initialValue": { - "arguments": [ - { - "id": 4964, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4952, - "src": "22339:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4962, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22327:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22330:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "22327:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22327:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22300:44:7" - }, - { - "assignments": [ - 4968 - ], - "declarations": [ - { - "constant": false, - "id": 4968, - "mutability": "mutable", - "name": "key", - "nameLocation": "22368:3:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22354:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22354:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4981, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e7472616e73616374696f6e735b", - "id": 4973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22398:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", - "typeString": "literal_string \".transactions[\"" - }, - "value": ".transactions[" - }, - { - "arguments": [ - { - "id": 4976, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4954, - "src": "22427:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4974, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22415:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22418:8:7", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 7293, - "src": "22415:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) external returns (string memory)" - } - }, - "id": 4977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22415:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 4978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22435:3:7", - "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": 4971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22381:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22385:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "22381:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22381:58:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "22374:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 4969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22374:6:7", - "typeDescriptions": {} - } - }, - "id": 4980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22374:66:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22354:86:7" - }, - { - "assignments": [ - 4983 - ], - "declarations": [ - { - "constant": false, - "id": 4983, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "22463:16:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22450:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22450:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4989, - "initialValue": { - "arguments": [ - { - "id": 4986, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4961, - "src": "22507:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4987, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "22519:3:7", - "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": 4984, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22494:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22497:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "22494:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 4988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22494:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22450:73:7" - }, - { - "assignments": [ - 4992 - ], - "declarations": [ - { - "constant": false, - "id": 4992, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "22550:5:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22533:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559" - }, - "typeName": { - "id": 4991, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4990, - "name": "RawTx1559", - "nameLocations": [ - "22533:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "22533:9:7" - }, - "referencedDeclaration": 4365, - "src": "22533:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4999, - "initialValue": { - "arguments": [ - { - "id": 4995, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4983, - "src": "22569:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4996, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4365, - "src": "22588:9:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - } - ], - "id": 4997, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22587:11:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - ], - "expression": { - "id": 4993, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22558:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22562:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22558:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22558:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22533:66:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5001, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4992, - "src": "22640:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - ], - "id": 5000, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4828, - "src": "22616:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$4365_memory_ptr_$returns$_t_struct$_Tx1559_$4401_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory) pure returns (struct Test.Tx1559 memory)" - } - }, - "id": 5002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22616:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "functionReturnParameters": 4959, - "id": 5003, - "nodeType": "Return", - "src": "22609:37:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559", - "nameLocation": "22191:10:7", - "parameters": { - "id": 4955, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4952, - "mutability": "mutable", - "name": "path", - "nameLocation": "22216:4:7", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22202:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4951, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22202:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4954, - "mutability": "mutable", - "name": "index", - "nameLocation": "22230:5:7", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22222:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4953, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22201:35:7" - }, - "returnParameters": { - "id": 4959, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4958, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22271:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4957, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4956, - "name": "Tx1559", - "nameLocations": [ - "22271:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "22271:6:7" - }, - "referencedDeclaration": 4401, - "src": "22271:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "22270:15:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5047, - "nodeType": "FunctionDefinition", - "src": "22716:378:7", - "body": { - "id": 5046, - "nodeType": "Block", - "src": "22814:280:7", - "statements": [ - { - "assignments": [ - 5015 - ], - "declarations": [ - { - "constant": false, - "id": 5015, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "22838:10:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22824:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5014, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22824:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5020, - "initialValue": { - "arguments": [ - { - "id": 5018, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5007, - "src": "22863:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5016, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22851:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22854:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "22851:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 5019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22851:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22824:44:7" - }, - { - "assignments": [ - 5022 - ], - "declarations": [ - { - "constant": false, - "id": 5022, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "22891:16:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22878:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5021, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22878:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5028, - "initialValue": { - "arguments": [ - { - "id": 5025, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5015, - "src": "22923:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7265636569707473", - "id": 5026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22935:11:7", - "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": 5023, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22910:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22913:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "22910:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 5027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22910:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22878:69:7" - }, - { - "assignments": [ - 5033 - ], - "declarations": [ - { - "constant": false, - "id": 5033, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "22977:11:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22957:31:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 5031, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5030, - "name": "RawReceipt", - "nameLocations": [ - "22957:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "22957:10:7" - }, - "referencedDeclaration": 4505, - "src": "22957:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 5032, - "nodeType": "ArrayTypeName", - "src": "22957:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 5041, - "initialValue": { - "arguments": [ - { - "id": 5036, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5022, - "src": "23002:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5037, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4505, - "src": "23021:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - }, - "id": 5038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "23021:12:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - } - ], - "id": 5039, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "23020:14:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - ], - "expression": { - "id": 5034, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22991:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22995:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22991:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22991:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22957:78:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5043, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5033, - "src": "23075:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - ], - "id": 5042, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5151, - "src": "23052:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory[] memory) pure returns (struct Test.Receipt memory[] memory)" - } - }, - "id": 5044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23052:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "functionReturnParameters": 5013, - "id": 5045, - "nodeType": "Return", - "src": "23045:42:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipts", - "nameLocation": "22725:12:7", - "parameters": { - "id": 5008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5007, - "mutability": "mutable", - "name": "path", - "nameLocation": "22752:4:7", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "22738:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22737:20:7" - }, - "returnParameters": { - "id": 5013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5012, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "22792:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5009, - "name": "Receipt", - "nameLocations": [ - "22792:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "22792:7:7" - }, - "referencedDeclaration": 4534, - "src": "22792:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5011, - "nodeType": "ArrayTypeName", - "src": "22792:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "22791:18:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5102, - "nodeType": "FunctionDefinition", - "src": "23100:464:7", - "body": { - "id": 5101, - "nodeType": "Block", - "src": "23207:357:7", - "statements": [ - { - "assignments": [ - 5058 - ], - "declarations": [ - { - "constant": false, - "id": 5058, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "23231:10:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23217:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5057, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23217:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5063, - "initialValue": { - "arguments": [ - { - "id": 5061, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5049, - "src": "23256:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5059, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23244:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23247:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "23244:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 5062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23244:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23217:44:7" - }, - { - "assignments": [ - 5065 - ], - "declarations": [ - { - "constant": false, - "id": 5065, - "mutability": "mutable", - "name": "key", - "nameLocation": "23285:3:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23271:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23271:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5078, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e72656365697074735b", - "id": 5070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23315:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", - "typeString": "literal_string \".receipts[\"" - }, - "value": ".receipts[" - }, - { - "arguments": [ - { - "id": 5073, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5051, - "src": "23340:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5071, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23328:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23331:8:7", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 7293, - "src": "23328:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) external returns (string memory)" - } - }, - "id": 5074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23328:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23348:3:7", - "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": 5068, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23298:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23302:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "23298:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23298:54:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "23291:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 5066, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23291:6:7", - "typeDescriptions": {} - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23291:62:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23271:82:7" - }, - { - "assignments": [ - 5080 - ], - "declarations": [ - { - "constant": false, - "id": 5080, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "23376:16:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23363:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5079, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "23363:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5086, - "initialValue": { - "arguments": [ - { - "id": 5083, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5058, - "src": "23408:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5084, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5065, - "src": "23420:3:7", - "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": 5081, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23395:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23398:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "23395:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 5085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23395:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23363:61:7" - }, - { - "assignments": [ - 5089 - ], - "declarations": [ - { - "constant": false, - "id": 5089, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "23452:10:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23434:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt" - }, - "typeName": { - "id": 5088, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5087, - "name": "RawReceipt", - "nameLocations": [ - "23434:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23434:10:7" - }, - "referencedDeclaration": 4505, - "src": "23434:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "id": 5096, - "initialValue": { - "arguments": [ - { - "id": 5092, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5080, - "src": "23476:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5093, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4505, - "src": "23495:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - } - ], - "id": 5094, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "23494:12:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - ], - "expression": { - "id": 5090, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23465:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23469:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "23465:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23465:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23434:73:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5098, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5089, - "src": "23546:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - ], - "id": 5097, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "23524:21:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$4505_memory_ptr_$returns$_t_struct$_Receipt_$4534_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory) pure returns (struct Test.Receipt memory)" - } - }, - "id": 5099, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23524:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "functionReturnParameters": 5056, - "id": 5100, - "nodeType": "Return", - "src": "23517:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipt", - "nameLocation": "23109:11:7", - "parameters": { - "id": 5052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5049, - "mutability": "mutable", - "name": "path", - "nameLocation": "23135:4:7", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23121:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5048, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23121:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5051, - "mutability": "mutable", - "name": "index", - "nameLocation": "23146:5:7", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23141:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5050, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23141:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23120:32:7" - }, - "returnParameters": { - "id": 5056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5055, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23187:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5054, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5053, - "name": "Receipt", - "nameLocations": [ - "23187:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23187:7:7" - }, - "referencedDeclaration": 4534, - "src": "23187:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "23186:16:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5151, - "nodeType": "FunctionDefinition", - "src": "23570:355:7", - "body": { - "id": 5150, - "nodeType": "Block", - "src": "23695:230:7", - "statements": [ - { - "assignments": [ - 5117 - ], - "declarations": [ - { - "constant": false, - "id": 5117, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "23722:8:7", - "nodeType": "VariableDeclaration", - "scope": 5150, - "src": "23705:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5115, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5114, - "name": "Receipt", - "nameLocations": [ - "23705:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23705:7:7" - }, - "referencedDeclaration": 4534, - "src": "23705:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5116, - "nodeType": "ArrayTypeName", - "src": "23705:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 5125, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 5122, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23747:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23759:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "23747:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "23733:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.Receipt memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 5119, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5118, - "name": "Receipt", - "nameLocations": [ - "23737:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23737:7:7" - }, - "referencedDeclaration": 4534, - "src": "23737:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5120, - "nodeType": "ArrayTypeName", - "src": "23737:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - } - }, - "id": 5124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23733:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23705:61:7" - }, - { - "body": { - "id": 5146, - "nodeType": "Block", - "src": "23818:76:7", - "statements": [ - { - "expression": { - "id": 5144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 5136, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "23832:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "id": 5138, - "indexExpression": { - "id": 5137, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23841:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "23832:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5140, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23868:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5142, - "indexExpression": { - "id": 5141, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23880:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "23868:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - ], - "id": 5139, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "23846:21:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$4505_memory_ptr_$returns$_t_struct$_Receipt_$4534_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory) pure returns (struct Test.Receipt memory)" - } - }, - "id": 5143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23846:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "src": "23832:51:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5145, - "nodeType": "ExpressionStatement", - "src": "23832:51:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5129, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23789:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5130, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23793:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23805:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "23793:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "23789:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5147, - "initializationExpression": { - "assignments": [ - 5127 - ], - "declarations": [ - { - "constant": false, - "id": 5127, - "mutability": "mutable", - "name": "i", - "nameLocation": "23786:1:7", - "nodeType": "VariableDeclaration", - "scope": 5147, - "src": "23781:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23781:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5128, - "nodeType": "VariableDeclarationStatement", - "src": "23781:6:7" - }, - "loopExpression": { - "expression": { - "id": 5134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "23813:3:7", - "subExpression": { - "id": 5133, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23813:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5135, - "nodeType": "ExpressionStatement", - "src": "23813:3:7" - }, - "nodeType": "ForStatement", - "src": "23776:118:7" - }, - { - "expression": { - "id": 5148, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "23910:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "functionReturnParameters": 5112, - "id": 5149, - "nodeType": "Return", - "src": "23903:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipts", - "nameLocation": "23579:22:7", - "parameters": { - "id": 5107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5106, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "23622:11:7", - "nodeType": "VariableDeclaration", - "scope": 5151, - "src": "23602:31:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 5104, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5103, - "name": "RawReceipt", - "nameLocations": [ - "23602:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23602:10:7" - }, - "referencedDeclaration": 4505, - "src": "23602:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 5105, - "nodeType": "ArrayTypeName", - "src": "23602:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "23601:33:7" - }, - "returnParameters": { - "id": 5112, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5111, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5151, - "src": "23673:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5108, - "name": "Receipt", - "nameLocations": [ - "23673:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23673:7:7" - }, - "referencedDeclaration": 4534, - "src": "23673:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5110, - "nodeType": "ArrayTypeName", - "src": "23673:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "23672:18:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5272, - "nodeType": "FunctionDefinition", - "src": "23931:966:7", - "body": { - "id": 5271, - "nodeType": "Block", - "src": "24050:847:7", - "statements": [ - { - "assignments": [ - 5162 - ], - "declarations": [ - { - "constant": false, - "id": 5162, - "mutability": "mutable", - "name": "receipt", - "nameLocation": "24075:7:7", - "nodeType": "VariableDeclaration", - "scope": 5271, - "src": "24060:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5161, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5160, - "name": "Receipt", - "nameLocations": [ - "24060:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "24060:7:7" - }, - "referencedDeclaration": 4534, - "src": "24060:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "id": 5163, - "nodeType": "VariableDeclarationStatement", - "src": "24060:22:7" - }, - { - "expression": { - "id": 5169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5164, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24092:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5166, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24100:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4507, - "src": "24092:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5167, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24112:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5168, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24123:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4478, - "src": "24112:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "24092:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5170, - "nodeType": "ExpressionStatement", - "src": "24092:40:7" - }, - { - "expression": { - "id": 5176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5171, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24142:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5173, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24150:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4529, - "src": "24142:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5174, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24155:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5175, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24166:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4500, - "src": "24155:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24142:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5177, - "nodeType": "ExpressionStatement", - "src": "24142:26:7" - }, - { - "expression": { - "id": 5183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5178, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24178:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5180, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24186:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4517, - "src": "24178:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5181, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24193:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5182, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24204:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4488, - "src": "24193:15:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24178:30:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5184, - "nodeType": "ExpressionStatement", - "src": "24178:30:7" - }, - { - "expression": { - "id": 5190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5185, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24218:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5187, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24226:15:7", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4511, - "src": "24218:23:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5188, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24244:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5189, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24255:15:7", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4482, - "src": "24244:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24218:52:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5191, - "nodeType": "ExpressionStatement", - "src": "24218:52:7" - }, - { - "expression": { - "id": 5199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5192, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24280:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5194, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24288:17:7", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 4515, - "src": "24280:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5196, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24320:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24331:17:7", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 4486, - "src": "24320:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5195, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24308:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24308:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24280:69:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5200, - "nodeType": "ExpressionStatement", - "src": "24280:69:7" - }, - { - "expression": { - "id": 5208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5201, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24359:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5203, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24367:17:7", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4513, - "src": "24359:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5205, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24398:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5206, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24409:17:7", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4484, - "src": "24398:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5204, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24386:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24386:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24359:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5209, - "nodeType": "ExpressionStatement", - "src": "24359:68:7" - }, - { - "expression": { - "id": 5217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5210, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24437:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5212, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24445:7:7", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4519, - "src": "24437:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5214, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24467:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5215, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24478:7:7", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4490, - "src": "24467:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5213, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24455:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24455:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24437:49:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5218, - "nodeType": "ExpressionStatement", - "src": "24437:49:7" - }, - { - "expression": { - "id": 5226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5219, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24496:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5221, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24504:6:7", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 4527, - "src": "24496:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5223, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24525:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5224, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24536:6:7", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 4498, - "src": "24525:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5222, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24513:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24513:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24496:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5227, - "nodeType": "ExpressionStatement", - "src": "24496:47:7" - }, - { - "expression": { - "id": 5235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5228, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24553:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5230, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24561:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4533, - "src": "24553:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5232, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24592:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5233, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24603:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4504, - "src": "24592:27:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5231, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24580:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24580:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24553:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5236, - "nodeType": "ExpressionStatement", - "src": "24553:67:7" - }, - { - "expression": { - "id": 5244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5237, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24630:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5239, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24638:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4509, - "src": "24630:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5241, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24664:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5242, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24675:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4480, - "src": "24664:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5240, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24652:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24652:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24630:57:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5245, - "nodeType": "ExpressionStatement", - "src": "24630:57:7" - }, - { - "expression": { - "id": 5253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5246, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24697:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5248, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24705:4:7", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 4523, - "src": "24697:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5250, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24738:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5251, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24749:4:7", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 4494, - "src": "24738:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - ], - "id": 5249, - "name": "rawToConvertedReceiptLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5409, - "src": "24712:25:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceiptLog memory[] memory) pure returns (struct Test.ReceiptLog memory[] memory)" - } - }, - "id": 5252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24712:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "src": "24697:57:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5254, - "nodeType": "ExpressionStatement", - "src": "24697:57:7" - }, - { - "expression": { - "id": 5260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5255, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24764:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5257, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24772:9:7", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 4525, - "src": "24764:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5258, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24784:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5259, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24795:9:7", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 4496, - "src": "24784:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "24764:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5261, - "nodeType": "ExpressionStatement", - "src": "24764:40:7" - }, - { - "expression": { - "id": 5267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5262, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24814:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24822:15:7", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4531, - "src": "24814:23:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5265, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24840:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5266, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24851:15:7", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4502, - "src": "24840:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "24814:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5268, - "nodeType": "ExpressionStatement", - "src": "24814:52:7" - }, - { - "expression": { - "id": 5269, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24883:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "functionReturnParameters": 5159, - "id": 5270, - "nodeType": "Return", - "src": "24876:14:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipt", - "nameLocation": "23940:21:7", - "parameters": { - "id": 5155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5154, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "23980:10:7", - "nodeType": "VariableDeclaration", - "scope": 5272, - "src": "23962:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt" - }, - "typeName": { - "id": 5153, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5152, - "name": "RawReceipt", - "nameLocations": [ - "23962:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23962:10:7" - }, - "referencedDeclaration": 4505, - "src": "23962:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "src": "23961:30:7" - }, - "returnParameters": { - "id": 5159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5158, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5272, - "src": "24030:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5157, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5156, - "name": "Receipt", - "nameLocations": [ - "24030:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "24030:7:7" - }, - "referencedDeclaration": 4534, - "src": "24030:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "24029:16:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5409, - "nodeType": "FunctionDefinition", - "src": "24903:843:7", - "body": { - "id": 5408, - "nodeType": "Block", - "src": "25034:712:7", - "statements": [ - { - "assignments": [ - 5287 - ], - "declarations": [ - { - "constant": false, - "id": 5287, - "mutability": "mutable", - "name": "logs", - "nameLocation": "25064:4:7", - "nodeType": "VariableDeclaration", - "scope": 5408, - "src": "25044:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5284, - "name": "ReceiptLog", - "nameLocations": [ - "25044:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25044:10:7" - }, - "referencedDeclaration": 4622, - "src": "25044:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5286, - "nodeType": "ArrayTypeName", - "src": "25044:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "id": 5295, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 5292, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25088:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25096:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25088:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5291, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "25071:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.ReceiptLog memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 5289, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5288, - "name": "ReceiptLog", - "nameLocations": [ - "25075:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25075:10:7" - }, - "referencedDeclaration": 4622, - "src": "25075:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5290, - "nodeType": "ArrayTypeName", - "src": "25075:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - } - }, - "id": 5294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25071:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "25044:59:7" - }, - { - "body": { - "id": 5404, - "nodeType": "Block", - "src": "25151:567:7", - "statements": [ - { - "expression": { - "id": 5314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5306, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25165:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5308, - "indexExpression": { - "id": 5307, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25170:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25165:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5309, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25173:10:7", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4604, - "src": "25165:18:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5310, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25186:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5312, - "indexExpression": { - "id": 5311, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25194:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25186:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5313, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25197:10:7", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4582, - "src": "25186:21:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "25165:42:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5315, - "nodeType": "ExpressionStatement", - "src": "25165:42:7" - }, - { - "expression": { - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5316, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25221:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5318, - "indexExpression": { - "id": 5317, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25226:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25221:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25229:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4606, - "src": "25221:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5320, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25241:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5322, - "indexExpression": { - "id": 5321, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25249:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25241:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25252:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4584, - "src": "25241:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "25221:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5325, - "nodeType": "ExpressionStatement", - "src": "25221:40:7" - }, - { - "expression": { - "id": 5336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5326, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25275:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5328, - "indexExpression": { - "id": 5327, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25280:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5329, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25283:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4608, - "src": "25275:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5331, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25309:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5333, - "indexExpression": { - "id": 5332, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25317:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25309:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5334, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25320:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4586, - "src": "25309:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5330, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25297:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25297:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25275:57:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5337, - "nodeType": "ExpressionStatement", - "src": "25275:57:7" - }, - { - "expression": { - "id": 5346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5338, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25346:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5340, - "indexExpression": { - "id": 5339, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25351:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25346:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5341, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25354:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4610, - "src": "25346:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5342, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25361:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5344, - "indexExpression": { - "id": 5343, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25369:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25361:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5345, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25372:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4588, - "src": "25361:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "25346:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5347, - "nodeType": "ExpressionStatement", - "src": "25346:30:7" - }, - { - "expression": { - "id": 5358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5348, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25390:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5350, - "indexExpression": { - "id": 5349, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25395:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25390:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5351, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25398:8:7", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4612, - "src": "25390:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5353, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25421:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5355, - "indexExpression": { - "id": 5354, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25421:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5356, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25432:8:7", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4590, - "src": "25421:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5352, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25409:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25409:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25390:51:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5359, - "nodeType": "ExpressionStatement", - "src": "25390:51:7" - }, - { - "expression": { - "id": 5368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5360, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25455:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5362, - "indexExpression": { - "id": 5361, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25460:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25455:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5363, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25463:6:7", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 4615, - "src": "25455:14:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5364, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25472:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5366, - "indexExpression": { - "id": 5365, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25480:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25472:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5367, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25483:6:7", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 4595, - "src": "25472:17:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "src": "25455:34:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5369, - "nodeType": "ExpressionStatement", - "src": "25455:34:7" - }, - { - "expression": { - "id": 5380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5370, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25503:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5372, - "indexExpression": { - "id": 5371, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25508:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25503:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5373, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25511:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4617, - "src": "25503:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5375, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25542:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5377, - "indexExpression": { - "id": 5376, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25550:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25542:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5378, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25553:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4599, - "src": "25542:27:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5374, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25530:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25530:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25503:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5381, - "nodeType": "ExpressionStatement", - "src": "25503:67:7" - }, - { - "expression": { - "id": 5392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5382, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25584:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5384, - "indexExpression": { - "id": 5383, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25589:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25584:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5385, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25592:19:7", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4619, - "src": "25584:27:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5387, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25626:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5389, - "indexExpression": { - "id": 5388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25634:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25626:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5390, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25637:19:7", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4601, - "src": "25626:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5386, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25614:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25614:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25584:73:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5393, - "nodeType": "ExpressionStatement", - "src": "25584:73:7" - }, - { - "expression": { - "id": 5402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5394, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25671:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5396, - "indexExpression": { - "id": 5395, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25676:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25671:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5397, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25679:7:7", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4621, - "src": "25671:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5398, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25689:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5400, - "indexExpression": { - "id": 5399, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25697:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25689:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5401, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25700:7:7", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4592, - "src": "25689:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "25671:36:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5403, - "nodeType": "ExpressionStatement", - "src": "25671:36:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25126:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5300, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25130:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25138:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25130:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25126:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5405, - "initializationExpression": { - "assignments": [ - 5297 - ], - "declarations": [ - { - "constant": false, - "id": 5297, - "mutability": "mutable", - "name": "i", - "nameLocation": "25123:1:7", - "nodeType": "VariableDeclaration", - "scope": 5405, - "src": "25118:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5296, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25118:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5298, - "nodeType": "VariableDeclarationStatement", - "src": "25118:6:7" - }, - "loopExpression": { - "expression": { - "id": 5304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "25146:3:7", - "subExpression": { - "id": 5303, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25146:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5305, - "nodeType": "ExpressionStatement", - "src": "25146:3:7" - }, - "nodeType": "ForStatement", - "src": "25113:605:7" - }, - { - "expression": { - "id": 5406, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25734:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "functionReturnParameters": 5282, - "id": 5407, - "nodeType": "Return", - "src": "25727:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceiptLogs", - "nameLocation": "24912:25:7", - "parameters": { - "id": 5277, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5276, - "mutability": "mutable", - "name": "rawLogs", - "nameLocation": "24961:7:7", - "nodeType": "VariableDeclaration", - "scope": 5409, - "src": "24938:30:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5274, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5273, - "name": "RawReceiptLog", - "nameLocations": [ - "24938:13:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4602, - "src": "24938:13:7" - }, - "referencedDeclaration": 4602, - "src": "24938:13:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_storage_ptr", - "typeString": "struct Test.RawReceiptLog" - } - }, - "id": 5275, - "nodeType": "ArrayTypeName", - "src": "24938:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "24937:32:7" - }, - "returnParameters": { - "id": 5282, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5281, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5409, - "src": "25009:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5279, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5278, - "name": "ReceiptLog", - "nameLocations": [ - "25009:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25009:10:7" - }, - "referencedDeclaration": 4622, - "src": "25009:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5280, - "nodeType": "ArrayTypeName", - "src": "25009:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "25008:21:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5464, - "nodeType": "FunctionDefinition", - "src": "25752:267:7", - "body": { - "id": 5463, - "nodeType": "Block", - "src": "25820:199:7", - "statements": [ - { - "assignments": [ - 5417 - ], - "declarations": [ - { - "constant": false, - "id": 5417, - "mutability": "mutable", - "name": "number", - "nameLocation": "25842:6:7", - "nodeType": "VariableDeclaration", - "scope": 5463, - "src": "25834:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25834:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5418, - "nodeType": "VariableDeclarationStatement", - "src": "25834:14:7" - }, - { - "body": { - "id": 5459, - "nodeType": "Block", - "src": "25896:94:7", - "statements": [ - { - "expression": { - "id": 5457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5430, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "25914:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5431, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "25923:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "baseExpression": { - "id": 5436, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25943:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5438, - "indexExpression": { - "id": 5437, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25945:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25943:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 5435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "25937:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 5434, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "25937:5:7", - "typeDescriptions": {} - } - }, - "id": 5439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25937:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "id": 5433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "25932:4:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5432, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25932:4:7", - "typeDescriptions": {} - } - }, - "id": 5440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25932:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 5441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25951:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "38", - "id": 5442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25955:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5443, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25958:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25960:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25958:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5445, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25968:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 5446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25970:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "25968:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5448, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25967:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25958:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5450, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25957:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25955:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5452, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25954:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25951:23:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5454, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25950:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25932:43:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25923:52:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25914:61:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5458, - "nodeType": "ExpressionStatement", - "src": "25914:61:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5423, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25877:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5424, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25881:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25883:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25881:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25877:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5460, - "initializationExpression": { - "assignments": [ - 5420 - ], - "declarations": [ - { - "constant": false, - "id": 5420, - "mutability": "mutable", - "name": "i", - "nameLocation": "25872:1:7", - "nodeType": "VariableDeclaration", - "scope": 5460, - "src": "25867:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5419, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25867:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5422, - "initialValue": { - "hexValue": "30", - "id": 5421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25874:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "25867:8:7" - }, - "loopExpression": { - "expression": { - "id": 5428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "25891:3:7", - "subExpression": { - "id": 5427, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25891:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5429, - "nodeType": "ExpressionStatement", - "src": "25891:3:7" - }, - "nodeType": "ForStatement", - "src": "25862:128:7" - }, - { - "expression": { - "id": 5461, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "26006:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5415, - "id": 5462, - "nodeType": "Return", - "src": "25999:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToUint", - "nameLocation": "25761:11:7", - "parameters": { - "id": 5412, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5411, - "mutability": "mutable", - "name": "b", - "nameLocation": "25786:1:7", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "25773:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5410, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "25773:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "25772:16:7" - }, - "returnParameters": { - "id": 5415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5414, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "25812:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5413, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25812:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25811:9:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 2901, - "name": "DSTest", - "nameLocations": [ - "224:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2272, - "src": "224:6:7" - }, - "id": 2902, - "nodeType": "InheritanceSpecifier", - "src": "224:6:7" - }, - { - "baseName": { - "id": 2903, - "name": "Script", - "nameLocations": [ - "232:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2535, - "src": "232:6:7" - }, - "id": 2904, - "nodeType": "InheritanceSpecifier", - "src": "232:6:7" - } - ], - "canonicalName": "Test", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5465, - 2535, - 2272 - ], - "name": "Test", - "nameLocation": "216:4:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 5535, - "nodeType": "ContractDefinition", - "src": "26222:984:7", - "nodes": [ - { - "id": 5472, - "nodeType": "VariableDeclaration", - "src": "26245:86:7", - "constant": true, - "functionSelector": "10332977", - "mutability": "constant", - "name": "assertionError", - "nameLocation": "26267:14:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26245:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26308:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783031", - "id": 5470, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26326: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": 5467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26284:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26288:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26284: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": 5471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26284:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5479, - "nodeType": "VariableDeclaration", - "src": "26337:87:7", - "constant": true, - "functionSelector": "8995290f", - "mutability": "constant", - "name": "arithmeticError", - "nameLocation": "26359:15:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5473, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26337:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26401:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783131", - "id": 5477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26419: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": 5474, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26377:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26381:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26377: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": 5478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26377:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5486, - "nodeType": "VariableDeclaration", - "src": "26430:85:7", - "constant": true, - "functionSelector": "fa784a44", - "mutability": "constant", - "name": "divisionError", - "nameLocation": "26452:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5480, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26430:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26492:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783132", - "id": 5484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26510: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": 5481, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26468:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26472:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26468: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": 5485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26468:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5493, - "nodeType": "VariableDeclaration", - "src": "26521:91:7", - "constant": true, - "functionSelector": "1de45560", - "mutability": "constant", - "name": "enumConversionError", - "nameLocation": "26543:19:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5487, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26521:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26589:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783231", - "id": 5491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26607: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": 5488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26565:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26569:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26565: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": 5492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26565:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5500, - "nodeType": "VariableDeclaration", - "src": "26618:90:7", - "constant": true, - "functionSelector": "d160e4de", - "mutability": "constant", - "name": "encodeStorageError", - "nameLocation": "26640:18:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5494, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26618:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26685:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783232", - "id": 5498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26703: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": 5495, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26661:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26665:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26661: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": 5499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26661:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5507, - "nodeType": "VariableDeclaration", - "src": "26714:80:7", - "constant": true, - "functionSelector": "b22dc54d", - "mutability": "constant", - "name": "popError", - "nameLocation": "26736:8:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5501, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26771:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783331", - "id": 5505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26789: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": 5502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26747:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26751:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26747: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": 5506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26747:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5514, - "nodeType": "VariableDeclaration", - "src": "26800:85:7", - "constant": true, - "functionSelector": "05ee8612", - "mutability": "constant", - "name": "indexOOBError", - "nameLocation": "26822:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5508, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26800:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26862:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783332", - "id": 5512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26880: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": 5509, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26838:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26842:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26838: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": 5513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26838:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5521, - "nodeType": "VariableDeclaration", - "src": "26891:88:7", - "constant": true, - "functionSelector": "986c5f68", - "mutability": "constant", - "name": "memOverflowError", - "nameLocation": "26913:16:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5515, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26891:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26956:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783431", - "id": 5519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26974: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": 5516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26932:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26936:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26932: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": 5520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26932:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5528, - "nodeType": "VariableDeclaration", - "src": "26985:84:7", - "constant": true, - "functionSelector": "b67689da", - "mutability": "constant", - "name": "zeroVarError", - "nameLocation": "27007:12:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5522, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26985:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27046:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783531", - "id": 5526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27064: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": 5523, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27022:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27026:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27022: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": 5527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27022:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5534, - "nodeType": "VariableDeclaration", - "src": "27148:47:7", - "constant": true, - "functionSelector": "ac3d92c6", - "mutability": "constant", - "name": "lowLevelError", - "nameLocation": "27170:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5529, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "27148:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "", - "id": 5532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27192:2:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 5531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "27186:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5530, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "27186:5:7", - "typeDescriptions": {} - } - }, - "id": 5533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27186:9: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": [ - 5535 - ], - "name": "stdError", - "nameLocation": "26230:8:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 5563, - "nodeType": "StructDefinition", - "src": "27407:275:7", - "canonicalName": "StdStorage", - "members": [ - { - "constant": false, - "id": 5543, - "mutability": "mutable", - "name": "slots", - "nameLocation": "27499:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27431:73:7", - "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": 5542, - "keyType": { - "id": 5536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27440:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "27431:67:7", - "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": 5541, - "keyType": { - "id": 5537, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27459:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "27451:46:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - }, - "valueType": { - "id": 5540, - "keyType": { - "id": 5538, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27477:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "27469:27:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 5539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27488:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5551, - "mutability": "mutable", - "name": "finds", - "nameLocation": "27576:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27510:71:7", - "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": 5550, - "keyType": { - "id": 5544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27519:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "27510:65:7", - "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": 5549, - "keyType": { - "id": 5545, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27538:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "27530:44:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - }, - "valueType": { - "id": 5548, - "keyType": { - "id": 5546, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27557:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "27549:24:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - }, - "valueType": { - "id": 5547, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27568:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5554, - "mutability": "mutable", - "name": "_keys", - "nameLocation": "27598:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27588:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5552, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27588:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5553, - "nodeType": "ArrayTypeName", - "src": "27588:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5556, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "27616:4:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27609:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5555, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27609:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5558, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "27634:6:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27626:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27626:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5560, - "mutability": "mutable", - "name": "_target", - "nameLocation": "27654:7:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27646:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5559, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27646:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5562, - "mutability": "mutable", - "name": "_set", - "nameLocation": "27675:4:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27667:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5561, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27667:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "name": "StdStorage", - "nameLocation": "27414:10:7", - "scope": 6805, - "visibility": "public" - }, - { - "id": 6665, - "nodeType": "ContractDefinition", - "src": "27684:8875:7", - "nodes": [ - { - "id": 5573, - "nodeType": "EventDefinition", - "src": "27709:71:7", - "anonymous": false, - "eventSelector": "9c9555b1e3102e3cf48f427d79cb678f5d9bd1ed0ad574389461e255f95170ed", - "name": "SlotFound", - "nameLocation": "27715:9:7", - "parameters": { - "id": 5572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5565, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "27733:3:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27725:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27725:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5567, - "indexed": false, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "27745:4:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27738:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5566, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5569, - "indexed": false, - "mutability": "mutable", - "name": "keysHash", - "nameLocation": "27759:8:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27751:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5568, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27751:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5571, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "27774:4:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27769:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27769:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27724:55:7" - } - }, - { - "id": 5579, - "nodeType": "EventDefinition", - "src": "27785:51:7", - "anonymous": false, - "eventSelector": "080fc4a96620c4462e705b23f346413fe3796bb63c6f8d8591baec0e231577a5", - "name": "WARNING_UninitedSlot", - "nameLocation": "27791:20:7", - "parameters": { - "id": 5578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5575, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "27820:3:7", - "nodeType": "VariableDeclaration", - "scope": 5579, - "src": "27812:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27812:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5577, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "27830:4:7", - "nodeType": "VariableDeclaration", - "scope": 5579, - "src": "27825:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5576, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27825:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27811:24:7" - } - }, - { - "id": 5582, - "nodeType": "VariableDeclaration", - "src": "27842:117:7", - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "27867:11:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27842:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 5581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27881:78:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "private" - }, - { - "id": 5585, - "nodeType": "VariableDeclaration", - "src": "27965:114:7", - "constant": true, - "mutability": "constant", - "name": "INT256_MAX", - "nameLocation": "27989:10:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 5583, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "27965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393637", - "id": 5584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28002:77:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9967" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819967" - }, - "visibility": "private" - }, - { - "id": 5602, - "nodeType": "VariableDeclaration", - "src": "28086:94:7", - "constant": true, - "mutability": "constant", - "name": "vm_std_store", - "nameLocation": "28106:12:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - }, - "typeName": { - "id": 5587, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5586, - "name": "Vm", - "nameLocations": [ - "28086:2:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 7558, - "src": "28086:2:7" - }, - "referencedDeclaration": 7558, - "src": "28086:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 5596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28158:17:7", - "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": 5595, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "28148:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28148:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28140:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5593, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28140:7:7", - "typeDescriptions": {} - } - }, - "id": 5598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28140:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28132:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 5591, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "28132:7:7", - "typeDescriptions": {} - } - }, - "id": 5599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28132:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 5590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28124:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5589, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28124:7:7", - "typeDescriptions": {} - } - }, - "id": 5600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28124:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5588, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7558, - "src": "28121:2:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$7558_$", - "typeString": "type(contract Vm)" - } - }, - "id": 5601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28121:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 5620, - "nodeType": "FunctionDefinition", - "src": "28187:165:7", - "body": { - "id": 5619, - "nodeType": "Block", - "src": "28296:56:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 5614, - "name": "sigStr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5604, - "src": "28336:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 5613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28330:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5612, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "28330:5:7", - "typeDescriptions": {} - } - }, - "id": 5615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28330:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5611, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "28320:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28320:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28313:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 5609, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "28313:6:7", - "typeDescriptions": {} - } - }, - "id": 5617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28313:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 5608, - "id": 5618, - "nodeType": "Return", - "src": "28306:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sigs", - "nameLocation": "28196:4:7", - "parameters": { - "id": 5605, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5604, - "mutability": "mutable", - "name": "sigStr", - "nameLocation": "28224:6:7", - "nodeType": "VariableDeclaration", - "scope": 5620, - "src": "28210:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5603, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28210:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28200:36:7" - }, - "returnParameters": { - "id": 5608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5607, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5620, - "src": "28284:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5606, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "28284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "28283:8:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6065, - "nodeType": "FunctionDefinition", - "src": "28866:3214:7", - "body": { - "id": 6064, - "nodeType": "Block", - "src": "28966:3114:7", - "statements": [ - { - "assignments": [ - 5630 - ], - "declarations": [ - { - "constant": false, - "id": 5630, - "mutability": "mutable", - "name": "who", - "nameLocation": "28984:3:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "28976:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5629, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28976:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 5633, - "initialValue": { - "expression": { - "id": 5631, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "28990:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5632, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "28995:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "28990:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "28976:26:7" - }, - { - "assignments": [ - 5635 - ], - "declarations": [ - { - "constant": false, - "id": 5635, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "29019:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29012:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5634, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "29012:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 5638, - "initialValue": { - "expression": { - "id": 5636, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29026:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5637, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29031:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "29026:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29012:23:7" - }, - { - "assignments": [ - 5640 - ], - "declarations": [ - { - "constant": false, - "id": 5640, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "29053:11:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29045:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5639, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29045:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5643, - "initialValue": { - "expression": { - "id": 5641, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29067:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29072:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "29067:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29045:33:7" - }, - { - "assignments": [ - 5648 - ], - "declarations": [ - { - "constant": false, - "id": 5648, - "mutability": "mutable", - "name": "ins", - "nameLocation": "29105:3:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29088:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5646, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29088:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5647, - "nodeType": "ArrayTypeName", - "src": "29088:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 5651, - "initialValue": { - "expression": { - "id": 5649, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29111:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29116:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "29111:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29088:33:7" - }, - { - "condition": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5652, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5653, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29177:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "29172:10:7", - "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": 5655, - "indexExpression": { - "id": 5654, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29183:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5657, - "indexExpression": { - "id": 5656, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29188:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5665, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5661, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29221:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5662, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29226:11:7", - "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": 5659, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29204:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29208:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29204:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29204:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5658, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "29194:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29194:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5682, - "nodeType": "IfStatement", - "src": "29168:174:7", - "trueBody": { - "id": 5681, - "nodeType": "Block", - "src": "29242:100:7", - "statements": [ - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5666, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29263:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29268:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "29263:10:7", - "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": 5669, - "indexExpression": { - "id": 5668, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29274:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5671, - "indexExpression": { - "id": 5670, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29279:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5679, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5675, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29312:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5676, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29317:11:7", - "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": 5673, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29295:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29299:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29295:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29295:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5672, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "29285:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29285:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5628, - "id": 5680, - "nodeType": "Return", - "src": "29256:75:7" - } - ] - } - }, - { - "assignments": [ - 5684 - ], - "declarations": [ - { - "constant": false, - "id": 5684, - "mutability": "mutable", - "name": "cald", - "nameLocation": "29364:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29351:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5683, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "29351:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5692, - "initialValue": { - "arguments": [ - { - "id": 5687, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29388:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 5689, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29402:3:7", - "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": 5688, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6664, - "src": "29394:7:7", - "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": 5690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29394:12:7", - "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": 5685, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29371:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29375:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29371:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29371:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29351:56:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 5693, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29417:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29430:6:7", - "memberName": "record", - "nodeType": "MemberAccess", - "referencedDeclaration": 7081, - "src": "29417:19:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 5696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29417:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5697, - "nodeType": "ExpressionStatement", - "src": "29417:21:7" - }, - { - "assignments": [ - 5699 - ], - "declarations": [ - { - "constant": false, - "id": 5699, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "29456:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29448:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5698, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29448:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5700, - "nodeType": "VariableDeclarationStatement", - "src": "29448:12:7" - }, - { - "id": 5717, - "nodeType": "Block", - "src": "29470:126:7", - "statements": [ - { - "assignments": [ - null, - 5702 - ], - "declarations": [ - null, - { - "constant": false, - "id": 5702, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "29500:4:7", - "nodeType": "VariableDeclaration", - "scope": 5717, - "src": "29487:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "29487:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5707, - "initialValue": { - "arguments": [ - { - "id": 5705, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5684, - "src": "29523:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5703, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29508:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29512:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "29508:14:7", - "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": 5706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29508:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29484:44:7" - }, - { - "expression": { - "id": 5715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5708, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "29542:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5710, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "29564:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5711, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29570:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 5712, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29573:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "29570:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5709, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "29549:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 5714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29549:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29542:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5716, - "nodeType": "ExpressionStatement", - "src": "29542:43:7" - } - ] - }, - { - "assignments": [ - 5722, - null - ], - "declarations": [ - { - "constant": false, - "id": 5722, - "mutability": "mutable", - "name": "reads", - "nameLocation": "29624:5:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29607:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5720, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29607:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5721, - "nodeType": "ArrayTypeName", - "src": "29607:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - null - ], - "id": 5730, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 5727, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29665:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29657:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29657:7:7", - "typeDescriptions": {} - } - }, - "id": 5728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29657:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5723, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29635:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29648:8:7", - "memberName": "accesses", - "nodeType": "MemberAccess", - "referencedDeclaration": 7092, - "src": "29635:21:7", - "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": 5729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29635:35:7", - "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": "29606:64:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5731, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29684:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29690:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "29684:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 5733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29700:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "29684:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5833, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30393:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30399:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "30393:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30408:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "30393:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6012, - "nodeType": "Block", - "src": "31631:107:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31653:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a204e6f2073746f726167652075736520646574656374656420666f72207461726765742e", - "id": 6009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31660:66:7", - "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": 6007, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "31645:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31645:82:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6011, - "nodeType": "ExpressionStatement", - "src": "31645:82:7" - } - ] - }, - "id": 6013, - "nodeType": "IfStatement", - "src": "30389:1349:7", - "trueBody": { - "id": 6006, - "nodeType": "Block", - "src": "30411:1214:7", - "statements": [ - { - "body": { - "id": 6004, - "nodeType": "Block", - "src": "30468:1147:7", - "statements": [ - { - "assignments": [ - 5849 - ], - "declarations": [ - { - "constant": false, - "id": 5849, - "mutability": "mutable", - "name": "prev", - "nameLocation": "30494:4:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30486:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5848, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30486:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5857, - "initialValue": { - "arguments": [ - { - "id": 5852, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30519:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5853, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30524:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5855, - "indexExpression": { - "id": 5854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30530:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30524:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 5850, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "30501:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30514:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "30501:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 5856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30501:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "30486:47:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5858, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "30555:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 5861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30571:1:7", - "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": 5860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30563:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5859, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30563:7:7", - "typeDescriptions": {} - } - }, - "id": 5862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30563:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "30555:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5875, - "nodeType": "IfStatement", - "src": "30551:114:7", - "trueBody": { - "id": 5874, - "nodeType": "Block", - "src": "30575:90:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5865, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30623:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5868, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30636:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5870, - "indexExpression": { - "id": 5869, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30642:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30636:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30628:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5866, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30628:7:7", - "typeDescriptions": {} - } - }, - "id": 5871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30628:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5864, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "30602:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30602:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5873, - "nodeType": "EmitStatement", - "src": "30597:49:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5879, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30726:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5880, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30731:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5882, - "indexExpression": { - "id": 5881, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30737:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30731:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "hexValue": "1337", - "id": 5885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30749:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 5884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30741:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5883, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30741:7:7", - "typeDescriptions": {} - } - }, - "id": 5886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30741:18:7", - "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": 5876, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "30707:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30720:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "30707:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 5887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30707:53:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5888, - "nodeType": "ExpressionStatement", - "src": "30707:53:7" - }, - { - "assignments": [ - 5890 - ], - "declarations": [ - { - "constant": false, - "id": 5890, - "mutability": "mutable", - "name": "success", - "nameLocation": "30783:7:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30778:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5889, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30778:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "id": 5891, - "nodeType": "VariableDeclarationStatement", - "src": "30778:12:7" - }, - { - "assignments": [ - 5893 - ], - "declarations": [ - { - "constant": false, - "id": 5893, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "30821:4:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30808:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5892, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "30808:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5894, - "nodeType": "VariableDeclarationStatement", - "src": "30808:17:7" - }, - { - "id": 5913, - "nodeType": "Block", - "src": "30843:144:7", - "statements": [ - { - "expression": { - "id": 5902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 5895, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5890, - "src": "30866:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5896, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "30875:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 5897, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "30865:15:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5900, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5684, - "src": "30898:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5898, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30883:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30887:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "30883:14:7", - "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": 5901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30883:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "src": "30865:38:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5903, - "nodeType": "ExpressionStatement", - "src": "30865:38:7" - }, - { - "expression": { - "id": 5911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5904, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "30925:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5906, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "30947:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30953:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 5908, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30956:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30953:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5905, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "30932:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 5910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30932:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "30925:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5912, - "nodeType": "ExpressionStatement", - "src": "30925:43:7" - } - ] - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5914, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5890, - "src": "31009:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5915, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "31020:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "1337", - "id": 5918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31036:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 5917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31028:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5916, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "31028:7:7", - "typeDescriptions": {} - } - }, - "id": 5919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31028:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "31020:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "31009:37:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5993, - "nodeType": "IfStatement", - "src": "31005:539:7", - "trueBody": { - "id": 5992, - "nodeType": "Block", - "src": "31048:496:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5923, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31154:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5924, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31159:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 5928, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31192:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5929, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31197:11:7", - "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": 5926, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31175:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31179:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31175:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31175:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5925, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31165:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31165:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5934, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31220:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5936, - "indexExpression": { - "id": 5935, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31226:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31220:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31212:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31212:7:7", - "typeDescriptions": {} - } - }, - "id": 5937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31212:17:7", - "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": 5922, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "31144:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 5938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31144:86:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5939, - "nodeType": "EmitStatement", - "src": "31139:91:7" - }, - { - "expression": { - "id": 5961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5940, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31252:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5951, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31257:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "31252:10:7", - "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": 5952, - "indexExpression": { - "id": 5942, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31263:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31252:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5953, - "indexExpression": { - "id": 5943, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31268:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31252:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5954, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5947, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31301:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5948, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31306:11:7", - "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": 5945, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31284:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31288:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31284:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31284:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5944, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31274:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31274:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "31252:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5957, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31331:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5959, - "indexExpression": { - "id": 5958, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31337:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31331:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5956, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31323:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5955, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31323:7:7", - "typeDescriptions": {} - } - }, - "id": 5960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31323:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "31252:88:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5962, - "nodeType": "ExpressionStatement", - "src": "31252:88:7" - }, - { - "expression": { - "id": 5979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5963, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31362:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31367:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "31362:10:7", - "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": 5975, - "indexExpression": { - "id": 5965, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31373:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31362:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5976, - "indexExpression": { - "id": 5966, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31378:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31362:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5977, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5970, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31411:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5971, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31416:11:7", - "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": 5968, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31394:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5969, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31398:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31394:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31394:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5967, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31384:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31384:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "31362:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 5978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31433:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "31362:75:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5980, - "nodeType": "ExpressionStatement", - "src": "31362:75:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5984, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31478:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5985, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31483:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5987, - "indexExpression": { - "id": 5986, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31489:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31483:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 5988, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "31493:4:7", - "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": 5981, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "31459:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31472:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "31459:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 5989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31459:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5990, - "nodeType": "ExpressionStatement", - "src": "31459:39:7" - }, - { - "id": 5991, - "nodeType": "Break", - "src": "31520:5:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5997, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31580:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5998, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31585:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6000, - "indexExpression": { - "id": 5999, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31591:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31585:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6001, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "31595:4:7", - "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": 5994, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "31561:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31574:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "31561:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31561:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6003, - "nodeType": "ExpressionStatement", - "src": "31561:39:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5841, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30445:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5842, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30449:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30455:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "30449:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30445:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6005, - "initializationExpression": { - "assignments": [ - 5838 - ], - "declarations": [ - { - "constant": false, - "id": 5838, - "mutability": "mutable", - "name": "i", - "nameLocation": "30438:1:7", - "nodeType": "VariableDeclaration", - "scope": 6005, - "src": "30430:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30430:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5840, - "initialValue": { - "hexValue": "30", - "id": 5839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30442:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "30430:13:7" - }, - "loopExpression": { - "expression": { - "id": 5846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "30463:3:7", - "subExpression": { - "id": 5845, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30463:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5847, - "nodeType": "ExpressionStatement", - "src": "30463:3:7" - }, - "nodeType": "ForStatement", - "src": "30425:1190:7" - } - ] - } - }, - "id": 6014, - "nodeType": "IfStatement", - "src": "29680:2058:7", - "trueBody": { - "id": 5832, - "nodeType": "Block", - "src": "29703:680:7", - "statements": [ - { - "assignments": [ - 5736 - ], - "declarations": [ - { - "constant": false, - "id": 5736, - "mutability": "mutable", - "name": "curr", - "nameLocation": "29725:4:7", - "nodeType": "VariableDeclaration", - "scope": 5832, - "src": "29717:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5735, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29717:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5744, - "initialValue": { - "arguments": [ - { - "id": 5739, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29750:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5740, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29755:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5742, - "indexExpression": { - "hexValue": "30", - "id": 5741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29761:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29755:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 5737, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29732:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29745:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "29732:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 5743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29732:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29717:47:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5745, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "29782:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 5748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29798:1:7", - "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": 5747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29790:7:7", - "typeDescriptions": {} - } - }, - "id": 5749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29790:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29782:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5762, - "nodeType": "IfStatement", - "src": "29778:106:7", - "trueBody": { - "id": 5761, - "nodeType": "Block", - "src": "29802:82:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5752, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29846:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5755, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29859:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5757, - "indexExpression": { - "hexValue": "30", - "id": 5756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29865:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29859:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29851:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5753, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29851:7:7", - "typeDescriptions": {} - } - }, - "id": 5758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29851:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5751, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "29825:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29825:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5760, - "nodeType": "EmitStatement", - "src": "29820:49:7" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5763, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "29901:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 5764, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "29909:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29901:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5772, - "nodeType": "IfStatement", - "src": "29897:180:7", - "trueBody": { - "id": 5771, - "nodeType": "Block", - "src": "29915:162:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 5767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29941:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 5768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29948:113:7", - "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": 5766, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "29933:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29933:129:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5770, - "nodeType": "ExpressionStatement", - "src": "29933:129:7" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "id": 5774, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30105:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5775, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30110:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 5779, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30143:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5780, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30148:11:7", - "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": 5777, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30126:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30130:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30126:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30126:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5776, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30116:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30116:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5785, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30171:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5787, - "indexExpression": { - "hexValue": "30", - "id": 5786, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30177:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30171:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30163:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30163:7:7", - "typeDescriptions": {} - } - }, - "id": 5788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30163:17:7", - "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": 5773, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "30095:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 5789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30095:86:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5790, - "nodeType": "EmitStatement", - "src": "30090:91:7" - }, - { - "expression": { - "id": 5812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5791, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "30195:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30200:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "30195:10:7", - "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": 5803, - "indexExpression": { - "id": 5793, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30206:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30195:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5804, - "indexExpression": { - "id": 5794, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30211:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30195:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5805, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5798, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30244:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5799, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30249:11:7", - "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": 5796, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30227:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30231:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30227:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30227:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5795, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30217:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30217:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "30195:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5808, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30274:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5810, - "indexExpression": { - "hexValue": "30", - "id": 5809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30280:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30274:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30266:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5806, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30266:7:7", - "typeDescriptions": {} - } - }, - "id": 5811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30266:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30195:88:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5813, - "nodeType": "ExpressionStatement", - "src": "30195:88:7" - }, - { - "expression": { - "id": 5830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5814, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "30297:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5825, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30302:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "30297:10:7", - "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": 5826, - "indexExpression": { - "id": 5816, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30308:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30297:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5827, - "indexExpression": { - "id": 5817, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30313:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30297:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5828, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5821, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30346:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5822, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30351:11:7", - "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": 5819, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30329:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5820, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30333:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30329:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30329:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5818, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30319:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30319:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "30297:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 5829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30368:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "30297:75:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5831, - "nodeType": "ExpressionStatement", - "src": "30297:75:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6016, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31756:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6017, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31761:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "31756:10:7", - "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": 6019, - "indexExpression": { - "id": 6018, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31767:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6021, - "indexExpression": { - "id": 6020, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31772:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6029, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6025, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31805:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6026, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31810:11:7", - "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": 6023, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31788:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31792:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31788:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31788:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6022, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31778:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31778:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a20536c6f74287329206e6f7420666f756e642e", - "id": 6030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31826:49:7", - "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": 6015, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "31748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31748:128:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6032, - "nodeType": "ExpressionStatement", - "src": "31748:128:7" - }, - { - "expression": { - "id": 6035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31887:19:7", - "subExpression": { - "expression": { - "id": 6033, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6034, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31899:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "31894:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6036, - "nodeType": "ExpressionStatement", - "src": "31887:19:7" - }, - { - "expression": { - "id": 6039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31916:16:7", - "subExpression": { - "expression": { - "id": 6037, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31923:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6038, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31928:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "31923:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6040, - "nodeType": "ExpressionStatement", - "src": "31916:16:7" - }, - { - "expression": { - "id": 6043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31942:17:7", - "subExpression": { - "expression": { - "id": 6041, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31949:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6042, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31954:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "31949:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6044, - "nodeType": "ExpressionStatement", - "src": "31942:17:7" - }, - { - "expression": { - "id": 6047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31969:18:7", - "subExpression": { - "expression": { - "id": 6045, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31976:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6046, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31981:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "31976:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6048, - "nodeType": "ExpressionStatement", - "src": "31969:18:7" - }, - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6049, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "32005:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6050, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32010:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "32005:10:7", - "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": 6052, - "indexExpression": { - "id": 6051, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "32016:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6054, - "indexExpression": { - "id": 6053, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "32021:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6062, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6058, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "32054:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6059, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "32059:11:7", - "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": 6056, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32037:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32041:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "32037:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32037:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6055, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "32027:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32027:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5628, - "id": 6063, - "nodeType": "Return", - "src": "31998:75:7" - } - ] - }, - "documentation": { - "id": 5621, - "nodeType": "StructuredDocumentation", - "src": "28358:129:7", - "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": "28875:4:7", - "parameters": { - "id": 5625, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5624, - "mutability": "mutable", - "name": "self", - "nameLocation": "28908:4:7", - "nodeType": "VariableDeclaration", - "scope": 6065, - "src": "28889:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 5623, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5622, - "name": "StdStorage", - "nameLocations": [ - "28889:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "28889:10:7" - }, - "referencedDeclaration": 5563, - "src": "28889:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "28879:39:7" - }, - "returnParameters": { - "id": 5628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5627, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6065, - "src": "28953:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5626, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28952:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6085, - "nodeType": "FunctionDefinition", - "src": "32086:156:7", - "body": { - "id": 6084, - "nodeType": "Block", - "src": "32182:60:7", - "statements": [ - { - "expression": { - "id": 6080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6076, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "32192:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32197:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "32192:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6079, - "name": "_target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6070, - "src": "32207:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "32192:22:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6081, - "nodeType": "ExpressionStatement", - "src": "32192:22:7" - }, - { - "expression": { - "id": 6082, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "32231:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6075, - "id": 6083, - "nodeType": "Return", - "src": "32224:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "target", - "nameLocation": "32095:6:7", - "parameters": { - "id": 6071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6068, - "mutability": "mutable", - "name": "self", - "nameLocation": "32121:4:7", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32102:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6067, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6066, - "name": "StdStorage", - "nameLocations": [ - "32102:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32102:10:7" - }, - "referencedDeclaration": 5563, - "src": "32102:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6070, - "mutability": "mutable", - "name": "_target", - "nameLocation": "32135:7:7", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32127:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32127:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32101:42:7" - }, - "returnParameters": { - "id": 6075, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6074, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32162:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6073, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6072, - "name": "StdStorage", - "nameLocations": [ - "32162:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32162:10:7" - }, - "referencedDeclaration": 5563, - "src": "32162:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32161:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6105, - "nodeType": "FunctionDefinition", - "src": "32248:143:7", - "body": { - "id": 6104, - "nodeType": "Block", - "src": "32337:54:7", - "statements": [ - { - "expression": { - "id": 6100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6096, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "32347:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6098, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32352:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "32347:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6099, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6090, - "src": "32359:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "32347:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6101, - "nodeType": "ExpressionStatement", - "src": "32347:16:7" - }, - { - "expression": { - "id": 6102, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "32380:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6095, - "id": 6103, - "nodeType": "Return", - "src": "32373:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "32257:3:7", - "parameters": { - "id": 6091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6088, - "mutability": "mutable", - "name": "self", - "nameLocation": "32280:4:7", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32261:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6087, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6086, - "name": "StdStorage", - "nameLocations": [ - "32261:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32261:10:7" - }, - "referencedDeclaration": 5563, - "src": "32261:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6090, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "32293:4:7", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32286:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6089, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "32286:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "32260:38:7" - }, - "returnParameters": { - "id": 6095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6094, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32317:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6093, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6092, - "name": "StdStorage", - "nameLocations": [ - "32317:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32317:10:7" - }, - "referencedDeclaration": 5563, - "src": "32317:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32316:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6127, - "nodeType": "FunctionDefinition", - "src": "32397:156:7", - "body": { - "id": 6126, - "nodeType": "Block", - "src": "32493:60:7", - "statements": [ - { - "expression": { - "id": 6122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6116, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6108, - "src": "32503:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32508:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "32503:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6120, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6110, - "src": "32520:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 6119, - "name": "sigs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5620, - "src": "32515:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (string memory) pure returns (bytes4)" - } - }, - "id": 6121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32515:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "32503:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6123, - "nodeType": "ExpressionStatement", - "src": "32503:22:7" - }, - { - "expression": { - "id": 6124, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6108, - "src": "32542:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6115, - "id": 6125, - "nodeType": "Return", - "src": "32535:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "32406:3:7", - "parameters": { - "id": 6111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6108, - "mutability": "mutable", - "name": "self", - "nameLocation": "32429:4:7", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32410:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6107, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6106, - "name": "StdStorage", - "nameLocations": [ - "32410:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32410:10:7" - }, - "referencedDeclaration": 5563, - "src": "32410:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6110, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "32449:4:7", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32435:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6109, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32435:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32409:45:7" - }, - "returnParameters": { - "id": 6115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6114, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32473:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6113, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6112, - "name": "StdStorage", - "nameLocations": [ - "32473:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32473:10:7" - }, - "referencedDeclaration": 5563, - "src": "32473:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32472:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6158, - "nodeType": "FunctionDefinition", - "src": "32559:179:7", - "body": { - "id": 6157, - "nodeType": "Block", - "src": "32653:85:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6149, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6132, - "src": "32703:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32695:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6147, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "32695:7:7", - "typeDescriptions": {} - } - }, - "id": 6150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32695:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32687:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6145, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32687:7:7", - "typeDescriptions": {} - } - }, - "id": 6151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32687:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32679:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6143, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32679:7:7", - "typeDescriptions": {} - } - }, - "id": 6152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32679:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6138, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6130, - "src": "32663:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6141, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32668:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "32663:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32674:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "32663:15:7", - "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": 6153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32663:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6154, - "nodeType": "ExpressionStatement", - "src": "32663:47:7" - }, - { - "expression": { - "id": 6155, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6130, - "src": "32727:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6137, - "id": 6156, - "nodeType": "Return", - "src": "32720:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32568:8:7", - "parameters": { - "id": 6133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6130, - "mutability": "mutable", - "name": "self", - "nameLocation": "32596:4:7", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32577:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6129, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6128, - "name": "StdStorage", - "nameLocations": [ - "32577:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32577:10:7" - }, - "referencedDeclaration": 5563, - "src": "32577:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6132, - "mutability": "mutable", - "name": "who", - "nameLocation": "32610:3:7", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32602:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32602:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32576:38:7" - }, - "returnParameters": { - "id": 6137, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6136, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32633:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6135, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6134, - "name": "StdStorage", - "nameLocations": [ - "32633:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32633:10:7" - }, - "referencedDeclaration": 5563, - "src": "32633:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32632:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6183, - "nodeType": "FunctionDefinition", - "src": "32744:161:7", - "body": { - "id": 6182, - "nodeType": "Block", - "src": "32838:67:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6176, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6163, - "src": "32872:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32864:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6174, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32864:7:7", - "typeDescriptions": {} - } - }, - "id": 6177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32864:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6169, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6161, - "src": "32848:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6172, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32853:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "32848:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32859:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "32848:15:7", - "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": 6178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32848:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6179, - "nodeType": "ExpressionStatement", - "src": "32848:29:7" - }, - { - "expression": { - "id": 6180, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6161, - "src": "32894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6168, - "id": 6181, - "nodeType": "Return", - "src": "32887:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32753:8:7", - "parameters": { - "id": 6164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6161, - "mutability": "mutable", - "name": "self", - "nameLocation": "32781:4:7", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32762:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6160, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6159, - "name": "StdStorage", - "nameLocations": [ - "32762:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32762:10:7" - }, - "referencedDeclaration": 5563, - "src": "32762:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6163, - "mutability": "mutable", - "name": "amt", - "nameLocation": "32795:3:7", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32787:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6162, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32787:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32761:38:7" - }, - "returnParameters": { - "id": 6168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6167, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32818:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6166, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6165, - "name": "StdStorage", - "nameLocations": [ - "32818:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32818:10:7" - }, - "referencedDeclaration": 5563, - "src": "32818:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32817:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6205, - "nodeType": "FunctionDefinition", - "src": "32910:152:7", - "body": { - "id": 6204, - "nodeType": "Block", - "src": "33004:58:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6199, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6188, - "src": "33030:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6194, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6186, - "src": "33014:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33019:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "33014:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33025:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "33014:15:7", - "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": 6200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33014:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6201, - "nodeType": "ExpressionStatement", - "src": "33014:20:7" - }, - { - "expression": { - "id": 6202, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6186, - "src": "33051:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6193, - "id": 6203, - "nodeType": "Return", - "src": "33044:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32919:8:7", - "parameters": { - "id": 6189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6186, - "mutability": "mutable", - "name": "self", - "nameLocation": "32947:4:7", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32928:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6185, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6184, - "name": "StdStorage", - "nameLocations": [ - "32928:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32928:10:7" - }, - "referencedDeclaration": 5563, - "src": "32928:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6188, - "mutability": "mutable", - "name": "key", - "nameLocation": "32961:3:7", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32953:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6187, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "32927:38:7" - }, - "returnParameters": { - "id": 6193, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6192, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32984:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6191, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6190, - "name": "StdStorage", - "nameLocations": [ - "32984:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32984:10:7" - }, - "referencedDeclaration": 5563, - "src": "32984:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32983:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6225, - "nodeType": "FunctionDefinition", - "src": "33068:152:7", - "body": { - "id": 6224, - "nodeType": "Block", - "src": "33162:58:7", - "statements": [ - { - "expression": { - "id": 6220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6216, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6208, - "src": "33172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6218, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "33177:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "33172:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6219, - "name": "_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6210, - "src": "33186:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "33172:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6221, - "nodeType": "ExpressionStatement", - "src": "33172:20:7" - }, - { - "expression": { - "id": 6222, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6208, - "src": "33209:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6215, - "id": 6223, - "nodeType": "Return", - "src": "33202:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depth", - "nameLocation": "33077:5:7", - "parameters": { - "id": 6211, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6208, - "mutability": "mutable", - "name": "self", - "nameLocation": "33102:4:7", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33083:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6207, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6206, - "name": "StdStorage", - "nameLocations": [ - "33083:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33083:10:7" - }, - "referencedDeclaration": 5563, - "src": "33083:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6210, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "33116:6:7", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33108:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6209, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33108:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33082:41:7" - }, - "returnParameters": { - "id": 6215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6214, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33142:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6213, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6212, - "name": "StdStorage", - "nameLocations": [ - "33142:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33142:10:7" - }, - "referencedDeclaration": 5563, - "src": "33142:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "33141:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6248, - "nodeType": "FunctionDefinition", - "src": "33226:138:7", - "body": { - "id": 6247, - "nodeType": "Block", - "src": "33296:68:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6234, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6228, - "src": "33320:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6241, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6230, - "src": "33350:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33342:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6239, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "33342:7:7", - "typeDescriptions": {} - } - }, - "id": 6242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33342:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33334:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6237, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33334:7:7", - "typeDescriptions": {} - } - }, - "id": 6243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33334:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33326:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6235, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33326:7:7", - "typeDescriptions": {} - } - }, - "id": 6244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33326:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6233, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33306:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33306:51:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6246, - "nodeType": "ExpressionStatement", - "src": "33306:51:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33235:13:7", - "parameters": { - "id": 6231, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6228, - "mutability": "mutable", - "name": "self", - "nameLocation": "33268:4:7", - "nodeType": "VariableDeclaration", - "scope": 6248, - "src": "33249:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6227, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6226, - "name": "StdStorage", - "nameLocations": [ - "33249:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33249:10:7" - }, - "referencedDeclaration": 5563, - "src": "33249:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6230, - "mutability": "mutable", - "name": "who", - "nameLocation": "33282:3:7", - "nodeType": "VariableDeclaration", - "scope": 6248, - "src": "33274:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33274:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33248:38:7" - }, - "returnParameters": { - "id": 6232, - "nodeType": "ParameterList", - "parameters": [], - "src": "33296:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6265, - "nodeType": "FunctionDefinition", - "src": "33370:120:7", - "body": { - "id": 6264, - "nodeType": "Block", - "src": "33440:50:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6257, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6251, - "src": "33464:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "id": 6260, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6253, - "src": "33478:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33470:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6258, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33470:7:7", - "typeDescriptions": {} - } - }, - "id": 6261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33470:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6256, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33450:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6262, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33450:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6263, - "nodeType": "ExpressionStatement", - "src": "33450:33:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33379:13:7", - "parameters": { - "id": 6254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6251, - "mutability": "mutable", - "name": "self", - "nameLocation": "33412:4:7", - "nodeType": "VariableDeclaration", - "scope": 6265, - "src": "33393:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6250, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6249, - "name": "StdStorage", - "nameLocations": [ - "33393:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33393:10:7" - }, - "referencedDeclaration": 5563, - "src": "33393:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6253, - "mutability": "mutable", - "name": "amt", - "nameLocation": "33426:3:7", - "nodeType": "VariableDeclaration", - "scope": 6265, - "src": "33418:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33418:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33392:38:7" - }, - "returnParameters": { - "id": 6255, - "nodeType": "ParameterList", - "parameters": [], - "src": "33440:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6283, - "nodeType": "FunctionDefinition", - "src": "33496:222:7", - "body": { - "id": 6282, - "nodeType": "Block", - "src": "33565:153:7", - "statements": [ - { - "assignments": [ - 6274 - ], - "declarations": [ - { - "constant": false, - "id": 6274, - "mutability": "mutable", - "name": "t", - "nameLocation": "33583:1:7", - "nodeType": "VariableDeclaration", - "scope": 6282, - "src": "33575:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6273, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33575:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6275, - "nodeType": "VariableDeclarationStatement", - "src": "33575:9:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "33646:34:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "33660:10:7", - "value": { - "name": "write", - "nodeType": "YulIdentifier", - "src": "33665:5:7" - }, - "variableNames": [ - { - "name": "t", - "nodeType": "YulIdentifier", - "src": "33660:1:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 6274, - "isOffset": false, - "isSlot": false, - "src": "33660:1:7", - "valueSize": 1 - }, - { - "declaration": 6270, - "isOffset": false, - "isSlot": false, - "src": "33665:5:7", - "valueSize": 1 - } - ], - "id": 6276, - "nodeType": "InlineAssembly", - "src": "33637:43:7" - }, - { - "expression": { - "arguments": [ - { - "id": 6278, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6268, - "src": "33703:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 6279, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6274, - "src": "33709:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6277, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33689:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33689:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6281, - "nodeType": "ExpressionStatement", - "src": "33689:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33505:13:7", - "parameters": { - "id": 6271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6268, - "mutability": "mutable", - "name": "self", - "nameLocation": "33538:4:7", - "nodeType": "VariableDeclaration", - "scope": 6283, - "src": "33519:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6267, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6266, - "name": "StdStorage", - "nameLocations": [ - "33519:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33519:10:7" - }, - "referencedDeclaration": 5563, - "src": "33519:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6270, - "mutability": "mutable", - "name": "write", - "nameLocation": "33549:5:7", - "nodeType": "VariableDeclaration", - "scope": 6283, - "src": "33544:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6269, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33544:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33518:37:7" - }, - "returnParameters": { - "id": 6272, - "nodeType": "ParameterList", - "parameters": [], - "src": "33565:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6428, - "nodeType": "FunctionDefinition", - "src": "33724:1089:7", - "body": { - "id": 6427, - "nodeType": "Block", - "src": "33816:997:7", - "statements": [ - { - "assignments": [ - 6292 - ], - "declarations": [ - { - "constant": false, - "id": 6292, - "mutability": "mutable", - "name": "who", - "nameLocation": "33834:3:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33826:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33826:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6295, - "initialValue": { - "expression": { - "id": 6293, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33840:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33845:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "33840:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33826:26:7" - }, - { - "assignments": [ - 6297 - ], - "declarations": [ - { - "constant": false, - "id": 6297, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "33869:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33862:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6296, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "33862:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 6300, - "initialValue": { - "expression": { - "id": 6298, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33876:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6299, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33881:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "33876:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33862:23:7" - }, - { - "assignments": [ - 6302 - ], - "declarations": [ - { - "constant": false, - "id": 6302, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "33903:11:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33895:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33895:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6305, - "initialValue": { - "expression": { - "id": 6303, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33917:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6304, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33922:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "33917:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33895:33:7" - }, - { - "assignments": [ - 6310 - ], - "declarations": [ - { - "constant": false, - "id": 6310, - "mutability": "mutable", - "name": "ins", - "nameLocation": "33955:3:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33938:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6308, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33938:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6309, - "nodeType": "ArrayTypeName", - "src": "33938:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 6313, - "initialValue": { - "expression": { - "id": 6311, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33961:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33966:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "33961:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33938:33:7" - }, - { - "assignments": [ - 6315 - ], - "declarations": [ - { - "constant": false, - "id": 6315, - "mutability": "mutable", - "name": "cald", - "nameLocation": "33995:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33982:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6314, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "33982:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6323, - "initialValue": { - "arguments": [ - { - "id": 6318, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34019:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 6320, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34033:3:7", - "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": 6319, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6664, - "src": "34025:7:7", - "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": 6321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34025:12:7", - "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": 6316, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34002:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34006:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34002:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34002:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33982:56:7" - }, - { - "condition": { - "id": 6338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "34052:69:7", - "subExpression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6324, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34053:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6325, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34058:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "34053:10:7", - "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": 6327, - "indexExpression": { - "id": 6326, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34064:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6329, - "indexExpression": { - "id": 6328, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34069:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6337, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6333, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34102:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6334, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34107:11:7", - "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": 6331, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34085:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34089:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34085:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34085:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6330, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "34075:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34075:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6344, - "nodeType": "IfStatement", - "src": "34048:110:7", - "trueBody": { - "id": 6343, - "nodeType": "Block", - "src": "34123:35:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6340, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34142:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6339, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6065, - "src": "34137:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 6341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34137:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6342, - "nodeType": "ExpressionStatement", - "src": "34137:10:7" - } - ] - } - }, - { - "assignments": [ - 6346 - ], - "declarations": [ - { - "constant": false, - "id": 6346, - "mutability": "mutable", - "name": "slot", - "nameLocation": "34175:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34167:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6345, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34167:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6364, - "initialValue": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6349, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34190:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6350, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34195:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "34190:10:7", - "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": 6352, - "indexExpression": { - "id": 6351, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34201:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6354, - "indexExpression": { - "id": 6353, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34206:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6362, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6358, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34239:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6359, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34244:11:7", - "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": 6356, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34222:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34226:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34222:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34222:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6355, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "34212:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34212:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "34182:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6347, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34182:7:7", - "typeDescriptions": {} - } - }, - "id": 6363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34182:77:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34167:92:7" - }, - { - "assignments": [ - 6366 - ], - "declarations": [ - { - "constant": false, - "id": 6366, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "34278:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34270:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6365, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34270:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6367, - "nodeType": "VariableDeclarationStatement", - "src": "34270:12:7" - }, - { - "id": 6384, - "nodeType": "Block", - "src": "34292:126:7", - "statements": [ - { - "assignments": [ - null, - 6369 - ], - "declarations": [ - null, - { - "constant": false, - "id": 6369, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "34322:4:7", - "nodeType": "VariableDeclaration", - "scope": 6384, - "src": "34309:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6368, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "34309:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6374, - "initialValue": { - "arguments": [ - { - "id": 6372, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6315, - "src": "34345:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6370, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34330:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34334:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "34330:14:7", - "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": 6373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34330:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34306:44:7" - }, - { - "expression": { - "id": 6382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6375, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6366, - "src": "34364:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6377, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6369, - "src": "34386:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 6378, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34392:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 6379, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34395:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "34392:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6376, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "34371:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 6381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34371:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "34364:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6383, - "nodeType": "ExpressionStatement", - "src": "34364:43:7" - } - ] - }, - { - "assignments": [ - 6386 - ], - "declarations": [ - { - "constant": false, - "id": 6386, - "mutability": "mutable", - "name": "curr", - "nameLocation": "34435:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34427:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6385, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34427:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6392, - "initialValue": { - "arguments": [ - { - "id": 6389, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34460:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6390, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "34465:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6387, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34442:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34455:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "34442:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 6391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34442:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34427:43:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6393, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6366, - "src": "34485:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 6394, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6386, - "src": "34493:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "34485:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6402, - "nodeType": "IfStatement", - "src": "34481:172:7", - "trueBody": { - "id": 6401, - "nodeType": "Block", - "src": "34499:154:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34521:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 6398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34528:113:7", - "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": 6396, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "34513:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34513:129:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6400, - "nodeType": "ExpressionStatement", - "src": "34513:129:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 6406, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34681:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6407, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "34686:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6408, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6288, - "src": "34692:3:7", - "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": 6403, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34662:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34675:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "34662:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34662:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6410, - "nodeType": "ExpressionStatement", - "src": "34662:34:7" - }, - { - "expression": { - "id": 6413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34706:19:7", - "subExpression": { - "expression": { - "id": 6411, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34713:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34718:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "34713:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6414, - "nodeType": "ExpressionStatement", - "src": "34706:19:7" - }, - { - "expression": { - "id": 6417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34735:16:7", - "subExpression": { - "expression": { - "id": 6415, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34742:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34747:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "34742:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6418, - "nodeType": "ExpressionStatement", - "src": "34735:16:7" - }, - { - "expression": { - "id": 6421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34761:17:7", - "subExpression": { - "expression": { - "id": 6419, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34768:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34773:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "34768:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6422, - "nodeType": "ExpressionStatement", - "src": "34761:17:7" - }, - { - "expression": { - "id": 6425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34788:18:7", - "subExpression": { - "expression": { - "id": 6423, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34795:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6424, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34800:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "34795:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6426, - "nodeType": "ExpressionStatement", - "src": "34788:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33733:13:7", - "parameters": { - "id": 6289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6286, - "mutability": "mutable", - "name": "self", - "nameLocation": "33775:4:7", - "nodeType": "VariableDeclaration", - "scope": 6428, - "src": "33756:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6284, - "name": "StdStorage", - "nameLocations": [ - "33756:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33756:10:7" - }, - "referencedDeclaration": 5563, - "src": "33756:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6288, - "mutability": "mutable", - "name": "set", - "nameLocation": "33797:3:7", - "nodeType": "VariableDeclaration", - "scope": 6428, - "src": "33789:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6287, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33789:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "33746:60:7" - }, - "returnParameters": { - "id": 6290, - "nodeType": "ParameterList", - "parameters": [], - "src": "33816:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6460, - "nodeType": "FunctionDefinition", - "src": "34819:204:7", - "body": { - "id": 6459, - "nodeType": "Block", - "src": "34889:134:7", - "statements": [ - { - "assignments": [ - 6437 - ], - "declarations": [ - { - "constant": false, - "id": 6437, - "mutability": "mutable", - "name": "t", - "nameLocation": "34907:1:7", - "nodeType": "VariableDeclaration", - "scope": 6459, - "src": "34899:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6436, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34899:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6440, - "initialValue": { - "expression": { - "id": 6438, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6431, - "src": "34911:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34916:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "34911:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34899:24:7" - }, - { - "assignments": [ - 6442 - ], - "declarations": [ - { - "constant": false, - "id": 6442, - "mutability": "mutable", - "name": "s", - "nameLocation": "34941:1:7", - "nodeType": "VariableDeclaration", - "scope": 6459, - "src": "34933:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6441, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34933:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6446, - "initialValue": { - "arguments": [ - { - "id": 6444, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6431, - "src": "34950:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6443, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6065, - "src": "34945:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 6445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34945:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34933:22:7" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6451, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6437, - "src": "35001:1:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 6454, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6442, - "src": "35012:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35004:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35004:7:7", - "typeDescriptions": {} - } - }, - "id": 6455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35004:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6449, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34983:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34996:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "34983:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 6456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34983:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6447, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34972:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34976:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "34972:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34972:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 6435, - "id": 6458, - "nodeType": "Return", - "src": "34965:51:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read", - "nameLocation": "34828:4:7", - "parameters": { - "id": 6432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6431, - "mutability": "mutable", - "name": "self", - "nameLocation": "34852:4:7", - "nodeType": "VariableDeclaration", - "scope": 6460, - "src": "34833:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6430, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6429, - "name": "StdStorage", - "nameLocations": [ - "34833:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "34833:10:7" - }, - "referencedDeclaration": 5563, - "src": "34833:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "34832:25:7" - }, - "returnParameters": { - "id": 6435, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6434, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6460, - "src": "34875:12:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6433, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "34875:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "34874:14:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 6479, - "nodeType": "FunctionDefinition", - "src": "35029:131:7", - "body": { - "id": 6478, - "nodeType": "Block", - "src": "35103:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6471, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6463, - "src": "35136:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6470, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35131:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35131:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6474, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35144:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6473, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35144:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6475, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35143:9:7", - "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": 6468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35120:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35124:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35120:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35120:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6467, - "id": 6477, - "nodeType": "Return", - "src": "35113:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bytes32", - "nameLocation": "35038:12:7", - "parameters": { - "id": 6464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6463, - "mutability": "mutable", - "name": "self", - "nameLocation": "35070:4:7", - "nodeType": "VariableDeclaration", - "scope": 6479, - "src": "35051:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6462, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6461, - "name": "StdStorage", - "nameLocations": [ - "35051:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35051:10:7" - }, - "referencedDeclaration": 5563, - "src": "35051:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35050:25:7" - }, - "returnParameters": { - "id": 6467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6466, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6479, - "src": "35094:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6465, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35094:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "35093:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6510, - "nodeType": "FunctionDefinition", - "src": "35167:279:7", - "body": { - "id": 6509, - "nodeType": "Block", - "src": "35235:211:7", - "statements": [ - { - "assignments": [ - 6488 - ], - "declarations": [ - { - "constant": false, - "id": 6488, - "mutability": "mutable", - "name": "v", - "nameLocation": "35252:1:7", - "nodeType": "VariableDeclaration", - "scope": 6509, - "src": "35245:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6487, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35245:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "id": 6492, - "initialValue": { - "arguments": [ - { - "id": 6490, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6482, - "src": "35265:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6489, - "name": "read_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6567, - "src": "35256:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_int256_$", - "typeString": "function (struct StdStorage storage pointer) returns (int256)" - } - }, - "id": 6491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35256:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "35245:25:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6493, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6488, - "src": "35284:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 6494, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35289:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "35284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6498, - "nodeType": "IfStatement", - "src": "35280:24:7", - "trueBody": { - "expression": { - "hexValue": "66616c7365", - "id": 6496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35299:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 6486, - "id": 6497, - "nodeType": "Return", - "src": "35292:12:7" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6499, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6488, - "src": "35318:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 6500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35323:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "35318:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6504, - "nodeType": "IfStatement", - "src": "35314:23:7", - "trueBody": { - "expression": { - "hexValue": "74727565", - "id": 6502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35333:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 6486, - "id": 6503, - "nodeType": "Return", - "src": "35326:11:7" - } - }, - { - "expression": { - "arguments": [ - { - "hexValue": "73746453746f7261676520726561645f626f6f6c2853746453746f72616765293a2043616e6e6f74206465636f64652e204d616b65207375726520796f75206172652072656164696e67206120626f6f6c2e", - "id": 6506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35354:84:7", - "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": 6505, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "35347:6:7", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 6507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35347:92:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6508, - "nodeType": "ExpressionStatement", - "src": "35347:92:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bool", - "nameLocation": "35176:9:7", - "parameters": { - "id": 6483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6482, - "mutability": "mutable", - "name": "self", - "nameLocation": "35205:4:7", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "35186:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6481, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6480, - "name": "StdStorage", - "nameLocations": [ - "35186:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35186:10:7" - }, - "referencedDeclaration": 5563, - "src": "35186:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35185:25:7" - }, - "returnParameters": { - "id": 6486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6485, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "35229:4:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6484, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35229:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35228:6:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6529, - "nodeType": "FunctionDefinition", - "src": "35452:131:7", - "body": { - "id": 6528, - "nodeType": "Block", - "src": "35526:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6521, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6513, - "src": "35559:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6520, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35554:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35554:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35567:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6523, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35567:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6525, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35566:9:7", - "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": 6518, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35543:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35547:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35543:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35543:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 6517, - "id": 6527, - "nodeType": "Return", - "src": "35536:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_address", - "nameLocation": "35461:12:7", - "parameters": { - "id": 6514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6513, - "mutability": "mutable", - "name": "self", - "nameLocation": "35493:4:7", - "nodeType": "VariableDeclaration", - "scope": 6529, - "src": "35474:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6512, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6511, - "name": "StdStorage", - "nameLocations": [ - "35474:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35474:10:7" - }, - "referencedDeclaration": 5563, - "src": "35474:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35473:25:7" - }, - "returnParameters": { - "id": 6517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6516, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6529, - "src": "35517:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35517:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35516:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6548, - "nodeType": "FunctionDefinition", - "src": "35589:128:7", - "body": { - "id": 6547, - "nodeType": "Block", - "src": "35660:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6540, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6532, - "src": "35693:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6539, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35688:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35688:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35701:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6542, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35701:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6544, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35700:9:7", - "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": 6537, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35677:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35681:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35677:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35677:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6536, - "id": 6546, - "nodeType": "Return", - "src": "35670:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_uint", - "nameLocation": "35598:9:7", - "parameters": { - "id": 6533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6532, - "mutability": "mutable", - "name": "self", - "nameLocation": "35627:4:7", - "nodeType": "VariableDeclaration", - "scope": 6548, - "src": "35608:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6531, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6530, - "name": "StdStorage", - "nameLocations": [ - "35608:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35608:10:7" - }, - "referencedDeclaration": 5563, - "src": "35608:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35607:25:7" - }, - "returnParameters": { - "id": 6536, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6535, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6548, - "src": "35651:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6534, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35651:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35650:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6567, - "nodeType": "FunctionDefinition", - "src": "35723:125:7", - "body": { - "id": 6566, - "nodeType": "Block", - "src": "35792:56:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6559, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6551, - "src": "35825:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6558, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35820:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35820:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35833:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 6561, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35833:6:7", - "typeDescriptions": {} - } - } - ], - "id": 6563, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35832:8:7", - "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": 6556, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35809:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35813:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35809:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35809:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 6555, - "id": 6565, - "nodeType": "Return", - "src": "35802:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_int", - "nameLocation": "35732:8:7", - "parameters": { - "id": 6552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6551, - "mutability": "mutable", - "name": "self", - "nameLocation": "35760:4:7", - "nodeType": "VariableDeclaration", - "scope": 6567, - "src": "35741:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6550, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6549, - "name": "StdStorage", - "nameLocations": [ - "35741:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35741:10:7" - }, - "referencedDeclaration": 5563, - "src": "35741:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35740:25:7" - }, - "returnParameters": { - "id": 6555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6554, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6567, - "src": "35784:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6553, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35784:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "35783:8:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6623, - "nodeType": "FunctionDefinition", - "src": "35854:297:7", - "body": { - "id": 6622, - "nodeType": "Block", - "src": "35937:214:7", - "statements": [ - { - "assignments": [ - 6577 - ], - "declarations": [ - { - "constant": false, - "id": 6577, - "mutability": "mutable", - "name": "out", - "nameLocation": "35955:3:7", - "nodeType": "VariableDeclaration", - "scope": 6622, - "src": "35947:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6576, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35947:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6578, - "nodeType": "VariableDeclarationStatement", - "src": "35947:11:7" - }, - { - "assignments": [ - 6580 - ], - "declarations": [ - { - "constant": false, - "id": 6580, - "mutability": "mutable", - "name": "max", - "nameLocation": "35977:3:7", - "nodeType": "VariableDeclaration", - "scope": 6622, - "src": "35969:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35969:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6589, - "initialValue": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6581, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "35983:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "35985:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "35983:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "3332", - "id": 6583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35994:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "35983:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "id": 6586, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "36004:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36006:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36004:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "35983:29:7", - "trueExpression": { - "hexValue": "3332", - "id": 6585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35999:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "35969:43:7" - }, - { - "body": { - "id": 6618, - "nodeType": "Block", - "src": "36053:72:7", - "statements": [ - { - "expression": { - "id": 6616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6600, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6577, - "src": "36067:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 6609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 6603, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "36082:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6607, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6604, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6571, - "src": "36084:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 6605, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36093:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36084:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "36082:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "30784646", - "id": 6608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36098:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xFF" - }, - "src": "36082:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 6602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "36074:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6601, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36074:7:7", - "typeDescriptions": {} - } - }, - "id": 6610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36074:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36108:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 6612, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36112:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "36108:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 6614, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "36107:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36074:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "36067:47:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6617, - "nodeType": "ExpressionStatement", - "src": "36067:47:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6594, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36039:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 6595, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6580, - "src": "36043:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36039:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6619, - "initializationExpression": { - "assignments": [ - 6591 - ], - "declarations": [ - { - "constant": false, - "id": 6591, - "mutability": "mutable", - "name": "i", - "nameLocation": "36032:1:7", - "nodeType": "VariableDeclaration", - "scope": 6619, - "src": "36027:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6590, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36027:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6593, - "initialValue": { - "hexValue": "30", - "id": 6592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36036:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "36027:10:7" - }, - "loopExpression": { - "expression": { - "id": 6598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "36048:3:7", - "subExpression": { - "id": 6597, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36048:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6599, - "nodeType": "ExpressionStatement", - "src": "36048:3:7" - }, - "nodeType": "ForStatement", - "src": "36022:103:7" - }, - { - "expression": { - "id": 6620, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6577, - "src": "36141:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6575, - "id": 6621, - "nodeType": "Return", - "src": "36134:10:7" - } - ] - }, - "functionSelector": "53584939", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToBytes32", - "nameLocation": "35863:14:7", - "parameters": { - "id": 6572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6569, - "mutability": "mutable", - "name": "b", - "nameLocation": "35891:1:7", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35878:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6568, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "35878:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6571, - "mutability": "mutable", - "name": "offset", - "nameLocation": "35899:6:7", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35894:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "35894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35877:29:7" - }, - "returnParameters": { - "id": 6575, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6574, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35928:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6573, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35928:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "35927:9:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 6664, - "nodeType": "FunctionDefinition", - "src": "36157:397:7", - "body": { - "id": 6663, - "nodeType": "Block", - "src": "36234:320:7", - "statements": [ - { - "assignments": [ - 6632 - ], - "declarations": [ - { - "constant": false, - "id": 6632, - "mutability": "mutable", - "name": "result", - "nameLocation": "36257:6:7", - "nodeType": "VariableDeclaration", - "scope": 6663, - "src": "36244:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6631, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36244:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6640, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6635, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36276:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36278:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36276:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "3332", - "id": 6637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36287:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "36276:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "36266:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 6633, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36270:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 6639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36266:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "36244:46:7" - }, - { - "body": { - "id": 6659, - "nodeType": "Block", - "src": "36339:185:7", - "statements": [ - { - "assignments": [ - 6653 - ], - "declarations": [ - { - "constant": false, - "id": 6653, - "mutability": "mutable", - "name": "k", - "nameLocation": "36361:1:7", - "nodeType": "VariableDeclaration", - "scope": 6659, - "src": "36353:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6652, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36353:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6657, - "initialValue": { - "baseExpression": { - "id": 6654, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36365:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6656, - "indexExpression": { - "id": 6655, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36367:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "36365:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "36353:16:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "36439:75:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "36468:6:7" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "36480:2:7", - "type": "", - "value": "32" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "36488:2:7", - "type": "", - "value": "32" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "36492:1:7" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "36484:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36484:10:7" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "36476:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36476:19:7" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "36464:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36464:32:7" - }, - { - "name": "k", - "nodeType": "YulIdentifier", - "src": "36498:1:7" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "36457:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "36457:43:7" - }, - "nodeType": "YulExpressionStatement", - "src": "36457:43:7" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 6642, - "isOffset": false, - "isSlot": false, - "src": "36492:1:7", - "valueSize": 1 - }, - { - "declaration": 6653, - "isOffset": false, - "isSlot": false, - "src": "36498:1:7", - "valueSize": 1 - }, - { - "declaration": 6632, - "isOffset": false, - "isSlot": false, - "src": "36468:6:7", - "valueSize": 1 - } - ], - "id": 6658, - "nodeType": "InlineAssembly", - "src": "36430:84:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6645, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36320:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 6646, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36324:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36326:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36324:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36320:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6660, - "initializationExpression": { - "assignments": [ - 6642 - ], - "declarations": [ - { - "constant": false, - "id": 6642, - "mutability": "mutable", - "name": "i", - "nameLocation": "36313:1:7", - "nodeType": "VariableDeclaration", - "scope": 6660, - "src": "36305:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6641, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36305:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6644, - "initialValue": { - "hexValue": "30", - "id": 6643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36317:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "36305:13:7" - }, - "loopExpression": { - "expression": { - "id": 6650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "36334:3:7", - "subExpression": { - "id": 6649, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36334:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6651, - "nodeType": "ExpressionStatement", - "src": "36334:3:7" - }, - "nodeType": "ForStatement", - "src": "36300:224:7" - }, - { - "expression": { - "id": 6661, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6632, - "src": "36541:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 6630, - "id": 6662, - "nodeType": "Return", - "src": "36534:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "flatten", - "nameLocation": "36166:7:7", - "parameters": { - "id": 6627, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6626, - "mutability": "mutable", - "name": "b", - "nameLocation": "36191:1:7", - "nodeType": "VariableDeclaration", - "scope": 6664, - "src": "36174:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6624, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36174:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6625, - "nodeType": "ArrayTypeName", - "src": "36174:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "36173:20:7" - }, - "returnParameters": { - "id": 6630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6629, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6664, - "src": "36216:12:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6628, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36216:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "36215:14:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdStorage", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6665 - ], - "name": "stdStorage", - "nameLocation": "27692:10:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 6804, - "nodeType": "ContractDefinition", - "src": "36758:1306:7", - "nodes": [ - { - "id": 6669, - "nodeType": "VariableDeclaration", - "src": "36780:115:7", - "constant": true, - "mutability": "constant", - "name": "INT256_MIN", - "nameLocation": "36804:10:7", - "scope": 6804, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6666, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "36780:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "id": 6668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "36817:78:7", - "subExpression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6667, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36818:77:7", - "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": 6694, - "nodeType": "FunctionDefinition", - "src": "36902:294:7", - "body": { - "id": 6693, - "nodeType": "Block", - "src": "36957:239:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6676, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37035:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 6677, - "name": "INT256_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6669, - "src": "37040:10:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "37035:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6681, - "nodeType": "IfStatement", - "src": "37031:117:7", - "trueBody": { - "expression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37071:77:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9968" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819968" - }, - "functionReturnParameters": 6675, - "id": 6680, - "nodeType": "Return", - "src": "37064:84:7" - } - }, - { - "expression": { - "arguments": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6684, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37174:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 6685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37178:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "37174:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 6689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "37186:2:7", - "subExpression": { - "id": 6688, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37187:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 6690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "37174:14:7", - "trueExpression": { - "id": 6687, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37182:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "37166:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6682, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37166:7:7", - "typeDescriptions": {} - } - }, - "id": 6691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37166:23:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6675, - "id": 6692, - "nodeType": "Return", - "src": "37159:30:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "abs", - "nameLocation": "36911:3:7", - "parameters": { - "id": 6672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6671, - "mutability": "mutable", - "name": "a", - "nameLocation": "36922:1:7", - "nodeType": "VariableDeclaration", - "scope": 6694, - "src": "36915:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6670, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "36915:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "36914:10:7" - }, - "returnParameters": { - "id": 6675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6674, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6694, - "src": "36948:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6673, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36948:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36947:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6715, - "nodeType": "FunctionDefinition", - "src": "37202:138:7", - "body": { - "id": 6714, - "nodeType": "Block", - "src": "37271:69:7", - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6703, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6704, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37292:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37288:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6709, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37328:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6710, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37332:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37328:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "37288:45:7", - "trueExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6706, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37308:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6707, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37312:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37308:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6702, - "id": 6713, - "nodeType": "Return", - "src": "37281:52:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "37211:5:7", - "parameters": { - "id": 6699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6696, - "mutability": "mutable", - "name": "a", - "nameLocation": "37225:1:7", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37217:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6695, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37217:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6698, - "mutability": "mutable", - "name": "b", - "nameLocation": "37236:1:7", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37228:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6697, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37228:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37216:22:7" - }, - "returnParameters": { - "id": 6702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6701, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37262:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6700, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37262:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37261:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6751, - "nodeType": "FunctionDefinition", - "src": "37346:352:7", - "body": { - "id": 6750, - "nodeType": "Block", - "src": "37413:285:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6724, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37552:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "id": 6725, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37556:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "37552:5:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "id": 6727, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "37551:7:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "37561:2:7", - "subExpression": { - "hexValue": "31", - "id": 6728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37562:1:7", - "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": "37551:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6741, - "nodeType": "IfStatement", - "src": "37547:71:7", - "trueBody": { - "id": 6740, - "nodeType": "Block", - "src": "37565:53:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6733, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37596:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6732, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37592:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37592:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 6736, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37604:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6735, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37600:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37600:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6731, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6715, - "src": "37586:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37586:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6723, - "id": 6739, - "nodeType": "Return", - "src": "37579:28:7" - } - ] - } - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 6743, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37680:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6742, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37676:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37676:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "arguments": [ - { - "id": 6746, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37689:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6745, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37685:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37685:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37676:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6723, - "id": 6749, - "nodeType": "Return", - "src": "37669:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "37355:5:7", - "parameters": { - "id": 6720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6717, - "mutability": "mutable", - "name": "a", - "nameLocation": "37368:1:7", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37361:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6716, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37361:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6719, - "mutability": "mutable", - "name": "b", - "nameLocation": "37378:1:7", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37371:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6718, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37371:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "37360:20:7" - }, - "returnParameters": { - "id": 6723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6722, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37404:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6721, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37404:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37403:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6774, - "nodeType": "FunctionDefinition", - "src": "37704:160:7", - "body": { - "id": 6773, - "nodeType": "Block", - "src": "37780:84:7", - "statements": [ - { - "assignments": [ - 6761 - ], - "declarations": [ - { - "constant": false, - "id": 6761, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "37798:8:7", - "nodeType": "VariableDeclaration", - "scope": 6773, - "src": "37790:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6760, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6766, - "initialValue": { - "arguments": [ - { - "id": 6763, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6753, - "src": "37815:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6764, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6755, - "src": "37818:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6762, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6715, - "src": "37809:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37809:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37790:30:7" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6767, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6761, - "src": "37838:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37849:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "37838:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6770, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6755, - "src": "37856:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37838:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6759, - "id": 6772, - "nodeType": "Return", - "src": "37831:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "37713:12:7", - "parameters": { - "id": 6756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6753, - "mutability": "mutable", - "name": "a", - "nameLocation": "37734:1:7", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37726:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37726:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6755, - "mutability": "mutable", - "name": "b", - "nameLocation": "37745:1:7", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37737:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6754, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37737:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37725:22:7" - }, - "returnParameters": { - "id": 6759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6758, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37771:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6757, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37771:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37770:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6803, - "nodeType": "FunctionDefinition", - "src": "37870:192:7", - "body": { - "id": 6802, - "nodeType": "Block", - "src": "37944:118:7", - "statements": [ - { - "assignments": [ - 6784 - ], - "declarations": [ - { - "constant": false, - "id": 6784, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "37962:8:7", - "nodeType": "VariableDeclaration", - "scope": 6802, - "src": "37954:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37954:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6789, - "initialValue": { - "arguments": [ - { - "id": 6786, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6776, - "src": "37979:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 6787, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6778, - "src": "37982:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6785, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6751, - "src": "37973:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37973:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37954:30:7" - }, - { - "assignments": [ - 6791 - ], - "declarations": [ - { - "constant": false, - "id": 6791, - "mutability": "mutable", - "name": "absB", - "nameLocation": "38002:4:7", - "nodeType": "VariableDeclaration", - "scope": 6802, - "src": "37994:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6790, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37994:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6795, - "initialValue": { - "arguments": [ - { - "id": 6793, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6778, - "src": "38013:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6792, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "38009:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38009:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37994:21:7" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6796, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6784, - "src": "38033:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38044:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "38033:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6799, - "name": "absB", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6791, - "src": "38051:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "38033:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6782, - "id": 6801, - "nodeType": "Return", - "src": "38026:29:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "37879:12:7", - "parameters": { - "id": 6779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6776, - "mutability": "mutable", - "name": "a", - "nameLocation": "37899:1:7", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37892:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6775, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37892:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6778, - "mutability": "mutable", - "name": "b", - "nameLocation": "37909:1:7", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37902:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6777, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37902:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "37891:20:7" - }, - "returnParameters": { - "id": 6782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6781, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37935:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6780, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37935:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37934:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdMath", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6804 - ], - "name": "stdMath", - "nameLocation": "36766:7:7", - "scope": 6805, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 7 -} \ No newline at end of file +{"abi":[{"type":"function","name":"arithmeticError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"assertionError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"divisionError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"encodeStorageError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"enumConversionError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"indexOOBError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"lowLevelError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"memOverflowError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"popError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"zeroVarError","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"}],"bytecode":{"object":"0x61027161003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100a85760003560e01c8063ac3d92c611610070578063ac3d92c6146100eb578063b22dc54d14610101578063b67689da14610109578063d160e4de14610111578063fa784a441461011957600080fd5b806305ee8612146100ad57806310332977146100cb5780631de45560146100d35780638995290f146100db578063986c5f68146100e3575b600080fd5b6100b5610121565b6040516100c291906101ec565b60405180910390f35b6100b561015c565b6100b561016e565b6100b5610180565b6100b5610192565b6100b56040518060200160405280600081525081565b6100b56101a4565b6100b56101b6565b6100b56101c8565b6100b56101da565b604051603260248201526044015b60408051601f198184030181529190526020810180516001600160e01b0316634e487b7160e01b17905281565b6040516001602482015260440161012f565b6040516021602482015260440161012f565b6040516011602482015260440161012f565b6040516041602482015260440161012f565b6040516031602482015260440161012f565b6040516051602482015260440161012f565b6040516022602482015260440161012f565b6040516012602482015260440161012f565b60006020808352835180602085015260005b8181101561021a578581018301518582016040015282016101fe565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212206a42568fca0a057281481355029e67065f491a15f5eb322ce13382fc2d34af6f64736f6c63430008170033","sourceMap":"26222:984:7:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;26222:984:7;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600436106100a85760003560e01c8063ac3d92c611610070578063ac3d92c6146100eb578063b22dc54d14610101578063b67689da14610109578063d160e4de14610111578063fa784a441461011957600080fd5b806305ee8612146100ad57806310332977146100cb5780631de45560146100d35780638995290f146100db578063986c5f68146100e3575b600080fd5b6100b5610121565b6040516100c291906101ec565b60405180910390f35b6100b561015c565b6100b561016e565b6100b5610180565b6100b5610192565b6100b56040518060200160405280600081525081565b6100b56101a4565b6100b56101b6565b6100b56101c8565b6100b56101da565b604051603260248201526044015b60408051601f198184030181529190526020810180516001600160e01b0316634e487b7160e01b17905281565b6040516001602482015260440161012f565b6040516021602482015260440161012f565b6040516011602482015260440161012f565b6040516041602482015260440161012f565b6040516031602482015260440161012f565b6040516051602482015260440161012f565b6040516022602482015260440161012f565b6040516012602482015260440161012f565b60006020808352835180602085015260005b8181101561021a578581018301518582016040015282016101fe565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212206a42568fca0a057281481355029e67065f491a15f5eb322ce13382fc2d34af6f64736f6c63430008170033","sourceMap":"26222:984:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26800:85;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26245:86;;;:::i;26521:91::-;;;:::i;26337:87::-;;;:::i;26891:88::-;;;:::i;27148:47::-;;27186:9;;;;;;;;;;;;27148:47;;26714:80;;;:::i;26985:84::-;;;:::i;26618:90::-;;;:::i;26430:85::-;;;:::i;26800:::-;26838:47;;26880:4;26838:47;;;726:36:44;699:18;;26838:47:7;;;;-1:-1:-1;;26838:47:7;;;;;;;;;;;;;;-1:-1:-1;;;;;26838:47:7;-1:-1:-1;;;26838:47:7;;;26800:85;:::o;26245:86::-;26284:47;;26326:4;26284:47;;;726:36:44;699:18;;26284:47:7;573:195:44;26521:91:7;26565:47;;26607:4;26565:47;;;726:36:44;699:18;;26565:47:7;573:195:44;26337:87:7;26377:47;;26419:4;26377:47;;;726:36:44;699:18;;26377:47:7;573:195:44;26891:88:7;26932:47;;26974:4;26932:47;;;726:36:44;699:18;;26932:47:7;573:195:44;26714:80:7;26747:47;;26789:4;26747:47;;;726:36:44;699:18;;26747:47:7;573:195:44;26985:84:7;27022:47;;27064:4;27022:47;;;726:36:44;699:18;;27022:47:7;573:195:44;26618:90:7;26661:47;;26703:4;26661:47;;;726:36:44;699:18;;26661:47:7;573:195:44;26430:85:7;26468:47;;26510:4;26468:47;;;726:36:44;699:18;;26468:47:7;573:195:44;14:554;132:4;161:2;190;179:9;172:21;222:6;216:13;265:6;260:2;249:9;245:18;238:34;290:1;300:140;314:6;311:1;308:13;300:140;;;409:14;;;405:23;;399:30;375:17;;;394:2;371:26;364:66;329:10;;300:140;;;304:3;489:1;484:2;475:6;464:9;460:22;456:31;449:42;559:2;552;548:7;543:2;535:6;531:15;527:29;516:9;512:45;508:54;500:62;;;;14:554;;;;:::o","linkReferences":{}},"methodIdentifiers":{"arithmeticError()":"8995290f","assertionError()":"10332977","divisionError()":"fa784a44","encodeStorageError()":"d160e4de","enumConversionError()":"1de45560","indexOOBError()":"05ee8612","lowLevelError()":"ac3d92c6","memOverflowError()":"986c5f68","popError()":"b22dc54d","zeroVarError()":"b67689da"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"lowLevelError\",\"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/Test.sol\":\"stdError\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"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":"lowLevelError","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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/Test.sol":"stdError"},"evmVersion":"paris","libraries":{}},"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/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Test.sol":{"keccak256":"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b","urls":["bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2","dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"}},"version":1},"id":7} \ No newline at end of file diff --git a/out/Test.sol/stdMath.json b/out/Test.sol/stdMath.json index 6fa0fa2..792cb2b 100644 --- a/out/Test.sol/stdMath.json +++ b/out/Test.sol/stdMath.json @@ -1,51590 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220977d6cf3ad8124223850574c5581de37349f5be910edf78dac7f4cad0932d24864736f6c63430008100033", - "sourceMap": "36758:1306:7:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;36758:1306:7;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220977d6cf3ad8124223850574c5581de37349f5be910edf78dac7f4cad0932d24864736f6c63430008100033", - "sourceMap": "36758:1306:7:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"stdMath\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Test.sol": "stdMath" - }, - "libraries": {} - }, - "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/Script.sol": { - "keccak256": "0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00", - "urls": [ - "bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b", - "dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b", - "urls": [ - "bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2", - "dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "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": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Test.sol", - "id": 6805, - "exportedSymbols": { - "DSTest": [ - 2272 - ], - "Script": [ - 2535 - ], - "StdStorage": [ - 5563 - ], - "Test": [ - 5465 - ], - "Vm": [ - 7558 - ], - "console": [ - 15622 - ], - "console2": [ - 23686 - ], - "stdError": [ - 5535 - ], - "stdJson": [ - 2895 - ], - "stdMath": [ - 6804 - ], - "stdStorage": [ - 6665 - ] - }, - "nodeType": "SourceUnit", - "src": "32:38033:7", - "nodes": [ - { - "id": 2897, - "nodeType": "PragmaDirective", - "src": "32:31:7", - "literals": [ - "solidity", - ">=", - "0.6", - ".0", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2898, - "nodeType": "PragmaDirective", - "src": "64:33:7", - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 2899, - "nodeType": "ImportDirective", - "src": "99:22:7", - "absolutePath": "lib/forge-std/src/Script.sol", - "file": "./Script.sol", - "nameLocation": "-1:-1:-1", - "scope": 6805, - "sourceUnit": 2536, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2900, - "nodeType": "ImportDirective", - "src": "122:26:7", - "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", - "file": "ds-test/test.sol", - "nameLocation": "-1:-1:-1", - "scope": 6805, - "sourceUnit": 2273, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 5465, - "nodeType": "ContractDefinition", - "src": "198:25824:7", - "nodes": [ - { - "id": 2908, - "nodeType": "UsingForDirective", - "src": "245:32:7", - "global": false, - "libraryName": { - "id": 2905, - "name": "stdStorage", - "nameLocations": [ - "251:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6665, - "src": "251:10:7" - }, - "typeName": { - "id": 2907, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2906, - "name": "StdStorage", - "nameLocations": [ - "266:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "266:10:7" - }, - "referencedDeclaration": 5563, - "src": "266:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - } - }, - { - "id": 2911, - "nodeType": "VariableDeclaration", - "src": "283:126:7", - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "309:11:7", - "scope": 5465, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2909, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "283:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 2910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "331:78:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "internal" - }, - { - "id": 2914, - "nodeType": "VariableDeclaration", - "src": "416:28:7", - "constant": false, - "mutability": "mutable", - "name": "stdstore", - "nameLocation": "436:8:7", - "scope": 5465, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 2913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2912, - "name": "StdStorage", - "nameLocations": [ - "416:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "416:10:7" - }, - "referencedDeclaration": 5563, - "src": "416:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "id": 2919, - "nodeType": "EventDefinition", - "src": "659:31:7", - "anonymous": false, - "eventSelector": "fb102865d50addddf69da9b5aa1bced66c80cf869a5c8d0471a467e18ce9cab1", - "name": "log_array", - "nameLocation": "665:9:7", - "parameters": { - "id": 2918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2917, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "685:3:7", - "nodeType": "VariableDeclaration", - "scope": 2919, - "src": "675:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "675:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2916, - "nodeType": "ArrayTypeName", - "src": "675:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "674:15:7" - } - }, - { - "id": 2924, - "nodeType": "EventDefinition", - "src": "695:30:7", - "anonymous": false, - "eventSelector": "890a82679b470f2bd82816ed9b161f97d8b967f37fa3647c21d5bf39749e2dd5", - "name": "log_array", - "nameLocation": "701:9:7", - "parameters": { - "id": 2923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2922, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "720:3:7", - "nodeType": "VariableDeclaration", - "scope": 2924, - "src": "711:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2920, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "711:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2921, - "nodeType": "ArrayTypeName", - "src": "711:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "710:14:7" - } - }, - { - "id": 2929, - "nodeType": "EventDefinition", - "src": "730:31:7", - "anonymous": false, - "eventSelector": "40e1840f5769073d61bd01372d9b75baa9842d5629a0c99ff103be1178a8e9e2", - "name": "log_array", - "nameLocation": "736:9:7", - "parameters": { - "id": 2928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2927, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "756:3:7", - "nodeType": "VariableDeclaration", - "scope": 2929, - "src": "746:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "746:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2926, - "nodeType": "ArrayTypeName", - "src": "746:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "745:15:7" - } - }, - { - "id": 2936, - "nodeType": "EventDefinition", - "src": "766:49:7", - "anonymous": false, - "eventSelector": "00aaa39c9ffb5f567a4534380c737075702e1f7f14107fc95328e3b56c0325fb", - "name": "log_named_array", - "nameLocation": "772:15:7", - "parameters": { - "id": 2935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2931, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "795:3:7", - "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "788:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2930, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "788:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2934, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "810:3:7", - "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "800:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2933, - "nodeType": "ArrayTypeName", - "src": "800:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "787:27:7" - } - }, - { - "id": 2943, - "nodeType": "EventDefinition", - "src": "820:48:7", - "anonymous": false, - "eventSelector": "a73eda09662f46dde729be4611385ff34fe6c44fbbc6f7e17b042b59a3445b57", - "name": "log_named_array", - "nameLocation": "826:15:7", - "parameters": { - "id": 2942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2938, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "849:3:7", - "nodeType": "VariableDeclaration", - "scope": 2943, - "src": "842:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2937, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "842:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2941, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "863:3:7", - "nodeType": "VariableDeclaration", - "scope": 2943, - "src": "854:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2939, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "854:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2940, - "nodeType": "ArrayTypeName", - "src": "854:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "841:26:7" - } - }, - { - "id": 2950, - "nodeType": "EventDefinition", - "src": "873:49:7", - "anonymous": false, - "eventSelector": "3bcfb2ae2e8d132dd1fce7cf278a9a19756a9fceabe470df3bdabb4bc577d1bd", - "name": "log_named_array", - "nameLocation": "879:15:7", - "parameters": { - "id": 2949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2945, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "902:3:7", - "nodeType": "VariableDeclaration", - "scope": 2950, - "src": "895:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2944, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "895:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2948, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "917:3:7", - "nodeType": "VariableDeclaration", - "scope": 2950, - "src": "907:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2946, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "907:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2947, - "nodeType": "ArrayTypeName", - "src": "907:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "894:27:7" - } - }, - { - "id": 2965, - "nodeType": "FunctionDefinition", - "src": "1208:85:7", - "body": { - "id": 2964, - "nodeType": "Block", - "src": "1245:48:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2958, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1263:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 2959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1269:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "1263:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 2960, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2952, - "src": "1281:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1263:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2955, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1255:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1258:4:7", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 6818, - "src": "1255:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 2962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1255:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2963, - "nodeType": "ExpressionStatement", - "src": "1255:31:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "skip", - "nameLocation": "1217:4:7", - "parameters": { - "id": 2953, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2952, - "mutability": "mutable", - "name": "time", - "nameLocation": "1230:4:7", - "nodeType": "VariableDeclaration", - "scope": 2965, - "src": "1222:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2951, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1221:14:7" - }, - "returnParameters": { - "id": 2954, - "nodeType": "ParameterList", - "parameters": [], - "src": "1245:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2980, - "nodeType": "FunctionDefinition", - "src": "1299:87:7", - "body": { - "id": 2979, - "nodeType": "Block", - "src": "1338:48:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2973, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1356:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 2974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1362:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "1356:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 2975, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2967, - "src": "1374:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1356:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2970, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1348:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1351:4:7", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 6818, - "src": "1348:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 2977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1348:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2978, - "nodeType": "ExpressionStatement", - "src": "1348:31:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewind", - "nameLocation": "1308:6:7", - "parameters": { - "id": 2968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2967, - "mutability": "mutable", - "name": "time", - "nameLocation": "1323:4:7", - "nodeType": "VariableDeclaration", - "scope": 2980, - "src": "1315:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1315:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1314:14:7" - }, - "returnParameters": { - "id": 2969, - "nodeType": "ParameterList", - "parameters": [], - "src": "1338:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3001, - "nodeType": "FunctionDefinition", - "src": "1449:98:7", - "body": { - "id": 3000, - "nodeType": "Block", - "src": "1485:62:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2988, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2982, - "src": "1503:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 2991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 2989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1508:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 2990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1513:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "1508:8:7", - "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": 2985, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1495:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1498:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1495:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 2992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1495:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2993, - "nodeType": "ExpressionStatement", - "src": "1495:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 2997, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2982, - "src": "1536:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2994, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1527:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1530:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7029, - "src": "1527:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 2998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1527:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2999, - "nodeType": "ExpressionStatement", - "src": "1527:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1458:4:7", - "parameters": { - "id": 2983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2982, - "mutability": "mutable", - "name": "who", - "nameLocation": "1471:3:7", - "nodeType": "VariableDeclaration", - "scope": 3001, - "src": "1463:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1463:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1462:13:7" - }, - "returnParameters": { - "id": 2984, - "nodeType": "ParameterList", - "parameters": [], - "src": "1485:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3022, - "nodeType": "FunctionDefinition", - "src": "1553:108:7", - "body": { - "id": 3021, - "nodeType": "Block", - "src": "1603:58:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3011, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3003, - "src": "1621:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3012, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3005, - "src": "1626:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3008, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1613:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1616:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1613:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1613:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3014, - "nodeType": "ExpressionStatement", - "src": "1613:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3018, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3003, - "src": "1650:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3015, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1641:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1644:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7029, - "src": "1641:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1641:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3020, - "nodeType": "ExpressionStatement", - "src": "1641:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1562:4:7", - "parameters": { - "id": 3006, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3003, - "mutability": "mutable", - "name": "who", - "nameLocation": "1575:3:7", - "nodeType": "VariableDeclaration", - "scope": 3022, - "src": "1567:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3002, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1567:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3005, - "mutability": "mutable", - "name": "give", - "nameLocation": "1588:4:7", - "nodeType": "VariableDeclaration", - "scope": 3022, - "src": "1580:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3004, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1580:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1566:27:7" - }, - "returnParameters": { - "id": 3007, - "nodeType": "ParameterList", - "parameters": [], - "src": "1603:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3046, - "nodeType": "FunctionDefinition", - "src": "1667:122:7", - "body": { - "id": 3045, - "nodeType": "Block", - "src": "1719:70:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3032, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "1737:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1742:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1747:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "1742:8:7", - "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": 3029, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1729:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1732:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1729:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1729:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3037, - "nodeType": "ExpressionStatement", - "src": "1729:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3041, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "1770:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3042, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "1775:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3038, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1761:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1764:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7041, - "src": "1761:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1761:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3044, - "nodeType": "ExpressionStatement", - "src": "1761:21:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1676:4:7", - "parameters": { - "id": 3027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3024, - "mutability": "mutable", - "name": "who", - "nameLocation": "1689:3:7", - "nodeType": "VariableDeclaration", - "scope": 3046, - "src": "1681:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1681:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3026, - "mutability": "mutable", - "name": "origin", - "nameLocation": "1702:6:7", - "nodeType": "VariableDeclaration", - "scope": 3046, - "src": "1694:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1694:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1680:29:7" - }, - "returnParameters": { - "id": 3028, - "nodeType": "ParameterList", - "parameters": [], - "src": "1719:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3070, - "nodeType": "FunctionDefinition", - "src": "1795:132:7", - "body": { - "id": 3069, - "nodeType": "Block", - "src": "1861:66:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3058, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3048, - "src": "1879:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3059, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "1884:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3055, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1871:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1874:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1871:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1871:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3061, - "nodeType": "ExpressionStatement", - "src": "1871:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3065, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3048, - "src": "1908:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3066, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3050, - "src": "1913:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3062, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1899:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1902:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7041, - "src": "1899:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1899:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3068, - "nodeType": "ExpressionStatement", - "src": "1899:21:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1804:4:7", - "parameters": { - "id": 3053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3048, - "mutability": "mutable", - "name": "who", - "nameLocation": "1817:3:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1809:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1809:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3050, - "mutability": "mutable", - "name": "origin", - "nameLocation": "1830:6:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1822:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1822:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3052, - "mutability": "mutable", - "name": "give", - "nameLocation": "1846:4:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1838:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3051, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1838:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1808:43:7" - }, - "returnParameters": { - "id": 3054, - "nodeType": "ParameterList", - "parameters": [], - "src": "1861:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3091, - "nodeType": "FunctionDefinition", - "src": "1998:108:7", - "body": { - "id": 3090, - "nodeType": "Block", - "src": "2039:67:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3078, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3072, - "src": "2057:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2062:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2067:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "2062:8:7", - "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": 3075, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2049:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2052:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2049:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2049:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3083, - "nodeType": "ExpressionStatement", - "src": "2049:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3087, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3072, - "src": "2095:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3084, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2081:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2084:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2081:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2081:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3089, - "nodeType": "ExpressionStatement", - "src": "2081:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2007:9:7", - "parameters": { - "id": 3073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3072, - "mutability": "mutable", - "name": "who", - "nameLocation": "2025:3:7", - "nodeType": "VariableDeclaration", - "scope": 3091, - "src": "2017:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3071, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2017:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2016:13:7" - }, - "returnParameters": { - "id": 3074, - "nodeType": "ParameterList", - "parameters": [], - "src": "2039:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3112, - "nodeType": "FunctionDefinition", - "src": "2112:118:7", - "body": { - "id": 3111, - "nodeType": "Block", - "src": "2167:63:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3101, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2185:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3102, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3095, - "src": "2190:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3098, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2177:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2180:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2177:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3104, - "nodeType": "ExpressionStatement", - "src": "2177:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3108, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2219:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3105, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2205:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2208:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2205:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2205:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3110, - "nodeType": "ExpressionStatement", - "src": "2205:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2121:9:7", - "parameters": { - "id": 3096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3093, - "mutability": "mutable", - "name": "who", - "nameLocation": "2139:3:7", - "nodeType": "VariableDeclaration", - "scope": 3112, - "src": "2131:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3092, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2131:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3095, - "mutability": "mutable", - "name": "give", - "nameLocation": "2152:4:7", - "nodeType": "VariableDeclaration", - "scope": 3112, - "src": "2144:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3094, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2144:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2130:27:7" - }, - "returnParameters": { - "id": 3097, - "nodeType": "ParameterList", - "parameters": [], - "src": "2167:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3136, - "nodeType": "FunctionDefinition", - "src": "2349:132:7", - "body": { - "id": 3135, - "nodeType": "Block", - "src": "2406:75:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3122, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "2424:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2434:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "2429:8:7", - "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": 3119, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2416:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2419:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2416:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2416:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3127, - "nodeType": "ExpressionStatement", - "src": "2416:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3131, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "2462:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3132, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3116, - "src": "2467:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3128, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2448:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2451:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7048, - "src": "2448:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2448:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3134, - "nodeType": "ExpressionStatement", - "src": "2448:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2358:9:7", - "parameters": { - "id": 3117, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3114, - "mutability": "mutable", - "name": "who", - "nameLocation": "2376:3:7", - "nodeType": "VariableDeclaration", - "scope": 3136, - "src": "2368:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3113, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2368:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3116, - "mutability": "mutable", - "name": "origin", - "nameLocation": "2389:6:7", - "nodeType": "VariableDeclaration", - "scope": 3136, - "src": "2381:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3115, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2381:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2367:29:7" - }, - "returnParameters": { - "id": 3118, - "nodeType": "ParameterList", - "parameters": [], - "src": "2406:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3160, - "nodeType": "FunctionDefinition", - "src": "2487:142:7", - "body": { - "id": 3159, - "nodeType": "Block", - "src": "2558:71:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3148, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3138, - "src": "2576:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3149, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3142, - "src": "2581:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3145, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2568:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2571:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2568:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2568:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3151, - "nodeType": "ExpressionStatement", - "src": "2568:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3155, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3138, - "src": "2610:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3156, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3140, - "src": "2615:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3152, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2596:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2599:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7048, - "src": "2596:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2596:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3158, - "nodeType": "ExpressionStatement", - "src": "2596:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2496:9:7", - "parameters": { - "id": 3143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3138, - "mutability": "mutable", - "name": "who", - "nameLocation": "2514:3:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2506:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3137, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2506:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3140, - "mutability": "mutable", - "name": "origin", - "nameLocation": "2527:6:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2519:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2519:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3142, - "mutability": "mutable", - "name": "give", - "nameLocation": "2543:4:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2535:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3141, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2535:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2505:43:7" - }, - "returnParameters": { - "id": 3144, - "nodeType": "ParameterList", - "parameters": [], - "src": "2558:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3177, - "nodeType": "FunctionDefinition", - "src": "2635:102:7", - "body": { - "id": 3176, - "nodeType": "Block", - "src": "2678:59:7", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 3165, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2688:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2691:9:7", - "memberName": "stopPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7051, - "src": "2688:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 3168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2688:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3169, - "nodeType": "ExpressionStatement", - "src": "2688:14:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3173, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3162, - "src": "2726:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3170, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2712:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2715:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2712:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2712:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3175, - "nodeType": "ExpressionStatement", - "src": "2712:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "changePrank", - "nameLocation": "2644:11:7", - "parameters": { - "id": 3163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3162, - "mutability": "mutable", - "name": "who", - "nameLocation": "2664:3:7", - "nodeType": "VariableDeclaration", - "scope": 3177, - "src": "2656:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2656:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2655:13:7" - }, - "returnParameters": { - "id": 3164, - "nodeType": "ParameterList", - "parameters": [], - "src": "2678:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3213, - "nodeType": "FunctionDefinition", - "src": "2810:233:7", - "body": { - "id": 3212, - "nodeType": "Block", - "src": "2905:138:7", - "statements": [ - { - "expression": { - "id": 3196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3186, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3184, - "src": "2915:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 3192, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "2963:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3190, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2946:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2950:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2946:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2946:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3189, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2936:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2936:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 3188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2928:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2928:7:7", - "typeDescriptions": {} - } - }, - "id": 3195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2928:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2915:55:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3197, - "nodeType": "ExpressionStatement", - "src": "2915:55:7" - }, - { - "expression": { - "id": 3203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3198, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3182, - "src": "2980:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 3201, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3184, - "src": "2995:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3199, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2987:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2990:4:7", - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 6876, - "src": "2987:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) external returns (address)" - } - }, - "id": 3202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2987:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2980:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3204, - "nodeType": "ExpressionStatement", - "src": "2980:26:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3208, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3182, - "src": "3025:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3209, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "3031:4:7", - "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": 3205, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "3016:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3019:5:7", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 7176, - "src": "3016:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 3210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3016:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3211, - "nodeType": "ExpressionStatement", - "src": "3016:20:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddrAndKey", - "nameLocation": "2819:14:7", - "parameters": { - "id": 3180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3179, - "mutability": "mutable", - "name": "name", - "nameLocation": "2848:4:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2834:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3178, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2834:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2833:20:7" - }, - "returnParameters": { - "id": 3185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3182, - "mutability": "mutable", - "name": "addr", - "nameLocation": "2879:4:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2871:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3181, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2871:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3184, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "2893:10:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2885:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3183, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2885:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2870:34:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3228, - "nodeType": "FunctionDefinition", - "src": "3082:116:7", - "body": { - "id": 3227, - "nodeType": "Block", - "src": "3151:47:7", - "statements": [ - { - "expression": { - "id": 3225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 3220, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3218, - "src": "3162:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - null - ], - "id": 3221, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "3161:7:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$__$", - "typeString": "tuple(address,)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 3223, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3215, - "src": "3186:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3222, - "name": "makeAddrAndKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3213, - "src": "3171:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$_t_address_$_t_uint256_$", - "typeString": "function (string memory) returns (address,uint256)" - } - }, - "id": 3224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3171:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_uint256_$", - "typeString": "tuple(address,uint256)" - } - }, - "src": "3161:30:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3226, - "nodeType": "ExpressionStatement", - "src": "3161:30:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddr", - "nameLocation": "3091:8:7", - "parameters": { - "id": 3216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3215, - "mutability": "mutable", - "name": "name", - "nameLocation": "3114:4:7", - "nodeType": "VariableDeclaration", - "scope": 3228, - "src": "3100:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3214, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3100:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3099:20:7" - }, - "returnParameters": { - "id": 3219, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3218, - "mutability": "mutable", - "name": "addr", - "nameLocation": "3145:4:7", - "nodeType": "VariableDeclaration", - "scope": 3228, - "src": "3137:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3217, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3137:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3136:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3258, - "nodeType": "FunctionDefinition", - "src": "3242:343:7", - "body": { - "id": 3257, - "nodeType": "Block", - "src": "3305:280:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "5741524e494e47", - "id": 3238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3337:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51aac253d1d3eb5d066c1c453a3853c9527c2f88e5bdf63a1c20e25e8cf24885", - "typeString": "literal_string \"WARNING\"" - }, - "value": "WARNING" - }, - { - "hexValue": "546573742074697028616464726573732c616464726573732c75696e74323536293a2054686520607469706020737464636865617420686173206265656e20646570726563617465642e2055736520606465616c6020696e73746561642e", - "id": 3239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3348:96:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_762cc440f1f8cee7b2ded8a4dd443d4267a1f30da9ac7fb41d8332668a3aaa5e", - "typeString": "literal_string \"Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead.\"" - }, - "value": "Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51aac253d1d3eb5d066c1c453a3853c9527c2f88e5bdf63a1c20e25e8cf24885", - "typeString": "literal_string \"WARNING\"" - }, - { - "typeIdentifier": "t_stringliteral_762cc440f1f8cee7b2ded8a4dd443d4267a1f30da9ac7fb41d8332668a3aaa5e", - "typeString": "literal_string \"Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead.\"" - } - ], - "id": 3237, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "3320:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3320:125:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3241, - "nodeType": "EmitStatement", - "src": "3315:130:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3254, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3234, - "src": "3573:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 3251, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3232, - "src": "3542:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3508:10:7", - "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": 3245, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "3484:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3242, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "3455:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3244, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3477:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "3455:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3247, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3504:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "3455:52:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:64:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3250, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3533:8:7", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6158, - "src": "3455:86:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:90:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3253, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3559:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "3455:117:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:123:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3256, - "nodeType": "ExpressionStatement", - "src": "3455:123:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tip", - "nameLocation": "3251:3:7", - "parameters": { - "id": 3235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3230, - "mutability": "mutable", - "name": "token", - "nameLocation": "3263:5:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3255:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3255:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3232, - "mutability": "mutable", - "name": "to", - "nameLocation": "3278:2:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3270:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3231, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3270:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3234, - "mutability": "mutable", - "name": "give", - "nameLocation": "3290:4:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3282:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3233, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3282:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3254:41:7" - }, - "returnParameters": { - "id": 3236, - "nodeType": "ParameterList", - "parameters": [], - "src": "3305:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3273, - "nodeType": "FunctionDefinition", - "src": "3676:83:7", - "body": { - "id": 3272, - "nodeType": "Block", - "src": "3725:34:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3268, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3260, - "src": "3743:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3269, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3262, - "src": "3747:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3265, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "3735:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3738:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "3735:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3735:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3271, - "nodeType": "ExpressionStatement", - "src": "3735:17:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3685:4:7", - "parameters": { - "id": 3263, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3260, - "mutability": "mutable", - "name": "to", - "nameLocation": "3698:2:7", - "nodeType": "VariableDeclaration", - "scope": 3273, - "src": "3690:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3690:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3262, - "mutability": "mutable", - "name": "give", - "nameLocation": "3710:4:7", - "nodeType": "VariableDeclaration", - "scope": 3273, - "src": "3702:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3702:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3689:26:7" - }, - "returnParameters": { - "id": 3264, - "nodeType": "ParameterList", - "parameters": [], - "src": "3725:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3290, - "nodeType": "FunctionDefinition", - "src": "3883:109:7", - "body": { - "id": 3289, - "nodeType": "Block", - "src": "3947:45:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3283, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3275, - "src": "3962:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3284, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3277, - "src": "3969:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3285, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3279, - "src": "3973:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "66616c7365", - "id": 3286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3979:5:7", - "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": 3282, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3273, - 3290, - 3393 - ], - "referencedDeclaration": 3393, - "src": "3957:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$", - "typeString": "function (address,address,uint256,bool)" - } - }, - "id": 3287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3957:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3288, - "nodeType": "ExpressionStatement", - "src": "3957:28:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3892:4:7", - "parameters": { - "id": 3280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3275, - "mutability": "mutable", - "name": "token", - "nameLocation": "3905:5:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3897:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3274, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3897:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3277, - "mutability": "mutable", - "name": "to", - "nameLocation": "3920:2:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3912:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3276, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3912:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3279, - "mutability": "mutable", - "name": "give", - "nameLocation": "3932:4:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3924:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3278, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3924:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3896:41:7" - }, - "returnParameters": { - "id": 3281, - "nodeType": "ParameterList", - "parameters": [], - "src": "3947:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3393, - "nodeType": "FunctionDefinition", - "src": "3998:917:7", - "body": { - "id": 3392, - "nodeType": "Block", - "src": "4075:840:7", - "statements": [ - { - "assignments": [ - null, - 3302 - ], - "declarations": [ - null, - { - "constant": false, - "id": 3302, - "mutability": "mutable", - "name": "balData", - "nameLocation": "4132:7:7", - "nodeType": "VariableDeclaration", - "scope": 3392, - "src": "4119:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3301, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4119:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3311, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4177:10:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - "value": "0x70a08231" - }, - { - "id": 3308, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "4189:2:7", - "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": 3305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4154:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4158:18:7", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "4154:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 3309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4154:38:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 3303, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4143:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4149:4:7", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "4143:10:7", - "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": 3310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4143:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4116:77:7" - }, - { - "assignments": [ - 3313 - ], - "declarations": [ - { - "constant": false, - "id": 3313, - "mutability": "mutable", - "name": "prevBal", - "nameLocation": "4211:7:7", - "nodeType": "VariableDeclaration", - "scope": 3392, - "src": "4203:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3312, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4203:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3321, - "initialValue": { - "arguments": [ - { - "id": 3316, - "name": "balData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "4232:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 3318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4242:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4242:7:7", - "typeDescriptions": {} - } - } - ], - "id": 3319, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4241:9:7", - "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": 3314, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4221:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4225:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4221:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 3320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4221:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4203:48:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3334, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4406:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 3331, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "4375:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4341:10:7", - "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": 3325, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4317:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3322, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "4288:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3324, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4310:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "4288:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4337:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "4288:52:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:64:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3330, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4366:8:7", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6158, - "src": "4288:86:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:90:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3333, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4392:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "4288:117:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:123:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3336, - "nodeType": "ExpressionStatement", - "src": "4288:123:7" - }, - { - "condition": { - "id": 3337, - "name": "adjust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3298, - "src": "4456:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3391, - "nodeType": "IfStatement", - "src": "4453:456:7", - "trueBody": { - "id": 3390, - "nodeType": "Block", - "src": "4463:446:7", - "statements": [ - { - "assignments": [ - null, - 3339 - ], - "declarations": [ - null, - { - "constant": false, - "id": 3339, - "mutability": "mutable", - "name": "totSupData", - "nameLocation": "4493:10:7", - "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "4480:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3338, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4480:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3347, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 3344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4541:10:7", - "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": 3342, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4518:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4522:18:7", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "4518:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 3345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4518:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 3340, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4507:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4513:4:7", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "4507:10:7", - "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": 3346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4507:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4477:76:7" - }, - { - "assignments": [ - 3349 - ], - "declarations": [ - { - "constant": false, - "id": 3349, - "mutability": "mutable", - "name": "totSup", - "nameLocation": "4575:6:7", - "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "4567:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3348, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4567:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3357, - "initialValue": { - "arguments": [ - { - "id": 3352, - "name": "totSupData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3339, - "src": "4595:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 3354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4608:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3353, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4608:7:7", - "typeDescriptions": {} - } - } - ], - "id": 3355, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4607:9:7", - "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": 3350, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4584:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4588:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4584:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 3356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4584:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4567:50:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3358, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4634:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 3359, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4641:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4634:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 3376, - "nodeType": "Block", - "src": "4715:59:7", - "statements": [ - { - "expression": { - "id": 3374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3369, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4733:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3370, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4744:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3371, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4751:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4744:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 3373, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4743:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4733:26:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3375, - "nodeType": "ExpressionStatement", - "src": "4733:26:7" - } - ] - }, - "id": 3377, - "nodeType": "IfStatement", - "src": "4631:143:7", - "trueBody": { - "id": 3368, - "nodeType": "Block", - "src": "4650:59:7", - "statements": [ - { - "expression": { - "id": 3366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3361, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4668:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3362, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4679:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3363, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4689:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4679:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 3365, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4678:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4668:26:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3367, - "nodeType": "ExpressionStatement", - "src": "4668:26:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 3387, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4891:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 3384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4848:10:7", - "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": 3381, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4820:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3378, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "4787:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4813:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "4787:32:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3383, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4844:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "4787:60:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:72:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3386, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4877:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "4787:103:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:111:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3389, - "nodeType": "ExpressionStatement", - "src": "4787:111:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "4007:4:7", - "parameters": { - "id": 3299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3292, - "mutability": "mutable", - "name": "token", - "nameLocation": "4020:5:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4012:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4012:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3294, - "mutability": "mutable", - "name": "to", - "nameLocation": "4035:2:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4027:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4027:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3296, - "mutability": "mutable", - "name": "give", - "nameLocation": "4047:4:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4039:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3295, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4039:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3298, - "mutability": "mutable", - "name": "adjust", - "nameLocation": "4058:6:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4053:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3297, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4053:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4011:54:7" - }, - "returnParameters": { - "id": 3300, - "nodeType": "ParameterList", - "parameters": [], - "src": "4075:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3457, - "nodeType": "FunctionDefinition", - "src": "4921:578:7", - "body": { - "id": 3456, - "nodeType": "Block", - "src": "5015:484:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3405, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5033:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 3406, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3399, - "src": "5040:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5033:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "5465737420626f756e642875696e743235362c75696e743235362c75696e74323536293a204d6178206973206c657373207468616e206d696e2e", - "id": 3408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5045:60:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3bbfc2dadabc14e74ee28873c31ab942a6b0084199df371a57fc6e23a8b91a7d", - "typeString": "literal_string \"Test bound(uint256,uint256,uint256): Max is less than min.\"" - }, - "value": "Test bound(uint256,uint256,uint256): Max is less than min." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3bbfc2dadabc14e74ee28873c31ab942a6b0084199df371a57fc6e23a8b91a7d", - "typeString": "literal_string \"Test bound(uint256,uint256,uint256): Max is less than min.\"" - } - ], - "id": 3404, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5025:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5025:81:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3410, - "nodeType": "ExpressionStatement", - "src": "5025:81:7" - }, - { - "assignments": [ - 3412 - ], - "declarations": [ - { - "constant": false, - "id": 3412, - "mutability": "mutable", - "name": "size", - "nameLocation": "5125:4:7", - "nodeType": "VariableDeclaration", - "scope": 3456, - "src": "5117:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3411, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5117:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3416, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3413, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3399, - "src": "5132:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3414, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5138:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5132:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5117:24:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3417, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5156:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 3418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5164:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5156:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3425, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5230:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 3426, - "name": "UINT256_MAX", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2911, - "src": "5238:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5230:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 3448, - "nodeType": "Block", - "src": "5316:123:7", - "statements": [ - { - "expression": { - "id": 3434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "5330:6:7", - "subExpression": { - "id": 3433, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5332:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3435, - "nodeType": "ExpressionStatement", - "src": "5330:6:7" - }, - { - "assignments": [ - 3437 - ], - "declarations": [ - { - "constant": false, - "id": 3437, - "mutability": "mutable", - "name": "mod", - "nameLocation": "5382:3:7", - "nodeType": "VariableDeclaration", - "scope": 3448, - "src": "5374:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5374:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3441, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3438, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "5388:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "id": 3439, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5392:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5388:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5374:22:7" - }, - { - "expression": { - "id": 3446, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3442, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5410:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3443, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5419:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 3444, - "name": "mod", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3437, - "src": "5425:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5419:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5410:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3447, - "nodeType": "ExpressionStatement", - "src": "5410:18:7" - } - ] - }, - "id": 3449, - "nodeType": "IfStatement", - "src": "5226:213:7", - "trueBody": { - "id": 3432, - "nodeType": "Block", - "src": "5259:35:7", - "statements": [ - { - "expression": { - "id": 3430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3428, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5273:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 3429, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "5282:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5273:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3431, - "nodeType": "ExpressionStatement", - "src": "5273:10:7" - } - ] - } - }, - "id": 3450, - "nodeType": "IfStatement", - "src": "5152:287:7", - "trueBody": { - "id": 3424, - "nodeType": "Block", - "src": "5175:37:7", - "statements": [ - { - "expression": { - "id": 3422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3420, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5189:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 3421, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5198:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5189:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3423, - "nodeType": "ExpressionStatement", - "src": "5189:12:7" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "426f756e6420526573756c74", - "id": 3452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5469:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - "value": "Bound Result" - }, - { - "id": 3453, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5485:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3451, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "5454:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5454:38:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3455, - "nodeType": "EmitStatement", - "src": "5449:43:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bound", - "nameLocation": "4930:5:7", - "parameters": { - "id": 3400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3395, - "mutability": "mutable", - "name": "x", - "nameLocation": "4944:1:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4936:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4936:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3397, - "mutability": "mutable", - "name": "min", - "nameLocation": "4955:3:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4947:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4947:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3399, - "mutability": "mutable", - "name": "max", - "nameLocation": "4968:3:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4960:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3398, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4960:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4935:37:7" - }, - "returnParameters": { - "id": 3403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3402, - "mutability": "mutable", - "name": "result", - "nameLocation": "5007:6:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4999:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4999:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4998:16:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3489, - "nodeType": "FunctionDefinition", - "src": "5659:457:7", - "body": { - "id": 3488, - "nodeType": "Block", - "src": "5770:346:7", - "statements": [ - { - "assignments": [ - 3467 - ], - "declarations": [ - { - "constant": false, - "id": 3467, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "5793:8:7", - "nodeType": "VariableDeclaration", - "scope": 3488, - "src": "5780:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5780:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3476, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 3472, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3459, - "src": "5832:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3470, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "5821:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5824:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "5821:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5821:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3474, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3461, - "src": "5839:4:7", - "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": 3468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5804:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5808:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5804:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5804:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5780:64:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "5906:79:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "5920:55:7", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5935:1:7", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "5942:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5952:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5938:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "5938:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "5965:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5959:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "5959:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "5928:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "5928:47:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "5920:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3464, - "isOffset": false, - "isSlot": false, - "src": "5920:4:7", - "valueSize": 1 - }, - { - "declaration": 3467, - "isOffset": false, - "isSlot": false, - "src": "5942:8:7", - "valueSize": 1 - }, - { - "declaration": 3467, - "isOffset": false, - "isSlot": false, - "src": "5965:8:7", - "valueSize": 1 - } - ], - "id": 3477, - "nodeType": "InlineAssembly", - "src": "5897:88:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3479, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3464, - "src": "6016:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6032:1:7", - "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": 3481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6024:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3480, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6024:7:7", - "typeDescriptions": {} - } - }, - "id": 3483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6024:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6016:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c6279746573293a204465706c6f796d656e74206661696c65642e", - "id": 3485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6048:51:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d1c806ce7af1725b71ce0c84a849070672773be785c276ca8554d3c1f196865d", - "typeString": "literal_string \"Test deployCode(string,bytes): Deployment failed.\"" - }, - "value": "Test deployCode(string,bytes): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d1c806ce7af1725b71ce0c84a849070672773be785c276ca8554d3c1f196865d", - "typeString": "literal_string \"Test deployCode(string,bytes): Deployment failed.\"" - } - ], - "id": 3478, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5995:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5995:114:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3487, - "nodeType": "ExpressionStatement", - "src": "5995:114:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "5668:10:7", - "parameters": { - "id": 3462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3459, - "mutability": "mutable", - "name": "what", - "nameLocation": "5693:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5679:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3458, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5679:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3461, - "mutability": "mutable", - "name": "args", - "nameLocation": "5712:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5699:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3460, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5699:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5678:39:7" - }, - "returnParameters": { - "id": 3465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3464, - "mutability": "mutable", - "name": "addr", - "nameLocation": "5760:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5752:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3463, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5752:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5751:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3515, - "nodeType": "FunctionDefinition", - "src": "6122:408:7", - "body": { - "id": 3514, - "nodeType": "Block", - "src": "6214:316:7", - "statements": [ - { - "assignments": [ - 3497 - ], - "declarations": [ - { - "constant": false, - "id": 3497, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "6237:8:7", - "nodeType": "VariableDeclaration", - "scope": 3514, - "src": "6224:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3496, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6224:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3502, - "initialValue": { - "arguments": [ - { - "id": 3500, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3491, - "src": "6259:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3498, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "6248:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6251:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "6248:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6248:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6224:40:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6326:79:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "6340:55:7", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6355:1:7", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6362:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6372:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6358:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "6358:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6385:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6379:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "6379:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "6348:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "6348:47:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "6340:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3494, - "isOffset": false, - "isSlot": false, - "src": "6340:4:7", - "valueSize": 1 - }, - { - "declaration": 3497, - "isOffset": false, - "isSlot": false, - "src": "6362:8:7", - "valueSize": 1 - }, - { - "declaration": 3497, - "isOffset": false, - "isSlot": false, - "src": "6385:8:7", - "valueSize": 1 - } - ], - "id": 3503, - "nodeType": "InlineAssembly", - "src": "6317:88:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3505, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3494, - "src": "6436:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6452:1:7", - "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": 3507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6444:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3506, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6444:7:7", - "typeDescriptions": {} - } - }, - "id": 3509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6444:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6436:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e67293a204465706c6f796d656e74206661696c65642e", - "id": 3511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6468:45:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b9fd17b1c001ca1277bfc68fcfcc57948bec4ffe1adf822157bd27978fa551cb", - "typeString": "literal_string \"Test deployCode(string): Deployment failed.\"" - }, - "value": "Test deployCode(string): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b9fd17b1c001ca1277bfc68fcfcc57948bec4ffe1adf822157bd27978fa551cb", - "typeString": "literal_string \"Test deployCode(string): Deployment failed.\"" - } - ], - "id": 3504, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6415:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6415:108:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3513, - "nodeType": "ExpressionStatement", - "src": "6415:108:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "6131:10:7", - "parameters": { - "id": 3492, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3491, - "mutability": "mutable", - "name": "what", - "nameLocation": "6156:4:7", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "6142:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3490, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6142:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6141:20:7" - }, - "returnParameters": { - "id": 3495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3494, - "mutability": "mutable", - "name": "addr", - "nameLocation": "6204:4:7", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "6196:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6196:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6195:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3550, - "nodeType": "FunctionDefinition", - "src": "6587:480:7", - "body": { - "id": 3549, - "nodeType": "Block", - "src": "6711:356:7", - "statements": [ - { - "assignments": [ - 3528 - ], - "declarations": [ - { - "constant": false, - "id": 3528, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "6734:8:7", - "nodeType": "VariableDeclaration", - "scope": 3549, - "src": "6721:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3527, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6721:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3537, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 3533, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3518, - "src": "6773:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3531, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "6762:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6765:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "6762:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6762:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3535, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3520, - "src": "6780:4:7", - "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": 3529, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6745:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6749:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "6745:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6745:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6721:64:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6847:81:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "6861:57:7", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "6876:3:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6885:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6895:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6881:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "6881:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6908:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6902:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "6902:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "6869:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "6869:49:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "6861:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3525, - "isOffset": false, - "isSlot": false, - "src": "6861:4:7", - "valueSize": 1 - }, - { - "declaration": 3528, - "isOffset": false, - "isSlot": false, - "src": "6885:8:7", - "valueSize": 1 - }, - { - "declaration": 3528, - "isOffset": false, - "isSlot": false, - "src": "6908:8:7", - "valueSize": 1 - }, - { - "declaration": 3522, - "isOffset": false, - "isSlot": false, - "src": "6876:3:7", - "valueSize": 1 - } - ], - "id": 3538, - "nodeType": "InlineAssembly", - "src": "6838:90:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3540, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3525, - "src": "6959:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6975:1:7", - "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": 3542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6967:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3541, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6967:7:7", - "typeDescriptions": {} - } - }, - "id": 3544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6967:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6959:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c62797465732c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 3546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6991:59:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48c6a907f17116971b60f748697256dfa1e2b6301c67424b0afa1c8e2a6fcf69", - "typeString": "literal_string \"Test deployCode(string,bytes,uint256): Deployment failed.\"" - }, - "value": "Test deployCode(string,bytes,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_48c6a907f17116971b60f748697256dfa1e2b6301c67424b0afa1c8e2a6fcf69", - "typeString": "literal_string \"Test deployCode(string,bytes,uint256): Deployment failed.\"" - } - ], - "id": 3539, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6938:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6938:122:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3548, - "nodeType": "ExpressionStatement", - "src": "6938:122:7" - } - ] - }, - "documentation": { - "id": 3516, - "nodeType": "StructuredDocumentation", - "src": "6536:46:7", - "text": "deploy contract with value on construction" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "6596:10:7", - "parameters": { - "id": 3523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3518, - "mutability": "mutable", - "name": "what", - "nameLocation": "6621:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6607:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6607:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3520, - "mutability": "mutable", - "name": "args", - "nameLocation": "6640:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6627:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3519, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6627:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3522, - "mutability": "mutable", - "name": "val", - "nameLocation": "6654:3:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6646:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3521, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6646:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6606:52:7" - }, - "returnParameters": { - "id": 3526, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3525, - "mutability": "mutable", - "name": "addr", - "nameLocation": "6701:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6693:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3524, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6693:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6692:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3578, - "nodeType": "FunctionDefinition", - "src": "7073:431:7", - "body": { - "id": 3577, - "nodeType": "Block", - "src": "7178:326:7", - "statements": [ - { - "assignments": [ - 3560 - ], - "declarations": [ - { - "constant": false, - "id": 3560, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "7201:8:7", - "nodeType": "VariableDeclaration", - "scope": 3577, - "src": "7188:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7188:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3565, - "initialValue": { - "arguments": [ - { - "id": 3563, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3552, - "src": "7223:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3561, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "7212:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7215:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "7212:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7212:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7188:40:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "7290:81:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "7304:57:7", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "7319:3:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "7328:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7338:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7324:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "7324:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "7351:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "7345:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "7345:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "7312:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "7312:49:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "7304:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3557, - "isOffset": false, - "isSlot": false, - "src": "7304:4:7", - "valueSize": 1 - }, - { - "declaration": 3560, - "isOffset": false, - "isSlot": false, - "src": "7328:8:7", - "valueSize": 1 - }, - { - "declaration": 3560, - "isOffset": false, - "isSlot": false, - "src": "7351:8:7", - "valueSize": 1 - }, - { - "declaration": 3554, - "isOffset": false, - "isSlot": false, - "src": "7319:3:7", - "valueSize": 1 - } - ], - "id": 3566, - "nodeType": "InlineAssembly", - "src": "7281:90:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3568, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3557, - "src": "7402:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7418:1:7", - "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": 3570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7410:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7410:7:7", - "typeDescriptions": {} - } - }, - "id": 3572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7410:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7402:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 3574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7434:53:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3fa81ff94e5c0be4a794a2745793ac7e0a88d8864b4f59c0b3d5cc00c8442226", - "typeString": "literal_string \"Test deployCode(string,uint256): Deployment failed.\"" - }, - "value": "Test deployCode(string,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3fa81ff94e5c0be4a794a2745793ac7e0a88d8864b4f59c0b3d5cc00c8442226", - "typeString": "literal_string \"Test deployCode(string,uint256): Deployment failed.\"" - } - ], - "id": 3567, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7381:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7381:116:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3576, - "nodeType": "ExpressionStatement", - "src": "7381:116:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "7082:10:7", - "parameters": { - "id": 3555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3552, - "mutability": "mutable", - "name": "what", - "nameLocation": "7107:4:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7093:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3551, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7093:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3554, - "mutability": "mutable", - "name": "val", - "nameLocation": "7121:3:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7113:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3553, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7113:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7092:33:7" - }, - "returnParameters": { - "id": 3558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3557, - "mutability": "mutable", - "name": "addr", - "nameLocation": "7168:4:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7160:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3556, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7160:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7159:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3592, - "nodeType": "FunctionDefinition", - "src": "7724:118:7", - "body": { - "id": 3591, - "nodeType": "Block", - "src": "7774:68:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7806:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3585, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3580, - "src": "7815:3:7", - "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": 3583, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "7789:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7789:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3587, - "nodeType": "EmitStatement", - "src": "7784:35:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3588, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "7829:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7829:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3590, - "nodeType": "ExpressionStatement", - "src": "7829:6:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fail", - "nameLocation": "7733:4:7", - "parameters": { - "id": 3581, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3580, - "mutability": "mutable", - "name": "err", - "nameLocation": "7752:3:7", - "nodeType": "VariableDeclaration", - "scope": 3592, - "src": "7738:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3579, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7737:19:7" - }, - "returnParameters": { - "id": 3582, - "nodeType": "ParameterList", - "parameters": [], - "src": "7774:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3603, - "nodeType": "FunctionDefinition", - "src": "7848:83:7", - "body": { - "id": 3602, - "nodeType": "Block", - "src": "7897:34:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "7918:5:7", - "subExpression": { - "id": 3598, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3594, - "src": "7919:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 3597, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 755, - "src": "7907:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool)" - } - }, - "id": 3600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7907:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3601, - "nodeType": "ExpressionStatement", - "src": "7907:17:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "7857:11:7", - "parameters": { - "id": 3595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3594, - "mutability": "mutable", - "name": "data", - "nameLocation": "7874:4:7", - "nodeType": "VariableDeclaration", - "scope": 3603, - "src": "7869:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3593, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7869:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7868:11:7" - }, - "returnParameters": { - "id": 3596, - "nodeType": "ParameterList", - "parameters": [], - "src": "7897:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3617, - "nodeType": "FunctionDefinition", - "src": "7937:107:7", - "body": { - "id": 3616, - "nodeType": "Block", - "src": "8005:39:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "8026:5:7", - "subExpression": { - "id": 3611, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3605, - "src": "8027:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3613, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3607, - "src": "8033:3:7", - "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": 3610, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 776, - "src": "8015:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory)" - } - }, - "id": 3614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8015:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3615, - "nodeType": "ExpressionStatement", - "src": "8015:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "7946:11:7", - "parameters": { - "id": 3608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3605, - "mutability": "mutable", - "name": "data", - "nameLocation": "7963:4:7", - "nodeType": "VariableDeclaration", - "scope": 3617, - "src": "7958:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3604, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7958:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3607, - "mutability": "mutable", - "name": "err", - "nameLocation": "7983:3:7", - "nodeType": "VariableDeclaration", - "scope": 3617, - "src": "7969:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3606, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7969:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7957:30:7" - }, - "returnParameters": { - "id": 3609, - "nodeType": "ParameterList", - "parameters": [], - "src": "8005:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3653, - "nodeType": "FunctionDefinition", - "src": "8050:326:7", - "body": { - "id": 3652, - "nodeType": "Block", - "src": "8093:283:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3624, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3619, - "src": "8107:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 3625, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3621, - "src": "8112:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8107:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3651, - "nodeType": "IfStatement", - "src": "8103:267:7", - "trueBody": { - "id": 3650, - "nodeType": "Block", - "src": "8115:255:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b626f6f6c5d", - "id": 3628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8154:36:7", - "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": 3627, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8134:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8134:57:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3630, - "nodeType": "EmitStatement", - "src": "8129:62:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3632, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8230:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "condition": { - "id": 3633, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3621, - "src": "8244:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 3635, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8257:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 3636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8244:20:7", - "trueExpression": { - "hexValue": "74727565", - "id": 3634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8248:6:7", - "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": 3631, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8210:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8210:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3638, - "nodeType": "EmitStatement", - "src": "8205:60:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8304:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "condition": { - "id": 3641, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3619, - "src": "8318:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 3643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8331:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 3644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8318:20:7", - "trueExpression": { - "hexValue": "74727565", - "id": 3642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8322:6:7", - "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": 3639, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8284:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8284:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3646, - "nodeType": "EmitStatement", - "src": "8279:60:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3647, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "8353:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8353:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3649, - "nodeType": "ExpressionStatement", - "src": "8353:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8059:8:7", - "parameters": { - "id": 3622, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3619, - "mutability": "mutable", - "name": "a", - "nameLocation": "8073:1:7", - "nodeType": "VariableDeclaration", - "scope": 3653, - "src": "8068:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3618, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8068:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3621, - "mutability": "mutable", - "name": "b", - "nameLocation": "8081:1:7", - "nodeType": "VariableDeclaration", - "scope": 3653, - "src": "8076:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8076:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8067:16:7" - }, - "returnParameters": { - "id": 3623, - "nodeType": "ParameterList", - "parameters": [], - "src": "8093:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3678, - "nodeType": "FunctionDefinition", - "src": "8382:178:7", - "body": { - "id": 3677, - "nodeType": "Block", - "src": "8444:116:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3662, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3655, - "src": "8458:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 3663, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3657, - "src": "8463:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8458:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3676, - "nodeType": "IfStatement", - "src": "8454:100:7", - "trueBody": { - "id": 3675, - "nodeType": "Block", - "src": "8466:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8502:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3667, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3659, - "src": "8511:3:7", - "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": 3665, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8485:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8485:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3669, - "nodeType": "EmitStatement", - "src": "8480:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3671, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3655, - "src": "8538:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3672, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3657, - "src": "8541:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 3670, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3653, - "src": "8529:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_bool_$returns$__$", - "typeString": "function (bool,bool)" - } - }, - "id": 3673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8529:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3674, - "nodeType": "ExpressionStatement", - "src": "8529:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8391:8:7", - "parameters": { - "id": 3660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3655, - "mutability": "mutable", - "name": "a", - "nameLocation": "8405:1:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8400:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3654, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8400:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3657, - "mutability": "mutable", - "name": "b", - "nameLocation": "8413:1:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8408:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8408:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3659, - "mutability": "mutable", - "name": "err", - "nameLocation": "8430:3:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8416:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3658, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8416:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8399:35:7" - }, - "returnParameters": { - "id": 3661, - "nodeType": "ParameterList", - "parameters": [], - "src": "8444:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3691, - "nodeType": "FunctionDefinition", - "src": "8566:91:7", - "body": { - "id": 3690, - "nodeType": "Block", - "src": "8625:32:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3686, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3680, - "src": "8645:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3687, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3682, - "src": "8648:1:7", - "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": 3685, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2244, - "src": "8635:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,bytes memory)" - } - }, - "id": 3688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8635:15:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3689, - "nodeType": "ExpressionStatement", - "src": "8635:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8575:8:7", - "parameters": { - "id": 3683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3680, - "mutability": "mutable", - "name": "a", - "nameLocation": "8597:1:7", - "nodeType": "VariableDeclaration", - "scope": 3691, - "src": "8584:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3679, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8584:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3682, - "mutability": "mutable", - "name": "b", - "nameLocation": "8613:1:7", - "nodeType": "VariableDeclaration", - "scope": 3691, - "src": "8600:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3681, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8600:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8583:32:7" - }, - "returnParameters": { - "id": 3684, - "nodeType": "ParameterList", - "parameters": [], - "src": "8625:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3707, - "nodeType": "FunctionDefinition", - "src": "8663:115:7", - "body": { - "id": 3706, - "nodeType": "Block", - "src": "8741:37:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3701, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3693, - "src": "8761:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3702, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3695, - "src": "8764:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3703, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3697, - "src": "8767:3:7", - "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": 3700, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2271, - "src": "8751:9:7", - "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": 3704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8751:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3705, - "nodeType": "ExpressionStatement", - "src": "8751:20:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8672:8:7", - "parameters": { - "id": 3698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3693, - "mutability": "mutable", - "name": "a", - "nameLocation": "8694:1:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8681:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3692, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8681:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3695, - "mutability": "mutable", - "name": "b", - "nameLocation": "8710:1:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8697:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3694, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8697:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3697, - "mutability": "mutable", - "name": "err", - "nameLocation": "8727:3:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8713:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3696, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8713:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8680:51:7" - }, - "returnParameters": { - "id": 3699, - "nodeType": "ParameterList", - "parameters": [], - "src": "8741:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3749, - "nodeType": "FunctionDefinition", - "src": "8784:336:7", - "body": { - "id": 3748, - "nodeType": "Block", - "src": "8851:269:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3719, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "8886:1:7", - "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": 3717, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8875:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8879:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8875:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8875:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3716, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8865:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8865:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3725, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "8914:1:7", - "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": 3723, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8903:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8907:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8903:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8903:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3722, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8893:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8893:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8865:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3747, - "nodeType": "IfStatement", - "src": "8861:253:7", - "trueBody": { - "id": 3746, - "nodeType": "Block", - "src": "8919:195:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e745b5d5d", - "id": 3730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8942:38:7", - "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": 3729, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8938:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8938:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3732, - "nodeType": "EmitStatement", - "src": "8933:48:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9016:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3735, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "9030:1:7", - "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": 3733, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2936, - "src": "9000:15:7", - "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": 3736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9000:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3737, - "nodeType": "EmitStatement", - "src": "8995:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9067:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3740, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "9081:1:7", - "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": 3738, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2936, - "src": "9051:15:7", - "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": 3741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9051:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3742, - "nodeType": "EmitStatement", - "src": "9046:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3743, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9097:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9097:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3745, - "nodeType": "ExpressionStatement", - "src": "9097:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8793:8:7", - "parameters": { - "id": 3714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3710, - "mutability": "mutable", - "name": "a", - "nameLocation": "8819:1:7", - "nodeType": "VariableDeclaration", - "scope": 3749, - "src": "8802:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3708, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8802:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3709, - "nodeType": "ArrayTypeName", - "src": "8802:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3713, - "mutability": "mutable", - "name": "b", - "nameLocation": "8839:1:7", - "nodeType": "VariableDeclaration", - "scope": 3749, - "src": "8822:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3711, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8822:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3712, - "nodeType": "ArrayTypeName", - "src": "8822:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "8801:40:7" - }, - "returnParameters": { - "id": 3715, - "nodeType": "ParameterList", - "parameters": [], - "src": "8851:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3791, - "nodeType": "FunctionDefinition", - "src": "9126:333:7", - "body": { - "id": 3790, - "nodeType": "Block", - "src": "9191:268:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3761, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "9226:1:7", - "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": 3759, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9215:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9219:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9215:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9215:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3758, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9205:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9205:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3767, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3755, - "src": "9254:1:7", - "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": 3765, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9243:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9247:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9243:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9243:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3764, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9233:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9233:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9205:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3789, - "nodeType": "IfStatement", - "src": "9201:252:7", - "trueBody": { - "id": 3788, - "nodeType": "Block", - "src": "9259:194:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b696e745b5d5d", - "id": 3772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9282:37:7", - "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": 3771, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9278:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9278:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3774, - "nodeType": "EmitStatement", - "src": "9273:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9355:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3777, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3755, - "src": "9369:1:7", - "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": 3775, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2943, - "src": "9339:15:7", - "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": 3778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9339:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3779, - "nodeType": "EmitStatement", - "src": "9334:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3781, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9406:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3782, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "9420:1:7", - "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": 3780, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2943, - "src": "9390:15:7", - "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": 3783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9390:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3784, - "nodeType": "EmitStatement", - "src": "9385:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3785, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9436:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9436:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3787, - "nodeType": "ExpressionStatement", - "src": "9436:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9135:8:7", - "parameters": { - "id": 3756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3752, - "mutability": "mutable", - "name": "a", - "nameLocation": "9160:1:7", - "nodeType": "VariableDeclaration", - "scope": 3791, - "src": "9144:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3750, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9144:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3751, - "nodeType": "ArrayTypeName", - "src": "9144:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3755, - "mutability": "mutable", - "name": "b", - "nameLocation": "9179:1:7", - "nodeType": "VariableDeclaration", - "scope": 3791, - "src": "9163:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3753, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9163:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3754, - "nodeType": "ArrayTypeName", - "src": "9163:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "9143:38:7" - }, - "returnParameters": { - "id": 3757, - "nodeType": "ParameterList", - "parameters": [], - "src": "9191:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3833, - "nodeType": "FunctionDefinition", - "src": "9465:339:7", - "body": { - "id": 3832, - "nodeType": "Block", - "src": "9532:272:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3803, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3794, - "src": "9567:1:7", - "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": 3801, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9556:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9560:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9556:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9556:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3800, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9546:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9546:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3809, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3797, - "src": "9595:1:7", - "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": 3807, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9584:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9588:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9584:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9584:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3806, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9574:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9574:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9546:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3831, - "nodeType": "IfStatement", - "src": "9542:256:7", - "trueBody": { - "id": 3830, - "nodeType": "Block", - "src": "9600:198:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b616464726573735b5d5d", - "id": 3814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9623:41:7", - "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": 3813, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9619:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9619:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3816, - "nodeType": "EmitStatement", - "src": "9614:51:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9700:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3819, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3797, - "src": "9714:1:7", - "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": 3817, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2950, - "src": "9684:15:7", - "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": 3820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9684:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3821, - "nodeType": "EmitStatement", - "src": "9679:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9751:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3824, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3794, - "src": "9765:1:7", - "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": 3822, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2950, - "src": "9735:15:7", - "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": 3825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9735:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3826, - "nodeType": "EmitStatement", - "src": "9730:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3827, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9781:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9781:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3829, - "nodeType": "ExpressionStatement", - "src": "9781:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9474:8:7", - "parameters": { - "id": 3798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3794, - "mutability": "mutable", - "name": "a", - "nameLocation": "9500:1:7", - "nodeType": "VariableDeclaration", - "scope": 3833, - "src": "9483:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3792, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9483:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3793, - "nodeType": "ArrayTypeName", - "src": "9483:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3797, - "mutability": "mutable", - "name": "b", - "nameLocation": "9520:1:7", - "nodeType": "VariableDeclaration", - "scope": 3833, - "src": "9503:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3795, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9503:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3796, - "nodeType": "ArrayTypeName", - "src": "9503:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "9482:40:7" - }, - "returnParameters": { - "id": 3799, - "nodeType": "ParameterList", - "parameters": [], - "src": "9532:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3870, - "nodeType": "FunctionDefinition", - "src": "9810:248:7", - "body": { - "id": 3869, - "nodeType": "Block", - "src": "9896:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3847, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3836, - "src": "9931:1:7", - "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": 3845, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9920:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9924:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9920:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9920:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3844, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9910:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9910:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3853, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3839, - "src": "9959:1:7", - "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": 3851, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9948:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9952:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9948:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9948:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3850, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9938:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9938:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9910:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3868, - "nodeType": "IfStatement", - "src": "9906:146:7", - "trueBody": { - "id": 3867, - "nodeType": "Block", - "src": "9964:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10000:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3859, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3841, - "src": "10009:3:7", - "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": 3857, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "9983:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3861, - "nodeType": "EmitStatement", - "src": "9978:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3863, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3836, - "src": "10036:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - { - "id": 3864, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3839, - "src": "10039:1:7", - "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": 3862, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3749, - "src": "10027:8:7", - "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": 3865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10027:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3866, - "nodeType": "ExpressionStatement", - "src": "10027:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9819:8:7", - "parameters": { - "id": 3842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3836, - "mutability": "mutable", - "name": "a", - "nameLocation": "9845:1:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9828:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3834, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9828:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3835, - "nodeType": "ArrayTypeName", - "src": "9828:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3839, - "mutability": "mutable", - "name": "b", - "nameLocation": "9865:1:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9848:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3838, - "nodeType": "ArrayTypeName", - "src": "9848:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3841, - "mutability": "mutable", - "name": "err", - "nameLocation": "9882:3:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9868:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3840, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9868:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9827:59:7" - }, - "returnParameters": { - "id": 3843, - "nodeType": "ParameterList", - "parameters": [], - "src": "9896:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3907, - "nodeType": "FunctionDefinition", - "src": "10064:246:7", - "body": { - "id": 3906, - "nodeType": "Block", - "src": "10148:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3884, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "10183:1:7", - "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": 3882, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10172:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10176:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10172:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10172:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3881, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10162:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10162:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3890, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3876, - "src": "10211:1:7", - "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": 3888, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10200:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10204:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10200:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3887, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10190:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10190:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10162:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3905, - "nodeType": "IfStatement", - "src": "10158:146:7", - "trueBody": { - "id": 3904, - "nodeType": "Block", - "src": "10216:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10252:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3896, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3878, - "src": "10261:3:7", - "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": 3894, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10235:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10235:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3898, - "nodeType": "EmitStatement", - "src": "10230:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3900, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "10288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - }, - { - "id": 3901, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3876, - "src": "10291:1:7", - "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": 3899, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3791, - "src": "10279:8:7", - "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": 3902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10279:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3903, - "nodeType": "ExpressionStatement", - "src": "10279:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "10073:8:7", - "parameters": { - "id": 3879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3873, - "mutability": "mutable", - "name": "a", - "nameLocation": "10098:1:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10082:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3871, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10082:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3872, - "nodeType": "ArrayTypeName", - "src": "10082:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3876, - "mutability": "mutable", - "name": "b", - "nameLocation": "10117:1:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10101:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3874, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10101:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3875, - "nodeType": "ArrayTypeName", - "src": "10101:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3878, - "mutability": "mutable", - "name": "err", - "nameLocation": "10134:3:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10120:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3877, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10120:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10081:57:7" - }, - "returnParameters": { - "id": 3880, - "nodeType": "ParameterList", - "parameters": [], - "src": "10148:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3944, - "nodeType": "FunctionDefinition", - "src": "10317:248:7", - "body": { - "id": 3943, - "nodeType": "Block", - "src": "10403:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3921, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3910, - "src": "10438:1:7", - "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": 3919, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10427:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10431:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10427:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10427:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3918, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10417:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10417:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3927, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3913, - "src": "10466:1:7", - "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": 3925, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10455:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10459:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10455:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10455:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3924, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10445:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10445:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10417:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3942, - "nodeType": "IfStatement", - "src": "10413:146:7", - "trueBody": { - "id": 3941, - "nodeType": "Block", - "src": "10471:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10507:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3933, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3915, - "src": "10516:3:7", - "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": 3931, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10490:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10490:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3935, - "nodeType": "EmitStatement", - "src": "10485:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3937, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3910, - "src": "10543:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 3938, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3913, - "src": "10546:1:7", - "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": 3936, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3833, - "src": "10534:8:7", - "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": 3939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10534:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3940, - "nodeType": "ExpressionStatement", - "src": "10534:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "10326:8:7", - "parameters": { - "id": 3916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3910, - "mutability": "mutable", - "name": "a", - "nameLocation": "10352:1:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10335:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10335:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3909, - "nodeType": "ArrayTypeName", - "src": "10335:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3913, - "mutability": "mutable", - "name": "b", - "nameLocation": "10372:1:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10355:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3911, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10355:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3912, - "nodeType": "ArrayTypeName", - "src": "10355:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3915, - "mutability": "mutable", - "name": "err", - "nameLocation": "10389:3:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10375:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10375:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10334:59:7" - }, - "returnParameters": { - "id": 3917, - "nodeType": "ParameterList", - "parameters": [], - "src": "10403:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3963, - "nodeType": "FunctionDefinition", - "src": "10571:102:7", - "body": { - "id": 3962, - "nodeType": "Block", - "src": "10624:49:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 3954, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3946, - "src": "10651:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10643:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10643:7:7", - "typeDescriptions": {} - } - }, - "id": 3955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10643:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 3958, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3948, - "src": "10663:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3957, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10655:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10655:7:7", - "typeDescriptions": {} - } - }, - "id": 3959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10655:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3951, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "10634:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 3960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10634:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3961, - "nodeType": "ExpressionStatement", - "src": "10634:32:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqUint", - "nameLocation": "10580:12:7", - "parameters": { - "id": 3949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3946, - "mutability": "mutable", - "name": "a", - "nameLocation": "10601:1:7", - "nodeType": "VariableDeclaration", - "scope": 3963, - "src": "10593:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3945, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10593:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3948, - "mutability": "mutable", - "name": "b", - "nameLocation": "10612:1:7", - "nodeType": "VariableDeclaration", - "scope": 3963, - "src": "10604:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3947, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10604:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10592:22:7" - }, - "returnParameters": { - "id": 3950, - "nodeType": "ParameterList", - "parameters": [], - "src": "10624:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4013, - "nodeType": "FunctionDefinition", - "src": "10679:516:7", - "body": { - "id": 4012, - "nodeType": "Block", - "src": "10793:402:7", - "statements": [ - { - "assignments": [ - 3973 - ], - "declarations": [ - { - "constant": false, - "id": 3973, - "mutability": "mutable", - "name": "delta", - "nameLocation": "10811:5:7", - "nodeType": "VariableDeclaration", - "scope": 4012, - "src": "10803:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3972, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10803:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3979, - "initialValue": { - "arguments": [ - { - "id": 3976, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "10833:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3977, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "10836:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3974, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "10819:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10827:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6715, - "src": "10819:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10819:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10803:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3980, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3973, - "src": "10853:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3981, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3969, - "src": "10861:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10853:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4011, - "nodeType": "IfStatement", - "src": "10849:340:7", - "trueBody": { - "id": 4010, - "nodeType": "Block", - "src": "10871:318:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 3984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10906:36:7", - "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": 3983, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "10890:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10890:53:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3986, - "nodeType": "EmitStatement", - "src": "10885:58:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10978:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3989, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "10992:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3987, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "10962:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10962:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3991, - "nodeType": "EmitStatement", - "src": "10957:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11029:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3994, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "11043:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3992, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11013:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11013:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3996, - "nodeType": "EmitStatement", - "src": "11008:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 3998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11080:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 3999, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3969, - "src": "11094:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3997, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11064:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11064:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4001, - "nodeType": "EmitStatement", - "src": "11059:44:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 4003, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11138:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 4004, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3973, - "src": "11152:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4002, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11122:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11122:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4006, - "nodeType": "EmitStatement", - "src": "11117:41:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4007, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "11172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11172:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4009, - "nodeType": "ExpressionStatement", - "src": "11172:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "10688:17:7", - "parameters": { - "id": 3970, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3965, - "mutability": "mutable", - "name": "a", - "nameLocation": "10723:1:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10715:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3964, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10715:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3967, - "mutability": "mutable", - "name": "b", - "nameLocation": "10742:1:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10734:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10734:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3969, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "10761:8:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10753:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3968, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10753:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10705:70:7" - }, - "returnParameters": { - "id": 3971, - "nodeType": "ParameterList", - "parameters": [], - "src": "10793:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4049, - "nodeType": "FunctionDefinition", - "src": "11201:335:7", - "body": { - "id": 4048, - "nodeType": "Block", - "src": "11342:194:7", - "statements": [ - { - "assignments": [ - 4025 - ], - "declarations": [ - { - "constant": false, - "id": 4025, - "mutability": "mutable", - "name": "delta", - "nameLocation": "11360:5:7", - "nodeType": "VariableDeclaration", - "scope": 4048, - "src": "11352:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4024, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11352:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4031, - "initialValue": { - "arguments": [ - { - "id": 4028, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4015, - "src": "11382:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4029, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4017, - "src": "11385:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4026, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "11368:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11376:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6715, - "src": "11368:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11368:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11352:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4032, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4025, - "src": "11402:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4033, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4019, - "src": "11410:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11402:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4047, - "nodeType": "IfStatement", - "src": "11398:132:7", - "trueBody": { - "id": 4046, - "nodeType": "Block", - "src": "11420:110:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11459:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4037, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4021, - "src": "11468:3:7", - "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": 4035, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "11439:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11439:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4039, - "nodeType": "EmitStatement", - "src": "11434:38:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4041, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4015, - "src": "11504:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4042, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4017, - "src": "11507:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4043, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4019, - "src": "11510:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4040, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4013, - 4049, - 4099, - 4135 - ], - "referencedDeclaration": 4013, - "src": "11486:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 4044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11486:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4045, - "nodeType": "ExpressionStatement", - "src": "11486:33:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "11210:17:7", - "parameters": { - "id": 4022, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4015, - "mutability": "mutable", - "name": "a", - "nameLocation": "11245:1:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11237:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4014, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11237:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4017, - "mutability": "mutable", - "name": "b", - "nameLocation": "11264:1:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11256:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4016, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11256:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4019, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "11283:8:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11275:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4021, - "mutability": "mutable", - "name": "err", - "nameLocation": "11315:3:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11301:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4020, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11301:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11227:97:7" - }, - "returnParameters": { - "id": 4023, - "nodeType": "ParameterList", - "parameters": [], - "src": "11342:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4099, - "nodeType": "FunctionDefinition", - "src": "11542:513:7", - "body": { - "id": 4098, - "nodeType": "Block", - "src": "11654:401:7", - "statements": [ - { - "assignments": [ - 4059 - ], - "declarations": [ - { - "constant": false, - "id": 4059, - "mutability": "mutable", - "name": "delta", - "nameLocation": "11672:5:7", - "nodeType": "VariableDeclaration", - "scope": 4098, - "src": "11664:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4058, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11664:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4065, - "initialValue": { - "arguments": [ - { - "id": 4062, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4051, - "src": "11694:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4063, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "11697:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4060, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "11680:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11688:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6751, - "src": "11680:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11680:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11664:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4066, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "11714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4067, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "11722:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11714:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4097, - "nodeType": "IfStatement", - "src": "11710:339:7", - "trueBody": { - "id": 4096, - "nodeType": "Block", - "src": "11732:317:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 4070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11767:35:7", - "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": 4069, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "11751:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11751:52:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4072, - "nodeType": "EmitStatement", - "src": "11746:57:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 4074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11838:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4075, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "11852:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4073, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11822:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11822:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4077, - "nodeType": "EmitStatement", - "src": "11817:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 4079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11889:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4080, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4051, - "src": "11903:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4078, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11873:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11873:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4082, - "nodeType": "EmitStatement", - "src": "11868:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 4084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11940:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 4085, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "11954:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4083, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11924:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11924:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4087, - "nodeType": "EmitStatement", - "src": "11919:44:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 4089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11998:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 4090, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "12012:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4088, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11982:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11982:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4092, - "nodeType": "EmitStatement", - "src": "11977:41:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4093, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "12032:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12032:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4095, - "nodeType": "ExpressionStatement", - "src": "12032:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "11551:17:7", - "parameters": { - "id": 4056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4051, - "mutability": "mutable", - "name": "a", - "nameLocation": "11585:1:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11578:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4050, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11578:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4053, - "mutability": "mutable", - "name": "b", - "nameLocation": "11603:1:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11596:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4052, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11596:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4055, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "11622:8:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11614:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4054, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11614:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11568:68:7" - }, - "returnParameters": { - "id": 4057, - "nodeType": "ParameterList", - "parameters": [], - "src": "11654:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4135, - "nodeType": "FunctionDefinition", - "src": "12061:333:7", - "body": { - "id": 4134, - "nodeType": "Block", - "src": "12200:194:7", - "statements": [ - { - "assignments": [ - 4111 - ], - "declarations": [ - { - "constant": false, - "id": 4111, - "mutability": "mutable", - "name": "delta", - "nameLocation": "12218:5:7", - "nodeType": "VariableDeclaration", - "scope": 4134, - "src": "12210:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4110, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12210:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4117, - "initialValue": { - "arguments": [ - { - "id": 4114, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "12240:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4115, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "12243:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4112, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "12226:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12234:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6751, - "src": "12226:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12226:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12210:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4118, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4111, - "src": "12260:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4119, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "12268:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12260:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4133, - "nodeType": "IfStatement", - "src": "12256:132:7", - "trueBody": { - "id": 4132, - "nodeType": "Block", - "src": "12278:110:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12317:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4123, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4107, - "src": "12326:3:7", - "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": 4121, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "12297:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12297:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4125, - "nodeType": "EmitStatement", - "src": "12292:38:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4127, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "12362:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4128, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "12365:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4129, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "12368:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4126, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4013, - 4049, - 4099, - 4135 - ], - "referencedDeclaration": 4099, - "src": "12344:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 4130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12344:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4131, - "nodeType": "ExpressionStatement", - "src": "12344:33:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "12070:17:7", - "parameters": { - "id": 4108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4101, - "mutability": "mutable", - "name": "a", - "nameLocation": "12104:1:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12097:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4100, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "12097:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4103, - "mutability": "mutable", - "name": "b", - "nameLocation": "12122:1:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12115:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4102, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "12115:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4105, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "12141:8:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12133:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4104, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12133:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4107, - "mutability": "mutable", - "name": "err", - "nameLocation": "12173:3:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12159:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4106, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12159:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12087:95:7" - }, - "returnParameters": { - "id": 4109, - "nodeType": "ParameterList", - "parameters": [], - "src": "12200:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4196, - "nodeType": "FunctionDefinition", - "src": "12400:766:7", - "body": { - "id": 4195, - "nodeType": "Block", - "src": "12577:589:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4144, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12591:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12596:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12591:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4152, - "nodeType": "IfStatement", - "src": "12587:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4148, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12615:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4149, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12618:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4147, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "12606:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 4150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12606:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4143, - "id": 4151, - "nodeType": "Return", - "src": "12599:21:7" - } - }, - { - "assignments": [ - 4154 - ], - "declarations": [ - { - "constant": false, - "id": 4154, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "12684:12:7", - "nodeType": "VariableDeclaration", - "scope": 4195, - "src": "12676:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4153, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12676:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4160, - "initialValue": { - "arguments": [ - { - "id": 4157, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12720:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4158, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12723:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4155, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "12699:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12707:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6774, - "src": "12699:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12699:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12676:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4161, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4154, - "src": "12740:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4162, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4141, - "src": "12755:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12740:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4194, - "nodeType": "IfStatement", - "src": "12736:424:7", - "trueBody": { - "id": 4193, - "nodeType": "Block", - "src": "12772:388:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 4165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12815:36:7", - "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": 4164, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "12791:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12791:61:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4167, - "nodeType": "EmitStatement", - "src": "12786:66:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 4169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12895:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4170, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12911:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4168, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12871:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12871:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4172, - "nodeType": "EmitStatement", - "src": "12866:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 4174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12956:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4175, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12972:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4173, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12932:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12932:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4177, - "nodeType": "EmitStatement", - "src": "12927:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 4179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13017:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 4180, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4141, - "src": "13033:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13050:2:7", - "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": 4178, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "12993:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12993:60:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4183, - "nodeType": "EmitStatement", - "src": "12988:65:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 4185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13096:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 4186, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4154, - "src": "13112:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4187, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13126:2:7", - "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": 4184, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "13072:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13072:57:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4189, - "nodeType": "EmitStatement", - "src": "13067:62:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4190, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "13143:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13143:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4192, - "nodeType": "ExpressionStatement", - "src": "13143:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "12409:17:7", - "parameters": { - "id": 4142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4137, - "mutability": "mutable", - "name": "a", - "nameLocation": "12444:1:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12436:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12436:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4139, - "mutability": "mutable", - "name": "b", - "nameLocation": "12463:1:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12455:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12455:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4141, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "12482:15:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12474:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4140, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12474:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12426:133:7" - }, - "returnParameters": { - "id": 4143, - "nodeType": "ParameterList", - "parameters": [], - "src": "12577:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4242, - "nodeType": "FunctionDefinition", - "src": "13172:531:7", - "body": { - "id": 4241, - "nodeType": "Block", - "src": "13376:327:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4207, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13390:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13395:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13390:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4216, - "nodeType": "IfStatement", - "src": "13386:38:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4211, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13414:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4212, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13417:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4213, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4204, - "src": "13420:3:7", - "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": 4210, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1025, - "src": "13405:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,string memory)" - } - }, - "id": 4214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13405:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4206, - "id": 4215, - "nodeType": "Return", - "src": "13398:26:7" - } - }, - { - "assignments": [ - 4218 - ], - "declarations": [ - { - "constant": false, - "id": 4218, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "13488:12:7", - "nodeType": "VariableDeclaration", - "scope": 4241, - "src": "13480:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4217, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13480:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4224, - "initialValue": { - "arguments": [ - { - "id": 4221, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13524:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4222, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13527:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4219, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "13503:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13511:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6774, - "src": "13503:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13503:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13480:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4225, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4218, - "src": "13544:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4226, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4202, - "src": "13559:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13544:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4240, - "nodeType": "IfStatement", - "src": "13540:157:7", - "trueBody": { - "id": 4239, - "nodeType": "Block", - "src": "13576:121:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13619:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4230, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4204, - "src": "13628:3:7", - "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": 4228, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "13595:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13595:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4232, - "nodeType": "EmitStatement", - "src": "13590:42:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4234, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13664:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4235, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13667:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4236, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4202, - "src": "13670:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4233, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4196, - 4242, - 4303, - 4348 - ], - "referencedDeclaration": 4196, - "src": "13646:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 4237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13646:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4238, - "nodeType": "ExpressionStatement", - "src": "13646:40:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "13181:17:7", - "parameters": { - "id": 4205, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4198, - "mutability": "mutable", - "name": "a", - "nameLocation": "13216:1:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13208:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13208:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4200, - "mutability": "mutable", - "name": "b", - "nameLocation": "13235:1:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13227:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4199, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13227:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4202, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "13254:15:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13246:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4201, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13246:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4204, - "mutability": "mutable", - "name": "err", - "nameLocation": "13349:3:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13335:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4203, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13335:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13198:160:7" - }, - "returnParameters": { - "id": 4206, - "nodeType": "ParameterList", - "parameters": [], - "src": "13376:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4303, - "nodeType": "FunctionDefinition", - "src": "13709:702:7", - "body": { - "id": 4302, - "nodeType": "Block", - "src": "13828:583:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 4253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4251, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13842:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13847:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13842:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4259, - "nodeType": "IfStatement", - "src": "13838:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4255, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "13866:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4256, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13869:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4254, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "13857:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 4257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13857:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4250, - "id": 4258, - "nodeType": "Return", - "src": "13850:21:7" - } - }, - { - "assignments": [ - 4261 - ], - "declarations": [ - { - "constant": false, - "id": 4261, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "13935:12:7", - "nodeType": "VariableDeclaration", - "scope": 4302, - "src": "13927:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4260, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13927:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4267, - "initialValue": { - "arguments": [ - { - "id": 4264, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "13971:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4265, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13974:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4262, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "13950:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13958:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6803, - "src": "13950:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13950:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13927:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4268, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4261, - "src": "13991:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4269, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "14006:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13991:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4301, - "nodeType": "IfStatement", - "src": "13987:418:7", - "trueBody": { - "id": 4300, - "nodeType": "Block", - "src": "14023:382:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 4272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14065:35:7", - "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": 4271, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "14042:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14042:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4274, - "nodeType": "EmitStatement", - "src": "14037:64:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 4276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14143:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4277, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "14159:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4275, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "14120:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14120:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4279, - "nodeType": "EmitStatement", - "src": "14115:46:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 4281, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14203:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4282, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "14219:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4280, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "14180:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14180:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4284, - "nodeType": "EmitStatement", - "src": "14175:46:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 4286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14263:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 4287, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "14279:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14296:2:7", - "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": 4285, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14240:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14240:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4290, - "nodeType": "EmitStatement", - "src": "14235:64:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 4292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14341:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 4293, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4261, - "src": "14357:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14371:2:7", - "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": 4291, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14318:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14318:56:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4296, - "nodeType": "EmitStatement", - "src": "14313:61:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4297, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "14388:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14388:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4299, - "nodeType": "ExpressionStatement", - "src": "14388:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "13718:17:7", - "parameters": { - "id": 4249, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4244, - "mutability": "mutable", - "name": "a", - "nameLocation": "13752:1:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13745:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4243, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "13745:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4246, - "mutability": "mutable", - "name": "b", - "nameLocation": "13770:1:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13763:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4245, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "13763:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4248, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "13789:15:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13781:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13781:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13735:75:7" - }, - "returnParameters": { - "id": 4250, - "nodeType": "ParameterList", - "parameters": [], - "src": "13828:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4348, - "nodeType": "FunctionDefinition", - "src": "14417:467:7", - "body": { - "id": 4347, - "nodeType": "Block", - "src": "14563:321:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 4316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4314, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14577:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14582:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "14577:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4322, - "nodeType": "IfStatement", - "src": "14573:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4318, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14601:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4319, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14604:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4317, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "14592:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 4320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14592:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4313, - "id": 4321, - "nodeType": "Return", - "src": "14585:21:7" - } - }, - { - "assignments": [ - 4324 - ], - "declarations": [ - { - "constant": false, - "id": 4324, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "14670:12:7", - "nodeType": "VariableDeclaration", - "scope": 4347, - "src": "14662:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14662:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4330, - "initialValue": { - "arguments": [ - { - "id": 4327, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14706:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4328, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14709:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4325, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "14685:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14693:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6803, - "src": "14685:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14685:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14662:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4331, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4324, - "src": "14726:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4332, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4309, - "src": "14741:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14726:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4346, - "nodeType": "IfStatement", - "src": "14722:156:7", - "trueBody": { - "id": 4345, - "nodeType": "Block", - "src": "14758:120:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14800:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4336, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4311, - "src": "14809:3:7", - "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": 4334, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "14777:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14777:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4338, - "nodeType": "EmitStatement", - "src": "14772:41:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4340, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14845:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4341, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14848:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4342, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4309, - "src": "14851:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4339, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4196, - 4242, - 4303, - 4348 - ], - "referencedDeclaration": 4303, - "src": "14827:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 4343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14827:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4344, - "nodeType": "ExpressionStatement", - "src": "14827:40:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "14426:17:7", - "parameters": { - "id": 4312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4305, - "mutability": "mutable", - "name": "a", - "nameLocation": "14460:1:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14453:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4304, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "14453:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4307, - "mutability": "mutable", - "name": "b", - "nameLocation": "14478:1:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14471:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4306, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "14471:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4309, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "14497:15:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14489:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4311, - "mutability": "mutable", - "name": "err", - "nameLocation": "14536:3:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14522:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14522:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14443:102:7" - }, - "returnParameters": { - "id": 4313, - "nodeType": "ParameterList", - "parameters": [], - "src": "14563:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4365, - "nodeType": "StructDefinition", - "src": "15306:325:7", - "canonicalName": "Test.RawTx1559", - "members": [ - { - "constant": false, - "id": 4351, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "15342:9:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15333:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4349, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15333:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4350, - "nodeType": "ArrayTypeName", - "src": "15333:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4353, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "15369:15:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15361:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4352, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15361:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4355, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "15401:12:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15394:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4354, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15394:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4357, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "15468:11:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15461:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4356, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15461:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4359, - "mutability": "mutable", - "name": "hash", - "nameLocation": "15497:4:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15489:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4358, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4362, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "15559:8:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15543:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - }, - "typeName": { - "id": 4361, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4360, - "name": "RawTx1559Detail", - "nameLocations": [ - "15543:15:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4384, - "src": "15543:15:7" - }, - "referencedDeclaration": 4384, - "src": "15543:15:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4364, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "15618:6:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15611:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4363, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15611:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559", - "nameLocation": "15313:9:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4384, - "nodeType": "StructDefinition", - "src": "15637:208:7", - "canonicalName": "Test.RawTx1559Detail", - "members": [ - { - "constant": false, - "id": 4369, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "15683:10:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15670:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4367, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4366, - "name": "AccessList", - "nameLocations": [ - "15670:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "15670:10:7" - }, - "referencedDeclaration": 4476, - "src": "15670:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4368, - "nodeType": "ArrayTypeName", - "src": "15670:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4371, - "mutability": "mutable", - "name": "data", - "nameLocation": "15709:4:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15703:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4370, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15703:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4373, - "mutability": "mutable", - "name": "from", - "nameLocation": "15731:4:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15723:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15723:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4375, - "mutability": "mutable", - "name": "gas", - "nameLocation": "15751:3:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15745:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4374, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15745:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4377, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "15770:5:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15764:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4376, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15764:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4379, - "mutability": "mutable", - "name": "to", - "nameLocation": "15793:2:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15785:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15785:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4381, - "mutability": "mutable", - "name": "txType", - "nameLocation": "15811:6:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15805:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4380, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15805:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4383, - "mutability": "mutable", - "name": "value", - "nameLocation": "15833:5:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15827:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4382, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15827:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559Detail", - "nameLocation": "15644:15:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4401, - "nodeType": "StructDefinition", - "src": "15851:215:7", - "canonicalName": "Test.Tx1559", - "members": [ - { - "constant": false, - "id": 4387, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "15884:9:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15875:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15875:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4386, - "nodeType": "ArrayTypeName", - "src": "15875:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4389, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "15911:15:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15903:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4388, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15903:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4391, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "15943:12:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15936:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15936:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4393, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "15972:11:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15965:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4392, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4395, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16001:4:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15993:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4394, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15993:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4398, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "16028:8:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "16015:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4397, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4396, - "name": "Tx1559Detail", - "nameLocations": [ - "16015:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "16015:12:7" - }, - "referencedDeclaration": 4420, - "src": "16015:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4400, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16053:6:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "16046:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4399, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16046:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559", - "nameLocation": "15858:6:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4420, - "nodeType": "StructDefinition", - "src": "16072:213:7", - "canonicalName": "Test.Tx1559Detail", - "members": [ - { - "constant": false, - "id": 4405, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "16115:10:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16102:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4403, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4402, - "name": "AccessList", - "nameLocations": [ - "16102:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "16102:10:7" - }, - "referencedDeclaration": 4476, - "src": "16102:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4404, - "nodeType": "ArrayTypeName", - "src": "16102:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4407, - "mutability": "mutable", - "name": "data", - "nameLocation": "16141:4:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16135:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4406, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16135:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4409, - "mutability": "mutable", - "name": "from", - "nameLocation": "16163:4:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16155:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4408, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16155:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4411, - "mutability": "mutable", - "name": "gas", - "nameLocation": "16185:3:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16177:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4410, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4413, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "16206:5:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16198:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4412, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16198:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4415, - "mutability": "mutable", - "name": "to", - "nameLocation": "16229:2:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16221:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4414, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16221:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4417, - "mutability": "mutable", - "name": "txType", - "nameLocation": "16249:6:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16241:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16241:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4419, - "mutability": "mutable", - "name": "value", - "nameLocation": "16273:5:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16265:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4418, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16265:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559Detail", - "nameLocation": "16079:12:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4437, - "nodeType": "StructDefinition", - "src": "16533:220:7", - "canonicalName": "Test.TxLegacy", - "members": [ - { - "constant": false, - "id": 4423, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "16567:9:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16558:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4421, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16558:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4422, - "nodeType": "ArrayTypeName", - "src": "16558:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4425, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "16594:15:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16586:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4424, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16586:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4427, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "16626:12:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16619:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4426, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16619:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4429, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "16655:11:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16648:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4428, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16648:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4431, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16683:4:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16676:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4430, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16676:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4433, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16704:6:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16697:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4432, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16697:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4436, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "16735:11:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16720:26:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$4470_storage_ptr", - "typeString": "struct Test.TxDetailLegacy" - }, - "typeName": { - "id": 4435, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4434, - "name": "TxDetailLegacy", - "nameLocations": [ - "16720:14:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4470, - "src": "16720:14:7" - }, - "referencedDeclaration": 4470, - "src": "16720:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$4470_storage_ptr", - "typeString": "struct Test.TxDetailLegacy" - } - }, - "visibility": "internal" - } - ], - "name": "TxLegacy", - "nameLocation": "16540:8:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4470, - "nodeType": "StructDefinition", - "src": "16759:365:7", - "canonicalName": "Test.TxDetailLegacy", - "members": [ - { - "constant": false, - "id": 4441, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "16803:10:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16790:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4439, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4438, - "name": "AccessList", - "nameLocations": [ - "16790:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "16790:10:7" - }, - "referencedDeclaration": 4476, - "src": "16790:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4440, - "nodeType": "ArrayTypeName", - "src": "16790:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4443, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "16831:7:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16823:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16823:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4445, - "mutability": "mutable", - "name": "data", - "nameLocation": "16854:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16848:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4444, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16848:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4447, - "mutability": "mutable", - "name": "from", - "nameLocation": "16876:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16868:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16868:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4449, - "mutability": "mutable", - "name": "gas", - "nameLocation": "16898:3:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16890:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4448, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16890:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4451, - "mutability": "mutable", - "name": "gasPrice", - "nameLocation": "16919:8:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16911:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4450, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16911:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4453, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16945:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16937:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "16937:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4455, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "16967:5:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16959:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4454, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16959:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4457, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16989:6:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16982:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 4456, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "16982:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4459, - "mutability": "mutable", - "name": "r", - "nameLocation": "17013:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17005:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4458, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17005:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4461, - "mutability": "mutable", - "name": "s", - "nameLocation": "17032:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17024:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4460, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17024:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4463, - "mutability": "mutable", - "name": "txType", - "nameLocation": "17051:6:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17043:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4462, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17043:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4465, - "mutability": "mutable", - "name": "to", - "nameLocation": "17075:2:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17067:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17067:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4467, - "mutability": "mutable", - "name": "v", - "nameLocation": "17093:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17087:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 4466, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "17087:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4469, - "mutability": "mutable", - "name": "value", - "nameLocation": "17112:5:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17104:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4468, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17104:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "TxDetailLegacy", - "nameLocation": "16766:14:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4476, - "nodeType": "StructDefinition", - "src": "17130:86:7", - "canonicalName": "Test.AccessList", - "members": [ - { - "constant": false, - "id": 4472, - "mutability": "mutable", - "name": "accessAddress", - "nameLocation": "17165:13:7", - "nodeType": "VariableDeclaration", - "scope": 4476, - "src": "17157:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4471, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17157:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4475, - "mutability": "mutable", - "name": "storageKeys", - "nameLocation": "17198:11:7", - "nodeType": "VariableDeclaration", - "scope": 4476, - "src": "17188:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4473, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17188:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4474, - "nodeType": "ArrayTypeName", - "src": "17188:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "name": "AccessList", - "nameLocation": "17137:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4505, - "nodeType": "StructDefinition", - "src": "17432:385:7", - "canonicalName": "Test.RawReceipt", - "members": [ - { - "constant": false, - "id": 4478, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "17468:9:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17460:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4477, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17460:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4480, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "17493:11:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17487:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4479, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17487:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4482, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "17522:15:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17514:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17514:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4484, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "17553:17:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17547:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4483, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17547:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4486, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "17586:17:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17580:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4485, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17580:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4488, - "mutability": "mutable", - "name": "from", - "nameLocation": "17621:4:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17613:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4487, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17613:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4490, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "17641:7:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17635:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17635:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4494, - "mutability": "mutable", - "name": "logs", - "nameLocation": "17674:4:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17658:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4492, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4491, - "name": "RawReceiptLog", - "nameLocations": [ - "17658:13:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4602, - "src": "17658:13:7" - }, - "referencedDeclaration": 4602, - "src": "17658:13:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_storage_ptr", - "typeString": "struct Test.RawReceiptLog" - } - }, - "id": 4493, - "nodeType": "ArrayTypeName", - "src": "17658:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4496, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "17694:9:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17688:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4495, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17688:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4498, - "mutability": "mutable", - "name": "status", - "nameLocation": "17719:6:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17713:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4497, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17713:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4500, - "mutability": "mutable", - "name": "to", - "nameLocation": "17743:2:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17735:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4499, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17735:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4502, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "17763:15:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17755:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4501, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17755:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4504, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "17794:16:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17788:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4503, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17788:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceipt", - "nameLocation": "17439:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4534, - "nodeType": "StructDefinition", - "src": "17823:391:7", - "canonicalName": "Test.Receipt", - "members": [ - { - "constant": false, - "id": 4507, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "17856:9:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17848:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4506, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4509, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "17883:11:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17875:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4508, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17875:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4511, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "17912:15:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17904:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4510, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17904:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4513, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "17945:17:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17937:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4512, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17937:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4515, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "17980:17:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17972:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17972:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4517, - "mutability": "mutable", - "name": "from", - "nameLocation": "18015:4:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18007:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4516, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18007:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4519, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "18037:7:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18029:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4518, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18029:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4523, - "mutability": "mutable", - "name": "logs", - "nameLocation": "18067:4:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18054:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4521, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4520, - "name": "ReceiptLog", - "nameLocations": [ - "18054:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "18054:10:7" - }, - "referencedDeclaration": 4622, - "src": "18054:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 4522, - "nodeType": "ArrayTypeName", - "src": "18054:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4525, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "18087:9:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18081:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4524, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18081:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4527, - "mutability": "mutable", - "name": "status", - "nameLocation": "18114:6:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18106:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4526, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18106:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4529, - "mutability": "mutable", - "name": "to", - "nameLocation": "18138:2:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18130:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4528, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18130:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4531, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "18158:15:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18150:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4530, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18150:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4533, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "18191:16:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18183:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4532, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18183:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Receipt", - "nameLocation": "17830:7:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4557, - "nodeType": "StructDefinition", - "src": "18337:227:7", - "canonicalName": "Test.EIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 4537, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "18385:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18376:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18376:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4536, - "nodeType": "ArrayTypeName", - "src": "18376:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4539, - "mutability": "mutable", - "name": "path", - "nameLocation": "18411:4:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18404:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4538, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18404:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4542, - "mutability": "mutable", - "name": "pending", - "nameLocation": "18434:7:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18425:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18425:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4541, - "nodeType": "ArrayTypeName", - "src": "18425:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4546, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "18461:8:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18451:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4544, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4543, - "name": "Receipt", - "nameLocations": [ - "18451:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "18451:7:7" - }, - "referencedDeclaration": 4534, - "src": "18451:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 4545, - "nodeType": "ArrayTypeName", - "src": "18451:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4548, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "18487:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18479:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4547, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18479:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4552, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "18515:12:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18506:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4550, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4549, - "name": "Tx1559", - "nameLocations": [ - "18506:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "18506:6:7" - }, - "referencedDeclaration": 4401, - "src": "18506:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4551, - "nodeType": "ArrayTypeName", - "src": "18506:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4556, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "18548:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18537:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 4554, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4553, - "name": "TxReturn", - "nameLocations": [ - "18537:8:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4627, - "src": "18537:8:7" - }, - "referencedDeclaration": 4627, - "src": "18537:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$4627_storage_ptr", - "typeString": "struct Test.TxReturn" - } - }, - "id": 4555, - "nodeType": "ArrayTypeName", - "src": "18537:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - } - }, - "visibility": "internal" - } - ], - "name": "EIP1559ScriptArtifact", - "nameLocation": "18344:21:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4580, - "nodeType": "StructDefinition", - "src": "18570:236:7", - "canonicalName": "Test.RawEIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 4560, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "18621:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18612:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18612:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4559, - "nodeType": "ArrayTypeName", - "src": "18612:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4562, - "mutability": "mutable", - "name": "path", - "nameLocation": "18647:4:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18640:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18640:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4565, - "mutability": "mutable", - "name": "pending", - "nameLocation": "18670:7:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18661:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4563, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18661:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4564, - "nodeType": "ArrayTypeName", - "src": "18661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4569, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "18700:8:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18687:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 4567, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4566, - "name": "RawReceipt", - "nameLocations": [ - "18687:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "18687:10:7" - }, - "referencedDeclaration": 4505, - "src": "18687:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 4568, - "nodeType": "ArrayTypeName", - "src": "18687:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4573, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "18729:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18718:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 4571, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4570, - "name": "TxReturn", - "nameLocations": [ - "18718:8:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4627, - "src": "18718:8:7" - }, - "referencedDeclaration": 4627, - "src": "18718:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$4627_storage_ptr", - "typeString": "struct Test.TxReturn" - } - }, - "id": 4572, - "nodeType": "ArrayTypeName", - "src": "18718:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4575, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "18756:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18748:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4574, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4579, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "18787:12:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18775:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4577, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4576, - "name": "RawTx1559", - "nameLocations": [ - "18775:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "18775:9:7" - }, - "referencedDeclaration": 4365, - "src": "18775:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4578, - "nodeType": "ArrayTypeName", - "src": "18775:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "name": "RawEIP1559ScriptArtifact", - "nameLocation": "18577:24:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4602, - "nodeType": "StructDefinition", - "src": "18812:334:7", - "canonicalName": "Test.RawReceiptLog", - "members": [ - { - "constant": false, - "id": 4582, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "18883:10:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18875:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4581, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18875:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4584, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "18911:9:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18903:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4583, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18903:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4586, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "18936:11:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18930:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4585, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18930:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4588, - "mutability": "mutable", - "name": "data", - "nameLocation": "18963:4:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18957:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4587, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18957:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4590, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "18983:8:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18977:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4589, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18977:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4592, - "mutability": "mutable", - "name": "removed", - "nameLocation": "19006:7:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19001:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4591, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19001:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4595, - "mutability": "mutable", - "name": "topics", - "nameLocation": "19033:6:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19023:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4593, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19023:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4594, - "nodeType": "ArrayTypeName", - "src": "19023:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4597, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "19057:15:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19049:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4596, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19049:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4599, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "19088:16:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19082:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4598, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19082:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4601, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "19120:19:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19114:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4600, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19114:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceiptLog", - "nameLocation": "18819:13:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4622, - "nodeType": "StructDefinition", - "src": "19152:306:7", - "canonicalName": "Test.ReceiptLog", - "members": [ - { - "constant": false, - "id": 4604, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "19220:10:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19212:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19212:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4606, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "19248:9:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19240:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4605, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19240:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4608, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "19275:11:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19267:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4607, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19267:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4610, - "mutability": "mutable", - "name": "data", - "nameLocation": "19302:4:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19296:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4609, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19296:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4612, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "19324:8:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19316:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4611, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19316:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4615, - "mutability": "mutable", - "name": "topics", - "nameLocation": "19352:6:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19342:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4613, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19342:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4614, - "nodeType": "ArrayTypeName", - "src": "19342:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4617, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "19376:16:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19368:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4616, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19368:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4619, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "19410:19:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19402:27:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4618, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19402:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4621, - "mutability": "mutable", - "name": "removed", - "nameLocation": "19444:7:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19439:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19439:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "name": "ReceiptLog", - "nameLocation": "19159:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4627, - "nodeType": "StructDefinition", - "src": "19464:74:7", - "canonicalName": "Test.TxReturn", - "members": [ - { - "constant": false, - "id": 4624, - "mutability": "mutable", - "name": "internalType", - "nameLocation": "19497:12:7", - "nodeType": "VariableDeclaration", - "scope": 4627, - "src": "19490:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4623, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19490:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4626, - "mutability": "mutable", - "name": "value", - "nameLocation": "19526:5:7", - "nodeType": "VariableDeclaration", - "scope": 4627, - "src": "19519:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4625, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19519:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "TxReturn", - "nameLocation": "19471:8:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4719, - "nodeType": "FunctionDefinition", - "src": "19545:813:7", - "body": { - "id": 4718, - "nodeType": "Block", - "src": "19667:691:7", - "statements": [ - { - "assignments": [ - 4636 - ], - "declarations": [ - { - "constant": false, - "id": 4636, - "mutability": "mutable", - "name": "data", - "nameLocation": "19691:4:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19677:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4635, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19677:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4641, - "initialValue": { - "arguments": [ - { - "id": 4639, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4629, - "src": "19710:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4637, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "19698:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19701:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "19698:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19698:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19677:38:7" - }, - { - "assignments": [ - 4643 - ], - "declarations": [ - { - "constant": false, - "id": 4643, - "mutability": "mutable", - "name": "parsedData", - "nameLocation": "19738:10:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19725:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4642, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19725:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4648, - "initialValue": { - "arguments": [ - { - "id": 4646, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4636, - "src": "19764:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4644, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "19751:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19754:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7557, - "src": "19751:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 4647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19751:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19725:44:7" - }, - { - "assignments": [ - 4651 - ], - "declarations": [ - { - "constant": false, - "id": 4651, - "mutability": "mutable", - "name": "rawArtifact", - "nameLocation": "19811:11:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19779:43:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact" - }, - "typeName": { - "id": 4650, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4649, - "name": "RawEIP1559ScriptArtifact", - "nameLocations": [ - "19779:24:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4580, - "src": "19779:24:7" - }, - "referencedDeclaration": 4580, - "src": "19779:24:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4658, - "initialValue": { - "arguments": [ - { - "id": 4654, - "name": "parsedData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4643, - "src": "19836:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4655, - "name": "RawEIP1559ScriptArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4580, - "src": "19849:24:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "id": 4656, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "19848:26:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - ], - "expression": { - "id": 4652, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19825:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19829:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "19825:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19825:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19779:96:7" - }, - { - "assignments": [ - 4661 - ], - "declarations": [ - { - "constant": false, - "id": 4661, - "mutability": "mutable", - "name": "artifact", - "nameLocation": "19914:8:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19885:37:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4660, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4659, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "19885:21:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4557, - "src": "19885:21:7" - }, - "referencedDeclaration": 4557, - "src": "19885:21:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_storage_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4662, - "nodeType": "VariableDeclarationStatement", - "src": "19885:37:7" - }, - { - "expression": { - "id": 4668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4663, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "19932:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4665, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "19941:9:7", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 4537, - "src": "19932:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4666, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "19953:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19965:9:7", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 4560, - "src": "19953:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "19932:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4669, - "nodeType": "ExpressionStatement", - "src": "19932:42:7" - }, - { - "expression": { - "id": 4675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4670, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "19984:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4672, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "19993:4:7", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 4539, - "src": "19984:13:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4673, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20000:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4674, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20012:4:7", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 4562, - "src": "20000:16:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "19984:32:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4676, - "nodeType": "ExpressionStatement", - "src": "19984:32:7" - }, - { - "expression": { - "id": 4682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4677, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20026:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4679, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20035:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 4548, - "src": "20026:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4680, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20047:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4681, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20059:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 4575, - "src": "20047:21:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20026:42:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4683, - "nodeType": "ExpressionStatement", - "src": "20026:42:7" - }, - { - "expression": { - "id": 4689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4684, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20078:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4686, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20087:7:7", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 4542, - "src": "20078:16:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4687, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20097:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4688, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20109:7:7", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 4565, - "src": "20097:19:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "20078:38:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4690, - "nodeType": "ExpressionStatement", - "src": "20078:38:7" - }, - { - "expression": { - "id": 4696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4691, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20126:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20135:9:7", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 4556, - "src": "20126:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4694, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20147:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4695, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20159:9:7", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 4573, - "src": "20147:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "src": "20126:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "id": 4697, - "nodeType": "ExpressionStatement", - "src": "20126:42:7" - }, - { - "expression": { - "id": 4705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4698, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20178:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4700, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20187:8:7", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 4546, - "src": "20178:17:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4702, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20221:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4703, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20233:8:7", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 4569, - "src": "20221:20:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - ], - "id": 4701, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5151, - "src": "20198:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory[] memory) pure returns (struct Test.Receipt memory[] memory)" - } - }, - "id": 4704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20198:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "src": "20178:64:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "id": 4706, - "nodeType": "ExpressionStatement", - "src": "20178:64:7" - }, - { - "expression": { - "id": 4714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4707, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20252:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4709, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20261:12:7", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 4552, - "src": "20252:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4711, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20301:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4712, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20313:12:7", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 4579, - "src": "20301:24:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - ], - "id": 4710, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "20276:24:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory[] memory) pure returns (struct Test.Tx1559 memory[] memory)" - } - }, - "id": 4713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20276:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "src": "20252:74:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "id": 4715, - "nodeType": "ExpressionStatement", - "src": "20252:74:7" - }, - { - "expression": { - "id": 4716, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20343:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "functionReturnParameters": 4634, - "id": 4717, - "nodeType": "Return", - "src": "20336:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readEIP1559ScriptArtifact", - "nameLocation": "19554:25:7", - "parameters": { - "id": 4630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4629, - "mutability": "mutable", - "name": "path", - "nameLocation": "19594:4:7", - "nodeType": "VariableDeclaration", - "scope": 4719, - "src": "19580:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4628, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19580:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19579:20:7" - }, - "returnParameters": { - "id": 4634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4633, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4719, - "src": "19633:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4632, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4631, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "19633:21:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4557, - "src": "19633:21:7" - }, - "referencedDeclaration": 4557, - "src": "19633:21:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_storage_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "src": "19632:30:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4768, - "nodeType": "FunctionDefinition", - "src": "20364:321:7", - "body": { - "id": 4767, - "nodeType": "Block", - "src": "20485:200:7", - "statements": [ - { - "assignments": [ - 4734 - ], - "declarations": [ - { - "constant": false, - "id": 4734, - "mutability": "mutable", - "name": "txs", - "nameLocation": "20511:3:7", - "nodeType": "VariableDeclaration", - "scope": 4767, - "src": "20495:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4732, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4731, - "name": "Tx1559", - "nameLocations": [ - "20495:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20495:6:7" - }, - "referencedDeclaration": 4401, - "src": "20495:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4733, - "nodeType": "ArrayTypeName", - "src": "20495:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4742, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4739, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20530:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20537:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "20530:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "20517:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.Tx1559 memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4736, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4735, - "name": "Tx1559", - "nameLocations": [ - "20521:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20521:6:7" - }, - "referencedDeclaration": 4401, - "src": "20521:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4737, - "nodeType": "ArrayTypeName", - "src": "20521:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - } - }, - "id": 4741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20517:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20495:49:7" - }, - { - "body": { - "id": 4763, - "nodeType": "Block", - "src": "20591:68:7", - "statements": [ - { - "expression": { - "id": 4761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 4753, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4734, - "src": "20605:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "id": 4755, - "indexExpression": { - "id": 4754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20609:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "20605:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 4757, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20638:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4759, - "indexExpression": { - "id": 4758, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20645:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20638:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - ], - "id": 4756, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4828, - "src": "20614:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$4365_memory_ptr_$returns$_t_struct$_Tx1559_$4401_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory) pure returns (struct Test.Tx1559 memory)" - } - }, - "id": 4760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20614:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "src": "20605:43:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4762, - "nodeType": "ExpressionStatement", - "src": "20605:43:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4746, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20567:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4747, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20571:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20578:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "20571:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20567:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4764, - "initializationExpression": { - "assignments": [ - 4744 - ], - "declarations": [ - { - "constant": false, - "id": 4744, - "mutability": "mutable", - "name": "i", - "nameLocation": "20564:1:7", - "nodeType": "VariableDeclaration", - "scope": 4764, - "src": "20559:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4743, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20559:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4745, - "nodeType": "VariableDeclarationStatement", - "src": "20559:6:7" - }, - "loopExpression": { - "expression": { - "id": 4751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "20586:3:7", - "subExpression": { - "id": 4750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20586:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4752, - "nodeType": "ExpressionStatement", - "src": "20586:3:7" - }, - "nodeType": "ForStatement", - "src": "20554:105:7" - }, - { - "expression": { - "id": 4765, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4734, - "src": "20675:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4729, - "id": 4766, - "nodeType": "Return", - "src": "20668:10:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559s", - "nameLocation": "20373:24:7", - "parameters": { - "id": 4724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4723, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "20417:6:7", - "nodeType": "VariableDeclaration", - "scope": 4768, - "src": "20398:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4721, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4720, - "name": "RawTx1559", - "nameLocations": [ - "20398:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "20398:9:7" - }, - "referencedDeclaration": 4365, - "src": "20398:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4722, - "nodeType": "ArrayTypeName", - "src": "20398:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "20397:27:7" - }, - "returnParameters": { - "id": 4729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4728, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4768, - "src": "20464:15:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4726, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4725, - "name": "Tx1559", - "nameLocations": [ - "20464:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20464:6:7" - }, - "referencedDeclaration": 4401, - "src": "20464:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4727, - "nodeType": "ArrayTypeName", - "src": "20464:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "20463:17:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4828, - "nodeType": "FunctionDefinition", - "src": "20691:498:7", - "body": { - "id": 4827, - "nodeType": "Block", - "src": "20806:383:7", - "statements": [ - { - "assignments": [ - 4779 - ], - "declarations": [ - { - "constant": false, - "id": 4779, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "20830:11:7", - "nodeType": "VariableDeclaration", - "scope": 4827, - "src": "20816:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4778, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4777, - "name": "Tx1559", - "nameLocations": [ - "20816:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20816:6:7" - }, - "referencedDeclaration": 4401, - "src": "20816:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4780, - "nodeType": "VariableDeclarationStatement", - "src": "20816:25:7" - }, - { - "expression": { - "id": 4786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4781, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20851:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4783, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20863:9:7", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 4387, - "src": "20851:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4784, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20875:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20881:9:7", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 4351, - "src": "20875:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "20851:39:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4787, - "nodeType": "ExpressionStatement", - "src": "20851:39:7" - }, - { - "expression": { - "id": 4793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4788, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20900:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4790, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20912:12:7", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 4391, - "src": "20900:24:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4791, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20927:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4792, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20933:12:7", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 4355, - "src": "20927:18:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "20900:45:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4794, - "nodeType": "ExpressionStatement", - "src": "20900:45:7" - }, - { - "expression": { - "id": 4800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4795, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20955:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20967:11:7", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 4393, - "src": "20955:23:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4798, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20981:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4799, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20987:11:7", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 4357, - "src": "20981:17:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "20955:43:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4801, - "nodeType": "ExpressionStatement", - "src": "20955:43:7" - }, - { - "expression": { - "id": 4807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4802, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21008:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4804, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21020:4:7", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4395, - "src": "21008:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4805, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21026:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4806, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21032:4:7", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4359, - "src": "21026:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "21008:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4808, - "nodeType": "ExpressionStatement", - "src": "21008:28:7" - }, - { - "expression": { - "id": 4816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4809, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21046:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4811, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21058:8:7", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 4398, - "src": "21046:20:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4813, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21097:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4814, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21103:8:7", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 4362, - "src": "21097:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - ], - "id": 4812, - "name": "rawToConvertedEIP1559Detail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4908, - "src": "21069:27:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559Detail_$4384_memory_ptr_$returns$_t_struct$_Tx1559Detail_$4420_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559Detail memory) pure returns (struct Test.Tx1559Detail memory)" - } - }, - "id": 4815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21069:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "src": "21046:66:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4817, - "nodeType": "ExpressionStatement", - "src": "21046:66:7" - }, - { - "expression": { - "id": 4823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4818, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21122:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4820, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21134:6:7", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 4400, - "src": "21122:18:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4821, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21142:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4822, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21148:6:7", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 4364, - "src": "21142:12:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "21122:32:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4824, - "nodeType": "ExpressionStatement", - "src": "21122:32:7" - }, - { - "expression": { - "id": 4825, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21171:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "functionReturnParameters": 4776, - "id": 4826, - "nodeType": "Return", - "src": "21164:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559", - "nameLocation": "20700:23:7", - "parameters": { - "id": 4772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4771, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "20741:5:7", - "nodeType": "VariableDeclaration", - "scope": 4828, - "src": "20724:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559" - }, - "typeName": { - "id": 4770, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4769, - "name": "RawTx1559", - "nameLocations": [ - "20724:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "20724:9:7" - }, - "referencedDeclaration": 4365, - "src": "20724:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "src": "20723:24:7" - }, - "returnParameters": { - "id": 4776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4775, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4828, - "src": "20787:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4774, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4773, - "name": "Tx1559", - "nameLocations": [ - "20787:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20787:6:7" - }, - "referencedDeclaration": 4401, - "src": "20787:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "20786:15:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4908, - "nodeType": "FunctionDefinition", - "src": "21195:592:7", - "body": { - "id": 4907, - "nodeType": "Block", - "src": "21330:457:7", - "statements": [ - { - "assignments": [ - 4839 - ], - "declarations": [ - { - "constant": false, - "id": 4839, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "21360:8:7", - "nodeType": "VariableDeclaration", - "scope": 4907, - "src": "21340:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4838, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4837, - "name": "Tx1559Detail", - "nameLocations": [ - "21340:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "21340:12:7" - }, - "referencedDeclaration": 4420, - "src": "21340:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "id": 4840, - "nodeType": "VariableDeclarationStatement", - "src": "21340:28:7" - }, - { - "expression": { - "id": 4846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4841, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21378:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4843, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21387:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4407, - "src": "21378:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4844, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21394:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4845, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21404:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4371, - "src": "21394:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "21378:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4847, - "nodeType": "ExpressionStatement", - "src": "21378:30:7" - }, - { - "expression": { - "id": 4853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4848, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21418:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4850, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21427:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4409, - "src": "21418:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4851, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21434:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21444:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4373, - "src": "21434:14:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "21418:30:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4854, - "nodeType": "ExpressionStatement", - "src": "21418:30:7" - }, - { - "expression": { - "id": 4860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4855, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21458:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4857, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21467:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4415, - "src": "21458:11:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4858, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21472:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4859, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21482:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4379, - "src": "21472:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "21458:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4861, - "nodeType": "ExpressionStatement", - "src": "21458:26:7" - }, - { - "expression": { - "id": 4869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4862, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21494:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4864, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21503:5:7", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 4413, - "src": "21494:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4866, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21523:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21533:5:7", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 4377, - "src": "21523:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4865, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21511:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21511:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21494:45:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4870, - "nodeType": "ExpressionStatement", - "src": "21494:45:7" - }, - { - "expression": { - "id": 4878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4871, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21549:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4873, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21558:6:7", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 4417, - "src": "21549:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4875, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21579:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4876, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21589:6:7", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 4381, - "src": "21579:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4874, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21567:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21567:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21549:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4879, - "nodeType": "ExpressionStatement", - "src": "21549:47:7" - }, - { - "expression": { - "id": 4887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4880, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21606:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4882, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21615:5:7", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 4419, - "src": "21606:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4884, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21635:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4885, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21645:5:7", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 4383, - "src": "21635:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4883, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21623:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21623:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21606:45:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4888, - "nodeType": "ExpressionStatement", - "src": "21606:45:7" - }, - { - "expression": { - "id": 4896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4889, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4891, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21670:3:7", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 4411, - "src": "21661:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4893, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21688:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21698:3:7", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 4375, - "src": "21688:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4892, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21676:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21676:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21661:41:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4897, - "nodeType": "ExpressionStatement", - "src": "21661:41:7" - }, - { - "expression": { - "id": 4903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4898, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21712:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4900, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21721:10:7", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 4405, - "src": "21712:19:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4901, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21734:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4902, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21744:10:7", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 4369, - "src": "21734:20:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "src": "21712:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "id": 4904, - "nodeType": "ExpressionStatement", - "src": "21712:42:7" - }, - { - "expression": { - "id": 4905, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21771:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "functionReturnParameters": 4836, - "id": 4906, - "nodeType": "Return", - "src": "21764:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIP1559Detail", - "nameLocation": "21204:27:7", - "parameters": { - "id": 4832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4831, - "mutability": "mutable", - "name": "rawDetail", - "nameLocation": "21255:9:7", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "21232:32:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail" - }, - "typeName": { - "id": 4830, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4829, - "name": "RawTx1559Detail", - "nameLocations": [ - "21232:15:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4384, - "src": "21232:15:7" - }, - "referencedDeclaration": 4384, - "src": "21232:15:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "21231:34:7" - }, - "returnParameters": { - "id": 4836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4835, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "21305:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4834, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4833, - "name": "Tx1559Detail", - "nameLocations": [ - "21305:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "21305:12:7" - }, - "referencedDeclaration": 4420, - "src": "21305:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "21304:21:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4950, - "nodeType": "FunctionDefinition", - "src": "21793:382:7", - "body": { - "id": 4949, - "nodeType": "Block", - "src": "21889:286:7", - "statements": [ - { - "assignments": [ - 4918 - ], - "declarations": [ - { - "constant": false, - "id": 4918, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "21913:10:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "21899:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4917, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21899:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4923, - "initialValue": { - "arguments": [ - { - "id": 4921, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4910, - "src": "21938:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4919, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "21926:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21929:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "21926:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21926:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21899:44:7" - }, - { - "assignments": [ - 4925 - ], - "declarations": [ - { - "constant": false, - "id": 4925, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "21966:16:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "21953:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4924, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "21953:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4931, - "initialValue": { - "arguments": [ - { - "id": 4928, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4918, - "src": "22010:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7472616e73616374696f6e73", - "id": 4929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22022:15:7", - "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": 4926, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "21997:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22000:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "21997:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 4930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21997:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21953:85:7" - }, - { - "assignments": [ - 4936 - ], - "declarations": [ - { - "constant": false, - "id": 4936, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "22067:6:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "22048:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4934, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4933, - "name": "RawTx1559", - "nameLocations": [ - "22048:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "22048:9:7" - }, - "referencedDeclaration": 4365, - "src": "22048:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4935, - "nodeType": "ArrayTypeName", - "src": "22048:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4944, - "initialValue": { - "arguments": [ - { - "id": 4939, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4925, - "src": "22087:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 4940, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4365, - "src": "22106:9:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - }, - "id": 4941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "22106:11:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - } - ], - "id": 4942, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22105:13:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - ], - "expression": { - "id": 4937, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22076:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22080:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22076:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22076:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22048:71:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4946, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4936, - "src": "22161:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - ], - "id": 4945, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "22136:24:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory[] memory) pure returns (struct Test.Tx1559 memory[] memory)" - } - }, - "id": 4947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22136:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4916, - "id": 4948, - "nodeType": "Return", - "src": "22129:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559s", - "nameLocation": "21802:11:7", - "parameters": { - "id": 4911, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4910, - "mutability": "mutable", - "name": "path", - "nameLocation": "21828:4:7", - "nodeType": "VariableDeclaration", - "scope": 4950, - "src": "21814:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4909, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21814:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21813:20:7" - }, - "returnParameters": { - "id": 4916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4915, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4950, - "src": "21868:15:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4912, - "name": "Tx1559", - "nameLocations": [ - "21868:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "21868:6:7" - }, - "referencedDeclaration": 4401, - "src": "21868:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4914, - "nodeType": "ArrayTypeName", - "src": "21868:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "21867:17:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5005, - "nodeType": "FunctionDefinition", - "src": "22182:471:7", - "body": { - "id": 5004, - "nodeType": "Block", - "src": "22290:363:7", - "statements": [ - { - "assignments": [ - 4961 - ], - "declarations": [ - { - "constant": false, - "id": 4961, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "22314:10:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22300:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4960, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22300:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4966, - "initialValue": { - "arguments": [ - { - "id": 4964, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4952, - "src": "22339:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4962, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22327:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22330:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "22327:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22327:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22300:44:7" - }, - { - "assignments": [ - 4968 - ], - "declarations": [ - { - "constant": false, - "id": 4968, - "mutability": "mutable", - "name": "key", - "nameLocation": "22368:3:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22354:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22354:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4981, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e7472616e73616374696f6e735b", - "id": 4973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22398:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", - "typeString": "literal_string \".transactions[\"" - }, - "value": ".transactions[" - }, - { - "arguments": [ - { - "id": 4976, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4954, - "src": "22427:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4974, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22415:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22418:8:7", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 7293, - "src": "22415:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) external returns (string memory)" - } - }, - "id": 4977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22415:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 4978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22435:3:7", - "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": 4971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22381:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22385:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "22381:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22381:58:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "22374:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 4969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22374:6:7", - "typeDescriptions": {} - } - }, - "id": 4980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22374:66:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22354:86:7" - }, - { - "assignments": [ - 4983 - ], - "declarations": [ - { - "constant": false, - "id": 4983, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "22463:16:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22450:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22450:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4989, - "initialValue": { - "arguments": [ - { - "id": 4986, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4961, - "src": "22507:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4987, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "22519:3:7", - "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": 4984, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22494:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22497:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "22494:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 4988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22494:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22450:73:7" - }, - { - "assignments": [ - 4992 - ], - "declarations": [ - { - "constant": false, - "id": 4992, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "22550:5:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22533:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559" - }, - "typeName": { - "id": 4991, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4990, - "name": "RawTx1559", - "nameLocations": [ - "22533:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "22533:9:7" - }, - "referencedDeclaration": 4365, - "src": "22533:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4999, - "initialValue": { - "arguments": [ - { - "id": 4995, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4983, - "src": "22569:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4996, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4365, - "src": "22588:9:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - } - ], - "id": 4997, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22587:11:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - ], - "expression": { - "id": 4993, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22558:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22562:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22558:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22558:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22533:66:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5001, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4992, - "src": "22640:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - ], - "id": 5000, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4828, - "src": "22616:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$4365_memory_ptr_$returns$_t_struct$_Tx1559_$4401_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory) pure returns (struct Test.Tx1559 memory)" - } - }, - "id": 5002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22616:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "functionReturnParameters": 4959, - "id": 5003, - "nodeType": "Return", - "src": "22609:37:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559", - "nameLocation": "22191:10:7", - "parameters": { - "id": 4955, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4952, - "mutability": "mutable", - "name": "path", - "nameLocation": "22216:4:7", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22202:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4951, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22202:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4954, - "mutability": "mutable", - "name": "index", - "nameLocation": "22230:5:7", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22222:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4953, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22201:35:7" - }, - "returnParameters": { - "id": 4959, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4958, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22271:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4957, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4956, - "name": "Tx1559", - "nameLocations": [ - "22271:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "22271:6:7" - }, - "referencedDeclaration": 4401, - "src": "22271:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "22270:15:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5047, - "nodeType": "FunctionDefinition", - "src": "22716:378:7", - "body": { - "id": 5046, - "nodeType": "Block", - "src": "22814:280:7", - "statements": [ - { - "assignments": [ - 5015 - ], - "declarations": [ - { - "constant": false, - "id": 5015, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "22838:10:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22824:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5014, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22824:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5020, - "initialValue": { - "arguments": [ - { - "id": 5018, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5007, - "src": "22863:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5016, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22851:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22854:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "22851:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 5019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22851:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22824:44:7" - }, - { - "assignments": [ - 5022 - ], - "declarations": [ - { - "constant": false, - "id": 5022, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "22891:16:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22878:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5021, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22878:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5028, - "initialValue": { - "arguments": [ - { - "id": 5025, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5015, - "src": "22923:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7265636569707473", - "id": 5026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22935:11:7", - "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": 5023, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22910:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22913:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "22910:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 5027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22910:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22878:69:7" - }, - { - "assignments": [ - 5033 - ], - "declarations": [ - { - "constant": false, - "id": 5033, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "22977:11:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22957:31:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 5031, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5030, - "name": "RawReceipt", - "nameLocations": [ - "22957:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "22957:10:7" - }, - "referencedDeclaration": 4505, - "src": "22957:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 5032, - "nodeType": "ArrayTypeName", - "src": "22957:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 5041, - "initialValue": { - "arguments": [ - { - "id": 5036, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5022, - "src": "23002:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5037, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4505, - "src": "23021:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - }, - "id": 5038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "23021:12:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - } - ], - "id": 5039, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "23020:14:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - ], - "expression": { - "id": 5034, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22991:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22995:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22991:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22991:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22957:78:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5043, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5033, - "src": "23075:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - ], - "id": 5042, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5151, - "src": "23052:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory[] memory) pure returns (struct Test.Receipt memory[] memory)" - } - }, - "id": 5044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23052:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "functionReturnParameters": 5013, - "id": 5045, - "nodeType": "Return", - "src": "23045:42:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipts", - "nameLocation": "22725:12:7", - "parameters": { - "id": 5008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5007, - "mutability": "mutable", - "name": "path", - "nameLocation": "22752:4:7", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "22738:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22737:20:7" - }, - "returnParameters": { - "id": 5013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5012, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "22792:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5009, - "name": "Receipt", - "nameLocations": [ - "22792:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "22792:7:7" - }, - "referencedDeclaration": 4534, - "src": "22792:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5011, - "nodeType": "ArrayTypeName", - "src": "22792:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "22791:18:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5102, - "nodeType": "FunctionDefinition", - "src": "23100:464:7", - "body": { - "id": 5101, - "nodeType": "Block", - "src": "23207:357:7", - "statements": [ - { - "assignments": [ - 5058 - ], - "declarations": [ - { - "constant": false, - "id": 5058, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "23231:10:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23217:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5057, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23217:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5063, - "initialValue": { - "arguments": [ - { - "id": 5061, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5049, - "src": "23256:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5059, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23244:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23247:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "23244:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 5062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23244:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23217:44:7" - }, - { - "assignments": [ - 5065 - ], - "declarations": [ - { - "constant": false, - "id": 5065, - "mutability": "mutable", - "name": "key", - "nameLocation": "23285:3:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23271:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23271:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5078, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e72656365697074735b", - "id": 5070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23315:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", - "typeString": "literal_string \".receipts[\"" - }, - "value": ".receipts[" - }, - { - "arguments": [ - { - "id": 5073, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5051, - "src": "23340:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5071, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23328:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23331:8:7", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 7293, - "src": "23328:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) external returns (string memory)" - } - }, - "id": 5074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23328:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23348:3:7", - "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": 5068, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23298:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23302:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "23298:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23298:54:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "23291:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 5066, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23291:6:7", - "typeDescriptions": {} - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23291:62:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23271:82:7" - }, - { - "assignments": [ - 5080 - ], - "declarations": [ - { - "constant": false, - "id": 5080, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "23376:16:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23363:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5079, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "23363:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5086, - "initialValue": { - "arguments": [ - { - "id": 5083, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5058, - "src": "23408:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5084, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5065, - "src": "23420:3:7", - "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": 5081, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23395:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23398:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "23395:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 5085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23395:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23363:61:7" - }, - { - "assignments": [ - 5089 - ], - "declarations": [ - { - "constant": false, - "id": 5089, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "23452:10:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23434:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt" - }, - "typeName": { - "id": 5088, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5087, - "name": "RawReceipt", - "nameLocations": [ - "23434:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23434:10:7" - }, - "referencedDeclaration": 4505, - "src": "23434:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "id": 5096, - "initialValue": { - "arguments": [ - { - "id": 5092, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5080, - "src": "23476:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5093, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4505, - "src": "23495:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - } - ], - "id": 5094, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "23494:12:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - ], - "expression": { - "id": 5090, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23465:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23469:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "23465:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23465:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23434:73:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5098, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5089, - "src": "23546:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - ], - "id": 5097, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "23524:21:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$4505_memory_ptr_$returns$_t_struct$_Receipt_$4534_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory) pure returns (struct Test.Receipt memory)" - } - }, - "id": 5099, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23524:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "functionReturnParameters": 5056, - "id": 5100, - "nodeType": "Return", - "src": "23517:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipt", - "nameLocation": "23109:11:7", - "parameters": { - "id": 5052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5049, - "mutability": "mutable", - "name": "path", - "nameLocation": "23135:4:7", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23121:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5048, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23121:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5051, - "mutability": "mutable", - "name": "index", - "nameLocation": "23146:5:7", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23141:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5050, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23141:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23120:32:7" - }, - "returnParameters": { - "id": 5056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5055, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23187:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5054, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5053, - "name": "Receipt", - "nameLocations": [ - "23187:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23187:7:7" - }, - "referencedDeclaration": 4534, - "src": "23187:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "23186:16:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5151, - "nodeType": "FunctionDefinition", - "src": "23570:355:7", - "body": { - "id": 5150, - "nodeType": "Block", - "src": "23695:230:7", - "statements": [ - { - "assignments": [ - 5117 - ], - "declarations": [ - { - "constant": false, - "id": 5117, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "23722:8:7", - "nodeType": "VariableDeclaration", - "scope": 5150, - "src": "23705:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5115, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5114, - "name": "Receipt", - "nameLocations": [ - "23705:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23705:7:7" - }, - "referencedDeclaration": 4534, - "src": "23705:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5116, - "nodeType": "ArrayTypeName", - "src": "23705:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 5125, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 5122, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23747:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23759:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "23747:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "23733:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.Receipt memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 5119, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5118, - "name": "Receipt", - "nameLocations": [ - "23737:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23737:7:7" - }, - "referencedDeclaration": 4534, - "src": "23737:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5120, - "nodeType": "ArrayTypeName", - "src": "23737:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - } - }, - "id": 5124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23733:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23705:61:7" - }, - { - "body": { - "id": 5146, - "nodeType": "Block", - "src": "23818:76:7", - "statements": [ - { - "expression": { - "id": 5144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 5136, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "23832:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "id": 5138, - "indexExpression": { - "id": 5137, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23841:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "23832:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5140, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23868:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5142, - "indexExpression": { - "id": 5141, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23880:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "23868:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - ], - "id": 5139, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "23846:21:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$4505_memory_ptr_$returns$_t_struct$_Receipt_$4534_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory) pure returns (struct Test.Receipt memory)" - } - }, - "id": 5143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23846:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "src": "23832:51:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5145, - "nodeType": "ExpressionStatement", - "src": "23832:51:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5129, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23789:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5130, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23793:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23805:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "23793:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "23789:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5147, - "initializationExpression": { - "assignments": [ - 5127 - ], - "declarations": [ - { - "constant": false, - "id": 5127, - "mutability": "mutable", - "name": "i", - "nameLocation": "23786:1:7", - "nodeType": "VariableDeclaration", - "scope": 5147, - "src": "23781:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23781:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5128, - "nodeType": "VariableDeclarationStatement", - "src": "23781:6:7" - }, - "loopExpression": { - "expression": { - "id": 5134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "23813:3:7", - "subExpression": { - "id": 5133, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23813:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5135, - "nodeType": "ExpressionStatement", - "src": "23813:3:7" - }, - "nodeType": "ForStatement", - "src": "23776:118:7" - }, - { - "expression": { - "id": 5148, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "23910:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "functionReturnParameters": 5112, - "id": 5149, - "nodeType": "Return", - "src": "23903:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipts", - "nameLocation": "23579:22:7", - "parameters": { - "id": 5107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5106, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "23622:11:7", - "nodeType": "VariableDeclaration", - "scope": 5151, - "src": "23602:31:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 5104, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5103, - "name": "RawReceipt", - "nameLocations": [ - "23602:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23602:10:7" - }, - "referencedDeclaration": 4505, - "src": "23602:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 5105, - "nodeType": "ArrayTypeName", - "src": "23602:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "23601:33:7" - }, - "returnParameters": { - "id": 5112, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5111, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5151, - "src": "23673:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5108, - "name": "Receipt", - "nameLocations": [ - "23673:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23673:7:7" - }, - "referencedDeclaration": 4534, - "src": "23673:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5110, - "nodeType": "ArrayTypeName", - "src": "23673:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "23672:18:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5272, - "nodeType": "FunctionDefinition", - "src": "23931:966:7", - "body": { - "id": 5271, - "nodeType": "Block", - "src": "24050:847:7", - "statements": [ - { - "assignments": [ - 5162 - ], - "declarations": [ - { - "constant": false, - "id": 5162, - "mutability": "mutable", - "name": "receipt", - "nameLocation": "24075:7:7", - "nodeType": "VariableDeclaration", - "scope": 5271, - "src": "24060:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5161, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5160, - "name": "Receipt", - "nameLocations": [ - "24060:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "24060:7:7" - }, - "referencedDeclaration": 4534, - "src": "24060:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "id": 5163, - "nodeType": "VariableDeclarationStatement", - "src": "24060:22:7" - }, - { - "expression": { - "id": 5169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5164, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24092:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5166, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24100:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4507, - "src": "24092:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5167, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24112:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5168, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24123:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4478, - "src": "24112:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "24092:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5170, - "nodeType": "ExpressionStatement", - "src": "24092:40:7" - }, - { - "expression": { - "id": 5176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5171, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24142:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5173, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24150:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4529, - "src": "24142:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5174, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24155:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5175, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24166:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4500, - "src": "24155:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24142:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5177, - "nodeType": "ExpressionStatement", - "src": "24142:26:7" - }, - { - "expression": { - "id": 5183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5178, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24178:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5180, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24186:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4517, - "src": "24178:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5181, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24193:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5182, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24204:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4488, - "src": "24193:15:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24178:30:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5184, - "nodeType": "ExpressionStatement", - "src": "24178:30:7" - }, - { - "expression": { - "id": 5190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5185, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24218:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5187, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24226:15:7", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4511, - "src": "24218:23:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5188, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24244:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5189, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24255:15:7", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4482, - "src": "24244:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24218:52:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5191, - "nodeType": "ExpressionStatement", - "src": "24218:52:7" - }, - { - "expression": { - "id": 5199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5192, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24280:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5194, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24288:17:7", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 4515, - "src": "24280:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5196, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24320:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24331:17:7", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 4486, - "src": "24320:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5195, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24308:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24308:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24280:69:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5200, - "nodeType": "ExpressionStatement", - "src": "24280:69:7" - }, - { - "expression": { - "id": 5208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5201, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24359:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5203, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24367:17:7", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4513, - "src": "24359:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5205, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24398:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5206, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24409:17:7", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4484, - "src": "24398:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5204, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24386:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24386:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24359:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5209, - "nodeType": "ExpressionStatement", - "src": "24359:68:7" - }, - { - "expression": { - "id": 5217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5210, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24437:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5212, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24445:7:7", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4519, - "src": "24437:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5214, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24467:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5215, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24478:7:7", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4490, - "src": "24467:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5213, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24455:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24455:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24437:49:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5218, - "nodeType": "ExpressionStatement", - "src": "24437:49:7" - }, - { - "expression": { - "id": 5226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5219, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24496:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5221, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24504:6:7", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 4527, - "src": "24496:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5223, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24525:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5224, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24536:6:7", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 4498, - "src": "24525:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5222, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24513:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24513:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24496:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5227, - "nodeType": "ExpressionStatement", - "src": "24496:47:7" - }, - { - "expression": { - "id": 5235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5228, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24553:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5230, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24561:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4533, - "src": "24553:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5232, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24592:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5233, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24603:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4504, - "src": "24592:27:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5231, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24580:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24580:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24553:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5236, - "nodeType": "ExpressionStatement", - "src": "24553:67:7" - }, - { - "expression": { - "id": 5244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5237, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24630:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5239, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24638:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4509, - "src": "24630:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5241, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24664:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5242, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24675:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4480, - "src": "24664:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5240, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24652:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24652:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24630:57:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5245, - "nodeType": "ExpressionStatement", - "src": "24630:57:7" - }, - { - "expression": { - "id": 5253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5246, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24697:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5248, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24705:4:7", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 4523, - "src": "24697:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5250, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24738:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5251, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24749:4:7", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 4494, - "src": "24738:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - ], - "id": 5249, - "name": "rawToConvertedReceiptLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5409, - "src": "24712:25:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceiptLog memory[] memory) pure returns (struct Test.ReceiptLog memory[] memory)" - } - }, - "id": 5252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24712:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "src": "24697:57:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5254, - "nodeType": "ExpressionStatement", - "src": "24697:57:7" - }, - { - "expression": { - "id": 5260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5255, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24764:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5257, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24772:9:7", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 4525, - "src": "24764:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5258, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24784:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5259, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24795:9:7", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 4496, - "src": "24784:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "24764:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5261, - "nodeType": "ExpressionStatement", - "src": "24764:40:7" - }, - { - "expression": { - "id": 5267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5262, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24814:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24822:15:7", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4531, - "src": "24814:23:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5265, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24840:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5266, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24851:15:7", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4502, - "src": "24840:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "24814:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5268, - "nodeType": "ExpressionStatement", - "src": "24814:52:7" - }, - { - "expression": { - "id": 5269, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24883:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "functionReturnParameters": 5159, - "id": 5270, - "nodeType": "Return", - "src": "24876:14:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipt", - "nameLocation": "23940:21:7", - "parameters": { - "id": 5155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5154, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "23980:10:7", - "nodeType": "VariableDeclaration", - "scope": 5272, - "src": "23962:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt" - }, - "typeName": { - "id": 5153, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5152, - "name": "RawReceipt", - "nameLocations": [ - "23962:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23962:10:7" - }, - "referencedDeclaration": 4505, - "src": "23962:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "src": "23961:30:7" - }, - "returnParameters": { - "id": 5159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5158, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5272, - "src": "24030:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5157, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5156, - "name": "Receipt", - "nameLocations": [ - "24030:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "24030:7:7" - }, - "referencedDeclaration": 4534, - "src": "24030:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "24029:16:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5409, - "nodeType": "FunctionDefinition", - "src": "24903:843:7", - "body": { - "id": 5408, - "nodeType": "Block", - "src": "25034:712:7", - "statements": [ - { - "assignments": [ - 5287 - ], - "declarations": [ - { - "constant": false, - "id": 5287, - "mutability": "mutable", - "name": "logs", - "nameLocation": "25064:4:7", - "nodeType": "VariableDeclaration", - "scope": 5408, - "src": "25044:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5284, - "name": "ReceiptLog", - "nameLocations": [ - "25044:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25044:10:7" - }, - "referencedDeclaration": 4622, - "src": "25044:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5286, - "nodeType": "ArrayTypeName", - "src": "25044:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "id": 5295, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 5292, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25088:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25096:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25088:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5291, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "25071:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.ReceiptLog memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 5289, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5288, - "name": "ReceiptLog", - "nameLocations": [ - "25075:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25075:10:7" - }, - "referencedDeclaration": 4622, - "src": "25075:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5290, - "nodeType": "ArrayTypeName", - "src": "25075:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - } - }, - "id": 5294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25071:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "25044:59:7" - }, - { - "body": { - "id": 5404, - "nodeType": "Block", - "src": "25151:567:7", - "statements": [ - { - "expression": { - "id": 5314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5306, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25165:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5308, - "indexExpression": { - "id": 5307, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25170:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25165:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5309, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25173:10:7", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4604, - "src": "25165:18:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5310, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25186:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5312, - "indexExpression": { - "id": 5311, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25194:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25186:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5313, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25197:10:7", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4582, - "src": "25186:21:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "25165:42:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5315, - "nodeType": "ExpressionStatement", - "src": "25165:42:7" - }, - { - "expression": { - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5316, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25221:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5318, - "indexExpression": { - "id": 5317, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25226:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25221:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25229:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4606, - "src": "25221:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5320, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25241:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5322, - "indexExpression": { - "id": 5321, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25249:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25241:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25252:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4584, - "src": "25241:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "25221:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5325, - "nodeType": "ExpressionStatement", - "src": "25221:40:7" - }, - { - "expression": { - "id": 5336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5326, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25275:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5328, - "indexExpression": { - "id": 5327, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25280:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5329, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25283:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4608, - "src": "25275:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5331, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25309:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5333, - "indexExpression": { - "id": 5332, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25317:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25309:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5334, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25320:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4586, - "src": "25309:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5330, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25297:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25297:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25275:57:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5337, - "nodeType": "ExpressionStatement", - "src": "25275:57:7" - }, - { - "expression": { - "id": 5346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5338, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25346:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5340, - "indexExpression": { - "id": 5339, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25351:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25346:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5341, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25354:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4610, - "src": "25346:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5342, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25361:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5344, - "indexExpression": { - "id": 5343, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25369:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25361:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5345, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25372:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4588, - "src": "25361:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "25346:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5347, - "nodeType": "ExpressionStatement", - "src": "25346:30:7" - }, - { - "expression": { - "id": 5358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5348, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25390:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5350, - "indexExpression": { - "id": 5349, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25395:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25390:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5351, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25398:8:7", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4612, - "src": "25390:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5353, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25421:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5355, - "indexExpression": { - "id": 5354, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25421:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5356, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25432:8:7", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4590, - "src": "25421:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5352, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25409:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25409:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25390:51:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5359, - "nodeType": "ExpressionStatement", - "src": "25390:51:7" - }, - { - "expression": { - "id": 5368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5360, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25455:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5362, - "indexExpression": { - "id": 5361, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25460:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25455:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5363, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25463:6:7", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 4615, - "src": "25455:14:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5364, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25472:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5366, - "indexExpression": { - "id": 5365, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25480:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25472:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5367, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25483:6:7", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 4595, - "src": "25472:17:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "src": "25455:34:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5369, - "nodeType": "ExpressionStatement", - "src": "25455:34:7" - }, - { - "expression": { - "id": 5380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5370, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25503:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5372, - "indexExpression": { - "id": 5371, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25508:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25503:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5373, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25511:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4617, - "src": "25503:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5375, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25542:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5377, - "indexExpression": { - "id": 5376, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25550:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25542:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5378, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25553:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4599, - "src": "25542:27:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5374, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25530:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25530:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25503:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5381, - "nodeType": "ExpressionStatement", - "src": "25503:67:7" - }, - { - "expression": { - "id": 5392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5382, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25584:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5384, - "indexExpression": { - "id": 5383, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25589:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25584:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5385, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25592:19:7", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4619, - "src": "25584:27:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5387, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25626:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5389, - "indexExpression": { - "id": 5388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25634:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25626:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5390, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25637:19:7", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4601, - "src": "25626:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5386, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25614:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25614:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25584:73:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5393, - "nodeType": "ExpressionStatement", - "src": "25584:73:7" - }, - { - "expression": { - "id": 5402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5394, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25671:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5396, - "indexExpression": { - "id": 5395, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25676:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25671:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5397, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25679:7:7", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4621, - "src": "25671:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5398, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25689:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5400, - "indexExpression": { - "id": 5399, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25697:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25689:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5401, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25700:7:7", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4592, - "src": "25689:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "25671:36:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5403, - "nodeType": "ExpressionStatement", - "src": "25671:36:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25126:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5300, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25130:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25138:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25130:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25126:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5405, - "initializationExpression": { - "assignments": [ - 5297 - ], - "declarations": [ - { - "constant": false, - "id": 5297, - "mutability": "mutable", - "name": "i", - "nameLocation": "25123:1:7", - "nodeType": "VariableDeclaration", - "scope": 5405, - "src": "25118:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5296, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25118:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5298, - "nodeType": "VariableDeclarationStatement", - "src": "25118:6:7" - }, - "loopExpression": { - "expression": { - "id": 5304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "25146:3:7", - "subExpression": { - "id": 5303, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25146:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5305, - "nodeType": "ExpressionStatement", - "src": "25146:3:7" - }, - "nodeType": "ForStatement", - "src": "25113:605:7" - }, - { - "expression": { - "id": 5406, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25734:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "functionReturnParameters": 5282, - "id": 5407, - "nodeType": "Return", - "src": "25727:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceiptLogs", - "nameLocation": "24912:25:7", - "parameters": { - "id": 5277, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5276, - "mutability": "mutable", - "name": "rawLogs", - "nameLocation": "24961:7:7", - "nodeType": "VariableDeclaration", - "scope": 5409, - "src": "24938:30:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5274, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5273, - "name": "RawReceiptLog", - "nameLocations": [ - "24938:13:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4602, - "src": "24938:13:7" - }, - "referencedDeclaration": 4602, - "src": "24938:13:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_storage_ptr", - "typeString": "struct Test.RawReceiptLog" - } - }, - "id": 5275, - "nodeType": "ArrayTypeName", - "src": "24938:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "24937:32:7" - }, - "returnParameters": { - "id": 5282, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5281, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5409, - "src": "25009:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5279, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5278, - "name": "ReceiptLog", - "nameLocations": [ - "25009:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25009:10:7" - }, - "referencedDeclaration": 4622, - "src": "25009:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5280, - "nodeType": "ArrayTypeName", - "src": "25009:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "25008:21:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5464, - "nodeType": "FunctionDefinition", - "src": "25752:267:7", - "body": { - "id": 5463, - "nodeType": "Block", - "src": "25820:199:7", - "statements": [ - { - "assignments": [ - 5417 - ], - "declarations": [ - { - "constant": false, - "id": 5417, - "mutability": "mutable", - "name": "number", - "nameLocation": "25842:6:7", - "nodeType": "VariableDeclaration", - "scope": 5463, - "src": "25834:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25834:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5418, - "nodeType": "VariableDeclarationStatement", - "src": "25834:14:7" - }, - { - "body": { - "id": 5459, - "nodeType": "Block", - "src": "25896:94:7", - "statements": [ - { - "expression": { - "id": 5457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5430, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "25914:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5431, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "25923:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "baseExpression": { - "id": 5436, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25943:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5438, - "indexExpression": { - "id": 5437, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25945:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25943:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 5435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "25937:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 5434, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "25937:5:7", - "typeDescriptions": {} - } - }, - "id": 5439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25937:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "id": 5433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "25932:4:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5432, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25932:4:7", - "typeDescriptions": {} - } - }, - "id": 5440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25932:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 5441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25951:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "38", - "id": 5442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25955:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5443, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25958:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25960:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25958:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5445, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25968:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 5446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25970:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "25968:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5448, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25967:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25958:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5450, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25957:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25955:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5452, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25954:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25951:23:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5454, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25950:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25932:43:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25923:52:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25914:61:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5458, - "nodeType": "ExpressionStatement", - "src": "25914:61:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5423, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25877:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5424, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25881:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25883:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25881:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25877:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5460, - "initializationExpression": { - "assignments": [ - 5420 - ], - "declarations": [ - { - "constant": false, - "id": 5420, - "mutability": "mutable", - "name": "i", - "nameLocation": "25872:1:7", - "nodeType": "VariableDeclaration", - "scope": 5460, - "src": "25867:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5419, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25867:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5422, - "initialValue": { - "hexValue": "30", - "id": 5421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25874:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "25867:8:7" - }, - "loopExpression": { - "expression": { - "id": 5428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "25891:3:7", - "subExpression": { - "id": 5427, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25891:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5429, - "nodeType": "ExpressionStatement", - "src": "25891:3:7" - }, - "nodeType": "ForStatement", - "src": "25862:128:7" - }, - { - "expression": { - "id": 5461, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "26006:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5415, - "id": 5462, - "nodeType": "Return", - "src": "25999:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToUint", - "nameLocation": "25761:11:7", - "parameters": { - "id": 5412, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5411, - "mutability": "mutable", - "name": "b", - "nameLocation": "25786:1:7", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "25773:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5410, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "25773:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "25772:16:7" - }, - "returnParameters": { - "id": 5415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5414, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "25812:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5413, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25812:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25811:9:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 2901, - "name": "DSTest", - "nameLocations": [ - "224:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2272, - "src": "224:6:7" - }, - "id": 2902, - "nodeType": "InheritanceSpecifier", - "src": "224:6:7" - }, - { - "baseName": { - "id": 2903, - "name": "Script", - "nameLocations": [ - "232:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2535, - "src": "232:6:7" - }, - "id": 2904, - "nodeType": "InheritanceSpecifier", - "src": "232:6:7" - } - ], - "canonicalName": "Test", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5465, - 2535, - 2272 - ], - "name": "Test", - "nameLocation": "216:4:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 5535, - "nodeType": "ContractDefinition", - "src": "26222:984:7", - "nodes": [ - { - "id": 5472, - "nodeType": "VariableDeclaration", - "src": "26245:86:7", - "constant": true, - "functionSelector": "10332977", - "mutability": "constant", - "name": "assertionError", - "nameLocation": "26267:14:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26245:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26308:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783031", - "id": 5470, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26326: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": 5467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26284:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26288:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26284: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": 5471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26284:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5479, - "nodeType": "VariableDeclaration", - "src": "26337:87:7", - "constant": true, - "functionSelector": "8995290f", - "mutability": "constant", - "name": "arithmeticError", - "nameLocation": "26359:15:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5473, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26337:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26401:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783131", - "id": 5477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26419: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": 5474, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26377:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26381:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26377: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": 5478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26377:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5486, - "nodeType": "VariableDeclaration", - "src": "26430:85:7", - "constant": true, - "functionSelector": "fa784a44", - "mutability": "constant", - "name": "divisionError", - "nameLocation": "26452:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5480, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26430:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26492:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783132", - "id": 5484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26510: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": 5481, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26468:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26472:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26468: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": 5485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26468:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5493, - "nodeType": "VariableDeclaration", - "src": "26521:91:7", - "constant": true, - "functionSelector": "1de45560", - "mutability": "constant", - "name": "enumConversionError", - "nameLocation": "26543:19:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5487, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26521:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26589:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783231", - "id": 5491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26607: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": 5488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26565:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26569:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26565: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": 5492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26565:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5500, - "nodeType": "VariableDeclaration", - "src": "26618:90:7", - "constant": true, - "functionSelector": "d160e4de", - "mutability": "constant", - "name": "encodeStorageError", - "nameLocation": "26640:18:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5494, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26618:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26685:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783232", - "id": 5498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26703: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": 5495, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26661:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26665:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26661: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": 5499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26661:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5507, - "nodeType": "VariableDeclaration", - "src": "26714:80:7", - "constant": true, - "functionSelector": "b22dc54d", - "mutability": "constant", - "name": "popError", - "nameLocation": "26736:8:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5501, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26771:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783331", - "id": 5505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26789: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": 5502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26747:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26751:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26747: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": 5506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26747:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5514, - "nodeType": "VariableDeclaration", - "src": "26800:85:7", - "constant": true, - "functionSelector": "05ee8612", - "mutability": "constant", - "name": "indexOOBError", - "nameLocation": "26822:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5508, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26800:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26862:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783332", - "id": 5512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26880: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": 5509, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26838:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26842:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26838: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": 5513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26838:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5521, - "nodeType": "VariableDeclaration", - "src": "26891:88:7", - "constant": true, - "functionSelector": "986c5f68", - "mutability": "constant", - "name": "memOverflowError", - "nameLocation": "26913:16:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5515, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26891:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26956:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783431", - "id": 5519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26974: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": 5516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26932:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26936:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26932: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": 5520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26932:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5528, - "nodeType": "VariableDeclaration", - "src": "26985:84:7", - "constant": true, - "functionSelector": "b67689da", - "mutability": "constant", - "name": "zeroVarError", - "nameLocation": "27007:12:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5522, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26985:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27046:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783531", - "id": 5526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27064: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": 5523, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27022:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27026:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27022: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": 5527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27022:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5534, - "nodeType": "VariableDeclaration", - "src": "27148:47:7", - "constant": true, - "functionSelector": "ac3d92c6", - "mutability": "constant", - "name": "lowLevelError", - "nameLocation": "27170:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5529, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "27148:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "", - "id": 5532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27192:2:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 5531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "27186:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5530, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "27186:5:7", - "typeDescriptions": {} - } - }, - "id": 5533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27186:9: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": [ - 5535 - ], - "name": "stdError", - "nameLocation": "26230:8:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 5563, - "nodeType": "StructDefinition", - "src": "27407:275:7", - "canonicalName": "StdStorage", - "members": [ - { - "constant": false, - "id": 5543, - "mutability": "mutable", - "name": "slots", - "nameLocation": "27499:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27431:73:7", - "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": 5542, - "keyType": { - "id": 5536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27440:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "27431:67:7", - "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": 5541, - "keyType": { - "id": 5537, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27459:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "27451:46:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - }, - "valueType": { - "id": 5540, - "keyType": { - "id": 5538, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27477:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "27469:27:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 5539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27488:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5551, - "mutability": "mutable", - "name": "finds", - "nameLocation": "27576:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27510:71:7", - "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": 5550, - "keyType": { - "id": 5544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27519:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "27510:65:7", - "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": 5549, - "keyType": { - "id": 5545, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27538:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "27530:44:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - }, - "valueType": { - "id": 5548, - "keyType": { - "id": 5546, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27557:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "27549:24:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - }, - "valueType": { - "id": 5547, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27568:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5554, - "mutability": "mutable", - "name": "_keys", - "nameLocation": "27598:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27588:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5552, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27588:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5553, - "nodeType": "ArrayTypeName", - "src": "27588:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5556, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "27616:4:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27609:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5555, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27609:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5558, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "27634:6:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27626:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27626:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5560, - "mutability": "mutable", - "name": "_target", - "nameLocation": "27654:7:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27646:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5559, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27646:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5562, - "mutability": "mutable", - "name": "_set", - "nameLocation": "27675:4:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27667:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5561, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27667:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "name": "StdStorage", - "nameLocation": "27414:10:7", - "scope": 6805, - "visibility": "public" - }, - { - "id": 6665, - "nodeType": "ContractDefinition", - "src": "27684:8875:7", - "nodes": [ - { - "id": 5573, - "nodeType": "EventDefinition", - "src": "27709:71:7", - "anonymous": false, - "eventSelector": "9c9555b1e3102e3cf48f427d79cb678f5d9bd1ed0ad574389461e255f95170ed", - "name": "SlotFound", - "nameLocation": "27715:9:7", - "parameters": { - "id": 5572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5565, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "27733:3:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27725:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27725:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5567, - "indexed": false, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "27745:4:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27738:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5566, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5569, - "indexed": false, - "mutability": "mutable", - "name": "keysHash", - "nameLocation": "27759:8:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27751:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5568, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27751:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5571, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "27774:4:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27769:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27769:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27724:55:7" - } - }, - { - "id": 5579, - "nodeType": "EventDefinition", - "src": "27785:51:7", - "anonymous": false, - "eventSelector": "080fc4a96620c4462e705b23f346413fe3796bb63c6f8d8591baec0e231577a5", - "name": "WARNING_UninitedSlot", - "nameLocation": "27791:20:7", - "parameters": { - "id": 5578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5575, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "27820:3:7", - "nodeType": "VariableDeclaration", - "scope": 5579, - "src": "27812:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27812:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5577, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "27830:4:7", - "nodeType": "VariableDeclaration", - "scope": 5579, - "src": "27825:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5576, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27825:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27811:24:7" - } - }, - { - "id": 5582, - "nodeType": "VariableDeclaration", - "src": "27842:117:7", - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "27867:11:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27842:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 5581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27881:78:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "private" - }, - { - "id": 5585, - "nodeType": "VariableDeclaration", - "src": "27965:114:7", - "constant": true, - "mutability": "constant", - "name": "INT256_MAX", - "nameLocation": "27989:10:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 5583, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "27965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393637", - "id": 5584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28002:77:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9967" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819967" - }, - "visibility": "private" - }, - { - "id": 5602, - "nodeType": "VariableDeclaration", - "src": "28086:94:7", - "constant": true, - "mutability": "constant", - "name": "vm_std_store", - "nameLocation": "28106:12:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - }, - "typeName": { - "id": 5587, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5586, - "name": "Vm", - "nameLocations": [ - "28086:2:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 7558, - "src": "28086:2:7" - }, - "referencedDeclaration": 7558, - "src": "28086:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 5596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28158:17:7", - "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": 5595, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "28148:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28148:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28140:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5593, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28140:7:7", - "typeDescriptions": {} - } - }, - "id": 5598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28140:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28132:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 5591, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "28132:7:7", - "typeDescriptions": {} - } - }, - "id": 5599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28132:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 5590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28124:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5589, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28124:7:7", - "typeDescriptions": {} - } - }, - "id": 5600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28124:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5588, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7558, - "src": "28121:2:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$7558_$", - "typeString": "type(contract Vm)" - } - }, - "id": 5601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28121:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 5620, - "nodeType": "FunctionDefinition", - "src": "28187:165:7", - "body": { - "id": 5619, - "nodeType": "Block", - "src": "28296:56:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 5614, - "name": "sigStr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5604, - "src": "28336:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 5613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28330:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5612, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "28330:5:7", - "typeDescriptions": {} - } - }, - "id": 5615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28330:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5611, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "28320:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28320:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28313:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 5609, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "28313:6:7", - "typeDescriptions": {} - } - }, - "id": 5617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28313:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 5608, - "id": 5618, - "nodeType": "Return", - "src": "28306:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sigs", - "nameLocation": "28196:4:7", - "parameters": { - "id": 5605, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5604, - "mutability": "mutable", - "name": "sigStr", - "nameLocation": "28224:6:7", - "nodeType": "VariableDeclaration", - "scope": 5620, - "src": "28210:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5603, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28210:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28200:36:7" - }, - "returnParameters": { - "id": 5608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5607, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5620, - "src": "28284:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5606, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "28284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "28283:8:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6065, - "nodeType": "FunctionDefinition", - "src": "28866:3214:7", - "body": { - "id": 6064, - "nodeType": "Block", - "src": "28966:3114:7", - "statements": [ - { - "assignments": [ - 5630 - ], - "declarations": [ - { - "constant": false, - "id": 5630, - "mutability": "mutable", - "name": "who", - "nameLocation": "28984:3:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "28976:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5629, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28976:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 5633, - "initialValue": { - "expression": { - "id": 5631, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "28990:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5632, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "28995:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "28990:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "28976:26:7" - }, - { - "assignments": [ - 5635 - ], - "declarations": [ - { - "constant": false, - "id": 5635, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "29019:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29012:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5634, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "29012:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 5638, - "initialValue": { - "expression": { - "id": 5636, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29026:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5637, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29031:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "29026:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29012:23:7" - }, - { - "assignments": [ - 5640 - ], - "declarations": [ - { - "constant": false, - "id": 5640, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "29053:11:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29045:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5639, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29045:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5643, - "initialValue": { - "expression": { - "id": 5641, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29067:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29072:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "29067:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29045:33:7" - }, - { - "assignments": [ - 5648 - ], - "declarations": [ - { - "constant": false, - "id": 5648, - "mutability": "mutable", - "name": "ins", - "nameLocation": "29105:3:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29088:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5646, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29088:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5647, - "nodeType": "ArrayTypeName", - "src": "29088:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 5651, - "initialValue": { - "expression": { - "id": 5649, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29111:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29116:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "29111:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29088:33:7" - }, - { - "condition": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5652, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5653, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29177:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "29172:10:7", - "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": 5655, - "indexExpression": { - "id": 5654, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29183:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5657, - "indexExpression": { - "id": 5656, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29188:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5665, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5661, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29221:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5662, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29226:11:7", - "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": 5659, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29204:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29208:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29204:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29204:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5658, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "29194:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29194:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5682, - "nodeType": "IfStatement", - "src": "29168:174:7", - "trueBody": { - "id": 5681, - "nodeType": "Block", - "src": "29242:100:7", - "statements": [ - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5666, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29263:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29268:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "29263:10:7", - "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": 5669, - "indexExpression": { - "id": 5668, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29274:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5671, - "indexExpression": { - "id": 5670, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29279:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5679, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5675, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29312:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5676, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29317:11:7", - "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": 5673, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29295:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29299:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29295:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29295:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5672, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "29285:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29285:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5628, - "id": 5680, - "nodeType": "Return", - "src": "29256:75:7" - } - ] - } - }, - { - "assignments": [ - 5684 - ], - "declarations": [ - { - "constant": false, - "id": 5684, - "mutability": "mutable", - "name": "cald", - "nameLocation": "29364:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29351:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5683, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "29351:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5692, - "initialValue": { - "arguments": [ - { - "id": 5687, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29388:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 5689, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29402:3:7", - "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": 5688, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6664, - "src": "29394:7:7", - "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": 5690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29394:12:7", - "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": 5685, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29371:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29375:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29371:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29371:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29351:56:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 5693, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29417:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29430:6:7", - "memberName": "record", - "nodeType": "MemberAccess", - "referencedDeclaration": 7081, - "src": "29417:19:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 5696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29417:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5697, - "nodeType": "ExpressionStatement", - "src": "29417:21:7" - }, - { - "assignments": [ - 5699 - ], - "declarations": [ - { - "constant": false, - "id": 5699, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "29456:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29448:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5698, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29448:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5700, - "nodeType": "VariableDeclarationStatement", - "src": "29448:12:7" - }, - { - "id": 5717, - "nodeType": "Block", - "src": "29470:126:7", - "statements": [ - { - "assignments": [ - null, - 5702 - ], - "declarations": [ - null, - { - "constant": false, - "id": 5702, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "29500:4:7", - "nodeType": "VariableDeclaration", - "scope": 5717, - "src": "29487:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "29487:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5707, - "initialValue": { - "arguments": [ - { - "id": 5705, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5684, - "src": "29523:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5703, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29508:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29512:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "29508:14:7", - "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": 5706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29508:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29484:44:7" - }, - { - "expression": { - "id": 5715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5708, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "29542:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5710, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "29564:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5711, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29570:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 5712, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29573:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "29570:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5709, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "29549:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 5714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29549:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29542:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5716, - "nodeType": "ExpressionStatement", - "src": "29542:43:7" - } - ] - }, - { - "assignments": [ - 5722, - null - ], - "declarations": [ - { - "constant": false, - "id": 5722, - "mutability": "mutable", - "name": "reads", - "nameLocation": "29624:5:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29607:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5720, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29607:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5721, - "nodeType": "ArrayTypeName", - "src": "29607:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - null - ], - "id": 5730, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 5727, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29665:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29657:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29657:7:7", - "typeDescriptions": {} - } - }, - "id": 5728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29657:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5723, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29635:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29648:8:7", - "memberName": "accesses", - "nodeType": "MemberAccess", - "referencedDeclaration": 7092, - "src": "29635:21:7", - "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": 5729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29635:35:7", - "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": "29606:64:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5731, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29684:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29690:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "29684:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 5733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29700:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "29684:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5833, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30393:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30399:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "30393:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30408:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "30393:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6012, - "nodeType": "Block", - "src": "31631:107:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31653:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a204e6f2073746f726167652075736520646574656374656420666f72207461726765742e", - "id": 6009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31660:66:7", - "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": 6007, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "31645:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31645:82:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6011, - "nodeType": "ExpressionStatement", - "src": "31645:82:7" - } - ] - }, - "id": 6013, - "nodeType": "IfStatement", - "src": "30389:1349:7", - "trueBody": { - "id": 6006, - "nodeType": "Block", - "src": "30411:1214:7", - "statements": [ - { - "body": { - "id": 6004, - "nodeType": "Block", - "src": "30468:1147:7", - "statements": [ - { - "assignments": [ - 5849 - ], - "declarations": [ - { - "constant": false, - "id": 5849, - "mutability": "mutable", - "name": "prev", - "nameLocation": "30494:4:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30486:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5848, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30486:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5857, - "initialValue": { - "arguments": [ - { - "id": 5852, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30519:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5853, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30524:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5855, - "indexExpression": { - "id": 5854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30530:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30524:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 5850, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "30501:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30514:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "30501:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 5856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30501:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "30486:47:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5858, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "30555:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 5861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30571:1:7", - "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": 5860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30563:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5859, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30563:7:7", - "typeDescriptions": {} - } - }, - "id": 5862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30563:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "30555:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5875, - "nodeType": "IfStatement", - "src": "30551:114:7", - "trueBody": { - "id": 5874, - "nodeType": "Block", - "src": "30575:90:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5865, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30623:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5868, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30636:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5870, - "indexExpression": { - "id": 5869, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30642:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30636:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30628:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5866, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30628:7:7", - "typeDescriptions": {} - } - }, - "id": 5871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30628:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5864, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "30602:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30602:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5873, - "nodeType": "EmitStatement", - "src": "30597:49:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5879, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30726:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5880, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30731:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5882, - "indexExpression": { - "id": 5881, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30737:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30731:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "hexValue": "1337", - "id": 5885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30749:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 5884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30741:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5883, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30741:7:7", - "typeDescriptions": {} - } - }, - "id": 5886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30741:18:7", - "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": 5876, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "30707:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30720:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "30707:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 5887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30707:53:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5888, - "nodeType": "ExpressionStatement", - "src": "30707:53:7" - }, - { - "assignments": [ - 5890 - ], - "declarations": [ - { - "constant": false, - "id": 5890, - "mutability": "mutable", - "name": "success", - "nameLocation": "30783:7:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30778:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5889, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30778:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "id": 5891, - "nodeType": "VariableDeclarationStatement", - "src": "30778:12:7" - }, - { - "assignments": [ - 5893 - ], - "declarations": [ - { - "constant": false, - "id": 5893, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "30821:4:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30808:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5892, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "30808:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5894, - "nodeType": "VariableDeclarationStatement", - "src": "30808:17:7" - }, - { - "id": 5913, - "nodeType": "Block", - "src": "30843:144:7", - "statements": [ - { - "expression": { - "id": 5902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 5895, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5890, - "src": "30866:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5896, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "30875:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 5897, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "30865:15:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5900, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5684, - "src": "30898:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5898, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30883:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30887:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "30883:14:7", - "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": 5901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30883:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "src": "30865:38:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5903, - "nodeType": "ExpressionStatement", - "src": "30865:38:7" - }, - { - "expression": { - "id": 5911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5904, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "30925:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5906, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "30947:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30953:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 5908, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30956:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30953:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5905, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "30932:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 5910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30932:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "30925:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5912, - "nodeType": "ExpressionStatement", - "src": "30925:43:7" - } - ] - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5914, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5890, - "src": "31009:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5915, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "31020:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "1337", - "id": 5918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31036:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 5917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31028:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5916, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "31028:7:7", - "typeDescriptions": {} - } - }, - "id": 5919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31028:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "31020:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "31009:37:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5993, - "nodeType": "IfStatement", - "src": "31005:539:7", - "trueBody": { - "id": 5992, - "nodeType": "Block", - "src": "31048:496:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5923, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31154:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5924, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31159:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 5928, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31192:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5929, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31197:11:7", - "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": 5926, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31175:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31179:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31175:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31175:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5925, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31165:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31165:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5934, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31220:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5936, - "indexExpression": { - "id": 5935, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31226:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31220:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31212:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31212:7:7", - "typeDescriptions": {} - } - }, - "id": 5937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31212:17:7", - "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": 5922, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "31144:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 5938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31144:86:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5939, - "nodeType": "EmitStatement", - "src": "31139:91:7" - }, - { - "expression": { - "id": 5961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5940, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31252:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5951, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31257:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "31252:10:7", - "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": 5952, - "indexExpression": { - "id": 5942, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31263:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31252:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5953, - "indexExpression": { - "id": 5943, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31268:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31252:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5954, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5947, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31301:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5948, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31306:11:7", - "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": 5945, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31284:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31288:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31284:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31284:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5944, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31274:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31274:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "31252:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5957, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31331:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5959, - "indexExpression": { - "id": 5958, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31337:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31331:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5956, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31323:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5955, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31323:7:7", - "typeDescriptions": {} - } - }, - "id": 5960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31323:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "31252:88:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5962, - "nodeType": "ExpressionStatement", - "src": "31252:88:7" - }, - { - "expression": { - "id": 5979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5963, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31362:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31367:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "31362:10:7", - "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": 5975, - "indexExpression": { - "id": 5965, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31373:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31362:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5976, - "indexExpression": { - "id": 5966, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31378:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31362:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5977, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5970, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31411:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5971, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31416:11:7", - "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": 5968, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31394:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5969, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31398:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31394:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31394:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5967, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31384:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31384:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "31362:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 5978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31433:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "31362:75:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5980, - "nodeType": "ExpressionStatement", - "src": "31362:75:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5984, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31478:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5985, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31483:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5987, - "indexExpression": { - "id": 5986, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31489:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31483:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 5988, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "31493:4:7", - "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": 5981, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "31459:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31472:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "31459:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 5989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31459:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5990, - "nodeType": "ExpressionStatement", - "src": "31459:39:7" - }, - { - "id": 5991, - "nodeType": "Break", - "src": "31520:5:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5997, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31580:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5998, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31585:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6000, - "indexExpression": { - "id": 5999, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31591:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31585:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6001, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "31595:4:7", - "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": 5994, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "31561:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31574:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "31561:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31561:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6003, - "nodeType": "ExpressionStatement", - "src": "31561:39:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5841, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30445:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5842, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30449:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30455:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "30449:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30445:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6005, - "initializationExpression": { - "assignments": [ - 5838 - ], - "declarations": [ - { - "constant": false, - "id": 5838, - "mutability": "mutable", - "name": "i", - "nameLocation": "30438:1:7", - "nodeType": "VariableDeclaration", - "scope": 6005, - "src": "30430:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30430:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5840, - "initialValue": { - "hexValue": "30", - "id": 5839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30442:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "30430:13:7" - }, - "loopExpression": { - "expression": { - "id": 5846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "30463:3:7", - "subExpression": { - "id": 5845, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30463:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5847, - "nodeType": "ExpressionStatement", - "src": "30463:3:7" - }, - "nodeType": "ForStatement", - "src": "30425:1190:7" - } - ] - } - }, - "id": 6014, - "nodeType": "IfStatement", - "src": "29680:2058:7", - "trueBody": { - "id": 5832, - "nodeType": "Block", - "src": "29703:680:7", - "statements": [ - { - "assignments": [ - 5736 - ], - "declarations": [ - { - "constant": false, - "id": 5736, - "mutability": "mutable", - "name": "curr", - "nameLocation": "29725:4:7", - "nodeType": "VariableDeclaration", - "scope": 5832, - "src": "29717:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5735, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29717:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5744, - "initialValue": { - "arguments": [ - { - "id": 5739, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29750:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5740, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29755:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5742, - "indexExpression": { - "hexValue": "30", - "id": 5741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29761:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29755:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 5737, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29732:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29745:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "29732:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 5743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29732:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29717:47:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5745, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "29782:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 5748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29798:1:7", - "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": 5747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29790:7:7", - "typeDescriptions": {} - } - }, - "id": 5749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29790:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29782:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5762, - "nodeType": "IfStatement", - "src": "29778:106:7", - "trueBody": { - "id": 5761, - "nodeType": "Block", - "src": "29802:82:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5752, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29846:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5755, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29859:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5757, - "indexExpression": { - "hexValue": "30", - "id": 5756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29865:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29859:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29851:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5753, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29851:7:7", - "typeDescriptions": {} - } - }, - "id": 5758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29851:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5751, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "29825:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29825:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5760, - "nodeType": "EmitStatement", - "src": "29820:49:7" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5763, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "29901:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 5764, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "29909:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29901:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5772, - "nodeType": "IfStatement", - "src": "29897:180:7", - "trueBody": { - "id": 5771, - "nodeType": "Block", - "src": "29915:162:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 5767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29941:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 5768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29948:113:7", - "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": 5766, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "29933:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29933:129:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5770, - "nodeType": "ExpressionStatement", - "src": "29933:129:7" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "id": 5774, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30105:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5775, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30110:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 5779, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30143:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5780, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30148:11:7", - "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": 5777, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30126:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30130:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30126:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30126:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5776, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30116:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30116:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5785, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30171:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5787, - "indexExpression": { - "hexValue": "30", - "id": 5786, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30177:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30171:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30163:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30163:7:7", - "typeDescriptions": {} - } - }, - "id": 5788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30163:17:7", - "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": 5773, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "30095:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 5789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30095:86:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5790, - "nodeType": "EmitStatement", - "src": "30090:91:7" - }, - { - "expression": { - "id": 5812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5791, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "30195:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30200:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "30195:10:7", - "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": 5803, - "indexExpression": { - "id": 5793, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30206:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30195:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5804, - "indexExpression": { - "id": 5794, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30211:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30195:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5805, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5798, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30244:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5799, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30249:11:7", - "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": 5796, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30227:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30231:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30227:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30227:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5795, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30217:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30217:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "30195:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5808, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30274:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5810, - "indexExpression": { - "hexValue": "30", - "id": 5809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30280:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30274:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30266:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5806, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30266:7:7", - "typeDescriptions": {} - } - }, - "id": 5811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30266:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30195:88:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5813, - "nodeType": "ExpressionStatement", - "src": "30195:88:7" - }, - { - "expression": { - "id": 5830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5814, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "30297:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5825, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30302:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "30297:10:7", - "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": 5826, - "indexExpression": { - "id": 5816, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30308:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30297:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5827, - "indexExpression": { - "id": 5817, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30313:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30297:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5828, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5821, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30346:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5822, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30351:11:7", - "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": 5819, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30329:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5820, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30333:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30329:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30329:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5818, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30319:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30319:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "30297:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 5829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30368:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "30297:75:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5831, - "nodeType": "ExpressionStatement", - "src": "30297:75:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6016, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31756:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6017, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31761:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "31756:10:7", - "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": 6019, - "indexExpression": { - "id": 6018, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31767:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6021, - "indexExpression": { - "id": 6020, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31772:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6029, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6025, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31805:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6026, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31810:11:7", - "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": 6023, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31788:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31792:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31788:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31788:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6022, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31778:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31778:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a20536c6f74287329206e6f7420666f756e642e", - "id": 6030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31826:49:7", - "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": 6015, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "31748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31748:128:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6032, - "nodeType": "ExpressionStatement", - "src": "31748:128:7" - }, - { - "expression": { - "id": 6035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31887:19:7", - "subExpression": { - "expression": { - "id": 6033, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6034, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31899:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "31894:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6036, - "nodeType": "ExpressionStatement", - "src": "31887:19:7" - }, - { - "expression": { - "id": 6039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31916:16:7", - "subExpression": { - "expression": { - "id": 6037, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31923:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6038, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31928:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "31923:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6040, - "nodeType": "ExpressionStatement", - "src": "31916:16:7" - }, - { - "expression": { - "id": 6043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31942:17:7", - "subExpression": { - "expression": { - "id": 6041, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31949:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6042, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31954:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "31949:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6044, - "nodeType": "ExpressionStatement", - "src": "31942:17:7" - }, - { - "expression": { - "id": 6047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31969:18:7", - "subExpression": { - "expression": { - "id": 6045, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31976:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6046, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31981:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "31976:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6048, - "nodeType": "ExpressionStatement", - "src": "31969:18:7" - }, - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6049, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "32005:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6050, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32010:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "32005:10:7", - "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": 6052, - "indexExpression": { - "id": 6051, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "32016:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6054, - "indexExpression": { - "id": 6053, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "32021:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6062, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6058, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "32054:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6059, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "32059:11:7", - "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": 6056, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32037:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32041:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "32037:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32037:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6055, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "32027:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32027:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5628, - "id": 6063, - "nodeType": "Return", - "src": "31998:75:7" - } - ] - }, - "documentation": { - "id": 5621, - "nodeType": "StructuredDocumentation", - "src": "28358:129:7", - "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": "28875:4:7", - "parameters": { - "id": 5625, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5624, - "mutability": "mutable", - "name": "self", - "nameLocation": "28908:4:7", - "nodeType": "VariableDeclaration", - "scope": 6065, - "src": "28889:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 5623, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5622, - "name": "StdStorage", - "nameLocations": [ - "28889:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "28889:10:7" - }, - "referencedDeclaration": 5563, - "src": "28889:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "28879:39:7" - }, - "returnParameters": { - "id": 5628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5627, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6065, - "src": "28953:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5626, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28952:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6085, - "nodeType": "FunctionDefinition", - "src": "32086:156:7", - "body": { - "id": 6084, - "nodeType": "Block", - "src": "32182:60:7", - "statements": [ - { - "expression": { - "id": 6080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6076, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "32192:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32197:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "32192:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6079, - "name": "_target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6070, - "src": "32207:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "32192:22:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6081, - "nodeType": "ExpressionStatement", - "src": "32192:22:7" - }, - { - "expression": { - "id": 6082, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "32231:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6075, - "id": 6083, - "nodeType": "Return", - "src": "32224:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "target", - "nameLocation": "32095:6:7", - "parameters": { - "id": 6071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6068, - "mutability": "mutable", - "name": "self", - "nameLocation": "32121:4:7", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32102:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6067, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6066, - "name": "StdStorage", - "nameLocations": [ - "32102:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32102:10:7" - }, - "referencedDeclaration": 5563, - "src": "32102:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6070, - "mutability": "mutable", - "name": "_target", - "nameLocation": "32135:7:7", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32127:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32127:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32101:42:7" - }, - "returnParameters": { - "id": 6075, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6074, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32162:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6073, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6072, - "name": "StdStorage", - "nameLocations": [ - "32162:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32162:10:7" - }, - "referencedDeclaration": 5563, - "src": "32162:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32161:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6105, - "nodeType": "FunctionDefinition", - "src": "32248:143:7", - "body": { - "id": 6104, - "nodeType": "Block", - "src": "32337:54:7", - "statements": [ - { - "expression": { - "id": 6100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6096, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "32347:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6098, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32352:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "32347:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6099, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6090, - "src": "32359:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "32347:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6101, - "nodeType": "ExpressionStatement", - "src": "32347:16:7" - }, - { - "expression": { - "id": 6102, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "32380:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6095, - "id": 6103, - "nodeType": "Return", - "src": "32373:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "32257:3:7", - "parameters": { - "id": 6091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6088, - "mutability": "mutable", - "name": "self", - "nameLocation": "32280:4:7", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32261:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6087, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6086, - "name": "StdStorage", - "nameLocations": [ - "32261:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32261:10:7" - }, - "referencedDeclaration": 5563, - "src": "32261:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6090, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "32293:4:7", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32286:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6089, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "32286:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "32260:38:7" - }, - "returnParameters": { - "id": 6095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6094, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32317:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6093, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6092, - "name": "StdStorage", - "nameLocations": [ - "32317:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32317:10:7" - }, - "referencedDeclaration": 5563, - "src": "32317:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32316:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6127, - "nodeType": "FunctionDefinition", - "src": "32397:156:7", - "body": { - "id": 6126, - "nodeType": "Block", - "src": "32493:60:7", - "statements": [ - { - "expression": { - "id": 6122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6116, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6108, - "src": "32503:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32508:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "32503:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6120, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6110, - "src": "32520:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 6119, - "name": "sigs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5620, - "src": "32515:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (string memory) pure returns (bytes4)" - } - }, - "id": 6121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32515:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "32503:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6123, - "nodeType": "ExpressionStatement", - "src": "32503:22:7" - }, - { - "expression": { - "id": 6124, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6108, - "src": "32542:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6115, - "id": 6125, - "nodeType": "Return", - "src": "32535:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "32406:3:7", - "parameters": { - "id": 6111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6108, - "mutability": "mutable", - "name": "self", - "nameLocation": "32429:4:7", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32410:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6107, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6106, - "name": "StdStorage", - "nameLocations": [ - "32410:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32410:10:7" - }, - "referencedDeclaration": 5563, - "src": "32410:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6110, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "32449:4:7", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32435:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6109, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32435:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32409:45:7" - }, - "returnParameters": { - "id": 6115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6114, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32473:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6113, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6112, - "name": "StdStorage", - "nameLocations": [ - "32473:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32473:10:7" - }, - "referencedDeclaration": 5563, - "src": "32473:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32472:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6158, - "nodeType": "FunctionDefinition", - "src": "32559:179:7", - "body": { - "id": 6157, - "nodeType": "Block", - "src": "32653:85:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6149, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6132, - "src": "32703:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32695:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6147, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "32695:7:7", - "typeDescriptions": {} - } - }, - "id": 6150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32695:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32687:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6145, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32687:7:7", - "typeDescriptions": {} - } - }, - "id": 6151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32687:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32679:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6143, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32679:7:7", - "typeDescriptions": {} - } - }, - "id": 6152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32679:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6138, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6130, - "src": "32663:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6141, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32668:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "32663:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32674:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "32663:15:7", - "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": 6153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32663:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6154, - "nodeType": "ExpressionStatement", - "src": "32663:47:7" - }, - { - "expression": { - "id": 6155, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6130, - "src": "32727:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6137, - "id": 6156, - "nodeType": "Return", - "src": "32720:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32568:8:7", - "parameters": { - "id": 6133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6130, - "mutability": "mutable", - "name": "self", - "nameLocation": "32596:4:7", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32577:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6129, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6128, - "name": "StdStorage", - "nameLocations": [ - "32577:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32577:10:7" - }, - "referencedDeclaration": 5563, - "src": "32577:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6132, - "mutability": "mutable", - "name": "who", - "nameLocation": "32610:3:7", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32602:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32602:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32576:38:7" - }, - "returnParameters": { - "id": 6137, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6136, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32633:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6135, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6134, - "name": "StdStorage", - "nameLocations": [ - "32633:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32633:10:7" - }, - "referencedDeclaration": 5563, - "src": "32633:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32632:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6183, - "nodeType": "FunctionDefinition", - "src": "32744:161:7", - "body": { - "id": 6182, - "nodeType": "Block", - "src": "32838:67:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6176, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6163, - "src": "32872:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32864:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6174, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32864:7:7", - "typeDescriptions": {} - } - }, - "id": 6177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32864:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6169, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6161, - "src": "32848:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6172, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32853:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "32848:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32859:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "32848:15:7", - "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": 6178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32848:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6179, - "nodeType": "ExpressionStatement", - "src": "32848:29:7" - }, - { - "expression": { - "id": 6180, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6161, - "src": "32894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6168, - "id": 6181, - "nodeType": "Return", - "src": "32887:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32753:8:7", - "parameters": { - "id": 6164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6161, - "mutability": "mutable", - "name": "self", - "nameLocation": "32781:4:7", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32762:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6160, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6159, - "name": "StdStorage", - "nameLocations": [ - "32762:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32762:10:7" - }, - "referencedDeclaration": 5563, - "src": "32762:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6163, - "mutability": "mutable", - "name": "amt", - "nameLocation": "32795:3:7", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32787:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6162, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32787:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32761:38:7" - }, - "returnParameters": { - "id": 6168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6167, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32818:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6166, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6165, - "name": "StdStorage", - "nameLocations": [ - "32818:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32818:10:7" - }, - "referencedDeclaration": 5563, - "src": "32818:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32817:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6205, - "nodeType": "FunctionDefinition", - "src": "32910:152:7", - "body": { - "id": 6204, - "nodeType": "Block", - "src": "33004:58:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6199, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6188, - "src": "33030:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6194, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6186, - "src": "33014:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33019:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "33014:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33025:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "33014:15:7", - "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": 6200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33014:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6201, - "nodeType": "ExpressionStatement", - "src": "33014:20:7" - }, - { - "expression": { - "id": 6202, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6186, - "src": "33051:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6193, - "id": 6203, - "nodeType": "Return", - "src": "33044:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32919:8:7", - "parameters": { - "id": 6189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6186, - "mutability": "mutable", - "name": "self", - "nameLocation": "32947:4:7", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32928:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6185, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6184, - "name": "StdStorage", - "nameLocations": [ - "32928:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32928:10:7" - }, - "referencedDeclaration": 5563, - "src": "32928:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6188, - "mutability": "mutable", - "name": "key", - "nameLocation": "32961:3:7", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32953:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6187, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "32927:38:7" - }, - "returnParameters": { - "id": 6193, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6192, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32984:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6191, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6190, - "name": "StdStorage", - "nameLocations": [ - "32984:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32984:10:7" - }, - "referencedDeclaration": 5563, - "src": "32984:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32983:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6225, - "nodeType": "FunctionDefinition", - "src": "33068:152:7", - "body": { - "id": 6224, - "nodeType": "Block", - "src": "33162:58:7", - "statements": [ - { - "expression": { - "id": 6220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6216, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6208, - "src": "33172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6218, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "33177:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "33172:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6219, - "name": "_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6210, - "src": "33186:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "33172:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6221, - "nodeType": "ExpressionStatement", - "src": "33172:20:7" - }, - { - "expression": { - "id": 6222, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6208, - "src": "33209:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6215, - "id": 6223, - "nodeType": "Return", - "src": "33202:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depth", - "nameLocation": "33077:5:7", - "parameters": { - "id": 6211, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6208, - "mutability": "mutable", - "name": "self", - "nameLocation": "33102:4:7", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33083:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6207, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6206, - "name": "StdStorage", - "nameLocations": [ - "33083:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33083:10:7" - }, - "referencedDeclaration": 5563, - "src": "33083:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6210, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "33116:6:7", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33108:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6209, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33108:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33082:41:7" - }, - "returnParameters": { - "id": 6215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6214, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33142:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6213, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6212, - "name": "StdStorage", - "nameLocations": [ - "33142:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33142:10:7" - }, - "referencedDeclaration": 5563, - "src": "33142:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "33141:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6248, - "nodeType": "FunctionDefinition", - "src": "33226:138:7", - "body": { - "id": 6247, - "nodeType": "Block", - "src": "33296:68:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6234, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6228, - "src": "33320:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6241, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6230, - "src": "33350:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33342:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6239, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "33342:7:7", - "typeDescriptions": {} - } - }, - "id": 6242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33342:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33334:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6237, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33334:7:7", - "typeDescriptions": {} - } - }, - "id": 6243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33334:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33326:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6235, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33326:7:7", - "typeDescriptions": {} - } - }, - "id": 6244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33326:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6233, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33306:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33306:51:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6246, - "nodeType": "ExpressionStatement", - "src": "33306:51:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33235:13:7", - "parameters": { - "id": 6231, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6228, - "mutability": "mutable", - "name": "self", - "nameLocation": "33268:4:7", - "nodeType": "VariableDeclaration", - "scope": 6248, - "src": "33249:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6227, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6226, - "name": "StdStorage", - "nameLocations": [ - "33249:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33249:10:7" - }, - "referencedDeclaration": 5563, - "src": "33249:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6230, - "mutability": "mutable", - "name": "who", - "nameLocation": "33282:3:7", - "nodeType": "VariableDeclaration", - "scope": 6248, - "src": "33274:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33274:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33248:38:7" - }, - "returnParameters": { - "id": 6232, - "nodeType": "ParameterList", - "parameters": [], - "src": "33296:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6265, - "nodeType": "FunctionDefinition", - "src": "33370:120:7", - "body": { - "id": 6264, - "nodeType": "Block", - "src": "33440:50:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6257, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6251, - "src": "33464:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "id": 6260, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6253, - "src": "33478:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33470:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6258, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33470:7:7", - "typeDescriptions": {} - } - }, - "id": 6261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33470:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6256, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33450:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6262, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33450:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6263, - "nodeType": "ExpressionStatement", - "src": "33450:33:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33379:13:7", - "parameters": { - "id": 6254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6251, - "mutability": "mutable", - "name": "self", - "nameLocation": "33412:4:7", - "nodeType": "VariableDeclaration", - "scope": 6265, - "src": "33393:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6250, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6249, - "name": "StdStorage", - "nameLocations": [ - "33393:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33393:10:7" - }, - "referencedDeclaration": 5563, - "src": "33393:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6253, - "mutability": "mutable", - "name": "amt", - "nameLocation": "33426:3:7", - "nodeType": "VariableDeclaration", - "scope": 6265, - "src": "33418:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33418:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33392:38:7" - }, - "returnParameters": { - "id": 6255, - "nodeType": "ParameterList", - "parameters": [], - "src": "33440:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6283, - "nodeType": "FunctionDefinition", - "src": "33496:222:7", - "body": { - "id": 6282, - "nodeType": "Block", - "src": "33565:153:7", - "statements": [ - { - "assignments": [ - 6274 - ], - "declarations": [ - { - "constant": false, - "id": 6274, - "mutability": "mutable", - "name": "t", - "nameLocation": "33583:1:7", - "nodeType": "VariableDeclaration", - "scope": 6282, - "src": "33575:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6273, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33575:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6275, - "nodeType": "VariableDeclarationStatement", - "src": "33575:9:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "33646:34:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "33660:10:7", - "value": { - "name": "write", - "nodeType": "YulIdentifier", - "src": "33665:5:7" - }, - "variableNames": [ - { - "name": "t", - "nodeType": "YulIdentifier", - "src": "33660:1:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 6274, - "isOffset": false, - "isSlot": false, - "src": "33660:1:7", - "valueSize": 1 - }, - { - "declaration": 6270, - "isOffset": false, - "isSlot": false, - "src": "33665:5:7", - "valueSize": 1 - } - ], - "id": 6276, - "nodeType": "InlineAssembly", - "src": "33637:43:7" - }, - { - "expression": { - "arguments": [ - { - "id": 6278, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6268, - "src": "33703:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 6279, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6274, - "src": "33709:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6277, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33689:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33689:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6281, - "nodeType": "ExpressionStatement", - "src": "33689:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33505:13:7", - "parameters": { - "id": 6271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6268, - "mutability": "mutable", - "name": "self", - "nameLocation": "33538:4:7", - "nodeType": "VariableDeclaration", - "scope": 6283, - "src": "33519:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6267, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6266, - "name": "StdStorage", - "nameLocations": [ - "33519:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33519:10:7" - }, - "referencedDeclaration": 5563, - "src": "33519:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6270, - "mutability": "mutable", - "name": "write", - "nameLocation": "33549:5:7", - "nodeType": "VariableDeclaration", - "scope": 6283, - "src": "33544:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6269, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33544:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33518:37:7" - }, - "returnParameters": { - "id": 6272, - "nodeType": "ParameterList", - "parameters": [], - "src": "33565:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6428, - "nodeType": "FunctionDefinition", - "src": "33724:1089:7", - "body": { - "id": 6427, - "nodeType": "Block", - "src": "33816:997:7", - "statements": [ - { - "assignments": [ - 6292 - ], - "declarations": [ - { - "constant": false, - "id": 6292, - "mutability": "mutable", - "name": "who", - "nameLocation": "33834:3:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33826:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33826:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6295, - "initialValue": { - "expression": { - "id": 6293, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33840:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33845:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "33840:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33826:26:7" - }, - { - "assignments": [ - 6297 - ], - "declarations": [ - { - "constant": false, - "id": 6297, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "33869:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33862:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6296, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "33862:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 6300, - "initialValue": { - "expression": { - "id": 6298, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33876:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6299, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33881:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "33876:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33862:23:7" - }, - { - "assignments": [ - 6302 - ], - "declarations": [ - { - "constant": false, - "id": 6302, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "33903:11:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33895:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33895:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6305, - "initialValue": { - "expression": { - "id": 6303, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33917:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6304, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33922:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "33917:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33895:33:7" - }, - { - "assignments": [ - 6310 - ], - "declarations": [ - { - "constant": false, - "id": 6310, - "mutability": "mutable", - "name": "ins", - "nameLocation": "33955:3:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33938:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6308, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33938:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6309, - "nodeType": "ArrayTypeName", - "src": "33938:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 6313, - "initialValue": { - "expression": { - "id": 6311, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33961:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33966:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "33961:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33938:33:7" - }, - { - "assignments": [ - 6315 - ], - "declarations": [ - { - "constant": false, - "id": 6315, - "mutability": "mutable", - "name": "cald", - "nameLocation": "33995:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33982:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6314, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "33982:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6323, - "initialValue": { - "arguments": [ - { - "id": 6318, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34019:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 6320, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34033:3:7", - "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": 6319, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6664, - "src": "34025:7:7", - "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": 6321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34025:12:7", - "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": 6316, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34002:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34006:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34002:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34002:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33982:56:7" - }, - { - "condition": { - "id": 6338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "34052:69:7", - "subExpression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6324, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34053:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6325, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34058:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "34053:10:7", - "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": 6327, - "indexExpression": { - "id": 6326, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34064:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6329, - "indexExpression": { - "id": 6328, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34069:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6337, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6333, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34102:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6334, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34107:11:7", - "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": 6331, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34085:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34089:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34085:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34085:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6330, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "34075:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34075:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6344, - "nodeType": "IfStatement", - "src": "34048:110:7", - "trueBody": { - "id": 6343, - "nodeType": "Block", - "src": "34123:35:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6340, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34142:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6339, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6065, - "src": "34137:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 6341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34137:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6342, - "nodeType": "ExpressionStatement", - "src": "34137:10:7" - } - ] - } - }, - { - "assignments": [ - 6346 - ], - "declarations": [ - { - "constant": false, - "id": 6346, - "mutability": "mutable", - "name": "slot", - "nameLocation": "34175:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34167:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6345, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34167:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6364, - "initialValue": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6349, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34190:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6350, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34195:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "34190:10:7", - "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": 6352, - "indexExpression": { - "id": 6351, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34201:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6354, - "indexExpression": { - "id": 6353, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34206:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6362, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6358, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34239:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6359, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34244:11:7", - "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": 6356, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34222:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34226:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34222:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34222:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6355, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "34212:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34212:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "34182:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6347, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34182:7:7", - "typeDescriptions": {} - } - }, - "id": 6363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34182:77:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34167:92:7" - }, - { - "assignments": [ - 6366 - ], - "declarations": [ - { - "constant": false, - "id": 6366, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "34278:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34270:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6365, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34270:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6367, - "nodeType": "VariableDeclarationStatement", - "src": "34270:12:7" - }, - { - "id": 6384, - "nodeType": "Block", - "src": "34292:126:7", - "statements": [ - { - "assignments": [ - null, - 6369 - ], - "declarations": [ - null, - { - "constant": false, - "id": 6369, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "34322:4:7", - "nodeType": "VariableDeclaration", - "scope": 6384, - "src": "34309:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6368, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "34309:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6374, - "initialValue": { - "arguments": [ - { - "id": 6372, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6315, - "src": "34345:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6370, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34330:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34334:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "34330:14:7", - "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": 6373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34330:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34306:44:7" - }, - { - "expression": { - "id": 6382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6375, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6366, - "src": "34364:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6377, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6369, - "src": "34386:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 6378, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34392:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 6379, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34395:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "34392:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6376, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "34371:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 6381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34371:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "34364:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6383, - "nodeType": "ExpressionStatement", - "src": "34364:43:7" - } - ] - }, - { - "assignments": [ - 6386 - ], - "declarations": [ - { - "constant": false, - "id": 6386, - "mutability": "mutable", - "name": "curr", - "nameLocation": "34435:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34427:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6385, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34427:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6392, - "initialValue": { - "arguments": [ - { - "id": 6389, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34460:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6390, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "34465:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6387, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34442:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34455:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "34442:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 6391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34442:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34427:43:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6393, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6366, - "src": "34485:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 6394, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6386, - "src": "34493:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "34485:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6402, - "nodeType": "IfStatement", - "src": "34481:172:7", - "trueBody": { - "id": 6401, - "nodeType": "Block", - "src": "34499:154:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34521:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 6398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34528:113:7", - "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": 6396, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "34513:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34513:129:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6400, - "nodeType": "ExpressionStatement", - "src": "34513:129:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 6406, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34681:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6407, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "34686:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6408, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6288, - "src": "34692:3:7", - "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": 6403, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34662:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34675:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "34662:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34662:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6410, - "nodeType": "ExpressionStatement", - "src": "34662:34:7" - }, - { - "expression": { - "id": 6413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34706:19:7", - "subExpression": { - "expression": { - "id": 6411, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34713:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34718:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "34713:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6414, - "nodeType": "ExpressionStatement", - "src": "34706:19:7" - }, - { - "expression": { - "id": 6417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34735:16:7", - "subExpression": { - "expression": { - "id": 6415, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34742:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34747:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "34742:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6418, - "nodeType": "ExpressionStatement", - "src": "34735:16:7" - }, - { - "expression": { - "id": 6421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34761:17:7", - "subExpression": { - "expression": { - "id": 6419, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34768:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34773:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "34768:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6422, - "nodeType": "ExpressionStatement", - "src": "34761:17:7" - }, - { - "expression": { - "id": 6425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34788:18:7", - "subExpression": { - "expression": { - "id": 6423, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34795:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6424, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34800:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "34795:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6426, - "nodeType": "ExpressionStatement", - "src": "34788:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33733:13:7", - "parameters": { - "id": 6289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6286, - "mutability": "mutable", - "name": "self", - "nameLocation": "33775:4:7", - "nodeType": "VariableDeclaration", - "scope": 6428, - "src": "33756:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6284, - "name": "StdStorage", - "nameLocations": [ - "33756:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33756:10:7" - }, - "referencedDeclaration": 5563, - "src": "33756:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6288, - "mutability": "mutable", - "name": "set", - "nameLocation": "33797:3:7", - "nodeType": "VariableDeclaration", - "scope": 6428, - "src": "33789:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6287, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33789:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "33746:60:7" - }, - "returnParameters": { - "id": 6290, - "nodeType": "ParameterList", - "parameters": [], - "src": "33816:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6460, - "nodeType": "FunctionDefinition", - "src": "34819:204:7", - "body": { - "id": 6459, - "nodeType": "Block", - "src": "34889:134:7", - "statements": [ - { - "assignments": [ - 6437 - ], - "declarations": [ - { - "constant": false, - "id": 6437, - "mutability": "mutable", - "name": "t", - "nameLocation": "34907:1:7", - "nodeType": "VariableDeclaration", - "scope": 6459, - "src": "34899:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6436, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34899:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6440, - "initialValue": { - "expression": { - "id": 6438, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6431, - "src": "34911:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34916:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "34911:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34899:24:7" - }, - { - "assignments": [ - 6442 - ], - "declarations": [ - { - "constant": false, - "id": 6442, - "mutability": "mutable", - "name": "s", - "nameLocation": "34941:1:7", - "nodeType": "VariableDeclaration", - "scope": 6459, - "src": "34933:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6441, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34933:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6446, - "initialValue": { - "arguments": [ - { - "id": 6444, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6431, - "src": "34950:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6443, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6065, - "src": "34945:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 6445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34945:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34933:22:7" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6451, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6437, - "src": "35001:1:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 6454, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6442, - "src": "35012:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35004:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35004:7:7", - "typeDescriptions": {} - } - }, - "id": 6455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35004:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6449, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34983:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34996:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "34983:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 6456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34983:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6447, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34972:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34976:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "34972:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34972:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 6435, - "id": 6458, - "nodeType": "Return", - "src": "34965:51:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read", - "nameLocation": "34828:4:7", - "parameters": { - "id": 6432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6431, - "mutability": "mutable", - "name": "self", - "nameLocation": "34852:4:7", - "nodeType": "VariableDeclaration", - "scope": 6460, - "src": "34833:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6430, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6429, - "name": "StdStorage", - "nameLocations": [ - "34833:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "34833:10:7" - }, - "referencedDeclaration": 5563, - "src": "34833:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "34832:25:7" - }, - "returnParameters": { - "id": 6435, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6434, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6460, - "src": "34875:12:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6433, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "34875:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "34874:14:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 6479, - "nodeType": "FunctionDefinition", - "src": "35029:131:7", - "body": { - "id": 6478, - "nodeType": "Block", - "src": "35103:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6471, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6463, - "src": "35136:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6470, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35131:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35131:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6474, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35144:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6473, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35144:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6475, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35143:9:7", - "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": 6468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35120:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35124:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35120:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35120:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6467, - "id": 6477, - "nodeType": "Return", - "src": "35113:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bytes32", - "nameLocation": "35038:12:7", - "parameters": { - "id": 6464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6463, - "mutability": "mutable", - "name": "self", - "nameLocation": "35070:4:7", - "nodeType": "VariableDeclaration", - "scope": 6479, - "src": "35051:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6462, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6461, - "name": "StdStorage", - "nameLocations": [ - "35051:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35051:10:7" - }, - "referencedDeclaration": 5563, - "src": "35051:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35050:25:7" - }, - "returnParameters": { - "id": 6467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6466, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6479, - "src": "35094:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6465, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35094:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "35093:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6510, - "nodeType": "FunctionDefinition", - "src": "35167:279:7", - "body": { - "id": 6509, - "nodeType": "Block", - "src": "35235:211:7", - "statements": [ - { - "assignments": [ - 6488 - ], - "declarations": [ - { - "constant": false, - "id": 6488, - "mutability": "mutable", - "name": "v", - "nameLocation": "35252:1:7", - "nodeType": "VariableDeclaration", - "scope": 6509, - "src": "35245:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6487, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35245:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "id": 6492, - "initialValue": { - "arguments": [ - { - "id": 6490, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6482, - "src": "35265:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6489, - "name": "read_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6567, - "src": "35256:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_int256_$", - "typeString": "function (struct StdStorage storage pointer) returns (int256)" - } - }, - "id": 6491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35256:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "35245:25:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6493, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6488, - "src": "35284:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 6494, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35289:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "35284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6498, - "nodeType": "IfStatement", - "src": "35280:24:7", - "trueBody": { - "expression": { - "hexValue": "66616c7365", - "id": 6496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35299:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 6486, - "id": 6497, - "nodeType": "Return", - "src": "35292:12:7" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6499, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6488, - "src": "35318:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 6500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35323:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "35318:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6504, - "nodeType": "IfStatement", - "src": "35314:23:7", - "trueBody": { - "expression": { - "hexValue": "74727565", - "id": 6502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35333:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 6486, - "id": 6503, - "nodeType": "Return", - "src": "35326:11:7" - } - }, - { - "expression": { - "arguments": [ - { - "hexValue": "73746453746f7261676520726561645f626f6f6c2853746453746f72616765293a2043616e6e6f74206465636f64652e204d616b65207375726520796f75206172652072656164696e67206120626f6f6c2e", - "id": 6506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35354:84:7", - "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": 6505, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "35347:6:7", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 6507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35347:92:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6508, - "nodeType": "ExpressionStatement", - "src": "35347:92:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bool", - "nameLocation": "35176:9:7", - "parameters": { - "id": 6483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6482, - "mutability": "mutable", - "name": "self", - "nameLocation": "35205:4:7", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "35186:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6481, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6480, - "name": "StdStorage", - "nameLocations": [ - "35186:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35186:10:7" - }, - "referencedDeclaration": 5563, - "src": "35186:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35185:25:7" - }, - "returnParameters": { - "id": 6486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6485, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "35229:4:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6484, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35229:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35228:6:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6529, - "nodeType": "FunctionDefinition", - "src": "35452:131:7", - "body": { - "id": 6528, - "nodeType": "Block", - "src": "35526:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6521, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6513, - "src": "35559:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6520, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35554:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35554:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35567:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6523, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35567:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6525, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35566:9:7", - "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": 6518, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35543:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35547:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35543:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35543:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 6517, - "id": 6527, - "nodeType": "Return", - "src": "35536:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_address", - "nameLocation": "35461:12:7", - "parameters": { - "id": 6514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6513, - "mutability": "mutable", - "name": "self", - "nameLocation": "35493:4:7", - "nodeType": "VariableDeclaration", - "scope": 6529, - "src": "35474:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6512, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6511, - "name": "StdStorage", - "nameLocations": [ - "35474:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35474:10:7" - }, - "referencedDeclaration": 5563, - "src": "35474:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35473:25:7" - }, - "returnParameters": { - "id": 6517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6516, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6529, - "src": "35517:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35517:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35516:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6548, - "nodeType": "FunctionDefinition", - "src": "35589:128:7", - "body": { - "id": 6547, - "nodeType": "Block", - "src": "35660:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6540, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6532, - "src": "35693:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6539, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35688:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35688:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35701:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6542, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35701:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6544, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35700:9:7", - "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": 6537, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35677:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35681:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35677:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35677:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6536, - "id": 6546, - "nodeType": "Return", - "src": "35670:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_uint", - "nameLocation": "35598:9:7", - "parameters": { - "id": 6533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6532, - "mutability": "mutable", - "name": "self", - "nameLocation": "35627:4:7", - "nodeType": "VariableDeclaration", - "scope": 6548, - "src": "35608:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6531, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6530, - "name": "StdStorage", - "nameLocations": [ - "35608:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35608:10:7" - }, - "referencedDeclaration": 5563, - "src": "35608:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35607:25:7" - }, - "returnParameters": { - "id": 6536, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6535, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6548, - "src": "35651:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6534, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35651:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35650:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6567, - "nodeType": "FunctionDefinition", - "src": "35723:125:7", - "body": { - "id": 6566, - "nodeType": "Block", - "src": "35792:56:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6559, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6551, - "src": "35825:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6558, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35820:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35820:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35833:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 6561, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35833:6:7", - "typeDescriptions": {} - } - } - ], - "id": 6563, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35832:8:7", - "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": 6556, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35809:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35813:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35809:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35809:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 6555, - "id": 6565, - "nodeType": "Return", - "src": "35802:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_int", - "nameLocation": "35732:8:7", - "parameters": { - "id": 6552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6551, - "mutability": "mutable", - "name": "self", - "nameLocation": "35760:4:7", - "nodeType": "VariableDeclaration", - "scope": 6567, - "src": "35741:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6550, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6549, - "name": "StdStorage", - "nameLocations": [ - "35741:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35741:10:7" - }, - "referencedDeclaration": 5563, - "src": "35741:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35740:25:7" - }, - "returnParameters": { - "id": 6555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6554, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6567, - "src": "35784:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6553, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35784:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "35783:8:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6623, - "nodeType": "FunctionDefinition", - "src": "35854:297:7", - "body": { - "id": 6622, - "nodeType": "Block", - "src": "35937:214:7", - "statements": [ - { - "assignments": [ - 6577 - ], - "declarations": [ - { - "constant": false, - "id": 6577, - "mutability": "mutable", - "name": "out", - "nameLocation": "35955:3:7", - "nodeType": "VariableDeclaration", - "scope": 6622, - "src": "35947:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6576, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35947:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6578, - "nodeType": "VariableDeclarationStatement", - "src": "35947:11:7" - }, - { - "assignments": [ - 6580 - ], - "declarations": [ - { - "constant": false, - "id": 6580, - "mutability": "mutable", - "name": "max", - "nameLocation": "35977:3:7", - "nodeType": "VariableDeclaration", - "scope": 6622, - "src": "35969:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35969:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6589, - "initialValue": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6581, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "35983:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "35985:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "35983:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "3332", - "id": 6583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35994:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "35983:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "id": 6586, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "36004:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36006:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36004:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "35983:29:7", - "trueExpression": { - "hexValue": "3332", - "id": 6585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35999:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "35969:43:7" - }, - { - "body": { - "id": 6618, - "nodeType": "Block", - "src": "36053:72:7", - "statements": [ - { - "expression": { - "id": 6616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6600, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6577, - "src": "36067:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 6609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 6603, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "36082:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6607, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6604, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6571, - "src": "36084:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 6605, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36093:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36084:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "36082:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "30784646", - "id": 6608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36098:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xFF" - }, - "src": "36082:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 6602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "36074:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6601, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36074:7:7", - "typeDescriptions": {} - } - }, - "id": 6610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36074:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36108:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 6612, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36112:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "36108:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 6614, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "36107:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36074:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "36067:47:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6617, - "nodeType": "ExpressionStatement", - "src": "36067:47:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6594, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36039:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 6595, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6580, - "src": "36043:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36039:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6619, - "initializationExpression": { - "assignments": [ - 6591 - ], - "declarations": [ - { - "constant": false, - "id": 6591, - "mutability": "mutable", - "name": "i", - "nameLocation": "36032:1:7", - "nodeType": "VariableDeclaration", - "scope": 6619, - "src": "36027:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6590, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36027:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6593, - "initialValue": { - "hexValue": "30", - "id": 6592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36036:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "36027:10:7" - }, - "loopExpression": { - "expression": { - "id": 6598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "36048:3:7", - "subExpression": { - "id": 6597, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36048:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6599, - "nodeType": "ExpressionStatement", - "src": "36048:3:7" - }, - "nodeType": "ForStatement", - "src": "36022:103:7" - }, - { - "expression": { - "id": 6620, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6577, - "src": "36141:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6575, - "id": 6621, - "nodeType": "Return", - "src": "36134:10:7" - } - ] - }, - "functionSelector": "53584939", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToBytes32", - "nameLocation": "35863:14:7", - "parameters": { - "id": 6572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6569, - "mutability": "mutable", - "name": "b", - "nameLocation": "35891:1:7", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35878:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6568, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "35878:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6571, - "mutability": "mutable", - "name": "offset", - "nameLocation": "35899:6:7", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35894:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "35894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35877:29:7" - }, - "returnParameters": { - "id": 6575, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6574, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35928:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6573, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35928:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "35927:9:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 6664, - "nodeType": "FunctionDefinition", - "src": "36157:397:7", - "body": { - "id": 6663, - "nodeType": "Block", - "src": "36234:320:7", - "statements": [ - { - "assignments": [ - 6632 - ], - "declarations": [ - { - "constant": false, - "id": 6632, - "mutability": "mutable", - "name": "result", - "nameLocation": "36257:6:7", - "nodeType": "VariableDeclaration", - "scope": 6663, - "src": "36244:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6631, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36244:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6640, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6635, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36276:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36278:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36276:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "3332", - "id": 6637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36287:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "36276:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "36266:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 6633, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36270:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 6639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36266:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "36244:46:7" - }, - { - "body": { - "id": 6659, - "nodeType": "Block", - "src": "36339:185:7", - "statements": [ - { - "assignments": [ - 6653 - ], - "declarations": [ - { - "constant": false, - "id": 6653, - "mutability": "mutable", - "name": "k", - "nameLocation": "36361:1:7", - "nodeType": "VariableDeclaration", - "scope": 6659, - "src": "36353:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6652, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36353:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6657, - "initialValue": { - "baseExpression": { - "id": 6654, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36365:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6656, - "indexExpression": { - "id": 6655, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36367:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "36365:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "36353:16:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "36439:75:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "36468:6:7" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "36480:2:7", - "type": "", - "value": "32" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "36488:2:7", - "type": "", - "value": "32" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "36492:1:7" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "36484:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36484:10:7" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "36476:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36476:19:7" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "36464:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36464:32:7" - }, - { - "name": "k", - "nodeType": "YulIdentifier", - "src": "36498:1:7" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "36457:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "36457:43:7" - }, - "nodeType": "YulExpressionStatement", - "src": "36457:43:7" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 6642, - "isOffset": false, - "isSlot": false, - "src": "36492:1:7", - "valueSize": 1 - }, - { - "declaration": 6653, - "isOffset": false, - "isSlot": false, - "src": "36498:1:7", - "valueSize": 1 - }, - { - "declaration": 6632, - "isOffset": false, - "isSlot": false, - "src": "36468:6:7", - "valueSize": 1 - } - ], - "id": 6658, - "nodeType": "InlineAssembly", - "src": "36430:84:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6645, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36320:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 6646, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36324:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36326:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36324:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36320:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6660, - "initializationExpression": { - "assignments": [ - 6642 - ], - "declarations": [ - { - "constant": false, - "id": 6642, - "mutability": "mutable", - "name": "i", - "nameLocation": "36313:1:7", - "nodeType": "VariableDeclaration", - "scope": 6660, - "src": "36305:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6641, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36305:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6644, - "initialValue": { - "hexValue": "30", - "id": 6643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36317:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "36305:13:7" - }, - "loopExpression": { - "expression": { - "id": 6650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "36334:3:7", - "subExpression": { - "id": 6649, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36334:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6651, - "nodeType": "ExpressionStatement", - "src": "36334:3:7" - }, - "nodeType": "ForStatement", - "src": "36300:224:7" - }, - { - "expression": { - "id": 6661, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6632, - "src": "36541:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 6630, - "id": 6662, - "nodeType": "Return", - "src": "36534:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "flatten", - "nameLocation": "36166:7:7", - "parameters": { - "id": 6627, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6626, - "mutability": "mutable", - "name": "b", - "nameLocation": "36191:1:7", - "nodeType": "VariableDeclaration", - "scope": 6664, - "src": "36174:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6624, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36174:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6625, - "nodeType": "ArrayTypeName", - "src": "36174:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "36173:20:7" - }, - "returnParameters": { - "id": 6630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6629, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6664, - "src": "36216:12:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6628, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36216:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "36215:14:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdStorage", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6665 - ], - "name": "stdStorage", - "nameLocation": "27692:10:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 6804, - "nodeType": "ContractDefinition", - "src": "36758:1306:7", - "nodes": [ - { - "id": 6669, - "nodeType": "VariableDeclaration", - "src": "36780:115:7", - "constant": true, - "mutability": "constant", - "name": "INT256_MIN", - "nameLocation": "36804:10:7", - "scope": 6804, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6666, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "36780:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "id": 6668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "36817:78:7", - "subExpression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6667, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36818:77:7", - "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": 6694, - "nodeType": "FunctionDefinition", - "src": "36902:294:7", - "body": { - "id": 6693, - "nodeType": "Block", - "src": "36957:239:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6676, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37035:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 6677, - "name": "INT256_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6669, - "src": "37040:10:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "37035:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6681, - "nodeType": "IfStatement", - "src": "37031:117:7", - "trueBody": { - "expression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37071:77:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9968" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819968" - }, - "functionReturnParameters": 6675, - "id": 6680, - "nodeType": "Return", - "src": "37064:84:7" - } - }, - { - "expression": { - "arguments": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6684, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37174:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 6685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37178:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "37174:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 6689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "37186:2:7", - "subExpression": { - "id": 6688, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37187:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 6690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "37174:14:7", - "trueExpression": { - "id": 6687, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37182:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "37166:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6682, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37166:7:7", - "typeDescriptions": {} - } - }, - "id": 6691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37166:23:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6675, - "id": 6692, - "nodeType": "Return", - "src": "37159:30:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "abs", - "nameLocation": "36911:3:7", - "parameters": { - "id": 6672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6671, - "mutability": "mutable", - "name": "a", - "nameLocation": "36922:1:7", - "nodeType": "VariableDeclaration", - "scope": 6694, - "src": "36915:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6670, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "36915:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "36914:10:7" - }, - "returnParameters": { - "id": 6675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6674, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6694, - "src": "36948:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6673, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36948:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36947:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6715, - "nodeType": "FunctionDefinition", - "src": "37202:138:7", - "body": { - "id": 6714, - "nodeType": "Block", - "src": "37271:69:7", - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6703, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6704, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37292:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37288:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6709, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37328:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6710, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37332:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37328:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "37288:45:7", - "trueExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6706, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37308:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6707, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37312:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37308:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6702, - "id": 6713, - "nodeType": "Return", - "src": "37281:52:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "37211:5:7", - "parameters": { - "id": 6699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6696, - "mutability": "mutable", - "name": "a", - "nameLocation": "37225:1:7", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37217:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6695, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37217:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6698, - "mutability": "mutable", - "name": "b", - "nameLocation": "37236:1:7", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37228:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6697, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37228:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37216:22:7" - }, - "returnParameters": { - "id": 6702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6701, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37262:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6700, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37262:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37261:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6751, - "nodeType": "FunctionDefinition", - "src": "37346:352:7", - "body": { - "id": 6750, - "nodeType": "Block", - "src": "37413:285:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6724, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37552:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "id": 6725, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37556:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "37552:5:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "id": 6727, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "37551:7:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "37561:2:7", - "subExpression": { - "hexValue": "31", - "id": 6728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37562:1:7", - "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": "37551:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6741, - "nodeType": "IfStatement", - "src": "37547:71:7", - "trueBody": { - "id": 6740, - "nodeType": "Block", - "src": "37565:53:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6733, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37596:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6732, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37592:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37592:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 6736, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37604:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6735, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37600:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37600:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6731, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6715, - "src": "37586:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37586:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6723, - "id": 6739, - "nodeType": "Return", - "src": "37579:28:7" - } - ] - } - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 6743, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37680:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6742, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37676:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37676:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "arguments": [ - { - "id": 6746, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37689:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6745, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37685:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37685:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37676:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6723, - "id": 6749, - "nodeType": "Return", - "src": "37669:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "37355:5:7", - "parameters": { - "id": 6720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6717, - "mutability": "mutable", - "name": "a", - "nameLocation": "37368:1:7", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37361:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6716, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37361:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6719, - "mutability": "mutable", - "name": "b", - "nameLocation": "37378:1:7", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37371:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6718, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37371:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "37360:20:7" - }, - "returnParameters": { - "id": 6723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6722, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37404:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6721, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37404:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37403:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6774, - "nodeType": "FunctionDefinition", - "src": "37704:160:7", - "body": { - "id": 6773, - "nodeType": "Block", - "src": "37780:84:7", - "statements": [ - { - "assignments": [ - 6761 - ], - "declarations": [ - { - "constant": false, - "id": 6761, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "37798:8:7", - "nodeType": "VariableDeclaration", - "scope": 6773, - "src": "37790:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6760, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6766, - "initialValue": { - "arguments": [ - { - "id": 6763, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6753, - "src": "37815:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6764, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6755, - "src": "37818:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6762, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6715, - "src": "37809:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37809:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37790:30:7" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6767, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6761, - "src": "37838:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37849:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "37838:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6770, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6755, - "src": "37856:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37838:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6759, - "id": 6772, - "nodeType": "Return", - "src": "37831:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "37713:12:7", - "parameters": { - "id": 6756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6753, - "mutability": "mutable", - "name": "a", - "nameLocation": "37734:1:7", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37726:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37726:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6755, - "mutability": "mutable", - "name": "b", - "nameLocation": "37745:1:7", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37737:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6754, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37737:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37725:22:7" - }, - "returnParameters": { - "id": 6759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6758, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37771:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6757, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37771:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37770:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6803, - "nodeType": "FunctionDefinition", - "src": "37870:192:7", - "body": { - "id": 6802, - "nodeType": "Block", - "src": "37944:118:7", - "statements": [ - { - "assignments": [ - 6784 - ], - "declarations": [ - { - "constant": false, - "id": 6784, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "37962:8:7", - "nodeType": "VariableDeclaration", - "scope": 6802, - "src": "37954:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37954:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6789, - "initialValue": { - "arguments": [ - { - "id": 6786, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6776, - "src": "37979:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 6787, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6778, - "src": "37982:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6785, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6751, - "src": "37973:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37973:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37954:30:7" - }, - { - "assignments": [ - 6791 - ], - "declarations": [ - { - "constant": false, - "id": 6791, - "mutability": "mutable", - "name": "absB", - "nameLocation": "38002:4:7", - "nodeType": "VariableDeclaration", - "scope": 6802, - "src": "37994:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6790, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37994:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6795, - "initialValue": { - "arguments": [ - { - "id": 6793, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6778, - "src": "38013:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6792, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "38009:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38009:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37994:21:7" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6796, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6784, - "src": "38033:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38044:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "38033:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6799, - "name": "absB", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6791, - "src": "38051:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "38033:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6782, - "id": 6801, - "nodeType": "Return", - "src": "38026:29:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "37879:12:7", - "parameters": { - "id": 6779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6776, - "mutability": "mutable", - "name": "a", - "nameLocation": "37899:1:7", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37892:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6775, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37892:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6778, - "mutability": "mutable", - "name": "b", - "nameLocation": "37909:1:7", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37902:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6777, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37902:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "37891:20:7" - }, - "returnParameters": { - "id": 6782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6781, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37935:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6780, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37935:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37934:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdMath", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6804 - ], - "name": "stdMath", - "nameLocation": "36766:7:7", - "scope": 6805, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 7 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220077411c22d196bc58902ed9ebdfddf01f369c74c627fc35d6135cb6d74bbe4da64736f6c63430008170033","sourceMap":"36758:1306:7:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;36758:1306:7;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220077411c22d196bc58902ed9ebdfddf01f369c74c627fc35d6135cb6d74bbe4da64736f6c63430008170033","sourceMap":"36758:1306:7:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"stdMath\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/Test.sol":"stdMath"},"evmVersion":"paris","libraries":{}},"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/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Test.sol":{"keccak256":"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b","urls":["bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2","dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"}},"version":1},"id":7} \ No newline at end of file diff --git a/out/Test.sol/stdStorage.json b/out/Test.sol/stdStorage.json index eed924d..965efba 100644 --- a/out/Test.sol/stdStorage.json +++ b/out/Test.sol/stdStorage.json @@ -1,51742 +1 @@ -{ - "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" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "b", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "offset", - "type": "uint256" - } - ], - "name": "bytesToBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - } - ], - "bytecode": { - "object": "0x61025661003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063535849391461003a575b600080fd5b61004d6100483660046100f4565b61005f565b60405190815260200160405180910390f35b60008060006020855111610074578451610077565b60205b905060005b818110156100d25761008f8160086101bf565b8661009a83886101de565b815181106100aa576100aa6101f1565b01602001516001600160f81b031916901c9290921791806100ca81610207565b91505061007c565b50909150505b92915050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561010757600080fd5b823567ffffffffffffffff8082111561011f57600080fd5b818501915085601f83011261013357600080fd5b813581811115610145576101456100de565b604051601f8201601f19908116603f0116810190838211818310171561016d5761016d6100de565b8160405282815288602084870101111561018657600080fd5b826020860160208301376000602093820184015298969091013596505050505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156101d9576101d96101a9565b500290565b808201808211156100d8576100d86101a9565b634e487b7160e01b600052603260045260246000fd5b600060018201610219576102196101a9565b506001019056fea264697066735822122023feb7072b58284caf94529353f8b7ccaa6ed6e863337e1bd3ff2d22106ab59064736f6c63430008100033", - "sourceMap": "27684:8875:7:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;27684:8875:7;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063535849391461003a575b600080fd5b61004d6100483660046100f4565b61005f565b60405190815260200160405180910390f35b60008060006020855111610074578451610077565b60205b905060005b818110156100d25761008f8160086101bf565b8661009a83886101de565b815181106100aa576100aa6101f1565b01602001516001600160f81b031916901c9290921791806100ca81610207565b91505061007c565b50909150505b92915050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561010757600080fd5b823567ffffffffffffffff8082111561011f57600080fd5b818501915085601f83011261013357600080fd5b813581811115610145576101456100de565b604051601f8201601f19908116603f0116810190838211818310171561016d5761016d6100de565b8160405282815288602084870101111561018657600080fd5b826020860160208301376000602093820184015298969091013596505050505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156101d9576101d96101a9565b500290565b808201808211156100d8576100d86101a9565b634e487b7160e01b600052603260045260246000fd5b600060018201610219576102196101a9565b506001019056fea264697066735822122023feb7072b58284caf94529353f8b7ccaa6ed6e863337e1bd3ff2d22106ab59064736f6c63430008100033", - "sourceMap": "27684:8875:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;35854:297;;;;;;:::i;:::-;;:::i;:::-;;;1304:25:43;;;1292:2;1277:18;35854:297:7;;;;;;;;35928:7;35947:11;35969;35994:2;35983:1;:8;:13;:29;;36004:1;:8;35983:29;;;35999:2;35983:29;35969:43;;36027:6;36022:103;36043:3;36039:1;:7;36022:103;;;36108:5;:1;36112;36108:5;:::i;:::-;36082:1;36084:10;36093:1;36084:6;:10;:::i;:::-;36082:13;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;36082:13:7;36074:40;;36067:47;;;;;36048:3;;;;:::i;:::-;;;;36022:103;;;-1:-1:-1;36141:3:7;;-1:-1:-1;;35854:297:7;;;;;:::o;14:127:43:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:999;223:6;231;284:2;272:9;263:7;259:23;255:32;252:52;;;300:1;297;290:12;252:52;340:9;327:23;369:18;410:2;402:6;399:14;396:34;;;426:1;423;416:12;396:34;464:6;453:9;449:22;439:32;;509:7;502:4;498:2;494:13;490:27;480:55;;531:1;528;521:12;480:55;567:2;554:16;589:2;585;582:10;579:36;;;595:18;;:::i;:::-;670:2;664:9;638:2;724:13;;-1:-1:-1;;720:22:43;;;744:2;716:31;712:40;700:53;;;768:18;;;788:22;;;765:46;762:72;;;814:18;;:::i;:::-;854:10;850:2;843:22;889:2;881:6;874:18;931:7;924:4;919:2;915;911:11;907:22;904:35;901:55;;;952:1;949;942:12;901:55;1012:2;1005:4;1001:2;997:13;990:4;982:6;978:17;965:50;1059:1;1052:4;1035:15;;;1031:26;;1024:37;1035:15;1118:20;;;;1105:34;;-1:-1:-1;;;;;;146:999:43:o;1340:127::-;1401:10;1396:3;1392:20;1389:1;1382:31;1432:4;1429:1;1422:15;1456:4;1453:1;1446:15;1472:168;1512:7;1578:1;1574;1570:6;1566:14;1563:1;1560:21;1555:1;1548:9;1541:17;1537:45;1534:71;;;1585:18;;:::i;:::-;-1:-1:-1;1625:9:43;;1472:168::o;1645:125::-;1710:9;;;1731:10;;;1728:36;;;1744:18;;:::i;1775:127::-;1836:10;1831:3;1827:20;1824:1;1817:31;1867:4;1864:1;1857:15;1891:4;1888:1;1881:15;1907:135;1946:3;1967:17;;;1964:43;;1987:18;;:::i;:::-;-1:-1:-1;2034:1:43;2023:13;;1907:135::o", - "linkReferences": {} - }, - "methodIdentifiers": { - "bytesToBytes32(bytes,uint256)": "53584939" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"b\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"}],\"name\":\"bytesToBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"stdStorage\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "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 - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "b", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "offset", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "bytesToBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Test.sol": "stdStorage" - }, - "libraries": {} - }, - "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/Script.sol": { - "keccak256": "0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00", - "urls": [ - "bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b", - "dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e", - "urls": [ - "bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87", - "dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5" - ], - "license": "MIT" - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b", - "urls": [ - "bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2", - "dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "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": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Test.sol", - "id": 6805, - "exportedSymbols": { - "DSTest": [ - 2272 - ], - "Script": [ - 2535 - ], - "StdStorage": [ - 5563 - ], - "Test": [ - 5465 - ], - "Vm": [ - 7558 - ], - "console": [ - 15622 - ], - "console2": [ - 23686 - ], - "stdError": [ - 5535 - ], - "stdJson": [ - 2895 - ], - "stdMath": [ - 6804 - ], - "stdStorage": [ - 6665 - ] - }, - "nodeType": "SourceUnit", - "src": "32:38033:7", - "nodes": [ - { - "id": 2897, - "nodeType": "PragmaDirective", - "src": "32:31:7", - "literals": [ - "solidity", - ">=", - "0.6", - ".0", - "<", - "0.9", - ".0" - ] - }, - { - "id": 2898, - "nodeType": "PragmaDirective", - "src": "64:33:7", - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 2899, - "nodeType": "ImportDirective", - "src": "99:22:7", - "absolutePath": "lib/forge-std/src/Script.sol", - "file": "./Script.sol", - "nameLocation": "-1:-1:-1", - "scope": 6805, - "sourceUnit": 2536, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 2900, - "nodeType": "ImportDirective", - "src": "122:26:7", - "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", - "file": "ds-test/test.sol", - "nameLocation": "-1:-1:-1", - "scope": 6805, - "sourceUnit": 2273, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 5465, - "nodeType": "ContractDefinition", - "src": "198:25824:7", - "nodes": [ - { - "id": 2908, - "nodeType": "UsingForDirective", - "src": "245:32:7", - "global": false, - "libraryName": { - "id": 2905, - "name": "stdStorage", - "nameLocations": [ - "251:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6665, - "src": "251:10:7" - }, - "typeName": { - "id": 2907, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2906, - "name": "StdStorage", - "nameLocations": [ - "266:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "266:10:7" - }, - "referencedDeclaration": 5563, - "src": "266:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - } - }, - { - "id": 2911, - "nodeType": "VariableDeclaration", - "src": "283:126:7", - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "309:11:7", - "scope": 5465, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2909, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "283:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 2910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "331:78:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "internal" - }, - { - "id": 2914, - "nodeType": "VariableDeclaration", - "src": "416:28:7", - "constant": false, - "mutability": "mutable", - "name": "stdstore", - "nameLocation": "436:8:7", - "scope": 5465, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 2913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 2912, - "name": "StdStorage", - "nameLocations": [ - "416:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "416:10:7" - }, - "referencedDeclaration": 5563, - "src": "416:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "id": 2919, - "nodeType": "EventDefinition", - "src": "659:31:7", - "anonymous": false, - "eventSelector": "fb102865d50addddf69da9b5aa1bced66c80cf869a5c8d0471a467e18ce9cab1", - "name": "log_array", - "nameLocation": "665:9:7", - "parameters": { - "id": 2918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2917, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "685:3:7", - "nodeType": "VariableDeclaration", - "scope": 2919, - "src": "675:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "675:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2916, - "nodeType": "ArrayTypeName", - "src": "675:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "674:15:7" - } - }, - { - "id": 2924, - "nodeType": "EventDefinition", - "src": "695:30:7", - "anonymous": false, - "eventSelector": "890a82679b470f2bd82816ed9b161f97d8b967f37fa3647c21d5bf39749e2dd5", - "name": "log_array", - "nameLocation": "701:9:7", - "parameters": { - "id": 2923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2922, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "720:3:7", - "nodeType": "VariableDeclaration", - "scope": 2924, - "src": "711:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2920, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "711:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2921, - "nodeType": "ArrayTypeName", - "src": "711:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "710:14:7" - } - }, - { - "id": 2929, - "nodeType": "EventDefinition", - "src": "730:31:7", - "anonymous": false, - "eventSelector": "40e1840f5769073d61bd01372d9b75baa9842d5629a0c99ff103be1178a8e9e2", - "name": "log_array", - "nameLocation": "736:9:7", - "parameters": { - "id": 2928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2927, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "756:3:7", - "nodeType": "VariableDeclaration", - "scope": 2929, - "src": "746:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "746:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2926, - "nodeType": "ArrayTypeName", - "src": "746:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "745:15:7" - } - }, - { - "id": 2936, - "nodeType": "EventDefinition", - "src": "766:49:7", - "anonymous": false, - "eventSelector": "00aaa39c9ffb5f567a4534380c737075702e1f7f14107fc95328e3b56c0325fb", - "name": "log_named_array", - "nameLocation": "772:15:7", - "parameters": { - "id": 2935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2931, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "795:3:7", - "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "788:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2930, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "788:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2934, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "810:3:7", - "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "800:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 2932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "800:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2933, - "nodeType": "ArrayTypeName", - "src": "800:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "787:27:7" - } - }, - { - "id": 2943, - "nodeType": "EventDefinition", - "src": "820:48:7", - "anonymous": false, - "eventSelector": "a73eda09662f46dde729be4611385ff34fe6c44fbbc6f7e17b042b59a3445b57", - "name": "log_named_array", - "nameLocation": "826:15:7", - "parameters": { - "id": 2942, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2938, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "849:3:7", - "nodeType": "VariableDeclaration", - "scope": 2943, - "src": "842:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2937, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "842:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2941, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "863:3:7", - "nodeType": "VariableDeclaration", - "scope": 2943, - "src": "854:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 2939, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "854:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 2940, - "nodeType": "ArrayTypeName", - "src": "854:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "841:26:7" - } - }, - { - "id": 2950, - "nodeType": "EventDefinition", - "src": "873:49:7", - "anonymous": false, - "eventSelector": "3bcfb2ae2e8d132dd1fce7cf278a9a19756a9fceabe470df3bdabb4bc577d1bd", - "name": "log_named_array", - "nameLocation": "879:15:7", - "parameters": { - "id": 2949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2945, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "902:3:7", - "nodeType": "VariableDeclaration", - "scope": 2950, - "src": "895:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2944, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "895:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2948, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "917:3:7", - "nodeType": "VariableDeclaration", - "scope": 2950, - "src": "907:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 2946, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "907:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 2947, - "nodeType": "ArrayTypeName", - "src": "907:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "894:27:7" - } - }, - { - "id": 2965, - "nodeType": "FunctionDefinition", - "src": "1208:85:7", - "body": { - "id": 2964, - "nodeType": "Block", - "src": "1245:48:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2958, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1263:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 2959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1269:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "1263:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 2960, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2952, - "src": "1281:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1263:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2955, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1255:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1258:4:7", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 6818, - "src": "1255:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 2962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1255:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2963, - "nodeType": "ExpressionStatement", - "src": "1255:31:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "skip", - "nameLocation": "1217:4:7", - "parameters": { - "id": 2953, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2952, - "mutability": "mutable", - "name": "time", - "nameLocation": "1230:4:7", - "nodeType": "VariableDeclaration", - "scope": 2965, - "src": "1222:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2951, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1221:14:7" - }, - "returnParameters": { - "id": 2954, - "nodeType": "ParameterList", - "parameters": [], - "src": "1245:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2980, - "nodeType": "FunctionDefinition", - "src": "1299:87:7", - "body": { - "id": 2979, - "nodeType": "Block", - "src": "1338:48:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2973, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "1356:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 2974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1362:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "1356:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 2975, - "name": "time", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2967, - "src": "1374:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1356:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2970, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1348:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1351:4:7", - "memberName": "warp", - "nodeType": "MemberAccess", - "referencedDeclaration": 6818, - "src": "1348:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256) external" - } - }, - "id": 2977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1348:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2978, - "nodeType": "ExpressionStatement", - "src": "1348:31:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rewind", - "nameLocation": "1308:6:7", - "parameters": { - "id": 2968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2967, - "mutability": "mutable", - "name": "time", - "nameLocation": "1323:4:7", - "nodeType": "VariableDeclaration", - "scope": 2980, - "src": "1315:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1315:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1314:14:7" - }, - "returnParameters": { - "id": 2969, - "nodeType": "ParameterList", - "parameters": [], - "src": "1338:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3001, - "nodeType": "FunctionDefinition", - "src": "1449:98:7", - "body": { - "id": 3000, - "nodeType": "Block", - "src": "1485:62:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 2988, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2982, - "src": "1503:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 2991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 2989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1508:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 2990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1513:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "1508:8:7", - "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": 2985, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1495:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1498:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1495:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 2992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1495:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2993, - "nodeType": "ExpressionStatement", - "src": "1495:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 2997, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2982, - "src": "1536:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2994, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1527:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 2996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1530:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7029, - "src": "1527:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 2998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1527:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2999, - "nodeType": "ExpressionStatement", - "src": "1527:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1458:4:7", - "parameters": { - "id": 2983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2982, - "mutability": "mutable", - "name": "who", - "nameLocation": "1471:3:7", - "nodeType": "VariableDeclaration", - "scope": 3001, - "src": "1463:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1463:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1462:13:7" - }, - "returnParameters": { - "id": 2984, - "nodeType": "ParameterList", - "parameters": [], - "src": "1485:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3022, - "nodeType": "FunctionDefinition", - "src": "1553:108:7", - "body": { - "id": 3021, - "nodeType": "Block", - "src": "1603:58:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3011, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3003, - "src": "1621:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3012, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3005, - "src": "1626:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3008, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1613:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1616:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1613:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1613:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3014, - "nodeType": "ExpressionStatement", - "src": "1613:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3018, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3003, - "src": "1650:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3015, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1641:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1644:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7029, - "src": "1641:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1641:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3020, - "nodeType": "ExpressionStatement", - "src": "1641:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1562:4:7", - "parameters": { - "id": 3006, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3003, - "mutability": "mutable", - "name": "who", - "nameLocation": "1575:3:7", - "nodeType": "VariableDeclaration", - "scope": 3022, - "src": "1567:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3002, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1567:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3005, - "mutability": "mutable", - "name": "give", - "nameLocation": "1588:4:7", - "nodeType": "VariableDeclaration", - "scope": 3022, - "src": "1580:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3004, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1580:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1566:27:7" - }, - "returnParameters": { - "id": 3007, - "nodeType": "ParameterList", - "parameters": [], - "src": "1603:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3046, - "nodeType": "FunctionDefinition", - "src": "1667:122:7", - "body": { - "id": 3045, - "nodeType": "Block", - "src": "1719:70:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3032, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "1737:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1742:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1747:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "1742:8:7", - "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": 3029, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1729:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1732:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1729:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1729:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3037, - "nodeType": "ExpressionStatement", - "src": "1729:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3041, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "1770:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3042, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3026, - "src": "1775:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3038, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1761:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1764:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7041, - "src": "1761:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1761:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3044, - "nodeType": "ExpressionStatement", - "src": "1761:21:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1676:4:7", - "parameters": { - "id": 3027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3024, - "mutability": "mutable", - "name": "who", - "nameLocation": "1689:3:7", - "nodeType": "VariableDeclaration", - "scope": 3046, - "src": "1681:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1681:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3026, - "mutability": "mutable", - "name": "origin", - "nameLocation": "1702:6:7", - "nodeType": "VariableDeclaration", - "scope": 3046, - "src": "1694:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1694:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1680:29:7" - }, - "returnParameters": { - "id": 3028, - "nodeType": "ParameterList", - "parameters": [], - "src": "1719:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3070, - "nodeType": "FunctionDefinition", - "src": "1795:132:7", - "body": { - "id": 3069, - "nodeType": "Block", - "src": "1861:66:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3058, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3048, - "src": "1879:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3059, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3052, - "src": "1884:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3055, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1871:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1874:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "1871:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1871:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3061, - "nodeType": "ExpressionStatement", - "src": "1871:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3065, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3048, - "src": "1908:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3066, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3050, - "src": "1913:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3062, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "1899:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1902:5:7", - "memberName": "prank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7041, - "src": "1899:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1899:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3068, - "nodeType": "ExpressionStatement", - "src": "1899:21:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hoax", - "nameLocation": "1804:4:7", - "parameters": { - "id": 3053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3048, - "mutability": "mutable", - "name": "who", - "nameLocation": "1817:3:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1809:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1809:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3050, - "mutability": "mutable", - "name": "origin", - "nameLocation": "1830:6:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1822:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3049, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1822:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3052, - "mutability": "mutable", - "name": "give", - "nameLocation": "1846:4:7", - "nodeType": "VariableDeclaration", - "scope": 3070, - "src": "1838:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3051, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1838:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1808:43:7" - }, - "returnParameters": { - "id": 3054, - "nodeType": "ParameterList", - "parameters": [], - "src": "1861:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3091, - "nodeType": "FunctionDefinition", - "src": "1998:108:7", - "body": { - "id": 3090, - "nodeType": "Block", - "src": "2039:67:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3078, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3072, - "src": "2057:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2062:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2067:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "2062:8:7", - "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": 3075, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2049:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2052:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2049:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2049:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3083, - "nodeType": "ExpressionStatement", - "src": "2049:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3087, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3072, - "src": "2095:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3084, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2081:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2084:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2081:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2081:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3089, - "nodeType": "ExpressionStatement", - "src": "2081:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2007:9:7", - "parameters": { - "id": 3073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3072, - "mutability": "mutable", - "name": "who", - "nameLocation": "2025:3:7", - "nodeType": "VariableDeclaration", - "scope": 3091, - "src": "2017:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3071, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2017:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2016:13:7" - }, - "returnParameters": { - "id": 3074, - "nodeType": "ParameterList", - "parameters": [], - "src": "2039:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3112, - "nodeType": "FunctionDefinition", - "src": "2112:118:7", - "body": { - "id": 3111, - "nodeType": "Block", - "src": "2167:63:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3101, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2185:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3102, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3095, - "src": "2190:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3098, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2177:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2180:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2177:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3104, - "nodeType": "ExpressionStatement", - "src": "2177:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3108, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "2219:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3105, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2205:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2208:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2205:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2205:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3110, - "nodeType": "ExpressionStatement", - "src": "2205:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2121:9:7", - "parameters": { - "id": 3096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3093, - "mutability": "mutable", - "name": "who", - "nameLocation": "2139:3:7", - "nodeType": "VariableDeclaration", - "scope": 3112, - "src": "2131:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3092, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2131:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3095, - "mutability": "mutable", - "name": "give", - "nameLocation": "2152:4:7", - "nodeType": "VariableDeclaration", - "scope": 3112, - "src": "2144:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3094, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2144:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2130:27:7" - }, - "returnParameters": { - "id": 3097, - "nodeType": "ParameterList", - "parameters": [], - "src": "2167:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3136, - "nodeType": "FunctionDefinition", - "src": "2349:132:7", - "body": { - "id": 3135, - "nodeType": "Block", - "src": "2406:75:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3122, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "2424:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "commonType": { - "typeIdentifier": "t_rational_340282366920938463463374607431768211456_by_1", - "typeString": "int_const 3402...(31 digits omitted)...1456" - }, - "id": 3125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "leftExpression": { - "hexValue": "31", - "id": 3123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "BinaryOperation", - "operator": "<<", - "rightExpression": { - "hexValue": "313238", - "id": 3124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2434:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_128_by_1", - "typeString": "int_const 128" - }, - "value": "128" - }, - "src": "2429:8:7", - "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": 3119, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2416:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2419:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2416:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2416:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3127, - "nodeType": "ExpressionStatement", - "src": "2416:22:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3131, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "2462:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3132, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3116, - "src": "2467:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3128, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2448:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2451:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7048, - "src": "2448:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2448:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3134, - "nodeType": "ExpressionStatement", - "src": "2448:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2358:9:7", - "parameters": { - "id": 3117, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3114, - "mutability": "mutable", - "name": "who", - "nameLocation": "2376:3:7", - "nodeType": "VariableDeclaration", - "scope": 3136, - "src": "2368:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3113, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2368:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3116, - "mutability": "mutable", - "name": "origin", - "nameLocation": "2389:6:7", - "nodeType": "VariableDeclaration", - "scope": 3136, - "src": "2381:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3115, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2381:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2367:29:7" - }, - "returnParameters": { - "id": 3118, - "nodeType": "ParameterList", - "parameters": [], - "src": "2406:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3160, - "nodeType": "FunctionDefinition", - "src": "2487:142:7", - "body": { - "id": 3159, - "nodeType": "Block", - "src": "2558:71:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3148, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3138, - "src": "2576:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3149, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3142, - "src": "2581:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3145, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2568:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2571:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "2568:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2568:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3151, - "nodeType": "ExpressionStatement", - "src": "2568:18:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3155, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3138, - "src": "2610:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3156, - "name": "origin", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3140, - "src": "2615:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3152, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2596:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2599:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7048, - "src": "2596:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address) external" - } - }, - "id": 3157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2596:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3158, - "nodeType": "ExpressionStatement", - "src": "2596:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "startHoax", - "nameLocation": "2496:9:7", - "parameters": { - "id": 3143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3138, - "mutability": "mutable", - "name": "who", - "nameLocation": "2514:3:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2506:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3137, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2506:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3140, - "mutability": "mutable", - "name": "origin", - "nameLocation": "2527:6:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2519:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2519:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3142, - "mutability": "mutable", - "name": "give", - "nameLocation": "2543:4:7", - "nodeType": "VariableDeclaration", - "scope": 3160, - "src": "2535:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3141, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2535:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2505:43:7" - }, - "returnParameters": { - "id": 3144, - "nodeType": "ParameterList", - "parameters": [], - "src": "2558:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3177, - "nodeType": "FunctionDefinition", - "src": "2635:102:7", - "body": { - "id": 3176, - "nodeType": "Block", - "src": "2678:59:7", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 3165, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2688:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2691:9:7", - "memberName": "stopPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7051, - "src": "2688:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 3168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2688:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3169, - "nodeType": "ExpressionStatement", - "src": "2688:14:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3173, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3162, - "src": "2726:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3170, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2712:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2715:10:7", - "memberName": "startPrank", - "nodeType": "MemberAccess", - "referencedDeclaration": 7034, - "src": "2712:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 3174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2712:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3175, - "nodeType": "ExpressionStatement", - "src": "2712:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "changePrank", - "nameLocation": "2644:11:7", - "parameters": { - "id": 3163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3162, - "mutability": "mutable", - "name": "who", - "nameLocation": "2664:3:7", - "nodeType": "VariableDeclaration", - "scope": 3177, - "src": "2656:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2656:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2655:13:7" - }, - "returnParameters": { - "id": 3164, - "nodeType": "ParameterList", - "parameters": [], - "src": "2678:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3213, - "nodeType": "FunctionDefinition", - "src": "2810:233:7", - "body": { - "id": 3212, - "nodeType": "Block", - "src": "2905:138:7", - "statements": [ - { - "expression": { - "id": 3196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3186, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3184, - "src": "2915:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 3192, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "2963:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3190, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2946:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2950:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2946:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2946:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3189, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2936:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2936:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 3188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2928:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3187, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2928:7:7", - "typeDescriptions": {} - } - }, - "id": 3195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2928:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2915:55:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3197, - "nodeType": "ExpressionStatement", - "src": "2915:55:7" - }, - { - "expression": { - "id": 3203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3198, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3182, - "src": "2980:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 3201, - "name": "privateKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3184, - "src": "2995:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3199, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "2987:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2990:4:7", - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 6876, - "src": "2987:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) external returns (address)" - } - }, - "id": 3202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2987:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2980:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3204, - "nodeType": "ExpressionStatement", - "src": "2980:26:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3208, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3182, - "src": "3025:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3209, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "3031:4:7", - "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": 3205, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "3016:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3019:5:7", - "memberName": "label", - "nodeType": "MemberAccess", - "referencedDeclaration": 7176, - "src": "3016:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (address,string memory) external" - } - }, - "id": 3210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3016:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3211, - "nodeType": "ExpressionStatement", - "src": "3016:20:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddrAndKey", - "nameLocation": "2819:14:7", - "parameters": { - "id": 3180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3179, - "mutability": "mutable", - "name": "name", - "nameLocation": "2848:4:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2834:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3178, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2834:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2833:20:7" - }, - "returnParameters": { - "id": 3185, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3182, - "mutability": "mutable", - "name": "addr", - "nameLocation": "2879:4:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2871:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3181, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2871:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3184, - "mutability": "mutable", - "name": "privateKey", - "nameLocation": "2893:10:7", - "nodeType": "VariableDeclaration", - "scope": 3213, - "src": "2885:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3183, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2885:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2870:34:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3228, - "nodeType": "FunctionDefinition", - "src": "3082:116:7", - "body": { - "id": 3227, - "nodeType": "Block", - "src": "3151:47:7", - "statements": [ - { - "expression": { - "id": 3225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 3220, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3218, - "src": "3162:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - null - ], - "id": 3221, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "3161:7:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$__$", - "typeString": "tuple(address,)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 3223, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3215, - "src": "3186:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 3222, - "name": "makeAddrAndKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3213, - "src": "3171:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$_t_address_$_t_uint256_$", - "typeString": "function (string memory) returns (address,uint256)" - } - }, - "id": 3224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3171:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_uint256_$", - "typeString": "tuple(address,uint256)" - } - }, - "src": "3161:30:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3226, - "nodeType": "ExpressionStatement", - "src": "3161:30:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "makeAddr", - "nameLocation": "3091:8:7", - "parameters": { - "id": 3216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3215, - "mutability": "mutable", - "name": "name", - "nameLocation": "3114:4:7", - "nodeType": "VariableDeclaration", - "scope": 3228, - "src": "3100:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3214, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3100:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3099:20:7" - }, - "returnParameters": { - "id": 3219, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3218, - "mutability": "mutable", - "name": "addr", - "nameLocation": "3145:4:7", - "nodeType": "VariableDeclaration", - "scope": 3228, - "src": "3137:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3217, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3137:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3136:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3258, - "nodeType": "FunctionDefinition", - "src": "3242:343:7", - "body": { - "id": 3257, - "nodeType": "Block", - "src": "3305:280:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "5741524e494e47", - "id": 3238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3337:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51aac253d1d3eb5d066c1c453a3853c9527c2f88e5bdf63a1c20e25e8cf24885", - "typeString": "literal_string \"WARNING\"" - }, - "value": "WARNING" - }, - { - "hexValue": "546573742074697028616464726573732c616464726573732c75696e74323536293a2054686520607469706020737464636865617420686173206265656e20646570726563617465642e2055736520606465616c6020696e73746561642e", - "id": 3239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3348:96:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_762cc440f1f8cee7b2ded8a4dd443d4267a1f30da9ac7fb41d8332668a3aaa5e", - "typeString": "literal_string \"Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead.\"" - }, - "value": "Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51aac253d1d3eb5d066c1c453a3853c9527c2f88e5bdf63a1c20e25e8cf24885", - "typeString": "literal_string \"WARNING\"" - }, - { - "typeIdentifier": "t_stringliteral_762cc440f1f8cee7b2ded8a4dd443d4267a1f30da9ac7fb41d8332668a3aaa5e", - "typeString": "literal_string \"Test tip(address,address,uint256): The `tip` stdcheat has been deprecated. Use `deal` instead.\"" - } - ], - "id": 3237, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "3320:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3320:125:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3241, - "nodeType": "EmitStatement", - "src": "3315:130:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3254, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3234, - "src": "3573:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 3251, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3232, - "src": "3542:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3508:10:7", - "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": 3245, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "3484:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3242, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "3455:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3244, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3477:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "3455:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3247, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3504:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "3455:52:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:64:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3250, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3533:8:7", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6158, - "src": "3455:86:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:90:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3253, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3559:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "3455:117:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3455:123:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3256, - "nodeType": "ExpressionStatement", - "src": "3455:123:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tip", - "nameLocation": "3251:3:7", - "parameters": { - "id": 3235, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3230, - "mutability": "mutable", - "name": "token", - "nameLocation": "3263:5:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3255:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3255:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3232, - "mutability": "mutable", - "name": "to", - "nameLocation": "3278:2:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3270:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3231, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3270:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3234, - "mutability": "mutable", - "name": "give", - "nameLocation": "3290:4:7", - "nodeType": "VariableDeclaration", - "scope": 3258, - "src": "3282:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3233, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3282:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3254:41:7" - }, - "returnParameters": { - "id": 3236, - "nodeType": "ParameterList", - "parameters": [], - "src": "3305:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3273, - "nodeType": "FunctionDefinition", - "src": "3676:83:7", - "body": { - "id": 3272, - "nodeType": "Block", - "src": "3725:34:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3268, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3260, - "src": "3743:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3269, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3262, - "src": "3747:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3265, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "3735:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3738:4:7", - "memberName": "deal", - "nodeType": "MemberAccess", - "referencedDeclaration": 7058, - "src": "3735:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256) external" - } - }, - "id": 3270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3735:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3271, - "nodeType": "ExpressionStatement", - "src": "3735:17:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3685:4:7", - "parameters": { - "id": 3263, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3260, - "mutability": "mutable", - "name": "to", - "nameLocation": "3698:2:7", - "nodeType": "VariableDeclaration", - "scope": 3273, - "src": "3690:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3690:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3262, - "mutability": "mutable", - "name": "give", - "nameLocation": "3710:4:7", - "nodeType": "VariableDeclaration", - "scope": 3273, - "src": "3702:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3261, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3702:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3689:26:7" - }, - "returnParameters": { - "id": 3264, - "nodeType": "ParameterList", - "parameters": [], - "src": "3725:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3290, - "nodeType": "FunctionDefinition", - "src": "3883:109:7", - "body": { - "id": 3289, - "nodeType": "Block", - "src": "3947:45:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3283, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3275, - "src": "3962:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3284, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3277, - "src": "3969:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3285, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3279, - "src": "3973:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "66616c7365", - "id": 3286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3979:5:7", - "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": 3282, - "name": "deal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3273, - 3290, - 3393 - ], - "referencedDeclaration": 3393, - "src": "3957:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$", - "typeString": "function (address,address,uint256,bool)" - } - }, - "id": 3287, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3957:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3288, - "nodeType": "ExpressionStatement", - "src": "3957:28:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3892:4:7", - "parameters": { - "id": 3280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3275, - "mutability": "mutable", - "name": "token", - "nameLocation": "3905:5:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3897:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3274, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3897:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3277, - "mutability": "mutable", - "name": "to", - "nameLocation": "3920:2:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3912:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3276, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3912:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3279, - "mutability": "mutable", - "name": "give", - "nameLocation": "3932:4:7", - "nodeType": "VariableDeclaration", - "scope": 3290, - "src": "3924:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3278, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3924:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3896:41:7" - }, - "returnParameters": { - "id": 3281, - "nodeType": "ParameterList", - "parameters": [], - "src": "3947:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3393, - "nodeType": "FunctionDefinition", - "src": "3998:917:7", - "body": { - "id": 3392, - "nodeType": "Block", - "src": "4075:840:7", - "statements": [ - { - "assignments": [ - null, - 3302 - ], - "declarations": [ - null, - { - "constant": false, - "id": 3302, - "mutability": "mutable", - "name": "balData", - "nameLocation": "4132:7:7", - "nodeType": "VariableDeclaration", - "scope": 3392, - "src": "4119:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3301, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4119:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3311, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4177:10:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1889567281_by_1", - "typeString": "int_const 1889567281" - }, - "value": "0x70a08231" - }, - { - "id": 3308, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "4189:2:7", - "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": 3305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4154:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4158:18:7", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "4154:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 3309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4154:38:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 3303, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4143:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4149:4:7", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "4143:10:7", - "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": 3310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4143:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4116:77:7" - }, - { - "assignments": [ - 3313 - ], - "declarations": [ - { - "constant": false, - "id": 3313, - "mutability": "mutable", - "name": "prevBal", - "nameLocation": "4211:7:7", - "nodeType": "VariableDeclaration", - "scope": 3392, - "src": "4203:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3312, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4203:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3321, - "initialValue": { - "arguments": [ - { - "id": 3316, - "name": "balData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "4232:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 3318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4242:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4242:7:7", - "typeDescriptions": {} - } - } - ], - "id": 3319, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4241:9:7", - "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": 3314, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4221:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4225:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4221:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 3320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4221:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4203:48:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3334, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4406:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "id": 3331, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "4375:2:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783730613038323331", - "id": 3328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4341:10:7", - "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": 3325, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4317:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3322, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "4288:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3324, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4310:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "4288:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4337:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "4288:52:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:64:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3330, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4366:8:7", - "memberName": "with_key", - "nodeType": "MemberAccess", - "referencedDeclaration": 6158, - "src": "4288:86:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:90:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3333, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4392:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "4288:117:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4288:123:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3336, - "nodeType": "ExpressionStatement", - "src": "4288:123:7" - }, - { - "condition": { - "id": 3337, - "name": "adjust", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3298, - "src": "4456:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3391, - "nodeType": "IfStatement", - "src": "4453:456:7", - "trueBody": { - "id": 3390, - "nodeType": "Block", - "src": "4463:446:7", - "statements": [ - { - "assignments": [ - null, - 3339 - ], - "declarations": [ - null, - { - "constant": false, - "id": 3339, - "mutability": "mutable", - "name": "totSupData", - "nameLocation": "4493:10:7", - "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "4480:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3338, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4480:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3347, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 3344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4541:10:7", - "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": 3342, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4518:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4522:18:7", - "memberName": "encodeWithSelector", - "nodeType": "MemberAccess", - "src": "4518:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes4) pure returns (bytes memory)" - } - }, - "id": 3345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4518:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 3340, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4507:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4513:4:7", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "4507:10:7", - "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": 3346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4507:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4477:76:7" - }, - { - "assignments": [ - 3349 - ], - "declarations": [ - { - "constant": false, - "id": 3349, - "mutability": "mutable", - "name": "totSup", - "nameLocation": "4575:6:7", - "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "4567:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3348, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4567:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3357, - "initialValue": { - "arguments": [ - { - "id": 3352, - "name": "totSupData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3339, - "src": "4595:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 3354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4608:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3353, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4608:7:7", - "typeDescriptions": {} - } - } - ], - "id": 3355, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4607:9:7", - "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": 3350, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4584:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4588:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4584:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 3356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4584:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4567:50:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3358, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4634:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 3359, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4641:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4634:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 3376, - "nodeType": "Block", - "src": "4715:59:7", - "statements": [ - { - "expression": { - "id": 3374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3369, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4733:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3370, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4744:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3371, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4751:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4744:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 3373, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4743:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4733:26:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3375, - "nodeType": "ExpressionStatement", - "src": "4733:26:7" - } - ] - }, - "id": 3377, - "nodeType": "IfStatement", - "src": "4631:143:7", - "trueBody": { - "id": 3368, - "nodeType": "Block", - "src": "4650:59:7", - "statements": [ - { - "expression": { - "id": 3366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3361, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4668:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3362, - "name": "prevBal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3313, - "src": "4679:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3363, - "name": "give", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "4689:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4679:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 3365, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4678:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4668:26:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3367, - "nodeType": "ExpressionStatement", - "src": "4668:26:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 3387, - "name": "totSup", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3349, - "src": "4891:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "arguments": [ - { - "hexValue": "30783138313630646464", - "id": 3384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4848:10:7", - "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": 3381, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3292, - "src": "4820:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3378, - "name": "stdstore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "4787:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage", - "typeString": "struct StdStorage storage ref" - } - }, - "id": 3380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4813:6:7", - "memberName": "target", - "nodeType": "MemberAccess", - "referencedDeclaration": 6085, - "src": "4787:32:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_address_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,address) returns (struct StdStorage storage pointer)" - } - }, - "id": 3382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3383, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4844:3:7", - "memberName": "sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 6105, - "src": "4787:60:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes4_$returns$_t_struct$_StdStorage_$5563_storage_ptr_$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,bytes4) returns (struct StdStorage storage pointer)" - } - }, - "id": 3385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:72:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 3386, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4877:13:7", - "memberName": "checked_write", - "nodeType": "MemberAccess", - "referencedDeclaration": 6265, - "src": "4787:103:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_struct$_StdStorage_$5563_storage_ptr_$", - "typeString": "function (struct StdStorage storage pointer,uint256)" - } - }, - "id": 3388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4787:111:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3389, - "nodeType": "ExpressionStatement", - "src": "4787:111:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "4007:4:7", - "parameters": { - "id": 3299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3292, - "mutability": "mutable", - "name": "token", - "nameLocation": "4020:5:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4012:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4012:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3294, - "mutability": "mutable", - "name": "to", - "nameLocation": "4035:2:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4027:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4027:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3296, - "mutability": "mutable", - "name": "give", - "nameLocation": "4047:4:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4039:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3295, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4039:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3298, - "mutability": "mutable", - "name": "adjust", - "nameLocation": "4058:6:7", - "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "4053:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3297, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4053:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4011:54:7" - }, - "returnParameters": { - "id": 3300, - "nodeType": "ParameterList", - "parameters": [], - "src": "4075:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3457, - "nodeType": "FunctionDefinition", - "src": "4921:578:7", - "body": { - "id": 3456, - "nodeType": "Block", - "src": "5015:484:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3405, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5033:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 3406, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3399, - "src": "5040:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5033:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "5465737420626f756e642875696e743235362c75696e743235362c75696e74323536293a204d6178206973206c657373207468616e206d696e2e", - "id": 3408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5045:60:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3bbfc2dadabc14e74ee28873c31ab942a6b0084199df371a57fc6e23a8b91a7d", - "typeString": "literal_string \"Test bound(uint256,uint256,uint256): Max is less than min.\"" - }, - "value": "Test bound(uint256,uint256,uint256): Max is less than min." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3bbfc2dadabc14e74ee28873c31ab942a6b0084199df371a57fc6e23a8b91a7d", - "typeString": "literal_string \"Test bound(uint256,uint256,uint256): Max is less than min.\"" - } - ], - "id": 3404, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5025:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5025:81:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3410, - "nodeType": "ExpressionStatement", - "src": "5025:81:7" - }, - { - "assignments": [ - 3412 - ], - "declarations": [ - { - "constant": false, - "id": 3412, - "mutability": "mutable", - "name": "size", - "nameLocation": "5125:4:7", - "nodeType": "VariableDeclaration", - "scope": 3456, - "src": "5117:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3411, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5117:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3416, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3413, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3399, - "src": "5132:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 3414, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5138:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5132:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5117:24:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3417, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5156:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 3418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5164:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "5156:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3425, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5230:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 3426, - "name": "UINT256_MAX", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2911, - "src": "5238:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5230:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 3448, - "nodeType": "Block", - "src": "5316:123:7", - "statements": [ - { - "expression": { - "id": 3434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": true, - "src": "5330:6:7", - "subExpression": { - "id": 3433, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5332:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3435, - "nodeType": "ExpressionStatement", - "src": "5330:6:7" - }, - { - "assignments": [ - 3437 - ], - "declarations": [ - { - "constant": false, - "id": 3437, - "mutability": "mutable", - "name": "mod", - "nameLocation": "5382:3:7", - "nodeType": "VariableDeclaration", - "scope": 3448, - "src": "5374:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5374:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3441, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3438, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "5388:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "id": 3439, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3412, - "src": "5392:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5388:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5374:22:7" - }, - { - "expression": { - "id": 3446, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3442, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5410:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3443, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5419:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 3444, - "name": "mod", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3437, - "src": "5425:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5419:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5410:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3447, - "nodeType": "ExpressionStatement", - "src": "5410:18:7" - } - ] - }, - "id": 3449, - "nodeType": "IfStatement", - "src": "5226:213:7", - "trueBody": { - "id": 3432, - "nodeType": "Block", - "src": "5259:35:7", - "statements": [ - { - "expression": { - "id": 3430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3428, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5273:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 3429, - "name": "x", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3395, - "src": "5282:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5273:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3431, - "nodeType": "ExpressionStatement", - "src": "5273:10:7" - } - ] - } - }, - "id": 3450, - "nodeType": "IfStatement", - "src": "5152:287:7", - "trueBody": { - "id": 3424, - "nodeType": "Block", - "src": "5175:37:7", - "statements": [ - { - "expression": { - "id": 3422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 3420, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5189:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 3421, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3397, - "src": "5198:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5189:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3423, - "nodeType": "ExpressionStatement", - "src": "5189:12:7" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "426f756e6420526573756c74", - "id": 3452, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5469:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - "value": "Bound Result" - }, - { - "id": 3453, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3402, - "src": "5485:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_237b64d156191d73cf174e4433495e27feb7a7083e87d06235be591548fb5c52", - "typeString": "literal_string \"Bound Result\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3451, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "5454:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5454:38:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3455, - "nodeType": "EmitStatement", - "src": "5449:43:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bound", - "nameLocation": "4930:5:7", - "parameters": { - "id": 3400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3395, - "mutability": "mutable", - "name": "x", - "nameLocation": "4944:1:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4936:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4936:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3397, - "mutability": "mutable", - "name": "min", - "nameLocation": "4955:3:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4947:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4947:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3399, - "mutability": "mutable", - "name": "max", - "nameLocation": "4968:3:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4960:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3398, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4960:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4935:37:7" - }, - "returnParameters": { - "id": 3403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3402, - "mutability": "mutable", - "name": "result", - "nameLocation": "5007:6:7", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "4999:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4999:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4998:16:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3489, - "nodeType": "FunctionDefinition", - "src": "5659:457:7", - "body": { - "id": 3488, - "nodeType": "Block", - "src": "5770:346:7", - "statements": [ - { - "assignments": [ - 3467 - ], - "declarations": [ - { - "constant": false, - "id": 3467, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "5793:8:7", - "nodeType": "VariableDeclaration", - "scope": 3488, - "src": "5780:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5780:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3476, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 3472, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3459, - "src": "5832:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3470, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "5821:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5824:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "5821:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5821:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3474, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3461, - "src": "5839:4:7", - "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": 3468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5804:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5808:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5804:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5804:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5780:64:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "5906:79:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "5920:55:7", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5935:1:7", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "5942:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "5952:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "5938:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "5938:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "5965:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "5959:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "5959:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "5928:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "5928:47:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "5920:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3464, - "isOffset": false, - "isSlot": false, - "src": "5920:4:7", - "valueSize": 1 - }, - { - "declaration": 3467, - "isOffset": false, - "isSlot": false, - "src": "5942:8:7", - "valueSize": 1 - }, - { - "declaration": 3467, - "isOffset": false, - "isSlot": false, - "src": "5965:8:7", - "valueSize": 1 - } - ], - "id": 3477, - "nodeType": "InlineAssembly", - "src": "5897:88:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3479, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3464, - "src": "6016:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6032:1:7", - "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": 3481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6024:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3480, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6024:7:7", - "typeDescriptions": {} - } - }, - "id": 3483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6024:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6016:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c6279746573293a204465706c6f796d656e74206661696c65642e", - "id": 3485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6048:51:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d1c806ce7af1725b71ce0c84a849070672773be785c276ca8554d3c1f196865d", - "typeString": "literal_string \"Test deployCode(string,bytes): Deployment failed.\"" - }, - "value": "Test deployCode(string,bytes): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d1c806ce7af1725b71ce0c84a849070672773be785c276ca8554d3c1f196865d", - "typeString": "literal_string \"Test deployCode(string,bytes): Deployment failed.\"" - } - ], - "id": 3478, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5995:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5995:114:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3487, - "nodeType": "ExpressionStatement", - "src": "5995:114:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "5668:10:7", - "parameters": { - "id": 3462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3459, - "mutability": "mutable", - "name": "what", - "nameLocation": "5693:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5679:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3458, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5679:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3461, - "mutability": "mutable", - "name": "args", - "nameLocation": "5712:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5699:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3460, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5699:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5678:39:7" - }, - "returnParameters": { - "id": 3465, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3464, - "mutability": "mutable", - "name": "addr", - "nameLocation": "5760:4:7", - "nodeType": "VariableDeclaration", - "scope": 3489, - "src": "5752:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3463, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5752:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5751:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3515, - "nodeType": "FunctionDefinition", - "src": "6122:408:7", - "body": { - "id": 3514, - "nodeType": "Block", - "src": "6214:316:7", - "statements": [ - { - "assignments": [ - 3497 - ], - "declarations": [ - { - "constant": false, - "id": 3497, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "6237:8:7", - "nodeType": "VariableDeclaration", - "scope": 3514, - "src": "6224:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3496, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6224:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3502, - "initialValue": { - "arguments": [ - { - "id": 3500, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3491, - "src": "6259:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3498, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "6248:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3499, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6251:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "6248:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6248:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6224:40:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6326:79:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "6340:55:7", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6355:1:7", - "type": "", - "value": "0" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6362:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6372:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6358:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "6358:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6385:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6379:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "6379:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "6348:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "6348:47:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "6340:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3494, - "isOffset": false, - "isSlot": false, - "src": "6340:4:7", - "valueSize": 1 - }, - { - "declaration": 3497, - "isOffset": false, - "isSlot": false, - "src": "6362:8:7", - "valueSize": 1 - }, - { - "declaration": 3497, - "isOffset": false, - "isSlot": false, - "src": "6385:8:7", - "valueSize": 1 - } - ], - "id": 3503, - "nodeType": "InlineAssembly", - "src": "6317:88:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3505, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3494, - "src": "6436:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6452:1:7", - "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": 3507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6444:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3506, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6444:7:7", - "typeDescriptions": {} - } - }, - "id": 3509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6444:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6436:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e67293a204465706c6f796d656e74206661696c65642e", - "id": 3511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6468:45:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b9fd17b1c001ca1277bfc68fcfcc57948bec4ffe1adf822157bd27978fa551cb", - "typeString": "literal_string \"Test deployCode(string): Deployment failed.\"" - }, - "value": "Test deployCode(string): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b9fd17b1c001ca1277bfc68fcfcc57948bec4ffe1adf822157bd27978fa551cb", - "typeString": "literal_string \"Test deployCode(string): Deployment failed.\"" - } - ], - "id": 3504, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6415:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6415:108:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3513, - "nodeType": "ExpressionStatement", - "src": "6415:108:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "6131:10:7", - "parameters": { - "id": 3492, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3491, - "mutability": "mutable", - "name": "what", - "nameLocation": "6156:4:7", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "6142:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3490, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6142:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6141:20:7" - }, - "returnParameters": { - "id": 3495, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3494, - "mutability": "mutable", - "name": "addr", - "nameLocation": "6204:4:7", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "6196:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6196:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6195:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3550, - "nodeType": "FunctionDefinition", - "src": "6587:480:7", - "body": { - "id": 3549, - "nodeType": "Block", - "src": "6711:356:7", - "statements": [ - { - "assignments": [ - 3528 - ], - "declarations": [ - { - "constant": false, - "id": 3528, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "6734:8:7", - "nodeType": "VariableDeclaration", - "scope": 3549, - "src": "6721:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3527, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6721:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3537, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 3533, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3518, - "src": "6773:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3531, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "6762:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6765:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "6762:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6762:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3535, - "name": "args", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3520, - "src": "6780:4:7", - "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": 3529, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6745:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6749:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "6745:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6745:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6721:64:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "6847:81:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "6861:57:7", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "6876:3:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6885:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "6895:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "6881:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "6881:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "6908:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "6902:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "6902:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "6869:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "6869:49:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "6861:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3525, - "isOffset": false, - "isSlot": false, - "src": "6861:4:7", - "valueSize": 1 - }, - { - "declaration": 3528, - "isOffset": false, - "isSlot": false, - "src": "6885:8:7", - "valueSize": 1 - }, - { - "declaration": 3528, - "isOffset": false, - "isSlot": false, - "src": "6908:8:7", - "valueSize": 1 - }, - { - "declaration": 3522, - "isOffset": false, - "isSlot": false, - "src": "6876:3:7", - "valueSize": 1 - } - ], - "id": 3538, - "nodeType": "InlineAssembly", - "src": "6838:90:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3540, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3525, - "src": "6959:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6975:1:7", - "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": 3542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6967:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3541, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6967:7:7", - "typeDescriptions": {} - } - }, - "id": 3544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6967:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6959:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c62797465732c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 3546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6991:59:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_48c6a907f17116971b60f748697256dfa1e2b6301c67424b0afa1c8e2a6fcf69", - "typeString": "literal_string \"Test deployCode(string,bytes,uint256): Deployment failed.\"" - }, - "value": "Test deployCode(string,bytes,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_48c6a907f17116971b60f748697256dfa1e2b6301c67424b0afa1c8e2a6fcf69", - "typeString": "literal_string \"Test deployCode(string,bytes,uint256): Deployment failed.\"" - } - ], - "id": 3539, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6938:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6938:122:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3548, - "nodeType": "ExpressionStatement", - "src": "6938:122:7" - } - ] - }, - "documentation": { - "id": 3516, - "nodeType": "StructuredDocumentation", - "src": "6536:46:7", - "text": "deploy contract with value on construction" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "6596:10:7", - "parameters": { - "id": 3523, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3518, - "mutability": "mutable", - "name": "what", - "nameLocation": "6621:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6607:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6607:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3520, - "mutability": "mutable", - "name": "args", - "nameLocation": "6640:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6627:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3519, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6627:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3522, - "mutability": "mutable", - "name": "val", - "nameLocation": "6654:3:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6646:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3521, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6646:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6606:52:7" - }, - "returnParameters": { - "id": 3526, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3525, - "mutability": "mutable", - "name": "addr", - "nameLocation": "6701:4:7", - "nodeType": "VariableDeclaration", - "scope": 3550, - "src": "6693:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3524, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6693:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6692:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3578, - "nodeType": "FunctionDefinition", - "src": "7073:431:7", - "body": { - "id": 3577, - "nodeType": "Block", - "src": "7178:326:7", - "statements": [ - { - "assignments": [ - 3560 - ], - "declarations": [ - { - "constant": false, - "id": 3560, - "mutability": "mutable", - "name": "bytecode", - "nameLocation": "7201:8:7", - "nodeType": "VariableDeclaration", - "scope": 3577, - "src": "7188:21:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3559, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7188:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 3565, - "initialValue": { - "arguments": [ - { - "id": 3563, - "name": "what", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3552, - "src": "7223:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3561, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "7212:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 3562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7215:7:7", - "memberName": "getCode", - "nodeType": "MemberAccess", - "referencedDeclaration": 7162, - "src": "7212:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 3564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7212:16:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7188:40:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "7290:81:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "7304:57:7", - "value": { - "arguments": [ - { - "name": "val", - "nodeType": "YulIdentifier", - "src": "7319:3:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "7328:8:7" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "7338:4:7", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "7324:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "7324:19:7" - }, - { - "arguments": [ - { - "name": "bytecode", - "nodeType": "YulIdentifier", - "src": "7351:8:7" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "7345:5:7" - }, - "nodeType": "YulFunctionCall", - "src": "7345:15:7" - } - ], - "functionName": { - "name": "create", - "nodeType": "YulIdentifier", - "src": "7312:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "7312:49:7" - }, - "variableNames": [ - { - "name": "addr", - "nodeType": "YulIdentifier", - "src": "7304:4:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 3557, - "isOffset": false, - "isSlot": false, - "src": "7304:4:7", - "valueSize": 1 - }, - { - "declaration": 3560, - "isOffset": false, - "isSlot": false, - "src": "7328:8:7", - "valueSize": 1 - }, - { - "declaration": 3560, - "isOffset": false, - "isSlot": false, - "src": "7351:8:7", - "valueSize": 1 - }, - { - "declaration": 3554, - "isOffset": false, - "isSlot": false, - "src": "7319:3:7", - "valueSize": 1 - } - ], - "id": 3566, - "nodeType": "InlineAssembly", - "src": "7281:90:7" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 3573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3568, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3557, - "src": "7402:4:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 3571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7418:1:7", - "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": 3570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7410:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 3569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7410:7:7", - "typeDescriptions": {} - } - }, - "id": 3572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7410:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7402:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "54657374206465706c6f79436f646528737472696e672c75696e74323536293a204465706c6f796d656e74206661696c65642e", - "id": 3574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7434:53:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3fa81ff94e5c0be4a794a2745793ac7e0a88d8864b4f59c0b3d5cc00c8442226", - "typeString": "literal_string \"Test deployCode(string,uint256): Deployment failed.\"" - }, - "value": "Test deployCode(string,uint256): Deployment failed." - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3fa81ff94e5c0be4a794a2745793ac7e0a88d8864b4f59c0b3d5cc00c8442226", - "typeString": "literal_string \"Test deployCode(string,uint256): Deployment failed.\"" - } - ], - "id": 3567, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7381:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 3575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7381:116:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3576, - "nodeType": "ExpressionStatement", - "src": "7381:116:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "deployCode", - "nameLocation": "7082:10:7", - "parameters": { - "id": 3555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3552, - "mutability": "mutable", - "name": "what", - "nameLocation": "7107:4:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7093:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3551, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7093:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3554, - "mutability": "mutable", - "name": "val", - "nameLocation": "7121:3:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7113:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3553, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7113:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7092:33:7" - }, - "returnParameters": { - "id": 3558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3557, - "mutability": "mutable", - "name": "addr", - "nameLocation": "7168:4:7", - "nodeType": "VariableDeclaration", - "scope": 3578, - "src": "7160:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3556, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7160:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7159:14:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3592, - "nodeType": "FunctionDefinition", - "src": "7724:118:7", - "body": { - "id": 3591, - "nodeType": "Block", - "src": "7774:68:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7806:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3585, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3580, - "src": "7815:3:7", - "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": 3583, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "7789:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3586, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7789:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3587, - "nodeType": "EmitStatement", - "src": "7784:35:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3588, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "7829:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7829:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3590, - "nodeType": "ExpressionStatement", - "src": "7829:6:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fail", - "nameLocation": "7733:4:7", - "parameters": { - "id": 3581, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3580, - "mutability": "mutable", - "name": "err", - "nameLocation": "7752:3:7", - "nodeType": "VariableDeclaration", - "scope": 3592, - "src": "7738:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3579, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7737:19:7" - }, - "returnParameters": { - "id": 3582, - "nodeType": "ParameterList", - "parameters": [], - "src": "7774:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3603, - "nodeType": "FunctionDefinition", - "src": "7848:83:7", - "body": { - "id": 3602, - "nodeType": "Block", - "src": "7897:34:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "7918:5:7", - "subExpression": { - "id": 3598, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3594, - "src": "7919:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 3597, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 755, - "src": "7907:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool)" - } - }, - "id": 3600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7907:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3601, - "nodeType": "ExpressionStatement", - "src": "7907:17:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "7857:11:7", - "parameters": { - "id": 3595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3594, - "mutability": "mutable", - "name": "data", - "nameLocation": "7874:4:7", - "nodeType": "VariableDeclaration", - "scope": 3603, - "src": "7869:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3593, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7869:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7868:11:7" - }, - "returnParameters": { - "id": 3596, - "nodeType": "ParameterList", - "parameters": [], - "src": "7897:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3617, - "nodeType": "FunctionDefinition", - "src": "7937:107:7", - "body": { - "id": 3616, - "nodeType": "Block", - "src": "8005:39:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "8026:5:7", - "subExpression": { - "id": 3611, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3605, - "src": "8027:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3613, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3607, - "src": "8033:3:7", - "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": 3610, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 776, - "src": "8015:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory)" - } - }, - "id": 3614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8015:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3615, - "nodeType": "ExpressionStatement", - "src": "8015:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertFalse", - "nameLocation": "7946:11:7", - "parameters": { - "id": 3608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3605, - "mutability": "mutable", - "name": "data", - "nameLocation": "7963:4:7", - "nodeType": "VariableDeclaration", - "scope": 3617, - "src": "7958:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3604, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7958:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3607, - "mutability": "mutable", - "name": "err", - "nameLocation": "7983:3:7", - "nodeType": "VariableDeclaration", - "scope": 3617, - "src": "7969:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3606, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7969:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7957:30:7" - }, - "returnParameters": { - "id": 3609, - "nodeType": "ParameterList", - "parameters": [], - "src": "8005:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 3653, - "nodeType": "FunctionDefinition", - "src": "8050:326:7", - "body": { - "id": 3652, - "nodeType": "Block", - "src": "8093:283:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3624, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3619, - "src": "8107:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 3625, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3621, - "src": "8112:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8107:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3651, - "nodeType": "IfStatement", - "src": "8103:267:7", - "trueBody": { - "id": 3650, - "nodeType": "Block", - "src": "8115:255:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b626f6f6c5d", - "id": 3628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8154:36:7", - "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": 3627, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8134:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8134:57:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3630, - "nodeType": "EmitStatement", - "src": "8129:62:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3632, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8230:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "condition": { - "id": 3633, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3621, - "src": "8244:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 3635, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8257:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 3636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8244:20:7", - "trueExpression": { - "hexValue": "74727565", - "id": 3634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8248:6:7", - "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": 3631, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8210:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8210:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3638, - "nodeType": "EmitStatement", - "src": "8205:60:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8304:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "condition": { - "id": 3641, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3619, - "src": "8318:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "hexValue": "66616c7365", - "id": 3643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8331:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba9154e0baa69c78e0ca563b867df81bae9d177c4ea1452c35c84386a70f0f7a", - "typeString": "literal_string \"false\"" - }, - "value": "false" - }, - "id": 3644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "8318:20:7", - "trueExpression": { - "hexValue": "74727565", - "id": 3642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8322:6:7", - "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": 3639, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8284:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8284:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3646, - "nodeType": "EmitStatement", - "src": "8279:60:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3647, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "8353:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8353:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3649, - "nodeType": "ExpressionStatement", - "src": "8353:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8059:8:7", - "parameters": { - "id": 3622, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3619, - "mutability": "mutable", - "name": "a", - "nameLocation": "8073:1:7", - "nodeType": "VariableDeclaration", - "scope": 3653, - "src": "8068:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3618, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8068:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3621, - "mutability": "mutable", - "name": "b", - "nameLocation": "8081:1:7", - "nodeType": "VariableDeclaration", - "scope": 3653, - "src": "8076:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8076:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8067:16:7" - }, - "returnParameters": { - "id": 3623, - "nodeType": "ParameterList", - "parameters": [], - "src": "8093:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3678, - "nodeType": "FunctionDefinition", - "src": "8382:178:7", - "body": { - "id": 3677, - "nodeType": "Block", - "src": "8444:116:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 3664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3662, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3655, - "src": "8458:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 3663, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3657, - "src": "8463:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "8458:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3676, - "nodeType": "IfStatement", - "src": "8454:100:7", - "trueBody": { - "id": 3675, - "nodeType": "Block", - "src": "8466:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8502:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3667, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3659, - "src": "8511:3:7", - "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": 3665, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8485:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8485:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3669, - "nodeType": "EmitStatement", - "src": "8480:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3671, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3655, - "src": "8538:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3672, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3657, - "src": "8541:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 3670, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3653, - "src": "8529:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$_t_bool_$returns$__$", - "typeString": "function (bool,bool)" - } - }, - "id": 3673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8529:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3674, - "nodeType": "ExpressionStatement", - "src": "8529:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8391:8:7", - "parameters": { - "id": 3660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3655, - "mutability": "mutable", - "name": "a", - "nameLocation": "8405:1:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8400:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3654, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8400:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3657, - "mutability": "mutable", - "name": "b", - "nameLocation": "8413:1:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8408:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8408:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3659, - "mutability": "mutable", - "name": "err", - "nameLocation": "8430:3:7", - "nodeType": "VariableDeclaration", - "scope": 3678, - "src": "8416:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3658, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8416:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8399:35:7" - }, - "returnParameters": { - "id": 3661, - "nodeType": "ParameterList", - "parameters": [], - "src": "8444:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3691, - "nodeType": "FunctionDefinition", - "src": "8566:91:7", - "body": { - "id": 3690, - "nodeType": "Block", - "src": "8625:32:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3686, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3680, - "src": "8645:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3687, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3682, - "src": "8648:1:7", - "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": 3685, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2244, - "src": "8635:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,bytes memory)" - } - }, - "id": 3688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8635:15:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3689, - "nodeType": "ExpressionStatement", - "src": "8635:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8575:8:7", - "parameters": { - "id": 3683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3680, - "mutability": "mutable", - "name": "a", - "nameLocation": "8597:1:7", - "nodeType": "VariableDeclaration", - "scope": 3691, - "src": "8584:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3679, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8584:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3682, - "mutability": "mutable", - "name": "b", - "nameLocation": "8613:1:7", - "nodeType": "VariableDeclaration", - "scope": 3691, - "src": "8600:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3681, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8600:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8583:32:7" - }, - "returnParameters": { - "id": 3684, - "nodeType": "ParameterList", - "parameters": [], - "src": "8625:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3707, - "nodeType": "FunctionDefinition", - "src": "8663:115:7", - "body": { - "id": 3706, - "nodeType": "Block", - "src": "8741:37:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 3701, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3693, - "src": "8761:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3702, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3695, - "src": "8764:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 3703, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3697, - "src": "8767:3:7", - "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": 3700, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2271, - "src": "8751:9:7", - "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": 3704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8751:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3705, - "nodeType": "ExpressionStatement", - "src": "8751:20:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8672:8:7", - "parameters": { - "id": 3698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3693, - "mutability": "mutable", - "name": "a", - "nameLocation": "8694:1:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8681:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3692, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8681:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3695, - "mutability": "mutable", - "name": "b", - "nameLocation": "8710:1:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8697:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3694, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8697:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3697, - "mutability": "mutable", - "name": "err", - "nameLocation": "8727:3:7", - "nodeType": "VariableDeclaration", - "scope": 3707, - "src": "8713:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3696, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8713:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8680:51:7" - }, - "returnParameters": { - "id": 3699, - "nodeType": "ParameterList", - "parameters": [], - "src": "8741:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3749, - "nodeType": "FunctionDefinition", - "src": "8784:336:7", - "body": { - "id": 3748, - "nodeType": "Block", - "src": "8851:269:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3719, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "8886:1:7", - "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": 3717, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8875:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8879:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8875:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8875:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3716, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8865:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8865:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3725, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "8914:1:7", - "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": 3723, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8903:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8907:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "8903:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8903:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3722, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "8893:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8893:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "8865:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3747, - "nodeType": "IfStatement", - "src": "8861:253:7", - "trueBody": { - "id": 3746, - "nodeType": "Block", - "src": "8919:195:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e745b5d5d", - "id": 3730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8942:38:7", - "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": 3729, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8938:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8938:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3732, - "nodeType": "EmitStatement", - "src": "8933:48:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9016:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3735, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3713, - "src": "9030:1:7", - "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": 3733, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2936, - "src": "9000:15:7", - "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": 3736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9000:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3737, - "nodeType": "EmitStatement", - "src": "8995:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9067:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3740, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "9081:1:7", - "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": 3738, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2936, - "src": "9051:15:7", - "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": 3741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9051:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3742, - "nodeType": "EmitStatement", - "src": "9046:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3743, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9097:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9097:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3745, - "nodeType": "ExpressionStatement", - "src": "9097:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "8793:8:7", - "parameters": { - "id": 3714, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3710, - "mutability": "mutable", - "name": "a", - "nameLocation": "8819:1:7", - "nodeType": "VariableDeclaration", - "scope": 3749, - "src": "8802:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3708, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8802:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3709, - "nodeType": "ArrayTypeName", - "src": "8802:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3713, - "mutability": "mutable", - "name": "b", - "nameLocation": "8839:1:7", - "nodeType": "VariableDeclaration", - "scope": 3749, - "src": "8822:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3711, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8822:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3712, - "nodeType": "ArrayTypeName", - "src": "8822:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "8801:40:7" - }, - "returnParameters": { - "id": 3715, - "nodeType": "ParameterList", - "parameters": [], - "src": "8851:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3791, - "nodeType": "FunctionDefinition", - "src": "9126:333:7", - "body": { - "id": 3790, - "nodeType": "Block", - "src": "9191:268:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3761, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "9226:1:7", - "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": 3759, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9215:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9219:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9215:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9215:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3758, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9205:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9205:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3767, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3755, - "src": "9254:1:7", - "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": 3765, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9243:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9247:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9243:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9243:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3764, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9233:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9233:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9205:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3789, - "nodeType": "IfStatement", - "src": "9201:252:7", - "trueBody": { - "id": 3788, - "nodeType": "Block", - "src": "9259:194:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b696e745b5d5d", - "id": 3772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9282:37:7", - "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": 3771, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9278:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9278:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3774, - "nodeType": "EmitStatement", - "src": "9273:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9355:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3777, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3755, - "src": "9369:1:7", - "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": 3775, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2943, - "src": "9339:15:7", - "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": 3778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9339:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3779, - "nodeType": "EmitStatement", - "src": "9334:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3781, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9406:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3782, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3752, - "src": "9420:1:7", - "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": 3780, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2943, - "src": "9390:15:7", - "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": 3783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9390:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3784, - "nodeType": "EmitStatement", - "src": "9385:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3785, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9436:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9436:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3787, - "nodeType": "ExpressionStatement", - "src": "9436:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9135:8:7", - "parameters": { - "id": 3756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3752, - "mutability": "mutable", - "name": "a", - "nameLocation": "9160:1:7", - "nodeType": "VariableDeclaration", - "scope": 3791, - "src": "9144:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3750, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9144:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3751, - "nodeType": "ArrayTypeName", - "src": "9144:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3755, - "mutability": "mutable", - "name": "b", - "nameLocation": "9179:1:7", - "nodeType": "VariableDeclaration", - "scope": 3791, - "src": "9163:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3753, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9163:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3754, - "nodeType": "ArrayTypeName", - "src": "9163:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "9143:38:7" - }, - "returnParameters": { - "id": 3757, - "nodeType": "ParameterList", - "parameters": [], - "src": "9191:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3833, - "nodeType": "FunctionDefinition", - "src": "9465:339:7", - "body": { - "id": 3832, - "nodeType": "Block", - "src": "9532:272:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3803, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3794, - "src": "9567:1:7", - "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": 3801, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9556:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9560:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9556:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9556:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3800, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9546:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9546:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3809, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3797, - "src": "9595:1:7", - "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": 3807, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9584:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9588:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9584:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9584:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3806, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9574:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9574:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9546:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3831, - "nodeType": "IfStatement", - "src": "9542:256:7", - "trueBody": { - "id": 3830, - "nodeType": "Block", - "src": "9600:198:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b616464726573735b5d5d", - "id": 3814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9623:41:7", - "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": 3813, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9619:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9619:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3816, - "nodeType": "EmitStatement", - "src": "9614:51:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9700:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3819, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3797, - "src": "9714:1:7", - "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": 3817, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2950, - "src": "9684:15:7", - "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": 3820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9684:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3821, - "nodeType": "EmitStatement", - "src": "9679:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9751:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3824, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3794, - "src": "9765:1:7", - "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": 3822, - "name": "log_named_array", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2936, - 2943, - 2950 - ], - "referencedDeclaration": 2950, - "src": "9735:15:7", - "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": 3825, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9735:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3826, - "nodeType": "EmitStatement", - "src": "9730:37:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 3827, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "9781:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 3828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9781:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3829, - "nodeType": "ExpressionStatement", - "src": "9781:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9474:8:7", - "parameters": { - "id": 3798, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3794, - "mutability": "mutable", - "name": "a", - "nameLocation": "9500:1:7", - "nodeType": "VariableDeclaration", - "scope": 3833, - "src": "9483:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3792, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9483:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3793, - "nodeType": "ArrayTypeName", - "src": "9483:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3797, - "mutability": "mutable", - "name": "b", - "nameLocation": "9520:1:7", - "nodeType": "VariableDeclaration", - "scope": 3833, - "src": "9503:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3795, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9503:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3796, - "nodeType": "ArrayTypeName", - "src": "9503:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "9482:40:7" - }, - "returnParameters": { - "id": 3799, - "nodeType": "ParameterList", - "parameters": [], - "src": "9532:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3870, - "nodeType": "FunctionDefinition", - "src": "9810:248:7", - "body": { - "id": 3869, - "nodeType": "Block", - "src": "9896:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3847, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3836, - "src": "9931:1:7", - "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": 3845, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9920:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9924:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9920:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9920:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3844, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9910:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9910:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3853, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3839, - "src": "9959:1:7", - "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": 3851, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9948:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9952:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9948:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9948:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3850, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "9938:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9938:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "9910:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3868, - "nodeType": "IfStatement", - "src": "9906:146:7", - "trueBody": { - "id": 3867, - "nodeType": "Block", - "src": "9964:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10000:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3859, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3841, - "src": "10009:3:7", - "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": 3857, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "9983:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3861, - "nodeType": "EmitStatement", - "src": "9978:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3863, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3836, - "src": "10036:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - }, - { - "id": 3864, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3839, - "src": "10039:1:7", - "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": 3862, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3749, - "src": "10027:8:7", - "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": 3865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10027:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3866, - "nodeType": "ExpressionStatement", - "src": "10027:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "9819:8:7", - "parameters": { - "id": 3842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3836, - "mutability": "mutable", - "name": "a", - "nameLocation": "9845:1:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9828:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3834, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9828:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3835, - "nodeType": "ArrayTypeName", - "src": "9828:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3839, - "mutability": "mutable", - "name": "b", - "nameLocation": "9865:1:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9848:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 3837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 3838, - "nodeType": "ArrayTypeName", - "src": "9848:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3841, - "mutability": "mutable", - "name": "err", - "nameLocation": "9882:3:7", - "nodeType": "VariableDeclaration", - "scope": 3870, - "src": "9868:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3840, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9868:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9827:59:7" - }, - "returnParameters": { - "id": 3843, - "nodeType": "ParameterList", - "parameters": [], - "src": "9896:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3907, - "nodeType": "FunctionDefinition", - "src": "10064:246:7", - "body": { - "id": 3906, - "nodeType": "Block", - "src": "10148:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3884, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "10183:1:7", - "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": 3882, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10172:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10176:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10172:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10172:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3881, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10162:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10162:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3890, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3876, - "src": "10211:1:7", - "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": 3888, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10200:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10204:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10200:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3887, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10190:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10190:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10162:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3905, - "nodeType": "IfStatement", - "src": "10158:146:7", - "trueBody": { - "id": 3904, - "nodeType": "Block", - "src": "10216:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10252:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3896, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3878, - "src": "10261:3:7", - "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": 3894, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10235:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10235:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3898, - "nodeType": "EmitStatement", - "src": "10230:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3900, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "10288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[] memory" - } - }, - { - "id": 3901, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3876, - "src": "10291:1:7", - "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": 3899, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3791, - "src": "10279:8:7", - "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": 3902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10279:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3903, - "nodeType": "ExpressionStatement", - "src": "10279:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "10073:8:7", - "parameters": { - "id": 3879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3873, - "mutability": "mutable", - "name": "a", - "nameLocation": "10098:1:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10082:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3871, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10082:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3872, - "nodeType": "ArrayTypeName", - "src": "10082:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3876, - "mutability": "mutable", - "name": "b", - "nameLocation": "10117:1:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10101:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 3874, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "10101:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 3875, - "nodeType": "ArrayTypeName", - "src": "10101:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3878, - "mutability": "mutable", - "name": "err", - "nameLocation": "10134:3:7", - "nodeType": "VariableDeclaration", - "scope": 3907, - "src": "10120:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3877, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10120:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10081:57:7" - }, - "returnParameters": { - "id": 3880, - "nodeType": "ParameterList", - "parameters": [], - "src": "10148:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3944, - "nodeType": "FunctionDefinition", - "src": "10317:248:7", - "body": { - "id": 3943, - "nodeType": "Block", - "src": "10403:162:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 3930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3921, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3910, - "src": "10438:1:7", - "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": 3919, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10427:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10431:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10427:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10427:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3918, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10417:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10417:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 3927, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3913, - "src": "10466:1:7", - "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": 3925, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10455:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10459:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10455:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 3928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10455:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3924, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "10445:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 3929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10445:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "10417:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 3942, - "nodeType": "IfStatement", - "src": "10413:146:7", - "trueBody": { - "id": 3941, - "nodeType": "Block", - "src": "10471:88:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10507:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 3933, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3915, - "src": "10516:3:7", - "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": 3931, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10490:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 3934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10490:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3935, - "nodeType": "EmitStatement", - "src": "10485:35:7" - }, - { - "expression": { - "arguments": [ - { - "id": 3937, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3910, - "src": "10543:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 3938, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3913, - "src": "10546:1:7", - "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": 3936, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 3833, - "src": "10534:8:7", - "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": 3939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10534:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3940, - "nodeType": "ExpressionStatement", - "src": "10534:14:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "10326:8:7", - "parameters": { - "id": 3916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3910, - "mutability": "mutable", - "name": "a", - "nameLocation": "10352:1:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10335:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10335:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3909, - "nodeType": "ArrayTypeName", - "src": "10335:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3913, - "mutability": "mutable", - "name": "b", - "nameLocation": "10372:1:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10355:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 3911, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10355:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 3912, - "nodeType": "ArrayTypeName", - "src": "10355:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3915, - "mutability": "mutable", - "name": "err", - "nameLocation": "10389:3:7", - "nodeType": "VariableDeclaration", - "scope": 3944, - "src": "10375:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10375:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10334:59:7" - }, - "returnParameters": { - "id": 3917, - "nodeType": "ParameterList", - "parameters": [], - "src": "10403:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 3963, - "nodeType": "FunctionDefinition", - "src": "10571:102:7", - "body": { - "id": 3962, - "nodeType": "Block", - "src": "10624:49:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 3954, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3946, - "src": "10651:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10643:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10643:7:7", - "typeDescriptions": {} - } - }, - "id": 3955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10643:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 3958, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3948, - "src": "10663:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3957, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10655:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 3956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10655:7:7", - "typeDescriptions": {} - } - }, - "id": 3959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10655:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3951, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "10634:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 3960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10634:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3961, - "nodeType": "ExpressionStatement", - "src": "10634:32:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqUint", - "nameLocation": "10580:12:7", - "parameters": { - "id": 3949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3946, - "mutability": "mutable", - "name": "a", - "nameLocation": "10601:1:7", - "nodeType": "VariableDeclaration", - "scope": 3963, - "src": "10593:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3945, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10593:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3948, - "mutability": "mutable", - "name": "b", - "nameLocation": "10612:1:7", - "nodeType": "VariableDeclaration", - "scope": 3963, - "src": "10604:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3947, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10604:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10592:22:7" - }, - "returnParameters": { - "id": 3950, - "nodeType": "ParameterList", - "parameters": [], - "src": "10624:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4013, - "nodeType": "FunctionDefinition", - "src": "10679:516:7", - "body": { - "id": 4012, - "nodeType": "Block", - "src": "10793:402:7", - "statements": [ - { - "assignments": [ - 3973 - ], - "declarations": [ - { - "constant": false, - "id": 3973, - "mutability": "mutable", - "name": "delta", - "nameLocation": "10811:5:7", - "nodeType": "VariableDeclaration", - "scope": 4012, - "src": "10803:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3972, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10803:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 3979, - "initialValue": { - "arguments": [ - { - "id": 3976, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "10833:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3977, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "10836:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3974, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "10819:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 3975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10827:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6715, - "src": "10819:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10819:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10803:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 3982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 3980, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3973, - "src": "10853:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 3981, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3969, - "src": "10861:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10853:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4011, - "nodeType": "IfStatement", - "src": "10849:340:7", - "trueBody": { - "id": 4010, - "nodeType": "Block", - "src": "10871:318:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 3984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10906:36:7", - "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": 3983, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "10890:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 3985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10890:53:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3986, - "nodeType": "EmitStatement", - "src": "10885:58:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 3988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10978:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 3989, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "10992:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3987, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "10962:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10962:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3991, - "nodeType": "EmitStatement", - "src": "10957:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 3993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11029:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 3994, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "11043:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3992, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11013:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 3995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11013:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3996, - "nodeType": "EmitStatement", - "src": "11008:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 3998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11080:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 3999, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3969, - "src": "11094:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 3997, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11064:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11064:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4001, - "nodeType": "EmitStatement", - "src": "11059:44:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 4003, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11138:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 4004, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3973, - "src": "11152:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4002, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11122:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11122:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4006, - "nodeType": "EmitStatement", - "src": "11117:41:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4007, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "11172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11172:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4009, - "nodeType": "ExpressionStatement", - "src": "11172:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "10688:17:7", - "parameters": { - "id": 3970, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3965, - "mutability": "mutable", - "name": "a", - "nameLocation": "10723:1:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10715:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3964, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10715:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3967, - "mutability": "mutable", - "name": "b", - "nameLocation": "10742:1:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10734:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3966, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10734:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3969, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "10761:8:7", - "nodeType": "VariableDeclaration", - "scope": 4013, - "src": "10753:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3968, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10753:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10705:70:7" - }, - "returnParameters": { - "id": 3971, - "nodeType": "ParameterList", - "parameters": [], - "src": "10793:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4049, - "nodeType": "FunctionDefinition", - "src": "11201:335:7", - "body": { - "id": 4048, - "nodeType": "Block", - "src": "11342:194:7", - "statements": [ - { - "assignments": [ - 4025 - ], - "declarations": [ - { - "constant": false, - "id": 4025, - "mutability": "mutable", - "name": "delta", - "nameLocation": "11360:5:7", - "nodeType": "VariableDeclaration", - "scope": 4048, - "src": "11352:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4024, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11352:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4031, - "initialValue": { - "arguments": [ - { - "id": 4028, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4015, - "src": "11382:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4029, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4017, - "src": "11385:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4026, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "11368:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11376:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6715, - "src": "11368:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11368:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11352:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4032, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4025, - "src": "11402:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4033, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4019, - "src": "11410:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11402:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4047, - "nodeType": "IfStatement", - "src": "11398:132:7", - "trueBody": { - "id": 4046, - "nodeType": "Block", - "src": "11420:110:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11459:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4037, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4021, - "src": "11468:3:7", - "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": 4035, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "11439:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11439:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4039, - "nodeType": "EmitStatement", - "src": "11434:38:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4041, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4015, - "src": "11504:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4042, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4017, - "src": "11507:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4043, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4019, - "src": "11510:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4040, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4013, - 4049, - 4099, - 4135 - ], - "referencedDeclaration": 4013, - "src": "11486:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 4044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11486:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4045, - "nodeType": "ExpressionStatement", - "src": "11486:33:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "11210:17:7", - "parameters": { - "id": 4022, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4015, - "mutability": "mutable", - "name": "a", - "nameLocation": "11245:1:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11237:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4014, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11237:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4017, - "mutability": "mutable", - "name": "b", - "nameLocation": "11264:1:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11256:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4016, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11256:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4019, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "11283:8:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11275:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4021, - "mutability": "mutable", - "name": "err", - "nameLocation": "11315:3:7", - "nodeType": "VariableDeclaration", - "scope": 4049, - "src": "11301:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4020, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11301:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11227:97:7" - }, - "returnParameters": { - "id": 4023, - "nodeType": "ParameterList", - "parameters": [], - "src": "11342:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4099, - "nodeType": "FunctionDefinition", - "src": "11542:513:7", - "body": { - "id": 4098, - "nodeType": "Block", - "src": "11654:401:7", - "statements": [ - { - "assignments": [ - 4059 - ], - "declarations": [ - { - "constant": false, - "id": 4059, - "mutability": "mutable", - "name": "delta", - "nameLocation": "11672:5:7", - "nodeType": "VariableDeclaration", - "scope": 4098, - "src": "11664:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4058, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11664:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4065, - "initialValue": { - "arguments": [ - { - "id": 4062, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4051, - "src": "11694:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4063, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "11697:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4060, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "11680:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11688:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6751, - "src": "11680:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11680:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11664:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4066, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "11714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4067, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "11722:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11714:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4097, - "nodeType": "IfStatement", - "src": "11710:339:7", - "trueBody": { - "id": 4096, - "nodeType": "Block", - "src": "11732:317:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 4070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11767:35:7", - "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": 4069, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "11751:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11751:52:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4072, - "nodeType": "EmitStatement", - "src": "11746:57:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 4074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11838:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4075, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "11852:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4073, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11822:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11822:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4077, - "nodeType": "EmitStatement", - "src": "11817:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 4079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11889:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4080, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4051, - "src": "11903:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4078, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11873:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11873:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4082, - "nodeType": "EmitStatement", - "src": "11868:37:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d61782044656c7461", - "id": 4084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11940:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - "value": " Max Delta" - }, - { - "id": 4085, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "11954:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cd2884c74a25327f5cafe8471ed73da28ba1991b65dde72feb1cd4f78f5dc2a5", - "typeString": "literal_string \" Max Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4083, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11924:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11924:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4087, - "nodeType": "EmitStatement", - "src": "11919:44:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020202044656c7461", - "id": 4089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11998:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - "value": " Delta" - }, - { - "id": 4090, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "12012:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39d8d5e74991bbc141eb1ca770e60e69523d5c43706b72685708d217b293c55f", - "typeString": "literal_string \" Delta\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4088, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "11982:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4091, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11982:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4092, - "nodeType": "EmitStatement", - "src": "11977:41:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4093, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "12032:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12032:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4095, - "nodeType": "ExpressionStatement", - "src": "12032:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "11551:17:7", - "parameters": { - "id": 4056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4051, - "mutability": "mutable", - "name": "a", - "nameLocation": "11585:1:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11578:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4050, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11578:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4053, - "mutability": "mutable", - "name": "b", - "nameLocation": "11603:1:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11596:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4052, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "11596:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4055, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "11622:8:7", - "nodeType": "VariableDeclaration", - "scope": 4099, - "src": "11614:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4054, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11614:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11568:68:7" - }, - "returnParameters": { - "id": 4057, - "nodeType": "ParameterList", - "parameters": [], - "src": "11654:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4135, - "nodeType": "FunctionDefinition", - "src": "12061:333:7", - "body": { - "id": 4134, - "nodeType": "Block", - "src": "12200:194:7", - "statements": [ - { - "assignments": [ - 4111 - ], - "declarations": [ - { - "constant": false, - "id": 4111, - "mutability": "mutable", - "name": "delta", - "nameLocation": "12218:5:7", - "nodeType": "VariableDeclaration", - "scope": 4134, - "src": "12210:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4110, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12210:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4117, - "initialValue": { - "arguments": [ - { - "id": 4114, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "12240:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4115, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "12243:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4112, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "12226:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12234:5:7", - "memberName": "delta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6751, - "src": "12226:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12226:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12210:35:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4118, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4111, - "src": "12260:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4119, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "12268:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12260:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4133, - "nodeType": "IfStatement", - "src": "12256:132:7", - "trueBody": { - "id": 4132, - "nodeType": "Block", - "src": "12278:110:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12317:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4123, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4107, - "src": "12326:3:7", - "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": 4121, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "12297:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12297:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4125, - "nodeType": "EmitStatement", - "src": "12292:38:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4127, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "12362:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4128, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "12365:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4129, - "name": "maxDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "12368:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4126, - "name": "assertApproxEqAbs", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4013, - 4049, - 4099, - 4135 - ], - "referencedDeclaration": 4099, - "src": "12344:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 4130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12344:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4131, - "nodeType": "ExpressionStatement", - "src": "12344:33:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqAbs", - "nameLocation": "12070:17:7", - "parameters": { - "id": 4108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4101, - "mutability": "mutable", - "name": "a", - "nameLocation": "12104:1:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12097:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4100, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "12097:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4103, - "mutability": "mutable", - "name": "b", - "nameLocation": "12122:1:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12115:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4102, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "12115:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4105, - "mutability": "mutable", - "name": "maxDelta", - "nameLocation": "12141:8:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12133:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4104, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12133:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4107, - "mutability": "mutable", - "name": "err", - "nameLocation": "12173:3:7", - "nodeType": "VariableDeclaration", - "scope": 4135, - "src": "12159:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4106, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12159:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12087:95:7" - }, - "returnParameters": { - "id": 4109, - "nodeType": "ParameterList", - "parameters": [], - "src": "12200:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4196, - "nodeType": "FunctionDefinition", - "src": "12400:766:7", - "body": { - "id": 4195, - "nodeType": "Block", - "src": "12577:589:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4144, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12591:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12596:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12591:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4152, - "nodeType": "IfStatement", - "src": "12587:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4148, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12615:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4149, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12618:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4147, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "12606:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 4150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12606:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4143, - "id": 4151, - "nodeType": "Return", - "src": "12599:21:7" - } - }, - { - "assignments": [ - 4154 - ], - "declarations": [ - { - "constant": false, - "id": 4154, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "12684:12:7", - "nodeType": "VariableDeclaration", - "scope": 4195, - "src": "12676:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4153, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12676:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4160, - "initialValue": { - "arguments": [ - { - "id": 4157, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12720:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4158, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12723:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4155, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "12699:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "12707:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6774, - "src": "12699:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4159, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12699:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12676:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4161, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4154, - "src": "12740:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4162, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4141, - "src": "12755:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12740:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4194, - "nodeType": "IfStatement", - "src": "12736:424:7", - "trueBody": { - "id": 4193, - "nodeType": "Block", - "src": "12772:388:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 4165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12815:36:7", - "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": 4164, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "12791:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12791:61:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4167, - "nodeType": "EmitStatement", - "src": "12786:66:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 4169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12895:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4170, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4139, - "src": "12911:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4168, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12871:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12871:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4172, - "nodeType": "EmitStatement", - "src": "12866:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 4174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12956:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4175, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4137, - "src": "12972:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4173, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12932:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 4176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12932:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4177, - "nodeType": "EmitStatement", - "src": "12927:47:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 4179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13017:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 4180, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4141, - "src": "13033:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13050:2:7", - "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": 4178, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "12993:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12993:60:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4183, - "nodeType": "EmitStatement", - "src": "12988:65:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 4185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13096:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 4186, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4154, - "src": "13112:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4187, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13126:2:7", - "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": 4184, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "13072:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13072:57:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4189, - "nodeType": "EmitStatement", - "src": "13067:62:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4190, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "13143:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13143:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4192, - "nodeType": "ExpressionStatement", - "src": "13143:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "12409:17:7", - "parameters": { - "id": 4142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4137, - "mutability": "mutable", - "name": "a", - "nameLocation": "12444:1:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12436:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12436:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4139, - "mutability": "mutable", - "name": "b", - "nameLocation": "12463:1:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12455:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12455:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4141, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "12482:15:7", - "nodeType": "VariableDeclaration", - "scope": 4196, - "src": "12474:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4140, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12474:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12426:133:7" - }, - "returnParameters": { - "id": 4143, - "nodeType": "ParameterList", - "parameters": [], - "src": "12577:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4242, - "nodeType": "FunctionDefinition", - "src": "13172:531:7", - "body": { - "id": 4241, - "nodeType": "Block", - "src": "13376:327:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4207, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13390:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13395:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13390:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4216, - "nodeType": "IfStatement", - "src": "13386:38:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4211, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13414:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4212, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13417:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4213, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4204, - "src": "13420:3:7", - "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": 4210, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1025, - "src": "13405:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,string memory)" - } - }, - "id": 4214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13405:19:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4206, - "id": 4215, - "nodeType": "Return", - "src": "13398:26:7" - } - }, - { - "assignments": [ - 4218 - ], - "declarations": [ - { - "constant": false, - "id": 4218, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "13488:12:7", - "nodeType": "VariableDeclaration", - "scope": 4241, - "src": "13480:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4217, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13480:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4224, - "initialValue": { - "arguments": [ - { - "id": 4221, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13524:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4222, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13527:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4219, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "13503:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13511:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6774, - "src": "13503:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 4223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13503:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13480:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4225, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4218, - "src": "13544:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4226, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4202, - "src": "13559:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13544:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4240, - "nodeType": "IfStatement", - "src": "13540:157:7", - "trueBody": { - "id": 4239, - "nodeType": "Block", - "src": "13576:121:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13619:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4230, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4204, - "src": "13628:3:7", - "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": 4228, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "13595:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13595:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4232, - "nodeType": "EmitStatement", - "src": "13590:42:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4234, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4198, - "src": "13664:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4235, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4200, - "src": "13667:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4236, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4202, - "src": "13670:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4233, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4196, - 4242, - 4303, - 4348 - ], - "referencedDeclaration": 4196, - "src": "13646:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 4237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13646:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4238, - "nodeType": "ExpressionStatement", - "src": "13646:40:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "13181:17:7", - "parameters": { - "id": 4205, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4198, - "mutability": "mutable", - "name": "a", - "nameLocation": "13216:1:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13208:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13208:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4200, - "mutability": "mutable", - "name": "b", - "nameLocation": "13235:1:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13227:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4199, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13227:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4202, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "13254:15:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13246:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4201, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13246:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4204, - "mutability": "mutable", - "name": "err", - "nameLocation": "13349:3:7", - "nodeType": "VariableDeclaration", - "scope": 4242, - "src": "13335:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4203, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13335:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13198:160:7" - }, - "returnParameters": { - "id": 4206, - "nodeType": "ParameterList", - "parameters": [], - "src": "13376:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4303, - "nodeType": "FunctionDefinition", - "src": "13709:702:7", - "body": { - "id": 4302, - "nodeType": "Block", - "src": "13828:583:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 4253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4251, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13842:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13847:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13842:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4259, - "nodeType": "IfStatement", - "src": "13838:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4255, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "13866:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4256, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13869:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4254, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "13857:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 4257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13857:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4250, - "id": 4258, - "nodeType": "Return", - "src": "13850:21:7" - } - }, - { - "assignments": [ - 4261 - ], - "declarations": [ - { - "constant": false, - "id": 4261, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "13935:12:7", - "nodeType": "VariableDeclaration", - "scope": 4302, - "src": "13927:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4260, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13927:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4267, - "initialValue": { - "arguments": [ - { - "id": 4264, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "13971:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4265, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "13974:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4262, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "13950:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "13958:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6803, - "src": "13950:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13950:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13927:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4268, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4261, - "src": "13991:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4269, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "14006:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13991:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4301, - "nodeType": "IfStatement", - "src": "13987:418:7", - "trueBody": { - "id": 4300, - "nodeType": "Block", - "src": "14023:382:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061207e3d2062206e6f7420736174697366696564205b696e745d", - "id": 4272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14065:35:7", - "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": 4271, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "14042:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 4273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14042:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4274, - "nodeType": "EmitStatement", - "src": "14037:64:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202020204578706563746564", - "id": 4276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14143:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 4277, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4246, - "src": "14159:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e33bb6058f2c6cccd03674115e231a9d0cfe482a7efa638b81035808613e7d3", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4275, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "14120:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14120:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4279, - "nodeType": "EmitStatement", - "src": "14115:46:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20202020202041637475616c", - "id": 4281, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14203:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 4282, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4244, - "src": "14219:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c86931dadd9b7dcb5fe0132c9f180edb774e714bd6d32d0fc56d5f9258e30e9", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4280, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "14180:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 4283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14180:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4284, - "nodeType": "EmitStatement", - "src": "14175:46:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "204d617820252044656c7461", - "id": 4286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14263:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_476fe8c6eb42275e4a879ea3f97d4c8aa2f38a65ce8511d323ad7a22579f732d", - "typeString": "literal_string \" Max % Delta\"" - }, - "value": " Max % Delta" - }, - { - "id": 4287, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4248, - "src": "14279:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14296:2:7", - "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": 4285, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14240:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14240:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4290, - "nodeType": "EmitStatement", - "src": "14235:64:7" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202020252044656c7461", - "id": 4292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14341:14:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a4ade1e1607945ca481fbcd7c0ca5baa7e21e413316ae3997404f04177b03d7", - "typeString": "literal_string \" % Delta\"" - }, - "value": " % Delta" - }, - { - "id": 4293, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4261, - "src": "14357:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "hexValue": "3138", - "id": 4294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14371:2:7", - "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": 4291, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14318:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 4295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14318:56:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4296, - "nodeType": "EmitStatement", - "src": "14313:61:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 4297, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3592, - 702 - ], - "referencedDeclaration": 702, - "src": "14388:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 4298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14388:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4299, - "nodeType": "ExpressionStatement", - "src": "14388:6:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "13718:17:7", - "parameters": { - "id": 4249, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4244, - "mutability": "mutable", - "name": "a", - "nameLocation": "13752:1:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13745:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4243, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "13745:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4246, - "mutability": "mutable", - "name": "b", - "nameLocation": "13770:1:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13763:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4245, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "13763:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4248, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "13789:15:7", - "nodeType": "VariableDeclaration", - "scope": 4303, - "src": "13781:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13781:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13735:75:7" - }, - "returnParameters": { - "id": 4250, - "nodeType": "ParameterList", - "parameters": [], - "src": "13828:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4348, - "nodeType": "FunctionDefinition", - "src": "14417:467:7", - "body": { - "id": 4347, - "nodeType": "Block", - "src": "14563:321:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 4316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4314, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14577:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 4315, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14582:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "14577:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4322, - "nodeType": "IfStatement", - "src": "14573:33:7", - "trueBody": { - "expression": { - "arguments": [ - { - "id": 4318, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14601:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4319, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14604:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 4317, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 3653, - 3678, - 3691, - 3707, - 3749, - 3791, - 3833, - 3870, - 3907, - 3944, - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "14592:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 4320, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14592:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "functionReturnParameters": 4313, - "id": 4321, - "nodeType": "Return", - "src": "14585:21:7" - } - }, - { - "assignments": [ - 4324 - ], - "declarations": [ - { - "constant": false, - "id": 4324, - "mutability": "mutable", - "name": "percentDelta", - "nameLocation": "14670:12:7", - "nodeType": "VariableDeclaration", - "scope": 4347, - "src": "14662:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4323, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14662:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4330, - "initialValue": { - "arguments": [ - { - "id": 4327, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14706:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4328, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14709:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 4325, - "name": "stdMath", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6804, - "src": "14685:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_stdMath_$6804_$", - "typeString": "type(library stdMath)" - } - }, - "id": 4326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "14693:12:7", - "memberName": "percentDelta", - "nodeType": "MemberAccess", - "referencedDeclaration": 6803, - "src": "14685:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 4329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14685:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14662:49:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4331, - "name": "percentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4324, - "src": "14726:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 4332, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4309, - "src": "14741:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14726:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4346, - "nodeType": "IfStatement", - "src": "14722:156:7", - "trueBody": { - "id": 4345, - "nodeType": "Block", - "src": "14758:120:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 4335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14800:7:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 4336, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4311, - "src": "14809:3:7", - "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": 4334, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "14777:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 4337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14777:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4338, - "nodeType": "EmitStatement", - "src": "14772:41:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4340, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4305, - "src": "14845:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4341, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4307, - "src": "14848:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 4342, - "name": "maxPercentDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4309, - "src": "14851:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4339, - "name": "assertApproxEqRel", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 4196, - 4242, - 4303, - 4348 - ], - "referencedDeclaration": 4303, - "src": "14827:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 4343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14827:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4344, - "nodeType": "ExpressionStatement", - "src": "14827:40:7" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertApproxEqRel", - "nameLocation": "14426:17:7", - "parameters": { - "id": 4312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4305, - "mutability": "mutable", - "name": "a", - "nameLocation": "14460:1:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14453:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4304, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "14453:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4307, - "mutability": "mutable", - "name": "b", - "nameLocation": "14478:1:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14471:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 4306, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "14471:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4309, - "mutability": "mutable", - "name": "maxPercentDelta", - "nameLocation": "14497:15:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14489:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4311, - "mutability": "mutable", - "name": "err", - "nameLocation": "14536:3:7", - "nodeType": "VariableDeclaration", - "scope": 4348, - "src": "14522:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14522:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14443:102:7" - }, - "returnParameters": { - "id": 4313, - "nodeType": "ParameterList", - "parameters": [], - "src": "14563:0:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 4365, - "nodeType": "StructDefinition", - "src": "15306:325:7", - "canonicalName": "Test.RawTx1559", - "members": [ - { - "constant": false, - "id": 4351, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "15342:9:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15333:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4349, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15333:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4350, - "nodeType": "ArrayTypeName", - "src": "15333:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4353, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "15369:15:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15361:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4352, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15361:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4355, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "15401:12:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15394:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4354, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15394:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4357, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "15468:11:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15461:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4356, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15461:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4359, - "mutability": "mutable", - "name": "hash", - "nameLocation": "15497:4:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15489:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4358, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4362, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "15559:8:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15543:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - }, - "typeName": { - "id": 4361, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4360, - "name": "RawTx1559Detail", - "nameLocations": [ - "15543:15:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4384, - "src": "15543:15:7" - }, - "referencedDeclaration": 4384, - "src": "15543:15:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4364, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "15618:6:7", - "nodeType": "VariableDeclaration", - "scope": 4365, - "src": "15611:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4363, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15611:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559", - "nameLocation": "15313:9:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4384, - "nodeType": "StructDefinition", - "src": "15637:208:7", - "canonicalName": "Test.RawTx1559Detail", - "members": [ - { - "constant": false, - "id": 4369, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "15683:10:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15670:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4367, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4366, - "name": "AccessList", - "nameLocations": [ - "15670:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "15670:10:7" - }, - "referencedDeclaration": 4476, - "src": "15670:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4368, - "nodeType": "ArrayTypeName", - "src": "15670:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4371, - "mutability": "mutable", - "name": "data", - "nameLocation": "15709:4:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15703:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4370, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15703:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4373, - "mutability": "mutable", - "name": "from", - "nameLocation": "15731:4:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15723:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15723:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4375, - "mutability": "mutable", - "name": "gas", - "nameLocation": "15751:3:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15745:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4374, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15745:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4377, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "15770:5:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15764:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4376, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15764:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4379, - "mutability": "mutable", - "name": "to", - "nameLocation": "15793:2:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15785:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15785:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4381, - "mutability": "mutable", - "name": "txType", - "nameLocation": "15811:6:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15805:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4380, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15805:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4383, - "mutability": "mutable", - "name": "value", - "nameLocation": "15833:5:7", - "nodeType": "VariableDeclaration", - "scope": 4384, - "src": "15827:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4382, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15827:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawTx1559Detail", - "nameLocation": "15644:15:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4401, - "nodeType": "StructDefinition", - "src": "15851:215:7", - "canonicalName": "Test.Tx1559", - "members": [ - { - "constant": false, - "id": 4387, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "15884:9:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15875:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15875:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4386, - "nodeType": "ArrayTypeName", - "src": "15875:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4389, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "15911:15:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15903:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4388, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15903:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4391, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "15943:12:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15936:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15936:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4393, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "15972:11:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15965:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4392, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4395, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16001:4:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "15993:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4394, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "15993:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4398, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "16028:8:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "16015:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4397, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4396, - "name": "Tx1559Detail", - "nameLocations": [ - "16015:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "16015:12:7" - }, - "referencedDeclaration": 4420, - "src": "16015:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4400, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16053:6:7", - "nodeType": "VariableDeclaration", - "scope": 4401, - "src": "16046:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4399, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16046:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559", - "nameLocation": "15858:6:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4420, - "nodeType": "StructDefinition", - "src": "16072:213:7", - "canonicalName": "Test.Tx1559Detail", - "members": [ - { - "constant": false, - "id": 4405, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "16115:10:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16102:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4403, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4402, - "name": "AccessList", - "nameLocations": [ - "16102:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "16102:10:7" - }, - "referencedDeclaration": 4476, - "src": "16102:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4404, - "nodeType": "ArrayTypeName", - "src": "16102:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4407, - "mutability": "mutable", - "name": "data", - "nameLocation": "16141:4:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16135:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4406, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16135:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4409, - "mutability": "mutable", - "name": "from", - "nameLocation": "16163:4:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16155:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4408, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16155:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4411, - "mutability": "mutable", - "name": "gas", - "nameLocation": "16185:3:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16177:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4410, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16177:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4413, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "16206:5:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16198:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4412, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16198:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4415, - "mutability": "mutable", - "name": "to", - "nameLocation": "16229:2:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16221:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4414, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16221:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4417, - "mutability": "mutable", - "name": "txType", - "nameLocation": "16249:6:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16241:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16241:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4419, - "mutability": "mutable", - "name": "value", - "nameLocation": "16273:5:7", - "nodeType": "VariableDeclaration", - "scope": 4420, - "src": "16265:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4418, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16265:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Tx1559Detail", - "nameLocation": "16079:12:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4437, - "nodeType": "StructDefinition", - "src": "16533:220:7", - "canonicalName": "Test.TxLegacy", - "members": [ - { - "constant": false, - "id": 4423, - "mutability": "mutable", - "name": "arguments", - "nameLocation": "16567:9:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16558:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4421, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16558:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4422, - "nodeType": "ArrayTypeName", - "src": "16558:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4425, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "16594:15:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16586:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4424, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16586:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4427, - "mutability": "mutable", - "name": "contractName", - "nameLocation": "16626:12:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16619:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4426, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16619:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4429, - "mutability": "mutable", - "name": "functionSig", - "nameLocation": "16655:11:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16648:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4428, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16648:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4431, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16683:4:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16676:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4430, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16676:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4433, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16704:6:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16697:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4432, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16697:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4436, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "16735:11:7", - "nodeType": "VariableDeclaration", - "scope": 4437, - "src": "16720:26:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$4470_storage_ptr", - "typeString": "struct Test.TxDetailLegacy" - }, - "typeName": { - "id": 4435, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4434, - "name": "TxDetailLegacy", - "nameLocations": [ - "16720:14:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4470, - "src": "16720:14:7" - }, - "referencedDeclaration": 4470, - "src": "16720:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxDetailLegacy_$4470_storage_ptr", - "typeString": "struct Test.TxDetailLegacy" - } - }, - "visibility": "internal" - } - ], - "name": "TxLegacy", - "nameLocation": "16540:8:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4470, - "nodeType": "StructDefinition", - "src": "16759:365:7", - "canonicalName": "Test.TxDetailLegacy", - "members": [ - { - "constant": false, - "id": 4441, - "mutability": "mutable", - "name": "accessList", - "nameLocation": "16803:10:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16790:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - }, - "typeName": { - "baseType": { - "id": 4439, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4438, - "name": "AccessList", - "nameLocations": [ - "16790:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4476, - "src": "16790:10:7" - }, - "referencedDeclaration": 4476, - "src": "16790:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_AccessList_$4476_storage_ptr", - "typeString": "struct Test.AccessList" - } - }, - "id": 4440, - "nodeType": "ArrayTypeName", - "src": "16790:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_storage_$dyn_storage_ptr", - "typeString": "struct Test.AccessList[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4443, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "16831:7:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16823:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16823:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4445, - "mutability": "mutable", - "name": "data", - "nameLocation": "16854:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16848:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4444, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "16848:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4447, - "mutability": "mutable", - "name": "from", - "nameLocation": "16876:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16868:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16868:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4449, - "mutability": "mutable", - "name": "gas", - "nameLocation": "16898:3:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16890:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4448, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16890:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4451, - "mutability": "mutable", - "name": "gasPrice", - "nameLocation": "16919:8:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16911:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4450, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16911:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4453, - "mutability": "mutable", - "name": "hash", - "nameLocation": "16945:4:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16937:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "16937:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4455, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "16967:5:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16959:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4454, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16959:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4457, - "mutability": "mutable", - "name": "opcode", - "nameLocation": "16989:6:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "16982:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 4456, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "16982:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4459, - "mutability": "mutable", - "name": "r", - "nameLocation": "17013:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17005:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4458, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17005:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4461, - "mutability": "mutable", - "name": "s", - "nameLocation": "17032:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17024:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4460, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17024:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4463, - "mutability": "mutable", - "name": "txType", - "nameLocation": "17051:6:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17043:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4462, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17043:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4465, - "mutability": "mutable", - "name": "to", - "nameLocation": "17075:2:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17067:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17067:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4467, - "mutability": "mutable", - "name": "v", - "nameLocation": "17093:1:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17087:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 4466, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "17087:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4469, - "mutability": "mutable", - "name": "value", - "nameLocation": "17112:5:7", - "nodeType": "VariableDeclaration", - "scope": 4470, - "src": "17104:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4468, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17104:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "TxDetailLegacy", - "nameLocation": "16766:14:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4476, - "nodeType": "StructDefinition", - "src": "17130:86:7", - "canonicalName": "Test.AccessList", - "members": [ - { - "constant": false, - "id": 4472, - "mutability": "mutable", - "name": "accessAddress", - "nameLocation": "17165:13:7", - "nodeType": "VariableDeclaration", - "scope": 4476, - "src": "17157:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4471, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17157:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4475, - "mutability": "mutable", - "name": "storageKeys", - "nameLocation": "17198:11:7", - "nodeType": "VariableDeclaration", - "scope": 4476, - "src": "17188:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4473, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17188:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4474, - "nodeType": "ArrayTypeName", - "src": "17188:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "name": "AccessList", - "nameLocation": "17137:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4505, - "nodeType": "StructDefinition", - "src": "17432:385:7", - "canonicalName": "Test.RawReceipt", - "members": [ - { - "constant": false, - "id": 4478, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "17468:9:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17460:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4477, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17460:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4480, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "17493:11:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17487:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4479, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17487:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4482, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "17522:15:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17514:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17514:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4484, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "17553:17:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17547:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4483, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17547:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4486, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "17586:17:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17580:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4485, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17580:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4488, - "mutability": "mutable", - "name": "from", - "nameLocation": "17621:4:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17613:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4487, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17613:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4490, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "17641:7:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17635:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17635:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4494, - "mutability": "mutable", - "name": "logs", - "nameLocation": "17674:4:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17658:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4492, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4491, - "name": "RawReceiptLog", - "nameLocations": [ - "17658:13:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4602, - "src": "17658:13:7" - }, - "referencedDeclaration": 4602, - "src": "17658:13:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_storage_ptr", - "typeString": "struct Test.RawReceiptLog" - } - }, - "id": 4493, - "nodeType": "ArrayTypeName", - "src": "17658:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4496, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "17694:9:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17688:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4495, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17688:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4498, - "mutability": "mutable", - "name": "status", - "nameLocation": "17719:6:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17713:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4497, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17713:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4500, - "mutability": "mutable", - "name": "to", - "nameLocation": "17743:2:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17735:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4499, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17735:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4502, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "17763:15:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17755:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4501, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17755:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4504, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "17794:16:7", - "nodeType": "VariableDeclaration", - "scope": 4505, - "src": "17788:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4503, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "17788:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceipt", - "nameLocation": "17439:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4534, - "nodeType": "StructDefinition", - "src": "17823:391:7", - "canonicalName": "Test.Receipt", - "members": [ - { - "constant": false, - "id": 4507, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "17856:9:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17848:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4506, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "17848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4509, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "17883:11:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17875:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4508, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17875:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4511, - "mutability": "mutable", - "name": "contractAddress", - "nameLocation": "17912:15:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17904:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4510, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17904:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4513, - "mutability": "mutable", - "name": "cumulativeGasUsed", - "nameLocation": "17945:17:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17937:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4512, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17937:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4515, - "mutability": "mutable", - "name": "effectiveGasPrice", - "nameLocation": "17980:17:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "17972:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4514, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17972:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4517, - "mutability": "mutable", - "name": "from", - "nameLocation": "18015:4:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18007:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4516, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18007:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4519, - "mutability": "mutable", - "name": "gasUsed", - "nameLocation": "18037:7:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18029:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4518, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18029:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4523, - "mutability": "mutable", - "name": "logs", - "nameLocation": "18067:4:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18054:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 4521, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4520, - "name": "ReceiptLog", - "nameLocations": [ - "18054:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "18054:10:7" - }, - "referencedDeclaration": 4622, - "src": "18054:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 4522, - "nodeType": "ArrayTypeName", - "src": "18054:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4525, - "mutability": "mutable", - "name": "logsBloom", - "nameLocation": "18087:9:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18081:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4524, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18081:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4527, - "mutability": "mutable", - "name": "status", - "nameLocation": "18114:6:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18106:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4526, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18106:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4529, - "mutability": "mutable", - "name": "to", - "nameLocation": "18138:2:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18130:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4528, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18130:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4531, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "18158:15:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18150:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4530, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18150:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4533, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "18191:16:7", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "18183:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4532, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18183:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "name": "Receipt", - "nameLocation": "17830:7:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4557, - "nodeType": "StructDefinition", - "src": "18337:227:7", - "canonicalName": "Test.EIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 4537, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "18385:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18376:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18376:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4536, - "nodeType": "ArrayTypeName", - "src": "18376:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4539, - "mutability": "mutable", - "name": "path", - "nameLocation": "18411:4:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18404:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4538, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18404:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4542, - "mutability": "mutable", - "name": "pending", - "nameLocation": "18434:7:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18425:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18425:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4541, - "nodeType": "ArrayTypeName", - "src": "18425:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4546, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "18461:8:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18451:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 4544, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4543, - "name": "Receipt", - "nameLocations": [ - "18451:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "18451:7:7" - }, - "referencedDeclaration": 4534, - "src": "18451:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 4545, - "nodeType": "ArrayTypeName", - "src": "18451:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4548, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "18487:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18479:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4547, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18479:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4552, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "18515:12:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18506:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4550, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4549, - "name": "Tx1559", - "nameLocations": [ - "18506:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "18506:6:7" - }, - "referencedDeclaration": 4401, - "src": "18506:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4551, - "nodeType": "ArrayTypeName", - "src": "18506:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4556, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "18548:9:7", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "18537:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 4554, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4553, - "name": "TxReturn", - "nameLocations": [ - "18537:8:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4627, - "src": "18537:8:7" - }, - "referencedDeclaration": 4627, - "src": "18537:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$4627_storage_ptr", - "typeString": "struct Test.TxReturn" - } - }, - "id": 4555, - "nodeType": "ArrayTypeName", - "src": "18537:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - } - }, - "visibility": "internal" - } - ], - "name": "EIP1559ScriptArtifact", - "nameLocation": "18344:21:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4580, - "nodeType": "StructDefinition", - "src": "18570:236:7", - "canonicalName": "Test.RawEIP1559ScriptArtifact", - "members": [ - { - "constant": false, - "id": 4560, - "mutability": "mutable", - "name": "libraries", - "nameLocation": "18621:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18612:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18612:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4559, - "nodeType": "ArrayTypeName", - "src": "18612:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4562, - "mutability": "mutable", - "name": "path", - "nameLocation": "18647:4:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18640:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18640:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4565, - "mutability": "mutable", - "name": "pending", - "nameLocation": "18670:7:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18661:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 4563, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18661:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 4564, - "nodeType": "ArrayTypeName", - "src": "18661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4569, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "18700:8:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18687:21:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 4567, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4566, - "name": "RawReceipt", - "nameLocations": [ - "18687:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "18687:10:7" - }, - "referencedDeclaration": 4505, - "src": "18687:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 4568, - "nodeType": "ArrayTypeName", - "src": "18687:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4573, - "mutability": "mutable", - "name": "txReturns", - "nameLocation": "18729:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18718:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - }, - "typeName": { - "baseType": { - "id": 4571, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4570, - "name": "TxReturn", - "nameLocations": [ - "18718:8:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4627, - "src": "18718:8:7" - }, - "referencedDeclaration": 4627, - "src": "18718:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_TxReturn_$4627_storage_ptr", - "typeString": "struct Test.TxReturn" - } - }, - "id": 4572, - "nodeType": "ArrayTypeName", - "src": "18718:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_storage_$dyn_storage_ptr", - "typeString": "struct Test.TxReturn[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4575, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "18756:9:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18748:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4574, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4579, - "mutability": "mutable", - "name": "transactions", - "nameLocation": "18787:12:7", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "18775:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4577, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4576, - "name": "RawTx1559", - "nameLocations": [ - "18775:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "18775:9:7" - }, - "referencedDeclaration": 4365, - "src": "18775:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4578, - "nodeType": "ArrayTypeName", - "src": "18775:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "name": "RawEIP1559ScriptArtifact", - "nameLocation": "18577:24:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4602, - "nodeType": "StructDefinition", - "src": "18812:334:7", - "canonicalName": "Test.RawReceiptLog", - "members": [ - { - "constant": false, - "id": 4582, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "18883:10:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18875:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4581, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18875:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4584, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "18911:9:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18903:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4583, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "18903:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4586, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "18936:11:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18930:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4585, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18930:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4588, - "mutability": "mutable", - "name": "data", - "nameLocation": "18963:4:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18957:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4587, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18957:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4590, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "18983:8:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "18977:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4589, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "18977:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4592, - "mutability": "mutable", - "name": "removed", - "nameLocation": "19006:7:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19001:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4591, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19001:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4595, - "mutability": "mutable", - "name": "topics", - "nameLocation": "19033:6:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19023:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4593, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19023:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4594, - "nodeType": "ArrayTypeName", - "src": "19023:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4597, - "mutability": "mutable", - "name": "transactionHash", - "nameLocation": "19057:15:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19049:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4596, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19049:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4599, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "19088:16:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19082:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4598, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19082:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4601, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "19120:19:7", - "nodeType": "VariableDeclaration", - "scope": 4602, - "src": "19114:25:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4600, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19114:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "RawReceiptLog", - "nameLocation": "18819:13:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4622, - "nodeType": "StructDefinition", - "src": "19152:306:7", - "canonicalName": "Test.ReceiptLog", - "members": [ - { - "constant": false, - "id": 4604, - "mutability": "mutable", - "name": "logAddress", - "nameLocation": "19220:10:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19212:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19212:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4606, - "mutability": "mutable", - "name": "blockHash", - "nameLocation": "19248:9:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19240:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 4605, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19240:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4608, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "19275:11:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19267:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4607, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19267:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4610, - "mutability": "mutable", - "name": "data", - "nameLocation": "19302:4:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19296:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4609, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19296:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4612, - "mutability": "mutable", - "name": "logIndex", - "nameLocation": "19324:8:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19316:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4611, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19316:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4615, - "mutability": "mutable", - "name": "topics", - "nameLocation": "19352:6:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19342:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 4613, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "19342:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4614, - "nodeType": "ArrayTypeName", - "src": "19342:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4617, - "mutability": "mutable", - "name": "transactionIndex", - "nameLocation": "19376:16:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19368:24:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4616, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19368:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4619, - "mutability": "mutable", - "name": "transactionLogIndex", - "nameLocation": "19410:19:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19402:27:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4618, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19402:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4621, - "mutability": "mutable", - "name": "removed", - "nameLocation": "19444:7:7", - "nodeType": "VariableDeclaration", - "scope": 4622, - "src": "19439:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4620, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19439:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "name": "ReceiptLog", - "nameLocation": "19159:10:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4627, - "nodeType": "StructDefinition", - "src": "19464:74:7", - "canonicalName": "Test.TxReturn", - "members": [ - { - "constant": false, - "id": 4624, - "mutability": "mutable", - "name": "internalType", - "nameLocation": "19497:12:7", - "nodeType": "VariableDeclaration", - "scope": 4627, - "src": "19490:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4623, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19490:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4626, - "mutability": "mutable", - "name": "value", - "nameLocation": "19526:5:7", - "nodeType": "VariableDeclaration", - "scope": 4627, - "src": "19519:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4625, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19519:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "TxReturn", - "nameLocation": "19471:8:7", - "scope": 5465, - "visibility": "public" - }, - { - "id": 4719, - "nodeType": "FunctionDefinition", - "src": "19545:813:7", - "body": { - "id": 4718, - "nodeType": "Block", - "src": "19667:691:7", - "statements": [ - { - "assignments": [ - 4636 - ], - "declarations": [ - { - "constant": false, - "id": 4636, - "mutability": "mutable", - "name": "data", - "nameLocation": "19691:4:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19677:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4635, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19677:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4641, - "initialValue": { - "arguments": [ - { - "id": 4639, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4629, - "src": "19710:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4637, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "19698:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19701:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "19698:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19698:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19677:38:7" - }, - { - "assignments": [ - 4643 - ], - "declarations": [ - { - "constant": false, - "id": 4643, - "mutability": "mutable", - "name": "parsedData", - "nameLocation": "19738:10:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19725:23:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4642, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19725:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4648, - "initialValue": { - "arguments": [ - { - "id": 4646, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4636, - "src": "19764:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4644, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "19751:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19754:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7557, - "src": "19751:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) external returns (bytes memory)" - } - }, - "id": 4647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19751:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19725:44:7" - }, - { - "assignments": [ - 4651 - ], - "declarations": [ - { - "constant": false, - "id": 4651, - "mutability": "mutable", - "name": "rawArtifact", - "nameLocation": "19811:11:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19779:43:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact" - }, - "typeName": { - "id": 4650, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4649, - "name": "RawEIP1559ScriptArtifact", - "nameLocations": [ - "19779:24:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4580, - "src": "19779:24:7" - }, - "referencedDeclaration": 4580, - "src": "19779:24:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4658, - "initialValue": { - "arguments": [ - { - "id": 4654, - "name": "parsedData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4643, - "src": "19836:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4655, - "name": "RawEIP1559ScriptArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4580, - "src": "19849:24:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "id": 4656, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "19848:26:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawEIP1559ScriptArtifact_$4580_storage_ptr_$", - "typeString": "type(struct Test.RawEIP1559ScriptArtifact storage pointer)" - } - ], - "expression": { - "id": 4652, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19825:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19829:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "19825:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19825:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19779:96:7" - }, - { - "assignments": [ - 4661 - ], - "declarations": [ - { - "constant": false, - "id": 4661, - "mutability": "mutable", - "name": "artifact", - "nameLocation": "19914:8:7", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "19885:37:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4660, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4659, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "19885:21:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4557, - "src": "19885:21:7" - }, - "referencedDeclaration": 4557, - "src": "19885:21:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_storage_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "id": 4662, - "nodeType": "VariableDeclarationStatement", - "src": "19885:37:7" - }, - { - "expression": { - "id": 4668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4663, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "19932:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4665, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "19941:9:7", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 4537, - "src": "19932:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4666, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "19953:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "19965:9:7", - "memberName": "libraries", - "nodeType": "MemberAccess", - "referencedDeclaration": 4560, - "src": "19953:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "19932:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4669, - "nodeType": "ExpressionStatement", - "src": "19932:42:7" - }, - { - "expression": { - "id": 4675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4670, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "19984:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4672, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "19993:4:7", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 4539, - "src": "19984:13:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4673, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20000:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4674, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20012:4:7", - "memberName": "path", - "nodeType": "MemberAccess", - "referencedDeclaration": 4562, - "src": "20000:16:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "19984:32:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4676, - "nodeType": "ExpressionStatement", - "src": "19984:32:7" - }, - { - "expression": { - "id": 4682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4677, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20026:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4679, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20035:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 4548, - "src": "20026:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4680, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20047:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4681, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20059:9:7", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 4575, - "src": "20047:21:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20026:42:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4683, - "nodeType": "ExpressionStatement", - "src": "20026:42:7" - }, - { - "expression": { - "id": 4689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4684, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20078:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4686, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20087:7:7", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 4542, - "src": "20078:16:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4687, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20097:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4688, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20109:7:7", - "memberName": "pending", - "nodeType": "MemberAccess", - "referencedDeclaration": 4565, - "src": "20097:19:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "20078:38:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4690, - "nodeType": "ExpressionStatement", - "src": "20078:38:7" - }, - { - "expression": { - "id": 4696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4691, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20126:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20135:9:7", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 4556, - "src": "20126:18:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4694, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20147:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4695, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20159:9:7", - "memberName": "txReturns", - "nodeType": "MemberAccess", - "referencedDeclaration": 4573, - "src": "20147:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "src": "20126:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_TxReturn_$4627_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.TxReturn memory[] memory" - } - }, - "id": 4697, - "nodeType": "ExpressionStatement", - "src": "20126:42:7" - }, - { - "expression": { - "id": 4705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4698, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20178:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4700, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20187:8:7", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 4546, - "src": "20178:17:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4702, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20221:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4703, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20233:8:7", - "memberName": "receipts", - "nodeType": "MemberAccess", - "referencedDeclaration": 4569, - "src": "20221:20:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - ], - "id": 4701, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5151, - "src": "20198:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory[] memory) pure returns (struct Test.Receipt memory[] memory)" - } - }, - "id": 4704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20198:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "src": "20178:64:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "id": 4706, - "nodeType": "ExpressionStatement", - "src": "20178:64:7" - }, - { - "expression": { - "id": 4714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4707, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20252:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "id": 4709, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20261:12:7", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 4552, - "src": "20252:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4711, - "name": "rawArtifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "20301:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawEIP1559ScriptArtifact_$4580_memory_ptr", - "typeString": "struct Test.RawEIP1559ScriptArtifact memory" - } - }, - "id": 4712, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20313:12:7", - "memberName": "transactions", - "nodeType": "MemberAccess", - "referencedDeclaration": 4579, - "src": "20301:24:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - ], - "id": 4710, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "20276:24:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory[] memory) pure returns (struct Test.Tx1559 memory[] memory)" - } - }, - "id": 4713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20276:50:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "src": "20252:74:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "id": 4715, - "nodeType": "ExpressionStatement", - "src": "20252:74:7" - }, - { - "expression": { - "id": 4716, - "name": "artifact", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "20343:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact memory" - } - }, - "functionReturnParameters": 4634, - "id": 4717, - "nodeType": "Return", - "src": "20336:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readEIP1559ScriptArtifact", - "nameLocation": "19554:25:7", - "parameters": { - "id": 4630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4629, - "mutability": "mutable", - "name": "path", - "nameLocation": "19594:4:7", - "nodeType": "VariableDeclaration", - "scope": 4719, - "src": "19580:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4628, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19580:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19579:20:7" - }, - "returnParameters": { - "id": 4634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4633, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4719, - "src": "19633:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_memory_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - }, - "typeName": { - "id": 4632, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4631, - "name": "EIP1559ScriptArtifact", - "nameLocations": [ - "19633:21:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4557, - "src": "19633:21:7" - }, - "referencedDeclaration": 4557, - "src": "19633:21:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP1559ScriptArtifact_$4557_storage_ptr", - "typeString": "struct Test.EIP1559ScriptArtifact" - } - }, - "visibility": "internal" - } - ], - "src": "19632:30:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4768, - "nodeType": "FunctionDefinition", - "src": "20364:321:7", - "body": { - "id": 4767, - "nodeType": "Block", - "src": "20485:200:7", - "statements": [ - { - "assignments": [ - 4734 - ], - "declarations": [ - { - "constant": false, - "id": 4734, - "mutability": "mutable", - "name": "txs", - "nameLocation": "20511:3:7", - "nodeType": "VariableDeclaration", - "scope": 4767, - "src": "20495:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4732, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4731, - "name": "Tx1559", - "nameLocations": [ - "20495:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20495:6:7" - }, - "referencedDeclaration": 4401, - "src": "20495:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4733, - "nodeType": "ArrayTypeName", - "src": "20495:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4742, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 4739, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20530:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20537:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "20530:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "20517:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.Tx1559 memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 4736, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4735, - "name": "Tx1559", - "nameLocations": [ - "20521:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20521:6:7" - }, - "referencedDeclaration": 4401, - "src": "20521:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4737, - "nodeType": "ArrayTypeName", - "src": "20521:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - } - }, - "id": 4741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20517:27:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20495:49:7" - }, - { - "body": { - "id": 4763, - "nodeType": "Block", - "src": "20591:68:7", - "statements": [ - { - "expression": { - "id": 4761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 4753, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4734, - "src": "20605:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "id": 4755, - "indexExpression": { - "id": 4754, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20609:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "20605:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 4757, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20638:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4759, - "indexExpression": { - "id": 4758, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20645:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20638:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - ], - "id": 4756, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4828, - "src": "20614:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$4365_memory_ptr_$returns$_t_struct$_Tx1559_$4401_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory) pure returns (struct Test.Tx1559 memory)" - } - }, - "id": 4760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20614:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "src": "20605:43:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4762, - "nodeType": "ExpressionStatement", - "src": "20605:43:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 4749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 4746, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20567:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 4747, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4723, - "src": "20571:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "id": 4748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20578:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "20571:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20567:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4764, - "initializationExpression": { - "assignments": [ - 4744 - ], - "declarations": [ - { - "constant": false, - "id": 4744, - "mutability": "mutable", - "name": "i", - "nameLocation": "20564:1:7", - "nodeType": "VariableDeclaration", - "scope": 4764, - "src": "20559:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4743, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20559:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 4745, - "nodeType": "VariableDeclarationStatement", - "src": "20559:6:7" - }, - "loopExpression": { - "expression": { - "id": 4751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "20586:3:7", - "subExpression": { - "id": 4750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4744, - "src": "20586:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4752, - "nodeType": "ExpressionStatement", - "src": "20586:3:7" - }, - "nodeType": "ForStatement", - "src": "20554:105:7" - }, - { - "expression": { - "id": 4765, - "name": "txs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4734, - "src": "20675:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4729, - "id": 4766, - "nodeType": "Return", - "src": "20668:10:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559s", - "nameLocation": "20373:24:7", - "parameters": { - "id": 4724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4723, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "20417:6:7", - "nodeType": "VariableDeclaration", - "scope": 4768, - "src": "20398:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4721, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4720, - "name": "RawTx1559", - "nameLocations": [ - "20398:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "20398:9:7" - }, - "referencedDeclaration": 4365, - "src": "20398:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4722, - "nodeType": "ArrayTypeName", - "src": "20398:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "20397:27:7" - }, - "returnParameters": { - "id": 4729, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4728, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4768, - "src": "20464:15:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4726, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4725, - "name": "Tx1559", - "nameLocations": [ - "20464:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20464:6:7" - }, - "referencedDeclaration": 4401, - "src": "20464:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4727, - "nodeType": "ArrayTypeName", - "src": "20464:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "20463:17:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4828, - "nodeType": "FunctionDefinition", - "src": "20691:498:7", - "body": { - "id": 4827, - "nodeType": "Block", - "src": "20806:383:7", - "statements": [ - { - "assignments": [ - 4779 - ], - "declarations": [ - { - "constant": false, - "id": 4779, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "20830:11:7", - "nodeType": "VariableDeclaration", - "scope": 4827, - "src": "20816:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4778, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4777, - "name": "Tx1559", - "nameLocations": [ - "20816:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20816:6:7" - }, - "referencedDeclaration": 4401, - "src": "20816:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4780, - "nodeType": "VariableDeclarationStatement", - "src": "20816:25:7" - }, - { - "expression": { - "id": 4786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4781, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20851:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4783, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20863:9:7", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 4387, - "src": "20851:21:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4784, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20875:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4785, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20881:9:7", - "memberName": "arguments", - "nodeType": "MemberAccess", - "referencedDeclaration": 4351, - "src": "20875:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "20851:39:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 4787, - "nodeType": "ExpressionStatement", - "src": "20851:39:7" - }, - { - "expression": { - "id": 4793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4788, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20900:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4790, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20912:12:7", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 4391, - "src": "20900:24:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4791, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20927:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4792, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20933:12:7", - "memberName": "contractName", - "nodeType": "MemberAccess", - "referencedDeclaration": 4355, - "src": "20927:18:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "20900:45:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4794, - "nodeType": "ExpressionStatement", - "src": "20900:45:7" - }, - { - "expression": { - "id": 4800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4795, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "20955:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4797, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "20967:11:7", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 4393, - "src": "20955:23:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4798, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "20981:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4799, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "20987:11:7", - "memberName": "functionSig", - "nodeType": "MemberAccess", - "referencedDeclaration": 4357, - "src": "20981:17:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "20955:43:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4801, - "nodeType": "ExpressionStatement", - "src": "20955:43:7" - }, - { - "expression": { - "id": 4807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4802, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21008:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4804, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21020:4:7", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4395, - "src": "21008:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4805, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21026:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4806, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21032:4:7", - "memberName": "hash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4359, - "src": "21026:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "21008:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 4808, - "nodeType": "ExpressionStatement", - "src": "21008:28:7" - }, - { - "expression": { - "id": 4816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4809, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21046:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4811, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21058:8:7", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 4398, - "src": "21046:20:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4813, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21097:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4814, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21103:8:7", - "memberName": "txDetail", - "nodeType": "MemberAccess", - "referencedDeclaration": 4362, - "src": "21097:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - ], - "id": 4812, - "name": "rawToConvertedEIP1559Detail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4908, - "src": "21069:27:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559Detail_$4384_memory_ptr_$returns$_t_struct$_Tx1559Detail_$4420_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559Detail memory) pure returns (struct Test.Tx1559Detail memory)" - } - }, - "id": 4815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21069:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "src": "21046:66:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4817, - "nodeType": "ExpressionStatement", - "src": "21046:66:7" - }, - { - "expression": { - "id": 4823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4818, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21122:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "id": 4820, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21134:6:7", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 4400, - "src": "21122:18:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4821, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4771, - "src": "21142:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "id": 4822, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21148:6:7", - "memberName": "opcode", - "nodeType": "MemberAccess", - "referencedDeclaration": 4364, - "src": "21142:12:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "21122:32:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 4824, - "nodeType": "ExpressionStatement", - "src": "21122:32:7" - }, - { - "expression": { - "id": 4825, - "name": "transaction", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4779, - "src": "21171:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "functionReturnParameters": 4776, - "id": 4826, - "nodeType": "Return", - "src": "21164:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIPTx1559", - "nameLocation": "20700:23:7", - "parameters": { - "id": 4772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4771, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "20741:5:7", - "nodeType": "VariableDeclaration", - "scope": 4828, - "src": "20724:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559" - }, - "typeName": { - "id": 4770, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4769, - "name": "RawTx1559", - "nameLocations": [ - "20724:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "20724:9:7" - }, - "referencedDeclaration": 4365, - "src": "20724:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "src": "20723:24:7" - }, - "returnParameters": { - "id": 4776, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4775, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4828, - "src": "20787:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4774, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4773, - "name": "Tx1559", - "nameLocations": [ - "20787:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "20787:6:7" - }, - "referencedDeclaration": 4401, - "src": "20787:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "20786:15:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4908, - "nodeType": "FunctionDefinition", - "src": "21195:592:7", - "body": { - "id": 4907, - "nodeType": "Block", - "src": "21330:457:7", - "statements": [ - { - "assignments": [ - 4839 - ], - "declarations": [ - { - "constant": false, - "id": 4839, - "mutability": "mutable", - "name": "txDetail", - "nameLocation": "21360:8:7", - "nodeType": "VariableDeclaration", - "scope": 4907, - "src": "21340:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4838, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4837, - "name": "Tx1559Detail", - "nameLocations": [ - "21340:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "21340:12:7" - }, - "referencedDeclaration": 4420, - "src": "21340:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "id": 4840, - "nodeType": "VariableDeclarationStatement", - "src": "21340:28:7" - }, - { - "expression": { - "id": 4846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4841, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21378:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4843, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21387:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4407, - "src": "21378:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4844, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21394:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4845, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21404:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4371, - "src": "21394:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "21378:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 4847, - "nodeType": "ExpressionStatement", - "src": "21378:30:7" - }, - { - "expression": { - "id": 4853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4848, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21418:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4850, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21427:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4409, - "src": "21418:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4851, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21434:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4852, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21444:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4373, - "src": "21434:14:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "21418:30:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4854, - "nodeType": "ExpressionStatement", - "src": "21418:30:7" - }, - { - "expression": { - "id": 4860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4855, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21458:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4857, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21467:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4415, - "src": "21458:11:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4858, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21472:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4859, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21482:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4379, - "src": "21472:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "21458:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4861, - "nodeType": "ExpressionStatement", - "src": "21458:26:7" - }, - { - "expression": { - "id": 4869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4862, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21494:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4864, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21503:5:7", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 4413, - "src": "21494:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4866, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21523:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4867, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21533:5:7", - "memberName": "nonce", - "nodeType": "MemberAccess", - "referencedDeclaration": 4377, - "src": "21523:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4865, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21511:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21511:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21494:45:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4870, - "nodeType": "ExpressionStatement", - "src": "21494:45:7" - }, - { - "expression": { - "id": 4878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4871, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21549:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4873, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21558:6:7", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 4417, - "src": "21549:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4875, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21579:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4876, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21589:6:7", - "memberName": "txType", - "nodeType": "MemberAccess", - "referencedDeclaration": 4381, - "src": "21579:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4874, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21567:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21567:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21549:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4879, - "nodeType": "ExpressionStatement", - "src": "21549:47:7" - }, - { - "expression": { - "id": 4887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4880, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21606:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4882, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21615:5:7", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 4419, - "src": "21606:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4884, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21635:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4885, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21645:5:7", - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 4383, - "src": "21635:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4883, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21623:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21623:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21606:45:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4888, - "nodeType": "ExpressionStatement", - "src": "21606:45:7" - }, - { - "expression": { - "id": 4896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4889, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4891, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21670:3:7", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 4411, - "src": "21661:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 4893, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21688:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21698:3:7", - "memberName": "gas", - "nodeType": "MemberAccess", - "referencedDeclaration": 4375, - "src": "21688:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4892, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "21676:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 4895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21676:26:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21661:41:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4897, - "nodeType": "ExpressionStatement", - "src": "21661:41:7" - }, - { - "expression": { - "id": 4903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 4898, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21712:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "id": 4900, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "21721:10:7", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 4405, - "src": "21712:19:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 4901, - "name": "rawDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4831, - "src": "21734:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail memory" - } - }, - "id": 4902, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21744:10:7", - "memberName": "accessList", - "nodeType": "MemberAccess", - "referencedDeclaration": 4369, - "src": "21734:20:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "src": "21712:42:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_AccessList_$4476_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.AccessList memory[] memory" - } - }, - "id": 4904, - "nodeType": "ExpressionStatement", - "src": "21712:42:7" - }, - { - "expression": { - "id": 4905, - "name": "txDetail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "21771:8:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail memory" - } - }, - "functionReturnParameters": 4836, - "id": 4906, - "nodeType": "Return", - "src": "21764:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedEIP1559Detail", - "nameLocation": "21204:27:7", - "parameters": { - "id": 4832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4831, - "mutability": "mutable", - "name": "rawDetail", - "nameLocation": "21255:9:7", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "21232:32:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_memory_ptr", - "typeString": "struct Test.RawTx1559Detail" - }, - "typeName": { - "id": 4830, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4829, - "name": "RawTx1559Detail", - "nameLocations": [ - "21232:15:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4384, - "src": "21232:15:7" - }, - "referencedDeclaration": 4384, - "src": "21232:15:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559Detail_$4384_storage_ptr", - "typeString": "struct Test.RawTx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "21231:34:7" - }, - "returnParameters": { - "id": 4836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4835, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "21305:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_memory_ptr", - "typeString": "struct Test.Tx1559Detail" - }, - "typeName": { - "id": 4834, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4833, - "name": "Tx1559Detail", - "nameLocations": [ - "21305:12:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4420, - "src": "21305:12:7" - }, - "referencedDeclaration": 4420, - "src": "21305:12:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559Detail_$4420_storage_ptr", - "typeString": "struct Test.Tx1559Detail" - } - }, - "visibility": "internal" - } - ], - "src": "21304:21:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 4950, - "nodeType": "FunctionDefinition", - "src": "21793:382:7", - "body": { - "id": 4949, - "nodeType": "Block", - "src": "21889:286:7", - "statements": [ - { - "assignments": [ - 4918 - ], - "declarations": [ - { - "constant": false, - "id": 4918, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "21913:10:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "21899:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4917, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21899:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4923, - "initialValue": { - "arguments": [ - { - "id": 4921, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4910, - "src": "21938:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4919, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "21926:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "21929:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "21926:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21926:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21899:44:7" - }, - { - "assignments": [ - 4925 - ], - "declarations": [ - { - "constant": false, - "id": 4925, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "21966:16:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "21953:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4924, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "21953:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4931, - "initialValue": { - "arguments": [ - { - "id": 4928, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4918, - "src": "22010:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7472616e73616374696f6e73", - "id": 4929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22022:15:7", - "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": 4926, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "21997:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22000:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "21997:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 4930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21997:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21953:85:7" - }, - { - "assignments": [ - 4936 - ], - "declarations": [ - { - "constant": false, - "id": 4936, - "mutability": "mutable", - "name": "rawTxs", - "nameLocation": "22067:6:7", - "nodeType": "VariableDeclaration", - "scope": 4949, - "src": "22048:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559[]" - }, - "typeName": { - "baseType": { - "id": 4934, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4933, - "name": "RawTx1559", - "nameLocations": [ - "22048:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "22048:9:7" - }, - "referencedDeclaration": 4365, - "src": "22048:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "id": 4935, - "nodeType": "ArrayTypeName", - "src": "22048:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawTx1559[]" - } - }, - "visibility": "internal" - } - ], - "id": 4944, - "initialValue": { - "arguments": [ - { - "id": 4939, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4925, - "src": "22087:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 4940, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4365, - "src": "22106:9:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - }, - "id": 4941, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "22106:11:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - } - ], - "id": 4942, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22105:13:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawTx1559 memory[] memory)" - } - ], - "expression": { - "id": 4937, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22076:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22080:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22076:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22076:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22048:71:7" - }, - { - "expression": { - "arguments": [ - { - "id": 4946, - "name": "rawTxs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4936, - "src": "22161:6:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawTx1559 memory[] memory" - } - ], - "id": 4945, - "name": "rawToConvertedEIPTx1559s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "22136:24:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawTx1559_$4365_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory[] memory) pure returns (struct Test.Tx1559 memory[] memory)" - } - }, - "id": 4947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22136:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559 memory[] memory" - } - }, - "functionReturnParameters": 4916, - "id": 4948, - "nodeType": "Return", - "src": "22129:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559s", - "nameLocation": "21802:11:7", - "parameters": { - "id": 4911, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4910, - "mutability": "mutable", - "name": "path", - "nameLocation": "21828:4:7", - "nodeType": "VariableDeclaration", - "scope": 4950, - "src": "21814:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4909, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21814:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21813:20:7" - }, - "returnParameters": { - "id": 4916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4915, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 4950, - "src": "21868:15:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Tx1559[]" - }, - "typeName": { - "baseType": { - "id": 4913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4912, - "name": "Tx1559", - "nameLocations": [ - "21868:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "21868:6:7" - }, - "referencedDeclaration": 4401, - "src": "21868:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "id": 4914, - "nodeType": "ArrayTypeName", - "src": "21868:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Tx1559_$4401_storage_$dyn_storage_ptr", - "typeString": "struct Test.Tx1559[]" - } - }, - "visibility": "internal" - } - ], - "src": "21867:17:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5005, - "nodeType": "FunctionDefinition", - "src": "22182:471:7", - "body": { - "id": 5004, - "nodeType": "Block", - "src": "22290:363:7", - "statements": [ - { - "assignments": [ - 4961 - ], - "declarations": [ - { - "constant": false, - "id": 4961, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "22314:10:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22300:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4960, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22300:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4966, - "initialValue": { - "arguments": [ - { - "id": 4964, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4952, - "src": "22339:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4962, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22327:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22330:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "22327:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 4965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22327:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22300:44:7" - }, - { - "assignments": [ - 4968 - ], - "declarations": [ - { - "constant": false, - "id": 4968, - "mutability": "mutable", - "name": "key", - "nameLocation": "22368:3:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22354:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22354:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 4981, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e7472616e73616374696f6e735b", - "id": 4973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22398:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7abc4cdd6094bba2d56cb8a26083c756a68ba4e3b40f345f8102e1fc2249cd5c", - "typeString": "literal_string \".transactions[\"" - }, - "value": ".transactions[" - }, - { - "arguments": [ - { - "id": 4976, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4954, - "src": "22427:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4974, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22415:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22418:8:7", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 7293, - "src": "22415:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) external returns (string memory)" - } - }, - "id": 4977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22415:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 4978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22435:3:7", - "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": 4971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22381:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22385:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "22381:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 4979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22381:58:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "22374:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 4969, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22374:6:7", - "typeDescriptions": {} - } - }, - "id": 4980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22374:66:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22354:86:7" - }, - { - "assignments": [ - 4983 - ], - "declarations": [ - { - "constant": false, - "id": 4983, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "22463:16:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22450:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22450:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 4989, - "initialValue": { - "arguments": [ - { - "id": 4986, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4961, - "src": "22507:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4987, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4968, - "src": "22519:3:7", - "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": 4984, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22494:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 4985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22497:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "22494:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 4988, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22494:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22450:73:7" - }, - { - "assignments": [ - 4992 - ], - "declarations": [ - { - "constant": false, - "id": 4992, - "mutability": "mutable", - "name": "rawTx", - "nameLocation": "22550:5:7", - "nodeType": "VariableDeclaration", - "scope": 5004, - "src": "22533:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559" - }, - "typeName": { - "id": 4991, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4990, - "name": "RawTx1559", - "nameLocations": [ - "22533:9:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4365, - "src": "22533:9:7" - }, - "referencedDeclaration": 4365, - "src": "22533:9:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_storage_ptr", - "typeString": "struct Test.RawTx1559" - } - }, - "visibility": "internal" - } - ], - "id": 4999, - "initialValue": { - "arguments": [ - { - "id": 4995, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4983, - "src": "22569:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 4996, - "name": "RawTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4365, - "src": "22588:9:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - } - ], - "id": 4997, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "22587:11:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawTx1559_$4365_storage_ptr_$", - "typeString": "type(struct Test.RawTx1559 storage pointer)" - } - ], - "expression": { - "id": 4993, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22558:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22562:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22558:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 4998, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22558:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22533:66:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5001, - "name": "rawTx", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4992, - "src": "22640:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawTx1559_$4365_memory_ptr", - "typeString": "struct Test.RawTx1559 memory" - } - ], - "id": 5000, - "name": "rawToConvertedEIPTx1559", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4828, - "src": "22616:23:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawTx1559_$4365_memory_ptr_$returns$_t_struct$_Tx1559_$4401_memory_ptr_$", - "typeString": "function (struct Test.RawTx1559 memory) pure returns (struct Test.Tx1559 memory)" - } - }, - "id": 5002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22616:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559 memory" - } - }, - "functionReturnParameters": 4959, - "id": 5003, - "nodeType": "Return", - "src": "22609:37:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readTx1559", - "nameLocation": "22191:10:7", - "parameters": { - "id": 4955, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4952, - "mutability": "mutable", - "name": "path", - "nameLocation": "22216:4:7", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22202:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4951, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22202:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4954, - "mutability": "mutable", - "name": "index", - "nameLocation": "22230:5:7", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22222:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4953, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22201:35:7" - }, - "returnParameters": { - "id": 4959, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4958, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5005, - "src": "22271:13:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_memory_ptr", - "typeString": "struct Test.Tx1559" - }, - "typeName": { - "id": 4957, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 4956, - "name": "Tx1559", - "nameLocations": [ - "22271:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4401, - "src": "22271:6:7" - }, - "referencedDeclaration": 4401, - "src": "22271:6:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Tx1559_$4401_storage_ptr", - "typeString": "struct Test.Tx1559" - } - }, - "visibility": "internal" - } - ], - "src": "22270:15:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5047, - "nodeType": "FunctionDefinition", - "src": "22716:378:7", - "body": { - "id": 5046, - "nodeType": "Block", - "src": "22814:280:7", - "statements": [ - { - "assignments": [ - 5015 - ], - "declarations": [ - { - "constant": false, - "id": 5015, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "22838:10:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22824:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5014, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22824:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5020, - "initialValue": { - "arguments": [ - { - "id": 5018, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5007, - "src": "22863:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5016, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22851:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22854:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "22851:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 5019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22851:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22824:44:7" - }, - { - "assignments": [ - 5022 - ], - "declarations": [ - { - "constant": false, - "id": 5022, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "22891:16:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22878:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5021, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "22878:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5028, - "initialValue": { - "arguments": [ - { - "id": 5025, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5015, - "src": "22923:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "2e7265636569707473", - "id": 5026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22935:11:7", - "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": 5023, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "22910:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "22913:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "22910:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 5027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22910:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22878:69:7" - }, - { - "assignments": [ - 5033 - ], - "declarations": [ - { - "constant": false, - "id": 5033, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "22977:11:7", - "nodeType": "VariableDeclaration", - "scope": 5046, - "src": "22957:31:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 5031, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5030, - "name": "RawReceipt", - "nameLocations": [ - "22957:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "22957:10:7" - }, - "referencedDeclaration": 4505, - "src": "22957:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 5032, - "nodeType": "ArrayTypeName", - "src": "22957:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 5041, - "initialValue": { - "arguments": [ - { - "id": 5036, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5022, - "src": "23002:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 5037, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4505, - "src": "23021:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - }, - "id": 5038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "23021:12:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - } - ], - "id": 5039, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "23020:14:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Test.RawReceipt memory[] memory)" - } - ], - "expression": { - "id": 5034, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22991:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22995:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "22991:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22991:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "22957:78:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5043, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5033, - "src": "23075:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - ], - "id": 5042, - "name": "rawToConvertedReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5151, - "src": "23052:22:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory[] memory) pure returns (struct Test.Receipt memory[] memory)" - } - }, - "id": 5044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23052:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "functionReturnParameters": 5013, - "id": 5045, - "nodeType": "Return", - "src": "23045:42:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipts", - "nameLocation": "22725:12:7", - "parameters": { - "id": 5008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5007, - "mutability": "mutable", - "name": "path", - "nameLocation": "22752:4:7", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "22738:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22737:20:7" - }, - "returnParameters": { - "id": 5013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5012, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "22792:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5009, - "name": "Receipt", - "nameLocations": [ - "22792:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "22792:7:7" - }, - "referencedDeclaration": 4534, - "src": "22792:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5011, - "nodeType": "ArrayTypeName", - "src": "22792:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "22791:18:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5102, - "nodeType": "FunctionDefinition", - "src": "23100:464:7", - "body": { - "id": 5101, - "nodeType": "Block", - "src": "23207:357:7", - "statements": [ - { - "assignments": [ - 5058 - ], - "declarations": [ - { - "constant": false, - "id": 5058, - "mutability": "mutable", - "name": "deployData", - "nameLocation": "23231:10:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23217:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5057, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23217:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5063, - "initialValue": { - "arguments": [ - { - "id": 5061, - "name": "path", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5049, - "src": "23256:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5059, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23244:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23247:8:7", - "memberName": "readFile", - "nodeType": "MemberAccess", - "referencedDeclaration": 7222, - "src": "23244:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (string memory) external returns (string memory)" - } - }, - "id": 5062, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23244:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23217:44:7" - }, - { - "assignments": [ - 5065 - ], - "declarations": [ - { - "constant": false, - "id": 5065, - "mutability": "mutable", - "name": "key", - "nameLocation": "23285:3:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23271:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23271:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 5078, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "2e72656365697074735b", - "id": 5070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23315:12:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f28b72ce547907c2ae0f1bd0fd1ff00aeea8e573cc3e4076246f258e653d170", - "typeString": "literal_string \".receipts[\"" - }, - "value": ".receipts[" - }, - { - "arguments": [ - { - "id": 5073, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5051, - "src": "23340:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5071, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23328:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23331:8:7", - "memberName": "toString", - "nodeType": "MemberAccess", - "referencedDeclaration": 7293, - "src": "23328:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$_t_string_memory_ptr_$", - "typeString": "function (uint256) external returns (string memory)" - } - }, - "id": 5074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23328:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "hexValue": "5d", - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23348:3:7", - "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": 5068, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23298:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23302:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "23298:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23298:54:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "23291:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 5066, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23291:6:7", - "typeDescriptions": {} - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23291:62:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23271:82:7" - }, - { - "assignments": [ - 5080 - ], - "declarations": [ - { - "constant": false, - "id": 5080, - "mutability": "mutable", - "name": "parsedDeployData", - "nameLocation": "23376:16:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23363:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5079, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "23363:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5086, - "initialValue": { - "arguments": [ - { - "id": 5083, - "name": "deployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5058, - "src": "23408:10:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5084, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5065, - "src": "23420:3:7", - "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": 5081, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2303, - "src": "23395:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23398:9:7", - "memberName": "parseJson", - "nodeType": "MemberAccess", - "referencedDeclaration": 7550, - "src": "23395:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory) external returns (bytes memory)" - } - }, - "id": 5085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23395:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23363:61:7" - }, - { - "assignments": [ - 5089 - ], - "declarations": [ - { - "constant": false, - "id": 5089, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "23452:10:7", - "nodeType": "VariableDeclaration", - "scope": 5101, - "src": "23434:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt" - }, - "typeName": { - "id": 5088, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5087, - "name": "RawReceipt", - "nameLocations": [ - "23434:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23434:10:7" - }, - "referencedDeclaration": 4505, - "src": "23434:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "id": 5096, - "initialValue": { - "arguments": [ - { - "id": 5092, - "name": "parsedDeployData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5080, - "src": "23476:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 5093, - "name": "RawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4505, - "src": "23495:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - } - ], - "id": 5094, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "23494:12:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_RawReceipt_$4505_storage_ptr_$", - "typeString": "type(struct Test.RawReceipt storage pointer)" - } - ], - "expression": { - "id": 5090, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23465:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23469:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "23465:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 5095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23465:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23434:73:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5098, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5089, - "src": "23546:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - ], - "id": 5097, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "23524:21:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$4505_memory_ptr_$returns$_t_struct$_Receipt_$4534_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory) pure returns (struct Test.Receipt memory)" - } - }, - "id": 5099, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23524:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "functionReturnParameters": 5056, - "id": 5100, - "nodeType": "Return", - "src": "23517:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "readReceipt", - "nameLocation": "23109:11:7", - "parameters": { - "id": 5052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5049, - "mutability": "mutable", - "name": "path", - "nameLocation": "23135:4:7", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23121:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5048, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23121:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5051, - "mutability": "mutable", - "name": "index", - "nameLocation": "23146:5:7", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23141:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5050, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23141:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23120:32:7" - }, - "returnParameters": { - "id": 5056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5055, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5102, - "src": "23187:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5054, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5053, - "name": "Receipt", - "nameLocations": [ - "23187:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23187:7:7" - }, - "referencedDeclaration": 4534, - "src": "23187:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "23186:16:7" - }, - "scope": 5465, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5151, - "nodeType": "FunctionDefinition", - "src": "23570:355:7", - "body": { - "id": 5150, - "nodeType": "Block", - "src": "23695:230:7", - "statements": [ - { - "assignments": [ - 5117 - ], - "declarations": [ - { - "constant": false, - "id": 5117, - "mutability": "mutable", - "name": "receipts", - "nameLocation": "23722:8:7", - "nodeType": "VariableDeclaration", - "scope": 5150, - "src": "23705:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5115, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5114, - "name": "Receipt", - "nameLocations": [ - "23705:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23705:7:7" - }, - "referencedDeclaration": 4534, - "src": "23705:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5116, - "nodeType": "ArrayTypeName", - "src": "23705:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "id": 5125, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 5122, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23747:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23759:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "23747:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "23733:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.Receipt memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 5119, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5118, - "name": "Receipt", - "nameLocations": [ - "23737:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23737:7:7" - }, - "referencedDeclaration": 4534, - "src": "23737:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5120, - "nodeType": "ArrayTypeName", - "src": "23737:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - } - }, - "id": 5124, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23733:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "23705:61:7" - }, - { - "body": { - "id": 5146, - "nodeType": "Block", - "src": "23818:76:7", - "statements": [ - { - "expression": { - "id": 5144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 5136, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "23832:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "id": 5138, - "indexExpression": { - "id": 5137, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23841:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "23832:11:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5140, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23868:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5142, - "indexExpression": { - "id": 5141, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23880:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "23868:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - ], - "id": 5139, - "name": "rawToConvertedReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "23846:21:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_RawReceipt_$4505_memory_ptr_$returns$_t_struct$_Receipt_$4534_memory_ptr_$", - "typeString": "function (struct Test.RawReceipt memory) pure returns (struct Test.Receipt memory)" - } - }, - "id": 5143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23846:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "src": "23832:51:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5145, - "nodeType": "ExpressionStatement", - "src": "23832:51:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5129, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23789:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5130, - "name": "rawReceipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "23793:11:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt memory[] memory" - } - }, - "id": 5131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "23805:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "23793:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "23789:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5147, - "initializationExpression": { - "assignments": [ - 5127 - ], - "declarations": [ - { - "constant": false, - "id": 5127, - "mutability": "mutable", - "name": "i", - "nameLocation": "23786:1:7", - "nodeType": "VariableDeclaration", - "scope": 5147, - "src": "23781:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23781:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5128, - "nodeType": "VariableDeclarationStatement", - "src": "23781:6:7" - }, - "loopExpression": { - "expression": { - "id": 5134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "23813:3:7", - "subExpression": { - "id": 5133, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5127, - "src": "23813:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5135, - "nodeType": "ExpressionStatement", - "src": "23813:3:7" - }, - "nodeType": "ForStatement", - "src": "23776:118:7" - }, - { - "expression": { - "id": 5148, - "name": "receipts", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "23910:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt memory[] memory" - } - }, - "functionReturnParameters": 5112, - "id": 5149, - "nodeType": "Return", - "src": "23903:15:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipts", - "nameLocation": "23579:22:7", - "parameters": { - "id": 5107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5106, - "mutability": "mutable", - "name": "rawReceipts", - "nameLocation": "23622:11:7", - "nodeType": "VariableDeclaration", - "scope": 5151, - "src": "23602:31:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceipt[]" - }, - "typeName": { - "baseType": { - "id": 5104, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5103, - "name": "RawReceipt", - "nameLocations": [ - "23602:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23602:10:7" - }, - "referencedDeclaration": 4505, - "src": "23602:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "id": 5105, - "nodeType": "ArrayTypeName", - "src": "23602:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceipt_$4505_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "23601:33:7" - }, - "returnParameters": { - "id": 5112, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5111, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5151, - "src": "23673:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.Receipt[]" - }, - "typeName": { - "baseType": { - "id": 5109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5108, - "name": "Receipt", - "nameLocations": [ - "23673:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "23673:7:7" - }, - "referencedDeclaration": 4534, - "src": "23673:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "id": 5110, - "nodeType": "ArrayTypeName", - "src": "23673:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Receipt_$4534_storage_$dyn_storage_ptr", - "typeString": "struct Test.Receipt[]" - } - }, - "visibility": "internal" - } - ], - "src": "23672:18:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5272, - "nodeType": "FunctionDefinition", - "src": "23931:966:7", - "body": { - "id": 5271, - "nodeType": "Block", - "src": "24050:847:7", - "statements": [ - { - "assignments": [ - 5162 - ], - "declarations": [ - { - "constant": false, - "id": 5162, - "mutability": "mutable", - "name": "receipt", - "nameLocation": "24075:7:7", - "nodeType": "VariableDeclaration", - "scope": 5271, - "src": "24060:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5161, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5160, - "name": "Receipt", - "nameLocations": [ - "24060:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "24060:7:7" - }, - "referencedDeclaration": 4534, - "src": "24060:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "id": 5163, - "nodeType": "VariableDeclarationStatement", - "src": "24060:22:7" - }, - { - "expression": { - "id": 5169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5164, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24092:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5166, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24100:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4507, - "src": "24092:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5167, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24112:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5168, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24123:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4478, - "src": "24112:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "24092:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5170, - "nodeType": "ExpressionStatement", - "src": "24092:40:7" - }, - { - "expression": { - "id": 5176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5171, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24142:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5173, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24150:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4529, - "src": "24142:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5174, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24155:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5175, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24166:2:7", - "memberName": "to", - "nodeType": "MemberAccess", - "referencedDeclaration": 4500, - "src": "24155:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24142:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5177, - "nodeType": "ExpressionStatement", - "src": "24142:26:7" - }, - { - "expression": { - "id": 5183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5178, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24178:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5180, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24186:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4517, - "src": "24178:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5181, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24193:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5182, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24204:4:7", - "memberName": "from", - "nodeType": "MemberAccess", - "referencedDeclaration": 4488, - "src": "24193:15:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24178:30:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5184, - "nodeType": "ExpressionStatement", - "src": "24178:30:7" - }, - { - "expression": { - "id": 5190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5185, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24218:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5187, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24226:15:7", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4511, - "src": "24218:23:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5188, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24244:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5189, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24255:15:7", - "memberName": "contractAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4482, - "src": "24244:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "24218:52:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5191, - "nodeType": "ExpressionStatement", - "src": "24218:52:7" - }, - { - "expression": { - "id": 5199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5192, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24280:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5194, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24288:17:7", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 4515, - "src": "24280:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5196, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24320:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24331:17:7", - "memberName": "effectiveGasPrice", - "nodeType": "MemberAccess", - "referencedDeclaration": 4486, - "src": "24320:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5195, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24308:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24308:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24280:69:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5200, - "nodeType": "ExpressionStatement", - "src": "24280:69:7" - }, - { - "expression": { - "id": 5208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5201, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24359:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5203, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24367:17:7", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4513, - "src": "24359:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5205, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24398:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5206, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24409:17:7", - "memberName": "cumulativeGasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4484, - "src": "24398:28:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5204, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24386:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24386:41:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24359:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5209, - "nodeType": "ExpressionStatement", - "src": "24359:68:7" - }, - { - "expression": { - "id": 5217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5210, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24437:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5212, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24445:7:7", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4519, - "src": "24437:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5214, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24467:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5215, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24478:7:7", - "memberName": "gasUsed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4490, - "src": "24467:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5213, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24455:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24455:31:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24437:49:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5218, - "nodeType": "ExpressionStatement", - "src": "24437:49:7" - }, - { - "expression": { - "id": 5226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5219, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24496:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5221, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24504:6:7", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 4527, - "src": "24496:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5223, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24525:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5224, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24536:6:7", - "memberName": "status", - "nodeType": "MemberAccess", - "referencedDeclaration": 4498, - "src": "24525:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5222, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24513:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24513:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24496:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5227, - "nodeType": "ExpressionStatement", - "src": "24496:47:7" - }, - { - "expression": { - "id": 5235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5228, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24553:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5230, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24561:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4533, - "src": "24553:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5232, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24592:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5233, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24603:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4504, - "src": "24592:27:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5231, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24580:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24580:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24553:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5236, - "nodeType": "ExpressionStatement", - "src": "24553:67:7" - }, - { - "expression": { - "id": 5244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5237, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24630:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5239, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24638:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4509, - "src": "24630:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5241, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24664:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5242, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24675:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4480, - "src": "24664:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5240, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "24652:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24652:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "24630:57:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5245, - "nodeType": "ExpressionStatement", - "src": "24630:57:7" - }, - { - "expression": { - "id": 5253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5246, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24697:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5248, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24705:4:7", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 4523, - "src": "24697:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 5250, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24738:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5251, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24749:4:7", - "memberName": "logs", - "nodeType": "MemberAccess", - "referencedDeclaration": 4494, - "src": "24738:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - ], - "id": 5249, - "name": "rawToConvertedReceiptLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5409, - "src": "24712:25:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr_$returns$_t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (struct Test.RawReceiptLog memory[] memory) pure returns (struct Test.ReceiptLog memory[] memory)" - } - }, - "id": 5252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24712:42:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "src": "24697:57:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5254, - "nodeType": "ExpressionStatement", - "src": "24697:57:7" - }, - { - "expression": { - "id": 5260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5255, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24764:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5257, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24772:9:7", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 4525, - "src": "24764:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5258, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24784:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5259, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24795:9:7", - "memberName": "logsBloom", - "nodeType": "MemberAccess", - "referencedDeclaration": 4496, - "src": "24784:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "24764:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5261, - "nodeType": "ExpressionStatement", - "src": "24764:40:7" - }, - { - "expression": { - "id": 5267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 5262, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24814:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "id": 5264, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "24822:15:7", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4531, - "src": "24814:23:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 5265, - "name": "rawReceipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "24840:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt memory" - } - }, - "id": 5266, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "24851:15:7", - "memberName": "transactionHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4502, - "src": "24840:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "24814:52:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5268, - "nodeType": "ExpressionStatement", - "src": "24814:52:7" - }, - { - "expression": { - "id": 5269, - "name": "receipt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5162, - "src": "24883:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt memory" - } - }, - "functionReturnParameters": 5159, - "id": 5270, - "nodeType": "Return", - "src": "24876:14:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceipt", - "nameLocation": "23940:21:7", - "parameters": { - "id": 5155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5154, - "mutability": "mutable", - "name": "rawReceipt", - "nameLocation": "23980:10:7", - "nodeType": "VariableDeclaration", - "scope": 5272, - "src": "23962:28:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_memory_ptr", - "typeString": "struct Test.RawReceipt" - }, - "typeName": { - "id": 5153, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5152, - "name": "RawReceipt", - "nameLocations": [ - "23962:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4505, - "src": "23962:10:7" - }, - "referencedDeclaration": 4505, - "src": "23962:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceipt_$4505_storage_ptr", - "typeString": "struct Test.RawReceipt" - } - }, - "visibility": "internal" - } - ], - "src": "23961:30:7" - }, - "returnParameters": { - "id": 5159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5158, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5272, - "src": "24030:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_memory_ptr", - "typeString": "struct Test.Receipt" - }, - "typeName": { - "id": 5157, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5156, - "name": "Receipt", - "nameLocations": [ - "24030:7:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4534, - "src": "24030:7:7" - }, - "referencedDeclaration": 4534, - "src": "24030:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Receipt_$4534_storage_ptr", - "typeString": "struct Test.Receipt" - } - }, - "visibility": "internal" - } - ], - "src": "24029:16:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5409, - "nodeType": "FunctionDefinition", - "src": "24903:843:7", - "body": { - "id": 5408, - "nodeType": "Block", - "src": "25034:712:7", - "statements": [ - { - "assignments": [ - 5287 - ], - "declarations": [ - { - "constant": false, - "id": 5287, - "mutability": "mutable", - "name": "logs", - "nameLocation": "25064:4:7", - "nodeType": "VariableDeclaration", - "scope": 5408, - "src": "25044:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5284, - "name": "ReceiptLog", - "nameLocations": [ - "25044:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25044:10:7" - }, - "referencedDeclaration": 4622, - "src": "25044:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5286, - "nodeType": "ArrayTypeName", - "src": "25044:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "id": 5295, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 5292, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25088:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25096:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25088:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5291, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "25071:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Test.ReceiptLog memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 5289, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5288, - "name": "ReceiptLog", - "nameLocations": [ - "25075:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25075:10:7" - }, - "referencedDeclaration": 4622, - "src": "25075:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5290, - "nodeType": "ArrayTypeName", - "src": "25075:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - } - }, - "id": 5294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25071:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "25044:59:7" - }, - { - "body": { - "id": 5404, - "nodeType": "Block", - "src": "25151:567:7", - "statements": [ - { - "expression": { - "id": 5314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5306, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25165:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5308, - "indexExpression": { - "id": 5307, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25170:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25165:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5309, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25173:10:7", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4604, - "src": "25165:18:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5310, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25186:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5312, - "indexExpression": { - "id": 5311, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25194:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25186:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5313, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25197:10:7", - "memberName": "logAddress", - "nodeType": "MemberAccess", - "referencedDeclaration": 4582, - "src": "25186:21:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "25165:42:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5315, - "nodeType": "ExpressionStatement", - "src": "25165:42:7" - }, - { - "expression": { - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5316, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25221:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5318, - "indexExpression": { - "id": 5317, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25226:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25221:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25229:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4606, - "src": "25221:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5320, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25241:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5322, - "indexExpression": { - "id": 5321, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25249:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25241:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25252:9:7", - "memberName": "blockHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 4584, - "src": "25241:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "25221:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5325, - "nodeType": "ExpressionStatement", - "src": "25221:40:7" - }, - { - "expression": { - "id": 5336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5326, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25275:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5328, - "indexExpression": { - "id": 5327, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25280:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5329, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25283:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4608, - "src": "25275:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5331, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25309:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5333, - "indexExpression": { - "id": 5332, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25317:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25309:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5334, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25320:11:7", - "memberName": "blockNumber", - "nodeType": "MemberAccess", - "referencedDeclaration": 4586, - "src": "25309:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5330, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25297:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25297:35:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25275:57:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5337, - "nodeType": "ExpressionStatement", - "src": "25275:57:7" - }, - { - "expression": { - "id": 5346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5338, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25346:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5340, - "indexExpression": { - "id": 5339, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25351:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25346:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5341, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25354:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4610, - "src": "25346:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5342, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25361:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5344, - "indexExpression": { - "id": 5343, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25369:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25361:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5345, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25372:4:7", - "memberName": "data", - "nodeType": "MemberAccess", - "referencedDeclaration": 4588, - "src": "25361:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "src": "25346:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5347, - "nodeType": "ExpressionStatement", - "src": "25346:30:7" - }, - { - "expression": { - "id": 5358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5348, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25390:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5350, - "indexExpression": { - "id": 5349, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25395:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25390:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5351, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25398:8:7", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4612, - "src": "25390:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5353, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25421:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5355, - "indexExpression": { - "id": 5354, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25429:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25421:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5356, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25432:8:7", - "memberName": "logIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4590, - "src": "25421:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5352, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25409:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25409:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25390:51:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5359, - "nodeType": "ExpressionStatement", - "src": "25390:51:7" - }, - { - "expression": { - "id": 5368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5360, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25455:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5362, - "indexExpression": { - "id": 5361, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25460:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25455:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5363, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25463:6:7", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 4615, - "src": "25455:14:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5364, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25472:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5366, - "indexExpression": { - "id": 5365, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25480:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25472:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5367, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25483:6:7", - "memberName": "topics", - "nodeType": "MemberAccess", - "referencedDeclaration": 4595, - "src": "25472:17:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "src": "25455:34:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5369, - "nodeType": "ExpressionStatement", - "src": "25455:34:7" - }, - { - "expression": { - "id": 5380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5370, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25503:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5372, - "indexExpression": { - "id": 5371, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25508:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25503:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5373, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25511:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4617, - "src": "25503:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5375, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25542:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5377, - "indexExpression": { - "id": 5376, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25550:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25542:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5378, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25553:16:7", - "memberName": "transactionIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4599, - "src": "25542:27:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5374, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25530:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25530:40:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25503:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5381, - "nodeType": "ExpressionStatement", - "src": "25503:67:7" - }, - { - "expression": { - "id": 5392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5382, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25584:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5384, - "indexExpression": { - "id": 5383, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25589:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25584:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5385, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25592:19:7", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4619, - "src": "25584:27:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 5387, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25626:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5389, - "indexExpression": { - "id": 5388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25634:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25626:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5390, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25637:19:7", - "memberName": "transactionLogIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 4601, - "src": "25626:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5386, - "name": "bytesToUint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5464, - "src": "25614:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes memory) pure returns (uint256)" - } - }, - "id": 5391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25614:43:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25584:73:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5393, - "nodeType": "ExpressionStatement", - "src": "25584:73:7" - }, - { - "expression": { - "id": 5402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "baseExpression": { - "id": 5394, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25671:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "id": 5396, - "indexExpression": { - "id": 5395, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25676:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25671:7:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_memory_ptr", - "typeString": "struct Test.ReceiptLog memory" - } - }, - "id": 5397, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "25679:7:7", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4621, - "src": "25671:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 5398, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25689:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5400, - "indexExpression": { - "id": 5399, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25697:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25689:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory" - } - }, - "id": 5401, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25700:7:7", - "memberName": "removed", - "nodeType": "MemberAccess", - "referencedDeclaration": 4592, - "src": "25689:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "25671:36:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5403, - "nodeType": "ExpressionStatement", - "src": "25671:36:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25126:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5300, - "name": "rawLogs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "25130:7:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog memory[] memory" - } - }, - "id": 5301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25138:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25130:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25126:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5405, - "initializationExpression": { - "assignments": [ - 5297 - ], - "declarations": [ - { - "constant": false, - "id": 5297, - "mutability": "mutable", - "name": "i", - "nameLocation": "25123:1:7", - "nodeType": "VariableDeclaration", - "scope": 5405, - "src": "25118:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5296, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25118:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5298, - "nodeType": "VariableDeclarationStatement", - "src": "25118:6:7" - }, - "loopExpression": { - "expression": { - "id": 5304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "25146:3:7", - "subExpression": { - "id": 5303, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "25146:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5305, - "nodeType": "ExpressionStatement", - "src": "25146:3:7" - }, - "nodeType": "ForStatement", - "src": "25113:605:7" - }, - { - "expression": { - "id": 5406, - "name": "logs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "25734:4:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog memory[] memory" - } - }, - "functionReturnParameters": 5282, - "id": 5407, - "nodeType": "Return", - "src": "25727:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "rawToConvertedReceiptLogs", - "nameLocation": "24912:25:7", - "parameters": { - "id": 5277, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5276, - "mutability": "mutable", - "name": "rawLogs", - "nameLocation": "24961:7:7", - "nodeType": "VariableDeclaration", - "scope": 5409, - "src": "24938:30:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.RawReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5274, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5273, - "name": "RawReceiptLog", - "nameLocations": [ - "24938:13:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4602, - "src": "24938:13:7" - }, - "referencedDeclaration": 4602, - "src": "24938:13:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_RawReceiptLog_$4602_storage_ptr", - "typeString": "struct Test.RawReceiptLog" - } - }, - "id": 5275, - "nodeType": "ArrayTypeName", - "src": "24938:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_RawReceiptLog_$4602_storage_$dyn_storage_ptr", - "typeString": "struct Test.RawReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "24937:32:7" - }, - "returnParameters": { - "id": 5282, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5281, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5409, - "src": "25009:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Test.ReceiptLog[]" - }, - "typeName": { - "baseType": { - "id": 5279, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5278, - "name": "ReceiptLog", - "nameLocations": [ - "25009:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 4622, - "src": "25009:10:7" - }, - "referencedDeclaration": 4622, - "src": "25009:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_ReceiptLog_$4622_storage_ptr", - "typeString": "struct Test.ReceiptLog" - } - }, - "id": 5280, - "nodeType": "ArrayTypeName", - "src": "25009:12:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_ReceiptLog_$4622_storage_$dyn_storage_ptr", - "typeString": "struct Test.ReceiptLog[]" - } - }, - "visibility": "internal" - } - ], - "src": "25008:21:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 5464, - "nodeType": "FunctionDefinition", - "src": "25752:267:7", - "body": { - "id": 5463, - "nodeType": "Block", - "src": "25820:199:7", - "statements": [ - { - "assignments": [ - 5417 - ], - "declarations": [ - { - "constant": false, - "id": 5417, - "mutability": "mutable", - "name": "number", - "nameLocation": "25842:6:7", - "nodeType": "VariableDeclaration", - "scope": 5463, - "src": "25834:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25834:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5418, - "nodeType": "VariableDeclarationStatement", - "src": "25834:14:7" - }, - { - "body": { - "id": 5459, - "nodeType": "Block", - "src": "25896:94:7", - "statements": [ - { - "expression": { - "id": 5457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5430, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "25914:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5431, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "25923:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "baseExpression": { - "id": 5436, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25943:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5438, - "indexExpression": { - "id": 5437, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25945:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "25943:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 5435, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "25937:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 5434, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "25937:5:7", - "typeDescriptions": {} - } - }, - "id": 5439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25937:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "id": 5433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "25932:4:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5432, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25932:4:7", - "typeDescriptions": {} - } - }, - "id": 5440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25932:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "32", - "id": 5441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25951:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "BinaryOperation", - "operator": "**", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "38", - "id": 5442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25955:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5443, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25958:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25960:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25958:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5445, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25968:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 5446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25970:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "25968:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5448, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25967:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25958:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5450, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25957:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25955:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5452, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25954:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25951:23:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5454, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "25950:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25932:43:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25923:52:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25914:61:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5458, - "nodeType": "ExpressionStatement", - "src": "25914:61:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5423, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25877:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5424, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5411, - "src": "25881:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 5425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "25883:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "25881:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "25877:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5460, - "initializationExpression": { - "assignments": [ - 5420 - ], - "declarations": [ - { - "constant": false, - "id": 5420, - "mutability": "mutable", - "name": "i", - "nameLocation": "25872:1:7", - "nodeType": "VariableDeclaration", - "scope": 5460, - "src": "25867:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5419, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25867:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5422, - "initialValue": { - "hexValue": "30", - "id": 5421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25874:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "25867:8:7" - }, - "loopExpression": { - "expression": { - "id": 5428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "25891:3:7", - "subExpression": { - "id": 5427, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5420, - "src": "25891:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5429, - "nodeType": "ExpressionStatement", - "src": "25891:3:7" - }, - "nodeType": "ForStatement", - "src": "25862:128:7" - }, - { - "expression": { - "id": 5461, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5417, - "src": "26006:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5415, - "id": 5462, - "nodeType": "Return", - "src": "25999:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToUint", - "nameLocation": "25761:11:7", - "parameters": { - "id": 5412, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5411, - "mutability": "mutable", - "name": "b", - "nameLocation": "25786:1:7", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "25773:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5410, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "25773:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "25772:16:7" - }, - "returnParameters": { - "id": 5415, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5414, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "25812:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5413, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25812:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25811:9:7" - }, - "scope": 5465, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 2901, - "name": "DSTest", - "nameLocations": [ - "224:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2272, - "src": "224:6:7" - }, - "id": 2902, - "nodeType": "InheritanceSpecifier", - "src": "224:6:7" - }, - { - "baseName": { - "id": 2903, - "name": "Script", - "nameLocations": [ - "232:6:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 2535, - "src": "232:6:7" - }, - "id": 2904, - "nodeType": "InheritanceSpecifier", - "src": "232:6:7" - } - ], - "canonicalName": "Test", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5465, - 2535, - 2272 - ], - "name": "Test", - "nameLocation": "216:4:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 5535, - "nodeType": "ContractDefinition", - "src": "26222:984:7", - "nodes": [ - { - "id": 5472, - "nodeType": "VariableDeclaration", - "src": "26245:86:7", - "constant": true, - "functionSelector": "10332977", - "mutability": "constant", - "name": "assertionError", - "nameLocation": "26267:14:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26245:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26308:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783031", - "id": 5470, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26326: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": 5467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26284:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26288:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26284: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": 5471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26284:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5479, - "nodeType": "VariableDeclaration", - "src": "26337:87:7", - "constant": true, - "functionSelector": "8995290f", - "mutability": "constant", - "name": "arithmeticError", - "nameLocation": "26359:15:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5473, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26337:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26401:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783131", - "id": 5477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26419: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": 5474, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26377:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26381:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26377: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": 5478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26377:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5486, - "nodeType": "VariableDeclaration", - "src": "26430:85:7", - "constant": true, - "functionSelector": "fa784a44", - "mutability": "constant", - "name": "divisionError", - "nameLocation": "26452:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5480, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26430:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26492:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783132", - "id": 5484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26510: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": 5481, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26468:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26472:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26468: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": 5485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26468:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5493, - "nodeType": "VariableDeclaration", - "src": "26521:91:7", - "constant": true, - "functionSelector": "1de45560", - "mutability": "constant", - "name": "enumConversionError", - "nameLocation": "26543:19:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5487, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26521:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26589:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783231", - "id": 5491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26607: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": 5488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26565:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26569:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26565: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": 5492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26565:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5500, - "nodeType": "VariableDeclaration", - "src": "26618:90:7", - "constant": true, - "functionSelector": "d160e4de", - "mutability": "constant", - "name": "encodeStorageError", - "nameLocation": "26640:18:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5494, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26618:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26685:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783232", - "id": 5498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26703: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": 5495, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26661:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26665:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26661: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": 5499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26661:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5507, - "nodeType": "VariableDeclaration", - "src": "26714:80:7", - "constant": true, - "functionSelector": "b22dc54d", - "mutability": "constant", - "name": "popError", - "nameLocation": "26736:8:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5501, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26771:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783331", - "id": 5505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26789: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": 5502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26747:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26751:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26747: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": 5506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26747:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5514, - "nodeType": "VariableDeclaration", - "src": "26800:85:7", - "constant": true, - "functionSelector": "05ee8612", - "mutability": "constant", - "name": "indexOOBError", - "nameLocation": "26822:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5508, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26800:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5511, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26862:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783332", - "id": 5512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26880: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": 5509, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26838:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26842:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26838: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": 5513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26838:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5521, - "nodeType": "VariableDeclaration", - "src": "26891:88:7", - "constant": true, - "functionSelector": "986c5f68", - "mutability": "constant", - "name": "memOverflowError", - "nameLocation": "26913:16:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5515, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26891:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26956:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783431", - "id": 5519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26974: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": 5516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26932:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26936:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26932: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": 5520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26932:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5528, - "nodeType": "VariableDeclaration", - "src": "26985:84:7", - "constant": true, - "functionSelector": "b67689da", - "mutability": "constant", - "name": "zeroVarError", - "nameLocation": "27007:12:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5522, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "26985:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "50616e69632875696e7432353629", - "id": 5525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27046:16:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e487b71539e0164c9d29506cc725e49342bcac15e0927282bf30fedfe1c7268", - "typeString": "literal_string \"Panic(uint256)\"" - }, - "value": "Panic(uint256)" - }, - { - "hexValue": "30783531", - "id": 5526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27064: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": 5523, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27022:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27026:19:7", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27022: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": 5527, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27022:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "visibility": "public" - }, - { - "id": 5534, - "nodeType": "VariableDeclaration", - "src": "27148:47:7", - "constant": true, - "functionSelector": "ac3d92c6", - "mutability": "constant", - "name": "lowLevelError", - "nameLocation": "27170:13:7", - "scope": 5535, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5529, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "27148:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": { - "arguments": [ - { - "hexValue": "", - "id": 5532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27192:2:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 5531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "27186:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5530, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "27186:5:7", - "typeDescriptions": {} - } - }, - "id": 5533, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27186:9: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": [ - 5535 - ], - "name": "stdError", - "nameLocation": "26230:8:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 5563, - "nodeType": "StructDefinition", - "src": "27407:275:7", - "canonicalName": "StdStorage", - "members": [ - { - "constant": false, - "id": 5543, - "mutability": "mutable", - "name": "slots", - "nameLocation": "27499:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27431:73:7", - "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": 5542, - "keyType": { - "id": 5536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27440:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "27431:67:7", - "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": 5541, - "keyType": { - "id": 5537, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27459:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "27451:46:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - }, - "valueType": { - "id": 5540, - "keyType": { - "id": 5538, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27477:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "27469:27:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - }, - "valueType": { - "id": 5539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27488:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5551, - "mutability": "mutable", - "name": "finds", - "nameLocation": "27576:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27510:71:7", - "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": 5550, - "keyType": { - "id": 5544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27519:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "27510:65:7", - "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": 5549, - "keyType": { - "id": 5545, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27538:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "27530:44:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - }, - "valueType": { - "id": 5548, - "keyType": { - "id": 5546, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27557:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Mapping", - "src": "27549:24:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - }, - "valueType": { - "id": 5547, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27568:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5554, - "mutability": "mutable", - "name": "_keys", - "nameLocation": "27598:5:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27588:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5552, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27588:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5553, - "nodeType": "ArrayTypeName", - "src": "27588:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5556, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "27616:4:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27609:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5555, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27609:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5558, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "27634:6:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27626:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27626:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5560, - "mutability": "mutable", - "name": "_target", - "nameLocation": "27654:7:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27646:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5559, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27646:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5562, - "mutability": "mutable", - "name": "_set", - "nameLocation": "27675:4:7", - "nodeType": "VariableDeclaration", - "scope": 5563, - "src": "27667:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5561, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27667:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "name": "StdStorage", - "nameLocation": "27414:10:7", - "scope": 6805, - "visibility": "public" - }, - { - "id": 6665, - "nodeType": "ContractDefinition", - "src": "27684:8875:7", - "nodes": [ - { - "id": 5573, - "nodeType": "EventDefinition", - "src": "27709:71:7", - "anonymous": false, - "eventSelector": "9c9555b1e3102e3cf48f427d79cb678f5d9bd1ed0ad574389461e255f95170ed", - "name": "SlotFound", - "nameLocation": "27715:9:7", - "parameters": { - "id": 5572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5565, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "27733:3:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27725:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27725:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5567, - "indexed": false, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "27745:4:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27738:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5566, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "27738:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5569, - "indexed": false, - "mutability": "mutable", - "name": "keysHash", - "nameLocation": "27759:8:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27751:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5568, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "27751:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5571, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "27774:4:7", - "nodeType": "VariableDeclaration", - "scope": 5573, - "src": "27769:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27769:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27724:55:7" - } - }, - { - "id": 5579, - "nodeType": "EventDefinition", - "src": "27785:51:7", - "anonymous": false, - "eventSelector": "080fc4a96620c4462e705b23f346413fe3796bb63c6f8d8591baec0e231577a5", - "name": "WARNING_UninitedSlot", - "nameLocation": "27791:20:7", - "parameters": { - "id": 5578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5575, - "indexed": false, - "mutability": "mutable", - "name": "who", - "nameLocation": "27820:3:7", - "nodeType": "VariableDeclaration", - "scope": 5579, - "src": "27812:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27812:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5577, - "indexed": false, - "mutability": "mutable", - "name": "slot", - "nameLocation": "27830:4:7", - "nodeType": "VariableDeclaration", - "scope": 5579, - "src": "27825:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5576, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27825:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27811:24:7" - } - }, - { - "id": 5582, - "nodeType": "VariableDeclaration", - "src": "27842:117:7", - "constant": true, - "mutability": "constant", - "name": "UINT256_MAX", - "nameLocation": "27867:11:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27842:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335", - "id": 5581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27881:78:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1", - "typeString": "int_const 1157...(70 digits omitted)...9935" - }, - "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935" - }, - "visibility": "private" - }, - { - "id": 5585, - "nodeType": "VariableDeclaration", - "src": "27965:114:7", - "constant": true, - "mutability": "constant", - "name": "INT256_MAX", - "nameLocation": "27989:10:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 5583, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "27965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393637", - "id": 5584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28002:77:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9967" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819967" - }, - "visibility": "private" - }, - { - "id": 5602, - "nodeType": "VariableDeclaration", - "src": "28086:94:7", - "constant": true, - "mutability": "constant", - "name": "vm_std_store", - "nameLocation": "28106:12:7", - "scope": 6665, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - }, - "typeName": { - "id": 5587, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5586, - "name": "Vm", - "nameLocations": [ - "28086:2:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 7558, - "src": "28086:2:7" - }, - "referencedDeclaration": 7558, - "src": "28086:2:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 5596, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28158:17:7", - "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": 5595, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "28148:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28148:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28140:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5593, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28140:7:7", - "typeDescriptions": {} - } - }, - "id": 5598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28140:37:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28132:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 5591, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "28132:7:7", - "typeDescriptions": {} - } - }, - "id": 5599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28132:46:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 5590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28124:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5589, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28124:7:7", - "typeDescriptions": {} - } - }, - "id": 5600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28124:55:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5588, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7558, - "src": "28121:2:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$7558_$", - "typeString": "type(contract Vm)" - } - }, - "id": 5601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28121:59:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "visibility": "private" - }, - { - "id": 5620, - "nodeType": "FunctionDefinition", - "src": "28187:165:7", - "body": { - "id": 5619, - "nodeType": "Block", - "src": "28296:56:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 5614, - "name": "sigStr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5604, - "src": "28336:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 5613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28330:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 5612, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "28330:5:7", - "typeDescriptions": {} - } - }, - "id": 5615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28330:13:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5611, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "28320:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28320:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "28313:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 5609, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "28313:6:7", - "typeDescriptions": {} - } - }, - "id": 5617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28313:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "functionReturnParameters": 5608, - "id": 5618, - "nodeType": "Return", - "src": "28306:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sigs", - "nameLocation": "28196:4:7", - "parameters": { - "id": 5605, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5604, - "mutability": "mutable", - "name": "sigStr", - "nameLocation": "28224:6:7", - "nodeType": "VariableDeclaration", - "scope": 5620, - "src": "28210:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5603, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28210:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28200:36:7" - }, - "returnParameters": { - "id": 5608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5607, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 5620, - "src": "28284:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5606, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "28284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "28283:8:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6065, - "nodeType": "FunctionDefinition", - "src": "28866:3214:7", - "body": { - "id": 6064, - "nodeType": "Block", - "src": "28966:3114:7", - "statements": [ - { - "assignments": [ - 5630 - ], - "declarations": [ - { - "constant": false, - "id": 5630, - "mutability": "mutable", - "name": "who", - "nameLocation": "28984:3:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "28976:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5629, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28976:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 5633, - "initialValue": { - "expression": { - "id": 5631, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "28990:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5632, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "28995:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "28990:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "28976:26:7" - }, - { - "assignments": [ - 5635 - ], - "declarations": [ - { - "constant": false, - "id": 5635, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "29019:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29012:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 5634, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "29012:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 5638, - "initialValue": { - "expression": { - "id": 5636, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29026:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5637, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29031:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "29026:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29012:23:7" - }, - { - "assignments": [ - 5640 - ], - "declarations": [ - { - "constant": false, - "id": 5640, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "29053:11:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29045:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5639, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29045:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5643, - "initialValue": { - "expression": { - "id": 5641, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29067:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5642, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29072:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "29067:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29045:33:7" - }, - { - "assignments": [ - 5648 - ], - "declarations": [ - { - "constant": false, - "id": 5648, - "mutability": "mutable", - "name": "ins", - "nameLocation": "29105:3:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29088:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5646, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29088:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5647, - "nodeType": "ArrayTypeName", - "src": "29088:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 5651, - "initialValue": { - "expression": { - "id": 5649, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29111:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5650, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29116:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "29111:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29088:33:7" - }, - { - "condition": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5652, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5653, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29177:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "29172:10:7", - "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": 5655, - "indexExpression": { - "id": 5654, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29183:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5657, - "indexExpression": { - "id": 5656, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29188:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5665, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5661, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29221:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5662, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29226:11:7", - "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": 5659, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29204:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29208:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29204:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29204:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5658, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "29194:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29194:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29172:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5682, - "nodeType": "IfStatement", - "src": "29168:174:7", - "trueBody": { - "id": 5681, - "nodeType": "Block", - "src": "29242:100:7", - "statements": [ - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5666, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "29263:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5667, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29268:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "29263:10:7", - "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": 5669, - "indexExpression": { - "id": 5668, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29274:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5671, - "indexExpression": { - "id": 5670, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29279:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5679, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5675, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29312:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5676, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29317:11:7", - "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": 5673, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29295:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29299:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29295:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29295:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5672, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "29285:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29285:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29263:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5628, - "id": 5680, - "nodeType": "Return", - "src": "29256:75:7" - } - ] - } - }, - { - "assignments": [ - 5684 - ], - "declarations": [ - { - "constant": false, - "id": 5684, - "mutability": "mutable", - "name": "cald", - "nameLocation": "29364:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29351:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5683, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "29351:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5692, - "initialValue": { - "arguments": [ - { - "id": 5687, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "29388:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 5689, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "29402:3:7", - "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": 5688, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6664, - "src": "29394:7:7", - "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": 5690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29394:12:7", - "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": 5685, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29371:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29375:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "29371:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29371:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29351:56:7" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 5693, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29417:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29430:6:7", - "memberName": "record", - "nodeType": "MemberAccess", - "referencedDeclaration": 7081, - "src": "29417:19:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", - "typeString": "function () external" - } - }, - "id": 5696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29417:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5697, - "nodeType": "ExpressionStatement", - "src": "29417:21:7" - }, - { - "assignments": [ - 5699 - ], - "declarations": [ - { - "constant": false, - "id": 5699, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "29456:4:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29448:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5698, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29448:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5700, - "nodeType": "VariableDeclarationStatement", - "src": "29448:12:7" - }, - { - "id": 5717, - "nodeType": "Block", - "src": "29470:126:7", - "statements": [ - { - "assignments": [ - null, - 5702 - ], - "declarations": [ - null, - { - "constant": false, - "id": 5702, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "29500:4:7", - "nodeType": "VariableDeclaration", - "scope": 5717, - "src": "29487:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "29487:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5707, - "initialValue": { - "arguments": [ - { - "id": 5705, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5684, - "src": "29523:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5703, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29508:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29512:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "29508:14:7", - "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": 5706, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29508:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29484:44:7" - }, - { - "expression": { - "id": 5715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5708, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "29542:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5710, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "29564:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5711, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29570:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 5712, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "29573:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "29570:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5709, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "29549:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 5714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29549:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29542:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5716, - "nodeType": "ExpressionStatement", - "src": "29542:43:7" - } - ] - }, - { - "assignments": [ - 5722, - null - ], - "declarations": [ - { - "constant": false, - "id": 5722, - "mutability": "mutable", - "name": "reads", - "nameLocation": "29624:5:7", - "nodeType": "VariableDeclaration", - "scope": 6064, - "src": "29607:22:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 5720, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29607:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5721, - "nodeType": "ArrayTypeName", - "src": "29607:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - null - ], - "id": 5730, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 5727, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29665:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29657:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 5725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29657:7:7", - "typeDescriptions": {} - } - }, - "id": 5728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29657:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5723, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29635:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29648:8:7", - "memberName": "accesses", - "nodeType": "MemberAccess", - "referencedDeclaration": 7092, - "src": "29635:21:7", - "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": 5729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29635:35:7", - "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": "29606:64:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5731, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29684:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29690:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "29684:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 5733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29700:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "29684:17:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 5833, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30393:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30399:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "30393:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "31", - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30408:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "30393:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6012, - "nodeType": "Block", - "src": "31631:107:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31653:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a204e6f2073746f726167652075736520646574656374656420666f72207461726765742e", - "id": 6009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31660:66:7", - "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": 6007, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "31645:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31645:82:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6011, - "nodeType": "ExpressionStatement", - "src": "31645:82:7" - } - ] - }, - "id": 6013, - "nodeType": "IfStatement", - "src": "30389:1349:7", - "trueBody": { - "id": 6006, - "nodeType": "Block", - "src": "30411:1214:7", - "statements": [ - { - "body": { - "id": 6004, - "nodeType": "Block", - "src": "30468:1147:7", - "statements": [ - { - "assignments": [ - 5849 - ], - "declarations": [ - { - "constant": false, - "id": 5849, - "mutability": "mutable", - "name": "prev", - "nameLocation": "30494:4:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30486:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5848, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30486:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5857, - "initialValue": { - "arguments": [ - { - "id": 5852, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30519:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5853, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30524:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5855, - "indexExpression": { - "id": 5854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30530:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30524:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 5850, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "30501:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30514:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "30501:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 5856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30501:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "30486:47:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5858, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "30555:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 5861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30571:1:7", - "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": 5860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30563:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5859, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30563:7:7", - "typeDescriptions": {} - } - }, - "id": 5862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30563:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "30555:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5875, - "nodeType": "IfStatement", - "src": "30551:114:7", - "trueBody": { - "id": 5874, - "nodeType": "Block", - "src": "30575:90:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5865, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30623:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5868, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30636:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5870, - "indexExpression": { - "id": 5869, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30642:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30636:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30628:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5866, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30628:7:7", - "typeDescriptions": {} - } - }, - "id": 5871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30628:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5864, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "30602:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30602:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5873, - "nodeType": "EmitStatement", - "src": "30597:49:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5879, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30726:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5880, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30731:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5882, - "indexExpression": { - "id": 5881, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30737:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30731:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "hexValue": "1337", - "id": 5885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30749:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 5884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30741:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5883, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "30741:7:7", - "typeDescriptions": {} - } - }, - "id": 5886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30741:18:7", - "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": 5876, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "30707:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30720:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "30707:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 5887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30707:53:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5888, - "nodeType": "ExpressionStatement", - "src": "30707:53:7" - }, - { - "assignments": [ - 5890 - ], - "declarations": [ - { - "constant": false, - "id": 5890, - "mutability": "mutable", - "name": "success", - "nameLocation": "30783:7:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30778:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5889, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30778:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "id": 5891, - "nodeType": "VariableDeclarationStatement", - "src": "30778:12:7" - }, - { - "assignments": [ - 5893 - ], - "declarations": [ - { - "constant": false, - "id": 5893, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "30821:4:7", - "nodeType": "VariableDeclaration", - "scope": 6004, - "src": "30808:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5892, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "30808:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 5894, - "nodeType": "VariableDeclarationStatement", - "src": "30808:17:7" - }, - { - "id": 5913, - "nodeType": "Block", - "src": "30843:144:7", - "statements": [ - { - "expression": { - "id": 5902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "components": [ - { - "id": 5895, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5890, - "src": "30866:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5896, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "30875:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 5897, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "TupleExpression", - "src": "30865:15:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5900, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5684, - "src": "30898:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 5898, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30883:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30887:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "30883:14:7", - "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": 5901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30883:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "src": "30865:38:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5903, - "nodeType": "ExpressionStatement", - "src": "30865:38:7" - }, - { - "expression": { - "id": 5911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 5904, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "30925:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 5906, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "30947:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 5907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30953:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 5908, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30956:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30953:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5905, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "30932:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 5910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30932:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "30925:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 5912, - "nodeType": "ExpressionStatement", - "src": "30925:43:7" - } - ] - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5914, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5890, - "src": "31009:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5915, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "31020:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "1337", - "id": 5918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "hexString", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31036:9:7", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - }, - "value": "\u00137" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2636a8beb2c41b8ccafa9a55a5a5e333892a83b491df3a67d2768946a9f9c6dc", - "typeString": "literal_string hex\"1337\"" - } - ], - "id": 5917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31028:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5916, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "31028:7:7", - "typeDescriptions": {} - } - }, - "id": 5919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31028:18:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "31020:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "31009:37:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5993, - "nodeType": "IfStatement", - "src": "31005:539:7", - "trueBody": { - "id": 5992, - "nodeType": "Block", - "src": "31048:496:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5923, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31154:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5924, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31159:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 5928, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31192:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5929, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31197:11:7", - "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": 5926, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31175:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31179:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31175:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31175:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5925, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31165:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31165:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5934, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31220:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5936, - "indexExpression": { - "id": 5935, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31226:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31220:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31212:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31212:7:7", - "typeDescriptions": {} - } - }, - "id": 5937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31212:17:7", - "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": 5922, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "31144:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 5938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31144:86:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5939, - "nodeType": "EmitStatement", - "src": "31139:91:7" - }, - { - "expression": { - "id": 5961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5940, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31252:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5951, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31257:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "31252:10:7", - "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": 5952, - "indexExpression": { - "id": 5942, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31263:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31252:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5953, - "indexExpression": { - "id": 5943, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31268:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31252:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5954, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5947, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31301:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5948, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31306:11:7", - "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": 5945, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31284:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5946, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31288:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31284:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31284:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5944, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31274:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31274:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "31252:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5957, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31331:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5959, - "indexExpression": { - "id": 5958, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31337:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31331:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5956, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "31323:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5955, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31323:7:7", - "typeDescriptions": {} - } - }, - "id": 5960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31323:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "31252:88:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5962, - "nodeType": "ExpressionStatement", - "src": "31252:88:7" - }, - { - "expression": { - "id": 5979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5963, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31362:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31367:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "31362:10:7", - "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": 5975, - "indexExpression": { - "id": 5965, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31373:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31362:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5976, - "indexExpression": { - "id": 5966, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31378:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31362:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5977, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5970, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31411:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5971, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31416:11:7", - "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": 5968, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31394:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5969, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31398:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31394:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31394:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5967, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31384:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31384:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "31362:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 5978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31433:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "31362:75:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5980, - "nodeType": "ExpressionStatement", - "src": "31362:75:7" - }, - { - "expression": { - "arguments": [ - { - "id": 5984, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31478:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5985, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31483:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5987, - "indexExpression": { - "id": 5986, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31489:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31483:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 5988, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "31493:4:7", - "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": 5981, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "31459:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31472:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "31459:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 5989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31459:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5990, - "nodeType": "ExpressionStatement", - "src": "31459:39:7" - }, - { - "id": 5991, - "nodeType": "Break", - "src": "31520:5:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 5997, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31580:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5998, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "31585:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6000, - "indexExpression": { - "id": 5999, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "31591:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31585:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6001, - "name": "prev", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "31595:4:7", - "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": 5994, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "31561:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31574:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "31561:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31561:39:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6003, - "nodeType": "ExpressionStatement", - "src": "31561:39:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5841, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30445:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 5842, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30449:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30455:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "30449:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30445:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6005, - "initializationExpression": { - "assignments": [ - 5838 - ], - "declarations": [ - { - "constant": false, - "id": 5838, - "mutability": "mutable", - "name": "i", - "nameLocation": "30438:1:7", - "nodeType": "VariableDeclaration", - "scope": 6005, - "src": "30430:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30430:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 5840, - "initialValue": { - "hexValue": "30", - "id": 5839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30442:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "30430:13:7" - }, - "loopExpression": { - "expression": { - "id": 5846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "30463:3:7", - "subExpression": { - "id": 5845, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5838, - "src": "30463:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5847, - "nodeType": "ExpressionStatement", - "src": "30463:3:7" - }, - "nodeType": "ForStatement", - "src": "30425:1190:7" - } - ] - } - }, - "id": 6014, - "nodeType": "IfStatement", - "src": "29680:2058:7", - "trueBody": { - "id": 5832, - "nodeType": "Block", - "src": "29703:680:7", - "statements": [ - { - "assignments": [ - 5736 - ], - "declarations": [ - { - "constant": false, - "id": 5736, - "mutability": "mutable", - "name": "curr", - "nameLocation": "29725:4:7", - "nodeType": "VariableDeclaration", - "scope": 5832, - "src": "29717:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 5735, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29717:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 5744, - "initialValue": { - "arguments": [ - { - "id": 5739, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29750:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "baseExpression": { - "id": 5740, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29755:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5742, - "indexExpression": { - "hexValue": "30", - "id": 5741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29761:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29755:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 5737, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "29732:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 5738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "29745:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "29732:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 5743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29732:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "29717:47:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5745, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "29782:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 5748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29798:1:7", - "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": 5747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 5746, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "29790:7:7", - "typeDescriptions": {} - } - }, - "id": 5749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29790:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29782:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5762, - "nodeType": "IfStatement", - "src": "29778:106:7", - "trueBody": { - "id": 5761, - "nodeType": "Block", - "src": "29802:82:7", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "id": 5752, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "29846:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5755, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "29859:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5757, - "indexExpression": { - "hexValue": "30", - "id": 5756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29865:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "29859:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "29851:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5753, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29851:7:7", - "typeDescriptions": {} - } - }, - "id": 5758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29851:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5751, - "name": "WARNING_UninitedSlot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "29825:20:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29825:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5760, - "nodeType": "EmitStatement", - "src": "29820:49:7" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 5765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 5763, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5699, - "src": "29901:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 5764, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "29909:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "29901:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5772, - "nodeType": "IfStatement", - "src": "29897:180:7", - "trueBody": { - "id": 5771, - "nodeType": "Block", - "src": "29915:162:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 5767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29941:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 5768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29948:113:7", - "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": 5766, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "29933:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29933:129:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5770, - "nodeType": "ExpressionStatement", - "src": "29933:129:7" - } - ] - } - }, - { - "eventCall": { - "arguments": [ - { - "id": 5774, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30105:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5775, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30110:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "id": 5779, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30143:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5780, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30148:11:7", - "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": 5777, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30126:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30130:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30126:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30126:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5776, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30116:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30116:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "baseExpression": { - "id": 5785, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30171:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5787, - "indexExpression": { - "hexValue": "30", - "id": 5786, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30177:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30171:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30163:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30163:7:7", - "typeDescriptions": {} - } - }, - "id": 5788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30163:17:7", - "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": 5773, - "name": "SlotFound", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "30095:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes4_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (address,bytes4,bytes32,uint256)" - } - }, - "id": 5789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30095:86:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5790, - "nodeType": "EmitStatement", - "src": "30090:91:7" - }, - { - "expression": { - "id": 5812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5791, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "30195:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30200:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "30195:10:7", - "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": 5803, - "indexExpression": { - "id": 5793, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30206:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30195:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 5804, - "indexExpression": { - "id": 5794, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30211:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30195:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 5805, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5798, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30244:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5799, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30249:11:7", - "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": 5796, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30227:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30231:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30227:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30227:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5795, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30217:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30217:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "30195:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "baseExpression": { - "id": 5808, - "name": "reads", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5722, - "src": "30274:5:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 5810, - "indexExpression": { - "hexValue": "30", - "id": 5809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30280:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30274:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 5807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "30266:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 5806, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30266:7:7", - "typeDescriptions": {} - } - }, - "id": 5811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30266:17:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "30195:88:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5813, - "nodeType": "ExpressionStatement", - "src": "30195:88:7" - }, - { - "expression": { - "id": 5830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 5814, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "30297:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 5825, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "30302:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "30297:10:7", - "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": 5826, - "indexExpression": { - "id": 5816, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "30308:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30297:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 5827, - "indexExpression": { - "id": 5817, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "30313:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "30297:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 5828, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 5821, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "30346:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 5822, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "30351:11:7", - "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": 5819, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30329:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5820, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30333:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "30329:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 5823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30329:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5818, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "30319:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 5824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30319:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "30297:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 5829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30368:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "30297:75:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5831, - "nodeType": "ExpressionStatement", - "src": "30297:75:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6016, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31756:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6017, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "31761:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "31756:10:7", - "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": 6019, - "indexExpression": { - "id": 6018, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "31767:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6021, - "indexExpression": { - "id": 6020, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "31772:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6029, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6025, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "31805:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6026, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "31810:11:7", - "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": 6023, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31788:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31792:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "31788:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31788:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6022, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "31778:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6028, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31778:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "31756:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a20536c6f74287329206e6f7420666f756e642e", - "id": 6030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31826:49:7", - "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": 6015, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "31748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31748:128:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6032, - "nodeType": "ExpressionStatement", - "src": "31748:128:7" - }, - { - "expression": { - "id": 6035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31887:19:7", - "subExpression": { - "expression": { - "id": 6033, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6034, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31899:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "31894:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6036, - "nodeType": "ExpressionStatement", - "src": "31887:19:7" - }, - { - "expression": { - "id": 6039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31916:16:7", - "subExpression": { - "expression": { - "id": 6037, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31923:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6038, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31928:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "31923:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6040, - "nodeType": "ExpressionStatement", - "src": "31916:16:7" - }, - { - "expression": { - "id": 6043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31942:17:7", - "subExpression": { - "expression": { - "id": 6041, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31949:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6042, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31954:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "31949:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6044, - "nodeType": "ExpressionStatement", - "src": "31942:17:7" - }, - { - "expression": { - "id": 6047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "31969:18:7", - "subExpression": { - "expression": { - "id": 6045, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "31976:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6046, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "31981:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "31976:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6048, - "nodeType": "ExpressionStatement", - "src": "31969:18:7" - }, - { - "expression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6049, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5624, - "src": "32005:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6050, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32010:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "32005:10:7", - "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": 6052, - "indexExpression": { - "id": 6051, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "32016:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6054, - "indexExpression": { - "id": 6053, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5635, - "src": "32021:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6062, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6058, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5648, - "src": "32054:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6059, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "32059:11:7", - "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": 6056, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32037:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32041:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "32037:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32037:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6055, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "32027:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32027:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "32005:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5628, - "id": 6063, - "nodeType": "Return", - "src": "31998:75:7" - } - ] - }, - "documentation": { - "id": 5621, - "nodeType": "StructuredDocumentation", - "src": "28358:129:7", - "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": "28875:4:7", - "parameters": { - "id": 5625, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5624, - "mutability": "mutable", - "name": "self", - "nameLocation": "28908:4:7", - "nodeType": "VariableDeclaration", - "scope": 6065, - "src": "28889:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 5623, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 5622, - "name": "StdStorage", - "nameLocations": [ - "28889:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "28889:10:7" - }, - "referencedDeclaration": 5563, - "src": "28889:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "28879:39:7" - }, - "returnParameters": { - "id": 5628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5627, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6065, - "src": "28953:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5626, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28952:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6085, - "nodeType": "FunctionDefinition", - "src": "32086:156:7", - "body": { - "id": 6084, - "nodeType": "Block", - "src": "32182:60:7", - "statements": [ - { - "expression": { - "id": 6080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6076, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "32192:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32197:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "32192:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6079, - "name": "_target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6070, - "src": "32207:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "32192:22:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6081, - "nodeType": "ExpressionStatement", - "src": "32192:22:7" - }, - { - "expression": { - "id": 6082, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6068, - "src": "32231:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6075, - "id": 6083, - "nodeType": "Return", - "src": "32224:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "target", - "nameLocation": "32095:6:7", - "parameters": { - "id": 6071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6068, - "mutability": "mutable", - "name": "self", - "nameLocation": "32121:4:7", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32102:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6067, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6066, - "name": "StdStorage", - "nameLocations": [ - "32102:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32102:10:7" - }, - "referencedDeclaration": 5563, - "src": "32102:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6070, - "mutability": "mutable", - "name": "_target", - "nameLocation": "32135:7:7", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32127:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32127:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32101:42:7" - }, - "returnParameters": { - "id": 6075, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6074, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6085, - "src": "32162:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6073, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6072, - "name": "StdStorage", - "nameLocations": [ - "32162:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32162:10:7" - }, - "referencedDeclaration": 5563, - "src": "32162:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32161:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6105, - "nodeType": "FunctionDefinition", - "src": "32248:143:7", - "body": { - "id": 6104, - "nodeType": "Block", - "src": "32337:54:7", - "statements": [ - { - "expression": { - "id": 6100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6096, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "32347:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6098, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32352:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "32347:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6099, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6090, - "src": "32359:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "32347:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6101, - "nodeType": "ExpressionStatement", - "src": "32347:16:7" - }, - { - "expression": { - "id": 6102, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "32380:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6095, - "id": 6103, - "nodeType": "Return", - "src": "32373:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "32257:3:7", - "parameters": { - "id": 6091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6088, - "mutability": "mutable", - "name": "self", - "nameLocation": "32280:4:7", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32261:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6087, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6086, - "name": "StdStorage", - "nameLocations": [ - "32261:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32261:10:7" - }, - "referencedDeclaration": 5563, - "src": "32261:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6090, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "32293:4:7", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32286:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6089, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "32286:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "32260:38:7" - }, - "returnParameters": { - "id": 6095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6094, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6105, - "src": "32317:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6093, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6092, - "name": "StdStorage", - "nameLocations": [ - "32317:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32317:10:7" - }, - "referencedDeclaration": 5563, - "src": "32317:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32316:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6127, - "nodeType": "FunctionDefinition", - "src": "32397:156:7", - "body": { - "id": 6126, - "nodeType": "Block", - "src": "32493:60:7", - "statements": [ - { - "expression": { - "id": 6122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6116, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6108, - "src": "32503:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "32508:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "32503:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6120, - "name": "_sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6110, - "src": "32520:4:7", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 6119, - "name": "sigs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5620, - "src": "32515:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_string_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (string memory) pure returns (bytes4)" - } - }, - "id": 6121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32515:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "32503:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 6123, - "nodeType": "ExpressionStatement", - "src": "32503:22:7" - }, - { - "expression": { - "id": 6124, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6108, - "src": "32542:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6115, - "id": 6125, - "nodeType": "Return", - "src": "32535:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sig", - "nameLocation": "32406:3:7", - "parameters": { - "id": 6111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6108, - "mutability": "mutable", - "name": "self", - "nameLocation": "32429:4:7", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32410:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6107, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6106, - "name": "StdStorage", - "nameLocations": [ - "32410:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32410:10:7" - }, - "referencedDeclaration": 5563, - "src": "32410:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6110, - "mutability": "mutable", - "name": "_sig", - "nameLocation": "32449:4:7", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32435:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6109, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32435:6:7", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32409:45:7" - }, - "returnParameters": { - "id": 6115, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6114, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6127, - "src": "32473:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6113, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6112, - "name": "StdStorage", - "nameLocations": [ - "32473:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32473:10:7" - }, - "referencedDeclaration": 5563, - "src": "32473:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32472:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6158, - "nodeType": "FunctionDefinition", - "src": "32559:179:7", - "body": { - "id": 6157, - "nodeType": "Block", - "src": "32653:85:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6149, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6132, - "src": "32703:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32695:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6147, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "32695:7:7", - "typeDescriptions": {} - } - }, - "id": 6150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32695:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32687:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6145, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32687:7:7", - "typeDescriptions": {} - } - }, - "id": 6151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32687:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32679:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6143, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32679:7:7", - "typeDescriptions": {} - } - }, - "id": 6152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32679:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6138, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6130, - "src": "32663:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6141, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32668:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "32663:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32674:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "32663:15:7", - "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": 6153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32663:47:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6154, - "nodeType": "ExpressionStatement", - "src": "32663:47:7" - }, - { - "expression": { - "id": 6155, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6130, - "src": "32727:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6137, - "id": 6156, - "nodeType": "Return", - "src": "32720:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32568:8:7", - "parameters": { - "id": 6133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6130, - "mutability": "mutable", - "name": "self", - "nameLocation": "32596:4:7", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32577:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6129, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6128, - "name": "StdStorage", - "nameLocations": [ - "32577:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32577:10:7" - }, - "referencedDeclaration": 5563, - "src": "32577:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6132, - "mutability": "mutable", - "name": "who", - "nameLocation": "32610:3:7", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32602:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32602:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32576:38:7" - }, - "returnParameters": { - "id": 6137, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6136, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6158, - "src": "32633:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6135, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6134, - "name": "StdStorage", - "nameLocations": [ - "32633:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32633:10:7" - }, - "referencedDeclaration": 5563, - "src": "32633:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32632:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6183, - "nodeType": "FunctionDefinition", - "src": "32744:161:7", - "body": { - "id": 6182, - "nodeType": "Block", - "src": "32838:67:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6176, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6163, - "src": "32872:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "32864:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6174, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32864:7:7", - "typeDescriptions": {} - } - }, - "id": 6177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32864:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6169, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6161, - "src": "32848:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6172, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32853:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "32848:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "32859:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "32848:15:7", - "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": 6178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32848:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6179, - "nodeType": "ExpressionStatement", - "src": "32848:29:7" - }, - { - "expression": { - "id": 6180, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6161, - "src": "32894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6168, - "id": 6181, - "nodeType": "Return", - "src": "32887:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32753:8:7", - "parameters": { - "id": 6164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6161, - "mutability": "mutable", - "name": "self", - "nameLocation": "32781:4:7", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32762:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6160, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6159, - "name": "StdStorage", - "nameLocations": [ - "32762:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32762:10:7" - }, - "referencedDeclaration": 5563, - "src": "32762:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6163, - "mutability": "mutable", - "name": "amt", - "nameLocation": "32795:3:7", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32787:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6162, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32787:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32761:38:7" - }, - "returnParameters": { - "id": 6168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6167, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6183, - "src": "32818:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6166, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6165, - "name": "StdStorage", - "nameLocations": [ - "32818:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32818:10:7" - }, - "referencedDeclaration": 5563, - "src": "32818:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32817:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6205, - "nodeType": "FunctionDefinition", - "src": "32910:152:7", - "body": { - "id": 6204, - "nodeType": "Block", - "src": "33004:58:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6199, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6188, - "src": "33030:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "expression": { - "id": 6194, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6186, - "src": "33014:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33019:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "33014:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "id": 6198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33025:4:7", - "memberName": "push", - "nodeType": "MemberAccess", - "src": "33014:15:7", - "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": 6200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33014:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6201, - "nodeType": "ExpressionStatement", - "src": "33014:20:7" - }, - { - "expression": { - "id": 6202, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6186, - "src": "33051:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6193, - "id": 6203, - "nodeType": "Return", - "src": "33044:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "with_key", - "nameLocation": "32919:8:7", - "parameters": { - "id": 6189, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6186, - "mutability": "mutable", - "name": "self", - "nameLocation": "32947:4:7", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32928:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6185, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6184, - "name": "StdStorage", - "nameLocations": [ - "32928:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32928:10:7" - }, - "referencedDeclaration": 5563, - "src": "32928:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6188, - "mutability": "mutable", - "name": "key", - "nameLocation": "32961:3:7", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32953:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6187, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "32953:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "32927:38:7" - }, - "returnParameters": { - "id": 6193, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6192, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6205, - "src": "32984:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6191, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6190, - "name": "StdStorage", - "nameLocations": [ - "32984:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "32984:10:7" - }, - "referencedDeclaration": 5563, - "src": "32984:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "32983:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6225, - "nodeType": "FunctionDefinition", - "src": "33068:152:7", - "body": { - "id": 6224, - "nodeType": "Block", - "src": "33162:58:7", - "statements": [ - { - "expression": { - "id": 6220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "expression": { - "id": 6216, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6208, - "src": "33172:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6218, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "33177:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "33172:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 6219, - "name": "_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6210, - "src": "33186:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "33172:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6221, - "nodeType": "ExpressionStatement", - "src": "33172:20:7" - }, - { - "expression": { - "id": 6222, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6208, - "src": "33209:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "functionReturnParameters": 6215, - "id": 6223, - "nodeType": "Return", - "src": "33202:11:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "depth", - "nameLocation": "33077:5:7", - "parameters": { - "id": 6211, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6208, - "mutability": "mutable", - "name": "self", - "nameLocation": "33102:4:7", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33083:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6207, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6206, - "name": "StdStorage", - "nameLocations": [ - "33083:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33083:10:7" - }, - "referencedDeclaration": 5563, - "src": "33083:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6210, - "mutability": "mutable", - "name": "_depth", - "nameLocation": "33116:6:7", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33108:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6209, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33108:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33082:41:7" - }, - "returnParameters": { - "id": 6215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6214, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6225, - "src": "33142:18:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6213, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6212, - "name": "StdStorage", - "nameLocations": [ - "33142:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33142:10:7" - }, - "referencedDeclaration": 5563, - "src": "33142:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "33141:20:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6248, - "nodeType": "FunctionDefinition", - "src": "33226:138:7", - "body": { - "id": 6247, - "nodeType": "Block", - "src": "33296:68:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6234, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6228, - "src": "33320:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 6241, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6230, - "src": "33350:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6240, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33342:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 6239, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "33342:7:7", - "typeDescriptions": {} - } - }, - "id": 6242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33342:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33334:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6237, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33334:7:7", - "typeDescriptions": {} - } - }, - "id": 6243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33334:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33326:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6235, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33326:7:7", - "typeDescriptions": {} - } - }, - "id": 6244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33326:30:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6233, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33306:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33306:51:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6246, - "nodeType": "ExpressionStatement", - "src": "33306:51:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33235:13:7", - "parameters": { - "id": 6231, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6228, - "mutability": "mutable", - "name": "self", - "nameLocation": "33268:4:7", - "nodeType": "VariableDeclaration", - "scope": 6248, - "src": "33249:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6227, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6226, - "name": "StdStorage", - "nameLocations": [ - "33249:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33249:10:7" - }, - "referencedDeclaration": 5563, - "src": "33249:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6230, - "mutability": "mutable", - "name": "who", - "nameLocation": "33282:3:7", - "nodeType": "VariableDeclaration", - "scope": 6248, - "src": "33274:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6229, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33274:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33248:38:7" - }, - "returnParameters": { - "id": 6232, - "nodeType": "ParameterList", - "parameters": [], - "src": "33296:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6265, - "nodeType": "FunctionDefinition", - "src": "33370:120:7", - "body": { - "id": 6264, - "nodeType": "Block", - "src": "33440:50:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6257, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6251, - "src": "33464:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "arguments": [ - { - "id": 6260, - "name": "amt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6253, - "src": "33478:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "33470:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6258, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33470:7:7", - "typeDescriptions": {} - } - }, - "id": 6261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33470:12:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6256, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33450:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6262, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33450:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6263, - "nodeType": "ExpressionStatement", - "src": "33450:33:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33379:13:7", - "parameters": { - "id": 6254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6251, - "mutability": "mutable", - "name": "self", - "nameLocation": "33412:4:7", - "nodeType": "VariableDeclaration", - "scope": 6265, - "src": "33393:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6250, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6249, - "name": "StdStorage", - "nameLocations": [ - "33393:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33393:10:7" - }, - "referencedDeclaration": 5563, - "src": "33393:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6253, - "mutability": "mutable", - "name": "amt", - "nameLocation": "33426:3:7", - "nodeType": "VariableDeclaration", - "scope": 6265, - "src": "33418:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33418:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33392:38:7" - }, - "returnParameters": { - "id": 6255, - "nodeType": "ParameterList", - "parameters": [], - "src": "33440:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6283, - "nodeType": "FunctionDefinition", - "src": "33496:222:7", - "body": { - "id": 6282, - "nodeType": "Block", - "src": "33565:153:7", - "statements": [ - { - "assignments": [ - 6274 - ], - "declarations": [ - { - "constant": false, - "id": 6274, - "mutability": "mutable", - "name": "t", - "nameLocation": "33583:1:7", - "nodeType": "VariableDeclaration", - "scope": 6282, - "src": "33575:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6273, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33575:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6275, - "nodeType": "VariableDeclarationStatement", - "src": "33575:9:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "33646:34:7", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "33660:10:7", - "value": { - "name": "write", - "nodeType": "YulIdentifier", - "src": "33665:5:7" - }, - "variableNames": [ - { - "name": "t", - "nodeType": "YulIdentifier", - "src": "33660:1:7" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 6274, - "isOffset": false, - "isSlot": false, - "src": "33660:1:7", - "valueSize": 1 - }, - { - "declaration": 6270, - "isOffset": false, - "isSlot": false, - "src": "33665:5:7", - "valueSize": 1 - } - ], - "id": 6276, - "nodeType": "InlineAssembly", - "src": "33637:43:7" - }, - { - "expression": { - "arguments": [ - { - "id": 6278, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6268, - "src": "33703:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - { - "id": 6279, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6274, - "src": "33709:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 6277, - "name": "checked_write", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6248, - 6265, - 6283, - 6428 - ], - "referencedDeclaration": 6428, - "src": "33689:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (struct StdStorage storage pointer,bytes32)" - } - }, - "id": 6280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33689:22:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6281, - "nodeType": "ExpressionStatement", - "src": "33689:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33505:13:7", - "parameters": { - "id": 6271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6268, - "mutability": "mutable", - "name": "self", - "nameLocation": "33538:4:7", - "nodeType": "VariableDeclaration", - "scope": 6283, - "src": "33519:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6267, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6266, - "name": "StdStorage", - "nameLocations": [ - "33519:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33519:10:7" - }, - "referencedDeclaration": 5563, - "src": "33519:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6270, - "mutability": "mutable", - "name": "write", - "nameLocation": "33549:5:7", - "nodeType": "VariableDeclaration", - "scope": 6283, - "src": "33544:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6269, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33544:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33518:37:7" - }, - "returnParameters": { - "id": 6272, - "nodeType": "ParameterList", - "parameters": [], - "src": "33565:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6428, - "nodeType": "FunctionDefinition", - "src": "33724:1089:7", - "body": { - "id": 6427, - "nodeType": "Block", - "src": "33816:997:7", - "statements": [ - { - "assignments": [ - 6292 - ], - "declarations": [ - { - "constant": false, - "id": 6292, - "mutability": "mutable", - "name": "who", - "nameLocation": "33834:3:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33826:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33826:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6295, - "initialValue": { - "expression": { - "id": 6293, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33840:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6294, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33845:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "33840:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33826:26:7" - }, - { - "assignments": [ - 6297 - ], - "declarations": [ - { - "constant": false, - "id": 6297, - "mutability": "mutable", - "name": "fsig", - "nameLocation": "33869:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33862:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6296, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "33862:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "id": 6300, - "initialValue": { - "expression": { - "id": 6298, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33876:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6299, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33881:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "33876:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33862:23:7" - }, - { - "assignments": [ - 6302 - ], - "declarations": [ - { - "constant": false, - "id": 6302, - "mutability": "mutable", - "name": "field_depth", - "nameLocation": "33903:11:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33895:19:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6301, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33895:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6305, - "initialValue": { - "expression": { - "id": 6303, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33917:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6304, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33922:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "33917:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33895:33:7" - }, - { - "assignments": [ - 6310 - ], - "declarations": [ - { - "constant": false, - "id": 6310, - "mutability": "mutable", - "name": "ins", - "nameLocation": "33955:3:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33938:20:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6308, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33938:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6309, - "nodeType": "ArrayTypeName", - "src": "33938:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "id": 6313, - "initialValue": { - "expression": { - "id": 6311, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "33961:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6312, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "33966:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "33961:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33938:33:7" - }, - { - "assignments": [ - 6315 - ], - "declarations": [ - { - "constant": false, - "id": 6315, - "mutability": "mutable", - "name": "cald", - "nameLocation": "33995:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "33982:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6314, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "33982:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6323, - "initialValue": { - "arguments": [ - { - "id": 6318, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34019:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 6320, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34033:3:7", - "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": 6319, - "name": "flatten", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6664, - "src": "34025:7:7", - "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": 6321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34025:12:7", - "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": 6316, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34002:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34006:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34002:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34002:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "33982:56:7" - }, - { - "condition": { - "id": 6338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "34052:69:7", - "subExpression": { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6324, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34053:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6325, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34058:5:7", - "memberName": "finds", - "nodeType": "MemberAccess", - "referencedDeclaration": 5551, - "src": "34053:10:7", - "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": 6327, - "indexExpression": { - "id": 6326, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34064:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_bool_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => bool))" - } - }, - "id": 6329, - "indexExpression": { - "id": 6328, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34069:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", - "typeString": "mapping(bytes32 => bool)" - } - }, - "id": 6337, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6333, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34102:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6334, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34107:11:7", - "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": 6331, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34085:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6332, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34089:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34085:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34085:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6330, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "34075:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34075:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34053:68:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6344, - "nodeType": "IfStatement", - "src": "34048:110:7", - "trueBody": { - "id": 6343, - "nodeType": "Block", - "src": "34123:35:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 6340, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34142:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6339, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6065, - "src": "34137:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 6341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34137:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6342, - "nodeType": "ExpressionStatement", - "src": "34137:10:7" - } - ] - } - }, - { - "assignments": [ - 6346 - ], - "declarations": [ - { - "constant": false, - "id": 6346, - "mutability": "mutable", - "name": "slot", - "nameLocation": "34175:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34167:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6345, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34167:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6364, - "initialValue": { - "arguments": [ - { - "baseExpression": { - "baseExpression": { - "baseExpression": { - "expression": { - "id": 6349, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34190:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6350, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34195:5:7", - "memberName": "slots", - "nodeType": "MemberAccess", - "referencedDeclaration": 5543, - "src": "34190:10:7", - "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": 6352, - "indexExpression": { - "id": 6351, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34201:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:15:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_bytes32_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(bytes32 => uint256))" - } - }, - "id": 6354, - "indexExpression": { - "id": 6353, - "name": "fsig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6297, - "src": "34206:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:21:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", - "typeString": "mapping(bytes32 => uint256)" - } - }, - "id": 6362, - "indexExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 6358, - "name": "ins", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6310, - "src": "34239:3:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - { - "id": 6359, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34244:11:7", - "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": 6356, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34222:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34226:12:7", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "34222:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34222:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6355, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "34212:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 6361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34212:45:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "34190:68:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "34182:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6347, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34182:7:7", - "typeDescriptions": {} - } - }, - "id": 6363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34182:77:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34167:92:7" - }, - { - "assignments": [ - 6366 - ], - "declarations": [ - { - "constant": false, - "id": 6366, - "mutability": "mutable", - "name": "fdat", - "nameLocation": "34278:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34270:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6365, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34270:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6367, - "nodeType": "VariableDeclarationStatement", - "src": "34270:12:7" - }, - { - "id": 6384, - "nodeType": "Block", - "src": "34292:126:7", - "statements": [ - { - "assignments": [ - null, - 6369 - ], - "declarations": [ - null, - { - "constant": false, - "id": 6369, - "mutability": "mutable", - "name": "rdat", - "nameLocation": "34322:4:7", - "nodeType": "VariableDeclaration", - "scope": 6384, - "src": "34309:17:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6368, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "34309:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6374, - "initialValue": { - "arguments": [ - { - "id": 6372, - "name": "cald", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6315, - "src": "34345:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 6370, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34330:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34334:10:7", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "34330:14:7", - "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": 6373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34330:20:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34306:44:7" - }, - { - "expression": { - "id": 6382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6375, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6366, - "src": "34364:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 6377, - "name": "rdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6369, - "src": "34386:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "hexValue": "3332", - "id": 6378, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34392:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "id": 6379, - "name": "field_depth", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6302, - "src": "34395:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "34392:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6376, - "name": "bytesToBytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "34371:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$", - "typeString": "function (bytes memory,uint256) pure returns (bytes32)" - } - }, - "id": 6381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34371:36:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "34364:43:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6383, - "nodeType": "ExpressionStatement", - "src": "34364:43:7" - } - ] - }, - { - "assignments": [ - 6386 - ], - "declarations": [ - { - "constant": false, - "id": 6386, - "mutability": "mutable", - "name": "curr", - "nameLocation": "34435:4:7", - "nodeType": "VariableDeclaration", - "scope": 6427, - "src": "34427:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6385, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "34427:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6392, - "initialValue": { - "arguments": [ - { - "id": 6389, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34460:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6390, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "34465:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6387, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34442:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34455:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "34442:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 6391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34442:28:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34427:43:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6393, - "name": "fdat", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6366, - "src": "34485:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 6394, - "name": "curr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6386, - "src": "34493:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "34485:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6402, - "nodeType": "IfStatement", - "src": "34481:172:7", - "trueBody": { - "id": 6401, - "nodeType": "Block", - "src": "34499:154:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "hexValue": "66616c7365", - "id": 6397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34521:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - { - "hexValue": "73746453746f726167652066696e642853746453746f72616765293a205061636b656420736c6f742e205468697320776f756c642063617573652064616e6765726f7573206f76657277726974696e6720616e642063757272656e746c792069736e277420737570706f727465642e", - "id": 6398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34528:113:7", - "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": 6396, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "34513:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34513:129:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6400, - "nodeType": "ExpressionStatement", - "src": "34513:129:7" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 6406, - "name": "who", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6292, - "src": "34681:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6407, - "name": "slot", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "34686:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 6408, - "name": "set", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6288, - "src": "34692:3:7", - "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": 6403, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34662:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34675:5:7", - "memberName": "store", - "nodeType": "MemberAccess", - "referencedDeclaration": 6856, - "src": "34662:18:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (address,bytes32,bytes32) external" - } - }, - "id": 6409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34662:34:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6410, - "nodeType": "ExpressionStatement", - "src": "34662:34:7" - }, - { - "expression": { - "id": 6413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34706:19:7", - "subExpression": { - "expression": { - "id": 6411, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34713:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34718:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "34713:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6414, - "nodeType": "ExpressionStatement", - "src": "34706:19:7" - }, - { - "expression": { - "id": 6417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34735:16:7", - "subExpression": { - "expression": { - "id": 6415, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34742:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34747:4:7", - "memberName": "_sig", - "nodeType": "MemberAccess", - "referencedDeclaration": 5556, - "src": "34742:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6418, - "nodeType": "ExpressionStatement", - "src": "34735:16:7" - }, - { - "expression": { - "id": 6421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34761:17:7", - "subExpression": { - "expression": { - "id": 6419, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34768:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34773:5:7", - "memberName": "_keys", - "nodeType": "MemberAccess", - "referencedDeclaration": 5554, - "src": "34768:10:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6422, - "nodeType": "ExpressionStatement", - "src": "34761:17:7" - }, - { - "expression": { - "id": 6425, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "34788:18:7", - "subExpression": { - "expression": { - "id": 6423, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "34795:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6424, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberLocation": "34800:6:7", - "memberName": "_depth", - "nodeType": "MemberAccess", - "referencedDeclaration": 5558, - "src": "34795:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6426, - "nodeType": "ExpressionStatement", - "src": "34788:18:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checked_write", - "nameLocation": "33733:13:7", - "parameters": { - "id": 6289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6286, - "mutability": "mutable", - "name": "self", - "nameLocation": "33775:4:7", - "nodeType": "VariableDeclaration", - "scope": 6428, - "src": "33756:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6285, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6284, - "name": "StdStorage", - "nameLocations": [ - "33756:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "33756:10:7" - }, - "referencedDeclaration": 5563, - "src": "33756:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6288, - "mutability": "mutable", - "name": "set", - "nameLocation": "33797:3:7", - "nodeType": "VariableDeclaration", - "scope": 6428, - "src": "33789:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6287, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "33789:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "33746:60:7" - }, - "returnParameters": { - "id": 6290, - "nodeType": "ParameterList", - "parameters": [], - "src": "33816:0:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6460, - "nodeType": "FunctionDefinition", - "src": "34819:204:7", - "body": { - "id": 6459, - "nodeType": "Block", - "src": "34889:134:7", - "statements": [ - { - "assignments": [ - 6437 - ], - "declarations": [ - { - "constant": false, - "id": 6437, - "mutability": "mutable", - "name": "t", - "nameLocation": "34907:1:7", - "nodeType": "VariableDeclaration", - "scope": 6459, - "src": "34899:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6436, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34899:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 6440, - "initialValue": { - "expression": { - "id": 6438, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6431, - "src": "34911:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - }, - "id": 6439, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34916:7:7", - "memberName": "_target", - "nodeType": "MemberAccess", - "referencedDeclaration": 5560, - "src": "34911:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34899:24:7" - }, - { - "assignments": [ - 6442 - ], - "declarations": [ - { - "constant": false, - "id": 6442, - "mutability": "mutable", - "name": "s", - "nameLocation": "34941:1:7", - "nodeType": "VariableDeclaration", - "scope": 6459, - "src": "34933:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6441, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34933:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6446, - "initialValue": { - "arguments": [ - { - "id": 6444, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6431, - "src": "34950:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6443, - "name": "find", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6065, - "src": "34945:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_uint256_$", - "typeString": "function (struct StdStorage storage pointer) returns (uint256)" - } - }, - "id": 6445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34945:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "34933:22:7" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6451, - "name": "t", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6437, - "src": "35001:1:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 6454, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6442, - "src": "35012:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35004:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6452, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35004:7:7", - "typeDescriptions": {} - } - }, - "id": 6455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35004:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6449, - "name": "vm_std_store", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5602, - "src": "34983:12:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$7558", - "typeString": "contract Vm" - } - }, - "id": 6450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "34996:4:7", - "memberName": "load", - "nodeType": "MemberAccess", - "referencedDeclaration": 6847, - "src": "34983:17:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (address,bytes32) external returns (bytes32)" - } - }, - "id": 6456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34983:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 6447, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34972:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34976:6:7", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "34972:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 6457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34972:44:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 6435, - "id": 6458, - "nodeType": "Return", - "src": "34965:51:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read", - "nameLocation": "34828:4:7", - "parameters": { - "id": 6432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6431, - "mutability": "mutable", - "name": "self", - "nameLocation": "34852:4:7", - "nodeType": "VariableDeclaration", - "scope": 6460, - "src": "34833:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6430, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6429, - "name": "StdStorage", - "nameLocations": [ - "34833:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "34833:10:7" - }, - "referencedDeclaration": 5563, - "src": "34833:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "34832:25:7" - }, - "returnParameters": { - "id": 6435, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6434, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6460, - "src": "34875:12:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6433, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "34875:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "34874:14:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 6479, - "nodeType": "FunctionDefinition", - "src": "35029:131:7", - "body": { - "id": 6478, - "nodeType": "Block", - "src": "35103:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6471, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6463, - "src": "35136:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6470, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35131:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35131:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6474, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35144:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6473, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35144:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6475, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35143:9:7", - "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": 6468, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35120:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35124:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35120:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35120:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6467, - "id": 6477, - "nodeType": "Return", - "src": "35113:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bytes32", - "nameLocation": "35038:12:7", - "parameters": { - "id": 6464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6463, - "mutability": "mutable", - "name": "self", - "nameLocation": "35070:4:7", - "nodeType": "VariableDeclaration", - "scope": 6479, - "src": "35051:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6462, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6461, - "name": "StdStorage", - "nameLocations": [ - "35051:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35051:10:7" - }, - "referencedDeclaration": 5563, - "src": "35051:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35050:25:7" - }, - "returnParameters": { - "id": 6467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6466, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6479, - "src": "35094:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6465, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35094:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "35093:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6510, - "nodeType": "FunctionDefinition", - "src": "35167:279:7", - "body": { - "id": 6509, - "nodeType": "Block", - "src": "35235:211:7", - "statements": [ - { - "assignments": [ - 6488 - ], - "declarations": [ - { - "constant": false, - "id": 6488, - "mutability": "mutable", - "name": "v", - "nameLocation": "35252:1:7", - "nodeType": "VariableDeclaration", - "scope": 6509, - "src": "35245:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6487, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35245:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "id": 6492, - "initialValue": { - "arguments": [ - { - "id": 6490, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6482, - "src": "35265:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6489, - "name": "read_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6567, - "src": "35256:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_int256_$", - "typeString": "function (struct StdStorage storage pointer) returns (int256)" - } - }, - "id": 6491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35256:14:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "35245:25:7" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6493, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6488, - "src": "35284:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 6494, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35289:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "35284:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6498, - "nodeType": "IfStatement", - "src": "35280:24:7", - "trueBody": { - "expression": { - "hexValue": "66616c7365", - "id": 6496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35299:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 6486, - "id": 6497, - "nodeType": "Return", - "src": "35292:12:7" - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6499, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6488, - "src": "35318:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "31", - "id": 6500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35323:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "35318:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6504, - "nodeType": "IfStatement", - "src": "35314:23:7", - "trueBody": { - "expression": { - "hexValue": "74727565", - "id": 6502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35333:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 6486, - "id": 6503, - "nodeType": "Return", - "src": "35326:11:7" - } - }, - { - "expression": { - "arguments": [ - { - "hexValue": "73746453746f7261676520726561645f626f6f6c2853746453746f72616765293a2043616e6e6f74206465636f64652e204d616b65207375726520796f75206172652072656164696e67206120626f6f6c2e", - "id": 6506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35354:84:7", - "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": 6505, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -19, - -19 - ], - "referencedDeclaration": -19, - "src": "35347:6:7", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 6507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35347:92:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6508, - "nodeType": "ExpressionStatement", - "src": "35347:92:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_bool", - "nameLocation": "35176:9:7", - "parameters": { - "id": 6483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6482, - "mutability": "mutable", - "name": "self", - "nameLocation": "35205:4:7", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "35186:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6481, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6480, - "name": "StdStorage", - "nameLocations": [ - "35186:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35186:10:7" - }, - "referencedDeclaration": 5563, - "src": "35186:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35185:25:7" - }, - "returnParameters": { - "id": 6486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6485, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "35229:4:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6484, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35229:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35228:6:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6529, - "nodeType": "FunctionDefinition", - "src": "35452:131:7", - "body": { - "id": 6528, - "nodeType": "Block", - "src": "35526:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6521, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6513, - "src": "35559:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6520, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35554:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35554:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35567:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 6523, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35567:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6525, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35566:9:7", - "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": 6518, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35543:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35547:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35543:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35543:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "functionReturnParameters": 6517, - "id": 6527, - "nodeType": "Return", - "src": "35536:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_address", - "nameLocation": "35461:12:7", - "parameters": { - "id": 6514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6513, - "mutability": "mutable", - "name": "self", - "nameLocation": "35493:4:7", - "nodeType": "VariableDeclaration", - "scope": 6529, - "src": "35474:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6512, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6511, - "name": "StdStorage", - "nameLocations": [ - "35474:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35474:10:7" - }, - "referencedDeclaration": 5563, - "src": "35474:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35473:25:7" - }, - "returnParameters": { - "id": 6517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6516, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6529, - "src": "35517:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35517:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35516:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6548, - "nodeType": "FunctionDefinition", - "src": "35589:128:7", - "body": { - "id": 6547, - "nodeType": "Block", - "src": "35660:57:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6540, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6532, - "src": "35693:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6539, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35688:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35688:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35701:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6542, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35701:7:7", - "typeDescriptions": {} - } - } - ], - "id": 6544, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35700:9:7", - "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": 6537, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35677:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35681:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35677:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35677:33:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6536, - "id": 6546, - "nodeType": "Return", - "src": "35670:40:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_uint", - "nameLocation": "35598:9:7", - "parameters": { - "id": 6533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6532, - "mutability": "mutable", - "name": "self", - "nameLocation": "35627:4:7", - "nodeType": "VariableDeclaration", - "scope": 6548, - "src": "35608:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6531, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6530, - "name": "StdStorage", - "nameLocations": [ - "35608:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35608:10:7" - }, - "referencedDeclaration": 5563, - "src": "35608:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35607:25:7" - }, - "returnParameters": { - "id": 6536, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6535, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6548, - "src": "35651:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6534, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35651:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35650:9:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6567, - "nodeType": "FunctionDefinition", - "src": "35723:125:7", - "body": { - "id": 6566, - "nodeType": "Block", - "src": "35792:56:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6559, - "name": "self", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6551, - "src": "35825:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage storage pointer" - } - ], - "id": 6558, - "name": "read", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6460, - "src": "35820:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_StdStorage_$5563_storage_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct StdStorage storage pointer) returns (bytes memory)" - } - }, - "id": 6560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35820:10:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 6562, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "35833:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_int256_$", - "typeString": "type(int256)" - }, - "typeName": { - "id": 6561, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35833:6:7", - "typeDescriptions": {} - } - } - ], - "id": 6563, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "35832:8:7", - "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": 6556, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35809:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6557, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35813:6:7", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "35809:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 6564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35809:32:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "functionReturnParameters": 6555, - "id": 6565, - "nodeType": "Return", - "src": "35802:39:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "read_int", - "nameLocation": "35732:8:7", - "parameters": { - "id": 6552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6551, - "mutability": "mutable", - "name": "self", - "nameLocation": "35760:4:7", - "nodeType": "VariableDeclaration", - "scope": 6567, - "src": "35741:23:7", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - }, - "typeName": { - "id": 6550, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 6549, - "name": "StdStorage", - "nameLocations": [ - "35741:10:7" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 5563, - "src": "35741:10:7" - }, - "referencedDeclaration": 5563, - "src": "35741:10:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_StdStorage_$5563_storage_ptr", - "typeString": "struct StdStorage" - } - }, - "visibility": "internal" - } - ], - "src": "35740:25:7" - }, - "returnParameters": { - "id": 6555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6554, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6567, - "src": "35784:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6553, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "35784:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "35783:8:7" - }, - "scope": 6665, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6623, - "nodeType": "FunctionDefinition", - "src": "35854:297:7", - "body": { - "id": 6622, - "nodeType": "Block", - "src": "35937:214:7", - "statements": [ - { - "assignments": [ - 6577 - ], - "declarations": [ - { - "constant": false, - "id": 6577, - "mutability": "mutable", - "name": "out", - "nameLocation": "35955:3:7", - "nodeType": "VariableDeclaration", - "scope": 6622, - "src": "35947:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6576, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35947:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6578, - "nodeType": "VariableDeclarationStatement", - "src": "35947:11:7" - }, - { - "assignments": [ - 6580 - ], - "declarations": [ - { - "constant": false, - "id": 6580, - "mutability": "mutable", - "name": "max", - "nameLocation": "35977:3:7", - "nodeType": "VariableDeclaration", - "scope": 6622, - "src": "35969:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6579, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35969:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6589, - "initialValue": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6581, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "35983:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "35985:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "35983:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "3332", - "id": 6583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35994:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "35983:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "expression": { - "id": 6586, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "36004:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36006:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36004:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "35983:29:7", - "trueExpression": { - "hexValue": "3332", - "id": 6585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35999:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "35969:43:7" - }, - { - "body": { - "id": 6618, - "nodeType": "Block", - "src": "36053:72:7", - "statements": [ - { - "expression": { - "id": 6616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 6600, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6577, - "src": "36067:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "|=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 6615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 6609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 6603, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6569, - "src": "36082:1:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 6607, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6604, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6571, - "src": "36084:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 6605, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36093:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36084:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "36082:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "&", - "rightExpression": { - "hexValue": "30784646", - "id": 6608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36098:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_255_by_1", - "typeString": "int_const 255" - }, - "value": "0xFF" - }, - "src": "36082:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 6602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "36074:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 6601, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36074:7:7", - "typeDescriptions": {} - } - }, - "id": 6610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36074:29:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": ">>", - "rightExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36108:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "38", - "id": 6612, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36112:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "36108:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 6614, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "36107:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36074:40:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "36067:47:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6617, - "nodeType": "ExpressionStatement", - "src": "36067:47:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6594, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36039:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 6595, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6580, - "src": "36043:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36039:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6619, - "initializationExpression": { - "assignments": [ - 6591 - ], - "declarations": [ - { - "constant": false, - "id": 6591, - "mutability": "mutable", - "name": "i", - "nameLocation": "36032:1:7", - "nodeType": "VariableDeclaration", - "scope": 6619, - "src": "36027:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6590, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36027:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6593, - "initialValue": { - "hexValue": "30", - "id": 6592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36036:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "36027:10:7" - }, - "loopExpression": { - "expression": { - "id": 6598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "36048:3:7", - "subExpression": { - "id": 6597, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6591, - "src": "36048:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6599, - "nodeType": "ExpressionStatement", - "src": "36048:3:7" - }, - "nodeType": "ForStatement", - "src": "36022:103:7" - }, - { - "expression": { - "id": 6620, - "name": "out", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6577, - "src": "36141:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 6575, - "id": 6621, - "nodeType": "Return", - "src": "36134:10:7" - } - ] - }, - "functionSelector": "53584939", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "bytesToBytes32", - "nameLocation": "35863:14:7", - "parameters": { - "id": 6572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6569, - "mutability": "mutable", - "name": "b", - "nameLocation": "35891:1:7", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35878:14:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6568, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "35878:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6571, - "mutability": "mutable", - "name": "offset", - "nameLocation": "35899:6:7", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35894:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6570, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "35894:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35877:29:7" - }, - "returnParameters": { - "id": 6575, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6574, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "35928:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6573, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "35928:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "35927:9:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 6664, - "nodeType": "FunctionDefinition", - "src": "36157:397:7", - "body": { - "id": 6663, - "nodeType": "Block", - "src": "36234:320:7", - "statements": [ - { - "assignments": [ - 6632 - ], - "declarations": [ - { - "constant": false, - "id": 6632, - "mutability": "mutable", - "name": "result", - "nameLocation": "36257:6:7", - "nodeType": "VariableDeclaration", - "scope": 6663, - "src": "36244:19:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6631, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36244:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 6640, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 6635, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36276:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36278:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36276:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "3332", - "id": 6637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36287:2:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "36276:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "36266:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 6633, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36270:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 6639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36266:24:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "36244:46:7" - }, - { - "body": { - "id": 6659, - "nodeType": "Block", - "src": "36339:185:7", - "statements": [ - { - "assignments": [ - 6653 - ], - "declarations": [ - { - "constant": false, - "id": 6653, - "mutability": "mutable", - "name": "k", - "nameLocation": "36361:1:7", - "nodeType": "VariableDeclaration", - "scope": 6659, - "src": "36353:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6652, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36353:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 6657, - "initialValue": { - "baseExpression": { - "id": 6654, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36365:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6656, - "indexExpression": { - "id": 6655, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36367:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "36365:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "36353:16:7" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "36439:75:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "result", - "nodeType": "YulIdentifier", - "src": "36468:6:7" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "36480:2:7", - "type": "", - "value": "32" - }, - { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "36488:2:7", - "type": "", - "value": "32" - }, - { - "name": "i", - "nodeType": "YulIdentifier", - "src": "36492:1:7" - } - ], - "functionName": { - "name": "mul", - "nodeType": "YulIdentifier", - "src": "36484:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36484:10:7" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "36476:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36476:19:7" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "36464:3:7" - }, - "nodeType": "YulFunctionCall", - "src": "36464:32:7" - }, - { - "name": "k", - "nodeType": "YulIdentifier", - "src": "36498:1:7" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "36457:6:7" - }, - "nodeType": "YulFunctionCall", - "src": "36457:43:7" - }, - "nodeType": "YulExpressionStatement", - "src": "36457:43:7" - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 6642, - "isOffset": false, - "isSlot": false, - "src": "36492:1:7", - "valueSize": 1 - }, - { - "declaration": 6653, - "isOffset": false, - "isSlot": false, - "src": "36498:1:7", - "valueSize": 1 - }, - { - "declaration": 6632, - "isOffset": false, - "isSlot": false, - "src": "36468:6:7", - "valueSize": 1 - } - ], - "id": 6658, - "nodeType": "InlineAssembly", - "src": "36430:84:7" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6645, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36320:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 6646, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "36324:1:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - }, - "id": 6647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "36326:6:7", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "36324:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "36320:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6660, - "initializationExpression": { - "assignments": [ - 6642 - ], - "declarations": [ - { - "constant": false, - "id": 6642, - "mutability": "mutable", - "name": "i", - "nameLocation": "36313:1:7", - "nodeType": "VariableDeclaration", - "scope": 6660, - "src": "36305:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6641, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36305:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6644, - "initialValue": { - "hexValue": "30", - "id": 6643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36317:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "36305:13:7" - }, - "loopExpression": { - "expression": { - "id": 6650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "36334:3:7", - "subExpression": { - "id": 6649, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "36334:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6651, - "nodeType": "ExpressionStatement", - "src": "36334:3:7" - }, - "nodeType": "ForStatement", - "src": "36300:224:7" - }, - { - "expression": { - "id": 6661, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6632, - "src": "36541:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 6630, - "id": 6662, - "nodeType": "Return", - "src": "36534:13:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "flatten", - "nameLocation": "36166:7:7", - "parameters": { - "id": 6627, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6626, - "mutability": "mutable", - "name": "b", - "nameLocation": "36191:1:7", - "nodeType": "VariableDeclaration", - "scope": 6664, - "src": "36174:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6624, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "36174:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6625, - "nodeType": "ArrayTypeName", - "src": "36174:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "36173:20:7" - }, - "returnParameters": { - "id": 6630, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6629, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6664, - "src": "36216:12:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6628, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "36216:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "36215:14:7" - }, - "scope": 6665, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdStorage", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6665 - ], - "name": "stdStorage", - "nameLocation": "27692:10:7", - "scope": 6805, - "usedErrors": [] - }, - { - "id": 6804, - "nodeType": "ContractDefinition", - "src": "36758:1306:7", - "nodes": [ - { - "id": 6669, - "nodeType": "VariableDeclaration", - "src": "36780:115:7", - "constant": true, - "mutability": "constant", - "name": "INT256_MIN", - "nameLocation": "36804:10:7", - "scope": 6804, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6666, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "36780:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "value": { - "id": 6668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "36817:78:7", - "subExpression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6667, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36818:77:7", - "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": 6694, - "nodeType": "FunctionDefinition", - "src": "36902:294:7", - "body": { - "id": 6693, - "nodeType": "Block", - "src": "36957:239:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6676, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37035:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 6677, - "name": "INT256_MIN", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6669, - "src": "37040:10:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "37035:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6681, - "nodeType": "IfStatement", - "src": "37031:117:7", - "trueBody": { - "expression": { - "hexValue": "3537383936303434363138363538303937373131373835343932353034333433393533393236363334393932333332383230323832303139373238373932303033393536353634383139393638", - "id": 6679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37071:77:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1", - "typeString": "int_const 5789...(69 digits omitted)...9968" - }, - "value": "57896044618658097711785492504343953926634992332820282019728792003956564819968" - }, - "functionReturnParameters": 6675, - "id": 6680, - "nodeType": "Return", - "src": "37064:84:7" - } - }, - { - "expression": { - "arguments": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6684, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37174:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 6685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37178:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "37174:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "id": 6689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "37186:2:7", - "subExpression": { - "id": 6688, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37187:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 6690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "37174:14:7", - "trueExpression": { - "id": 6687, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6671, - "src": "37182:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "37166:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 6682, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37166:7:7", - "typeDescriptions": {} - } - }, - "id": 6691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37166:23:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6675, - "id": 6692, - "nodeType": "Return", - "src": "37159:30:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "abs", - "nameLocation": "36911:3:7", - "parameters": { - "id": 6672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6671, - "mutability": "mutable", - "name": "a", - "nameLocation": "36922:1:7", - "nodeType": "VariableDeclaration", - "scope": 6694, - "src": "36915:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6670, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "36915:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "36914:10:7" - }, - "returnParameters": { - "id": 6675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6674, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6694, - "src": "36948:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6673, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36948:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36947:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6715, - "nodeType": "FunctionDefinition", - "src": "37202:138:7", - "body": { - "id": 6714, - "nodeType": "Block", - "src": "37271:69:7", - "statements": [ - { - "expression": { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6703, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37288:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6704, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37292:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37288:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6709, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37328:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6710, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37332:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37328:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6712, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "37288:45:7", - "trueExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6706, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6696, - "src": "37308:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 6707, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "37312:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37308:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6702, - "id": 6713, - "nodeType": "Return", - "src": "37281:52:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "37211:5:7", - "parameters": { - "id": 6699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6696, - "mutability": "mutable", - "name": "a", - "nameLocation": "37225:1:7", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37217:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6695, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37217:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6698, - "mutability": "mutable", - "name": "b", - "nameLocation": "37236:1:7", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37228:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6697, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37228:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37216:22:7" - }, - "returnParameters": { - "id": 6702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6701, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6715, - "src": "37262:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6700, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37262:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37261:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6751, - "nodeType": "FunctionDefinition", - "src": "37346:352:7", - "body": { - "id": 6750, - "nodeType": "Block", - "src": "37413:285:7", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "components": [ - { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 6726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6724, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37552:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "^", - "rightExpression": { - "id": 6725, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37556:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "37552:5:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "id": 6727, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "37551:7:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 6729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "-", - "prefix": true, - "src": "37561:2:7", - "subExpression": { - "hexValue": "31", - "id": 6728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37562:1:7", - "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": "37551:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6741, - "nodeType": "IfStatement", - "src": "37547:71:7", - "trueBody": { - "id": 6740, - "nodeType": "Block", - "src": "37565:53:7", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 6733, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37596:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6732, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37592:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37592:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 6736, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37604:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6735, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37600:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37600:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6731, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6715, - "src": "37586:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37586:21:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6723, - "id": 6739, - "nodeType": "Return", - "src": "37579:28:7" - } - ] - } - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 6743, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6717, - "src": "37680:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6742, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37676:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37676:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "arguments": [ - { - "id": 6746, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "37689:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6745, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "37685:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37685:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37676:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6723, - "id": 6749, - "nodeType": "Return", - "src": "37669:22:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delta", - "nameLocation": "37355:5:7", - "parameters": { - "id": 6720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6717, - "mutability": "mutable", - "name": "a", - "nameLocation": "37368:1:7", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37361:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6716, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37361:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6719, - "mutability": "mutable", - "name": "b", - "nameLocation": "37378:1:7", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37371:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6718, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37371:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "37360:20:7" - }, - "returnParameters": { - "id": 6723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6722, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6751, - "src": "37404:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6721, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37404:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37403:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6774, - "nodeType": "FunctionDefinition", - "src": "37704:160:7", - "body": { - "id": 6773, - "nodeType": "Block", - "src": "37780:84:7", - "statements": [ - { - "assignments": [ - 6761 - ], - "declarations": [ - { - "constant": false, - "id": 6761, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "37798:8:7", - "nodeType": "VariableDeclaration", - "scope": 6773, - "src": "37790:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6760, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6766, - "initialValue": { - "arguments": [ - { - "id": 6763, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6753, - "src": "37815:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6764, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6755, - "src": "37818:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6762, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6715, - "src": "37809:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37809:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37790:30:7" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6767, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6761, - "src": "37838:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37849:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "37838:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6770, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6755, - "src": "37856:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "37838:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6759, - "id": 6772, - "nodeType": "Return", - "src": "37831:26:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "37713:12:7", - "parameters": { - "id": 6756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6753, - "mutability": "mutable", - "name": "a", - "nameLocation": "37734:1:7", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37726:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6752, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37726:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6755, - "mutability": "mutable", - "name": "b", - "nameLocation": "37745:1:7", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37737:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6754, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37737:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37725:22:7" - }, - "returnParameters": { - "id": 6759, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6758, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6774, - "src": "37771:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6757, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37771:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37770:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 6803, - "nodeType": "FunctionDefinition", - "src": "37870:192:7", - "body": { - "id": 6802, - "nodeType": "Block", - "src": "37944:118:7", - "statements": [ - { - "assignments": [ - 6784 - ], - "declarations": [ - { - "constant": false, - "id": 6784, - "mutability": "mutable", - "name": "absDelta", - "nameLocation": "37962:8:7", - "nodeType": "VariableDeclaration", - "scope": 6802, - "src": "37954:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6783, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37954:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6789, - "initialValue": { - "arguments": [ - { - "id": 6786, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6776, - "src": "37979:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 6787, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6778, - "src": "37982:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6785, - "name": "delta", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 6715, - 6751 - ], - "referencedDeclaration": 6751, - "src": "37973:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256,int256) pure returns (uint256)" - } - }, - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37973:11:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37954:30:7" - }, - { - "assignments": [ - 6791 - ], - "declarations": [ - { - "constant": false, - "id": 6791, - "mutability": "mutable", - "name": "absB", - "nameLocation": "38002:4:7", - "nodeType": "VariableDeclaration", - "scope": 6802, - "src": "37994:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6790, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37994:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 6795, - "initialValue": { - "arguments": [ - { - "id": 6793, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6778, - "src": "38013:1:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 6792, - "name": "abs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6694, - "src": "38009:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_int256_$returns$_t_uint256_$", - "typeString": "function (int256) pure returns (uint256)" - } - }, - "id": 6794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38009:6:7", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "37994:21:7" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 6796, - "name": "absDelta", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6784, - "src": "38033:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "31653138", - "id": 6797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38044:4:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_1000000000000000000_by_1", - "typeString": "int_const 1000000000000000000" - }, - "value": "1e18" - }, - "src": "38033:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "id": 6799, - "name": "absB", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6791, - "src": "38051:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "38033:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6782, - "id": 6801, - "nodeType": "Return", - "src": "38026:29:7" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "percentDelta", - "nameLocation": "37879:12:7", - "parameters": { - "id": 6779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6776, - "mutability": "mutable", - "name": "a", - "nameLocation": "37899:1:7", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37892:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6775, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37892:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6778, - "mutability": "mutable", - "name": "b", - "nameLocation": "37909:1:7", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37902:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6777, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "37902:6:7", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "37891:20:7" - }, - "returnParameters": { - "id": 6782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6781, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6803, - "src": "37935:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6780, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37935:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37934:9:7" - }, - "scope": 6804, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "stdMath", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6804 - ], - "name": "stdMath", - "nameLocation": "36766:7:7", - "scope": 6805, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 7 -} \ No newline at end of file +{"abi":[{"type":"function","name":"bytesToBytes32","inputs":[{"name":"b","type":"bytes","internalType":"bytes"},{"name":"offset","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"pure"},{"type":"event","name":"SlotFound","inputs":[{"name":"who","type":"address","indexed":false,"internalType":"address"},{"name":"fsig","type":"bytes4","indexed":false,"internalType":"bytes4"},{"name":"keysHash","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"slot","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"WARNING_UninitedSlot","inputs":[{"name":"who","type":"address","indexed":false,"internalType":"address"},{"name":"slot","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x61022b61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063535849391461003a575b600080fd5b61004d6100483660046100ea565b61005f565b60405190815260200160405180910390f35b60008060006020855111610074578451610077565b60205b905060005b818110156100c85761008f8160086101b5565b8661009a83886101cc565b815181106100aa576100aa6101df565b01602001516001600160f81b031916901c929092179160010161007c565b50909150505b92915050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156100fd57600080fd5b823567ffffffffffffffff8082111561011557600080fd5b818501915085601f83011261012957600080fd5b81358181111561013b5761013b6100d4565b604051601f8201601f19908116603f01168101908382118183101715610163576101636100d4565b8160405282815288602084870101111561017c57600080fd5b826020860160208301376000602093820184015298969091013596505050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176100ce576100ce61019f565b808201808211156100ce576100ce61019f565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c1f88c93ed4aa4f2412a11b7fb111a55504eef085ec539689fdde329cbce2f5264736f6c63430008170033","sourceMap":"27684:8875:7:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;27684:8875:7;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063535849391461003a575b600080fd5b61004d6100483660046100ea565b61005f565b60405190815260200160405180910390f35b60008060006020855111610074578451610077565b60205b905060005b818110156100c85761008f8160086101b5565b8661009a83886101cc565b815181106100aa576100aa6101df565b01602001516001600160f81b031916901c929092179160010161007c565b50909150505b92915050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156100fd57600080fd5b823567ffffffffffffffff8082111561011557600080fd5b818501915085601f83011261012957600080fd5b81358181111561013b5761013b6100d4565b604051601f8201601f19908116603f01168101908382118183101715610163576101636100d4565b8160405282815288602084870101111561017c57600080fd5b826020860160208301376000602093820184015298969091013596505050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176100ce576100ce61019f565b808201808211156100ce576100ce61019f565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c1f88c93ed4aa4f2412a11b7fb111a55504eef085ec539689fdde329cbce2f5264736f6c63430008170033","sourceMap":"27684:8875:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;35854:297;;;;;;:::i;:::-;;:::i;:::-;;;1304:25:44;;;1292:2;1277:18;35854:297:7;;;;;;;;35928:7;35947:11;35969;35994:2;35983:1;:8;:13;:29;;36004:1;:8;35983:29;;;35999:2;35983:29;35969:43;;36027:6;36022:103;36043:3;36039:1;:7;36022:103;;;36108:5;:1;36112;36108:5;:::i;:::-;36082:1;36084:10;36093:1;36084:6;:10;:::i;:::-;36082:13;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;36082:13:7;36074:40;;36067:47;;;;;36048:3;;36022:103;;;-1:-1:-1;36141:3:7;;-1:-1:-1;;35854:297:7;;;;;:::o;14:127:44:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:999;223:6;231;284:2;272:9;263:7;259:23;255:32;252:52;;;300:1;297;290:12;252:52;340:9;327:23;369:18;410:2;402:6;399:14;396:34;;;426:1;423;416:12;396:34;464:6;453:9;449:22;439:32;;509:7;502:4;498:2;494:13;490:27;480:55;;531:1;528;521:12;480:55;567:2;554:16;589:2;585;582:10;579:36;;;595:18;;:::i;:::-;670:2;664:9;638:2;724:13;;-1:-1:-1;;720:22:44;;;744:2;716:31;712:40;700:53;;;768:18;;;788:22;;;765:46;762:72;;;814:18;;:::i;:::-;854:10;850:2;843:22;889:2;881:6;874:18;931:7;924:4;919:2;915;911:11;907:22;904:35;901:55;;;952:1;949;942:12;901:55;1012:2;1005:4;1001:2;997:13;990:4;982:6;978:17;965:50;1059:1;1052:4;1035:15;;;1031:26;;1024:37;1035:15;1118:20;;;;1105:34;;-1:-1:-1;;;;;;146:999:44:o;1340:127::-;1401:10;1396:3;1392:20;1389:1;1382:31;1432:4;1429:1;1422:15;1456:4;1453:1;1446:15;1472:168;1545:9;;;1576;;1593:15;;;1587:22;;1573:37;1563:71;;1614:18;;:::i;1645:125::-;1710:9;;;1731:10;;;1728:36;;;1744:18;;:::i;1775:127::-;1836:10;1831:3;1827:20;1824:1;1817:31;1867:4;1864:1;1857:15;1891:4;1888:1;1881:15","linkReferences":{}},"methodIdentifiers":{"bytesToBytes32(bytes,uint256)":"53584939"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"b\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"}],\"name\":\"bytesToBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"stdStorage\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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/Script.sol\":{\"keccak256\":\"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b\",\"dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87\",\"dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2\",\"dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"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},{"inputs":[{"internalType":"bytes","name":"b","type":"bytes"},{"internalType":"uint256","name":"offset","type":"uint256"}],"stateMutability":"pure","type":"function","name":"bytesToBytes32","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/Test.sol":"stdStorage"},"evmVersion":"paris","libraries":{}},"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/Script.sol":{"keccak256":"0x9d09c1e55cd508d3376cff9961625d51d73f8ce075ec1e9deed41408a4556e00","urls":["bzz-raw://8880c5551daf337ab91665a9ce593df67a9eb11b0bee820f631d324d2fdd3a8b","dweb:/ipfs/QmNpvSBGnS9Jr6Swd6XKsijG59a4yjYemWCFwprjKFkpNC"],"license":"MIT"},"lib/forge-std/src/StdJson.sol":{"keccak256":"0x1297a1cc393bc8163ccf143e5335536e78cb25ac24a4f6dfdb25f5746dd4827e","urls":["bzz-raw://945ccffad9fc09d2aa0ac200a80dcfa2f491dba8680fc9c3d3d450d891284b87","dweb:/ipfs/QmYSfFb1L6LN1ZB9KWzZqxt2iAbpuFDskBcU1Bz4RiyuQ5"],"license":"MIT"},"lib/forge-std/src/Test.sol":{"keccak256":"0x6c9cbd51234372b66bf7c146870edf0855770c46e960a8fae8f354ddf382876b","urls":["bzz-raw://fd0ff1f449294dd1447b9d483c52d78e137d8cac518646e76df9fdd4d185d6c2","dweb:/ipfs/QmS3JP4vKgvAWo8Tc7zVrGxbdR7t37ayk1mTHN3seD6UAZ"],"license":"MIT"},"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"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":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"}},"version":1},"id":7} \ No newline at end of file diff --git a/out/Vm.sol/Vm.json b/out/Vm.sol/Vm.json index b6de3ca..435c51c 100644 --- a/out/Vm.sol/Vm.json +++ b/out/Vm.sol/Vm.json @@ -1,12806 +1 @@ -{ - "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": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "addr", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "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": "nonpayable", - "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": "nonpayable", - "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": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envAddress", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBool", - "outputs": [ - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envInt", - "outputs": [ - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envString", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envUint", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "getDeployedCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "getNonce", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "getRecordedLogs", - "outputs": [ - { - "components": [ - { - "internalType": "bytes32[]", - "name": "topics", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "internalType": "struct Vm.Log[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "isPersistent", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "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": "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" - } - ], - "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": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "parseUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readFile", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readLine", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "rpcUrls", - "outputs": [ - { - "internalType": "string[2][]", - "name": "", - "type": "string[2][]" - } - ], - "stateMutability": "nonpayable", - "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" - } - ], - "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": "nonpayable", - "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": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "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": "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", - "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", - "rpcUrls()": "a85a8418", - "selectFork(uint256)": "9ebf6827", - "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", - "warp(uint256)": "e5d6bf02", - "writeFile(string,string)": "897e0a97", - "writeLine(string,string)": "619d897f" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"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\":\"nonpayable\",\"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\":\"nonpayable\",\"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\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envAddress\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"getDeployedCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRecordedLogs\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"topics\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct Vm.Log[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isPersistent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":\"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\"}],\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseJson\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseJson\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readFile\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readLine\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rpcUrls\",\"outputs\":[{\"internalType\":\"string[2][]\",\"name\":\"\",\"type\":\"string[2][]\"}],\"stateMutability\":\"nonpayable\",\"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\"}],\"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\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "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": "nonpayable", - "type": "function", - "name": "activeFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "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": "nonpayable", - "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": "nonpayable", - "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": "nonpayable", - "type": "function", - "name": "envAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envAddress", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envBool", - "outputs": [ - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envInt", - "outputs": [ - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envString", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "envUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "type": "function", - "name": "getCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "getDeployedCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "getNonce", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "getRecordedLogs", - "outputs": [ - { - "internalType": "struct Vm.Log[]", - "name": "", - "type": "tuple[]", - "components": [ - { - "internalType": "bytes32[]", - "name": "topics", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ] - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "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": "nonpayable", - "type": "function", - "name": "parseAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "parseBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "parseBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "parseBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "parseInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "parseJson", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "type": "function", - "name": "projectRoot", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "readFile", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "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": "nonpayable", - "type": "function", - "name": "rpcUrl", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "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" - } - ], - "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": "nonpayable", - "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": "nonpayable", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "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": "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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/Vm.sol": "Vm" - }, - "libraries": {} - }, - "sources": { - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56", - "urls": [ - "bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd", - "dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/Vm.sol", - "id": 7559, - "exportedSymbols": { - "Vm": [ - 7558 - ] - }, - "nodeType": "SourceUnit", - "src": "32:15625:8", - "nodes": [ - { - "id": 6806, - "nodeType": "PragmaDirective", - "src": "32:31:8", - "literals": [ - "solidity", - ">=", - "0.6", - ".0", - "<", - "0.9", - ".0" - ] - }, - { - "id": 6807, - "nodeType": "PragmaDirective", - "src": "64:33:8", - "literals": [ - "experimental", - "ABIEncoderV2" - ] - }, - { - "id": 7558, - "nodeType": "ContractDefinition", - "src": "99:15557:8", - "nodes": [ - { - "id": 6813, - "nodeType": "StructDefinition", - "src": "118:64:8", - "canonicalName": "Vm.Log", - "members": [ - { - "constant": false, - "id": 6810, - "mutability": "mutable", - "name": "topics", - "nameLocation": "149:6:8", - "nodeType": "VariableDeclaration", - "scope": 6813, - "src": "139:16:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 6808, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "139:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 6809, - "nodeType": "ArrayTypeName", - "src": "139:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6812, - "mutability": "mutable", - "name": "data", - "nameLocation": "171:4:8", - "nodeType": "VariableDeclaration", - "scope": 6813, - "src": "165:10:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6811, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "165:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "name": "Log", - "nameLocation": "125:3:8", - "scope": 7558, - "visibility": "public" - }, - { - "id": 6818, - "nodeType": "FunctionDefinition", - "src": "231:32:8", - "functionSelector": "e5d6bf02", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "warp", - "nameLocation": "240:4:8", - "parameters": { - "id": 6816, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6815, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6818, - "src": "245:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6814, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "245:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "244:9:8" - }, - "returnParameters": { - "id": 6817, - "nodeType": "ParameterList", - "parameters": [], - "src": "262:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6823, - "nodeType": "FunctionDefinition", - "src": "305:32:8", - "functionSelector": "1f7b4f30", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "roll", - "nameLocation": "314:4:8", - "parameters": { - "id": 6821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6820, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6823, - "src": "319:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6819, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "319:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "318:9:8" - }, - "returnParameters": { - "id": 6822, - "nodeType": "ParameterList", - "parameters": [], - "src": "336:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6828, - "nodeType": "FunctionDefinition", - "src": "381:31:8", - "functionSelector": "39b37ab0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "fee", - "nameLocation": "390:3:8", - "parameters": { - "id": 6826, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6825, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6828, - "src": "394:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6824, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "394:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "393:9:8" - }, - "returnParameters": { - "id": 6827, - "nodeType": "ParameterList", - "parameters": [], - "src": "411:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6833, - "nodeType": "FunctionDefinition", - "src": "462:38:8", - "functionSelector": "46cc92d9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "difficulty", - "nameLocation": "471:10:8", - "parameters": { - "id": 6831, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6830, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6833, - "src": "482:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6829, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "482:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "481:9:8" - }, - "returnParameters": { - "id": 6832, - "nodeType": "ParameterList", - "parameters": [], - "src": "499:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6838, - "nodeType": "FunctionDefinition", - "src": "531:35:8", - "functionSelector": "4049ddd2", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "chainId", - "nameLocation": "540:7:8", - "parameters": { - "id": 6836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6835, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6838, - "src": "548:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6834, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "548:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "547:9:8" - }, - "returnParameters": { - "id": 6837, - "nodeType": "ParameterList", - "parameters": [], - "src": "565:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6847, - "nodeType": "FunctionDefinition", - "src": "627:58:8", - "functionSelector": "667f9d70", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "load", - "nameLocation": "636:4:8", - "parameters": { - "id": 6843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6840, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6847, - "src": "641:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6839, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "641:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6842, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6847, - "src": "649:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6841, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "649:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "640:17:8" - }, - "returnParameters": { - "id": 6846, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6845, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6847, - "src": "676:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6844, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "676:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "675:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6856, - "nodeType": "FunctionDefinition", - "src": "760:49:8", - "functionSelector": "70ca10bb", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "store", - "nameLocation": "769:5:8", - "parameters": { - "id": 6854, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6849, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6856, - "src": "775:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6848, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "775:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6851, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6856, - "src": "783:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6850, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "783:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6853, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6856, - "src": "791:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6852, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "791:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "774:25:8" - }, - "returnParameters": { - "id": 6855, - "nodeType": "ParameterList", - "parameters": [], - "src": "808:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6869, - "nodeType": "FunctionDefinition", - "src": "867:72:8", - "functionSelector": "e341eaa4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "sign", - "nameLocation": "876:4:8", - "parameters": { - "id": 6861, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6858, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6869, - "src": "881:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6857, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "881:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6860, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6869, - "src": "889:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6859, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "889:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "880:17:8" - }, - "returnParameters": { - "id": 6868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6863, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6869, - "src": "916:5:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 6862, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "916:5:8", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6865, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6869, - "src": "922:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6864, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "922:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6867, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6869, - "src": "930:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6866, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "930:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "915:23:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6876, - "nodeType": "FunctionDefinition", - "src": "1019:50:8", - "functionSelector": "ffa18649", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "addr", - "nameLocation": "1028:4:8", - "parameters": { - "id": 6872, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6871, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6876, - "src": "1033:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6870, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1033:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1032:9:8" - }, - "returnParameters": { - "id": 6875, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6874, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6876, - "src": "1060:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6873, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1060:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1059:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6883, - "nodeType": "FunctionDefinition", - "src": "1110:53:8", - "functionSelector": "2d0335ab", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getNonce", - "nameLocation": "1119:8:8", - "parameters": { - "id": 6879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6878, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1128:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6877, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1128:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1127:9:8" - }, - "returnParameters": { - "id": 6882, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6881, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6883, - "src": "1155:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 6880, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "1155:6:8", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "1154:8:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6890, - "nodeType": "FunctionDefinition", - "src": "1258:44:8", - "functionSelector": "f8e18b57", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setNonce", - "nameLocation": "1267:8:8", - "parameters": { - "id": 6888, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6885, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6890, - "src": "1276:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6884, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1276:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6887, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6890, - "src": "1285:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 6886, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "1285:6:8", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "1275:17:8" - }, - "returnParameters": { - "id": 6889, - "nodeType": "ParameterList", - "parameters": [], - "src": "1301:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6898, - "nodeType": "FunctionDefinition", - "src": "1392:64:8", - "functionSelector": "89160467", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ffi", - "nameLocation": "1401:3:8", - "parameters": { - "id": 6894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6893, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6898, - "src": "1405:17:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 6891, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1405:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 6892, - "nodeType": "ArrayTypeName", - "src": "1405:8:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1404:19:8" - }, - "returnParameters": { - "id": 6897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6896, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6898, - "src": "1442:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6895, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1442:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1441:14:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6905, - "nodeType": "FunctionDefinition", - "src": "1510:59:8", - "functionSelector": "3d5923ee", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setEnv", - "nameLocation": "1519:6:8", - "parameters": { - "id": 6903, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6900, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6905, - "src": "1526:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6899, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1526:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6902, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6905, - "src": "1543:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6901, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1543:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1525:34:8" - }, - "returnParameters": { - "id": 6904, - "nodeType": "ParameterList", - "parameters": [], - "src": "1568:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6912, - "nodeType": "FunctionDefinition", - "src": "1628:58:8", - "functionSelector": "7ed1ec7d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBool", - "nameLocation": "1637:7:8", - "parameters": { - "id": 6908, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6907, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6912, - "src": "1645:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6906, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1645:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1644:17:8" - }, - "returnParameters": { - "id": 6911, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6910, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6912, - "src": "1680:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6909, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1680:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1679:6:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6919, - "nodeType": "FunctionDefinition", - "src": "1691:61:8", - "functionSelector": "c1978d1f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envUint", - "nameLocation": "1700:7:8", - "parameters": { - "id": 6915, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6914, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6919, - "src": "1708:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6913, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1708:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1707:17:8" - }, - "returnParameters": { - "id": 6918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6917, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6919, - "src": "1743:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6916, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1743:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1742:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6926, - "nodeType": "FunctionDefinition", - "src": "1757:59:8", - "functionSelector": "892a0c61", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envInt", - "nameLocation": "1766:6:8", - "parameters": { - "id": 6922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6921, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6926, - "src": "1773:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6920, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1773:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1772:17:8" - }, - "returnParameters": { - "id": 6925, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6924, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6926, - "src": "1808:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 6923, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1808:6:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1807:8:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6933, - "nodeType": "FunctionDefinition", - "src": "1821:64:8", - "functionSelector": "350d56bf", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envAddress", - "nameLocation": "1830:10:8", - "parameters": { - "id": 6929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6933, - "src": "1841:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6927, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1841:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1840:17:8" - }, - "returnParameters": { - "id": 6932, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6931, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6933, - "src": "1876:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6930, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1876:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1875:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6940, - "nodeType": "FunctionDefinition", - "src": "1890:64:8", - "functionSelector": "97949042", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes32", - "nameLocation": "1899:10:8", - "parameters": { - "id": 6936, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6935, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6940, - "src": "1910:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6934, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1910:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1909:17:8" - }, - "returnParameters": { - "id": 6939, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6938, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6940, - "src": "1945:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 6937, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1945:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1944:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6947, - "nodeType": "FunctionDefinition", - "src": "1959:69:8", - "functionSelector": "f877cb19", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envString", - "nameLocation": "1968:9:8", - "parameters": { - "id": 6943, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6942, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6947, - "src": "1978:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6941, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1978:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1977:17:8" - }, - "returnParameters": { - "id": 6946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6945, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6947, - "src": "2013:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6944, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2013:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2012:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6954, - "nodeType": "FunctionDefinition", - "src": "2033:67:8", - "functionSelector": "4d7baf06", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes", - "nameLocation": "2042:8:8", - "parameters": { - "id": 6950, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6949, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6954, - "src": "2051:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6948, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2051:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2050:17:8" - }, - "returnParameters": { - "id": 6953, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6952, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6954, - "src": "2086:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 6951, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2086:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2085:14:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6964, - "nodeType": "FunctionDefinition", - "src": "2178:84:8", - "functionSelector": "aaaddeaf", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBool", - "nameLocation": "2187:7:8", - "parameters": { - "id": 6959, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6956, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6964, - "src": "2195:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6955, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2195:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6958, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6964, - "src": "2212:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6957, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2212:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2194:34:8" - }, - "returnParameters": { - "id": 6963, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6962, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6964, - "src": "2247:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", - "typeString": "bool[]" - }, - "typeName": { - "baseType": { - "id": 6960, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2247:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6961, - "nodeType": "ArrayTypeName", - "src": "2247:6:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", - "typeString": "bool[]" - } - }, - "visibility": "internal" - } - ], - "src": "2246:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6974, - "nodeType": "FunctionDefinition", - "src": "2267:87:8", - "functionSelector": "f3dec099", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envUint", - "nameLocation": "2276:7:8", - "parameters": { - "id": 6969, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6966, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6974, - "src": "2284:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6965, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2284:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6968, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6974, - "src": "2301:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2301:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2283:34:8" - }, - "returnParameters": { - "id": 6973, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6972, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6974, - "src": "2336:16:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 6970, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2336:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6971, - "nodeType": "ArrayTypeName", - "src": "2336:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "visibility": "internal" - } - ], - "src": "2335:18:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6984, - "nodeType": "FunctionDefinition", - "src": "2359:85:8", - "functionSelector": "42181150", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envInt", - "nameLocation": "2368:6:8", - "parameters": { - "id": 6979, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6976, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6984, - "src": "2375:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6975, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2375:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6978, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6984, - "src": "2392:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6977, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2392:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2374:34:8" - }, - "returnParameters": { - "id": 6983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6982, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6984, - "src": "2427:15:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr", - "typeString": "int256[]" - }, - "typeName": { - "baseType": { - "id": 6980, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "2427:6:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "id": 6981, - "nodeType": "ArrayTypeName", - "src": "2427:8:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr", - "typeString": "int256[]" - } - }, - "visibility": "internal" - } - ], - "src": "2426:17:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 6994, - "nodeType": "FunctionDefinition", - "src": "2449:90:8", - "functionSelector": "ad31b9fa", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envAddress", - "nameLocation": "2458:10:8", - "parameters": { - "id": 6989, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6986, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6994, - "src": "2469:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6985, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2469:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6988, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6994, - "src": "2486:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6987, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2486:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2468:34:8" - }, - "returnParameters": { - "id": 6993, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6992, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 6994, - "src": "2521:16:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 6990, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2521:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6991, - "nodeType": "ArrayTypeName", - "src": "2521:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2520:18:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7004, - "nodeType": "FunctionDefinition", - "src": "2544:90:8", - "functionSelector": "5af231c1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes32", - "nameLocation": "2553:10:8", - "parameters": { - "id": 6999, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6996, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7004, - "src": "2564:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6995, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2564:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6998, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7004, - "src": "2581:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6997, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2581:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2563:34:8" - }, - "returnParameters": { - "id": 7003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7002, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7004, - "src": "2616:16:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7000, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2616:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7001, - "nodeType": "ArrayTypeName", - "src": "2616:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "2615:18:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7014, - "nodeType": "FunctionDefinition", - "src": "2639:88:8", - "functionSelector": "14b02bc9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envString", - "nameLocation": "2648:9:8", - "parameters": { - "id": 7009, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7006, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7014, - "src": "2658:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7005, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2658:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7008, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7014, - "src": "2675:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7007, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2675:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2657:34:8" - }, - "returnParameters": { - "id": 7013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7012, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7014, - "src": "2710:15:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 7010, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2710:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 7011, - "nodeType": "ArrayTypeName", - "src": "2710:8:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "2709:17:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7024, - "nodeType": "FunctionDefinition", - "src": "2732:86:8", - "functionSelector": "ddc2651b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "envBytes", - "nameLocation": "2741:8:8", - "parameters": { - "id": 7019, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7016, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "2750:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7015, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2750:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7018, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "2767:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7017, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2767:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2749:34:8" - }, - "returnParameters": { - "id": 7023, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7022, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "2802:14:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 7020, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2802:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 7021, - "nodeType": "ArrayTypeName", - "src": "2802:7:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "internal" - } - ], - "src": "2801:16:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7029, - "nodeType": "FunctionDefinition", - "src": "2888:33:8", - "functionSelector": "ca669fa7", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "prank", - "nameLocation": "2897:5:8", - "parameters": { - "id": 7027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7026, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7029, - "src": "2903:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2903:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2902:9:8" - }, - "returnParameters": { - "id": 7028, - "nodeType": "ParameterList", - "parameters": [], - "src": "2920:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7034, - "nodeType": "FunctionDefinition", - "src": "3023:38:8", - "functionSelector": "06447d56", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startPrank", - "nameLocation": "3032:10:8", - "parameters": { - "id": 7032, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7031, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7034, - "src": "3043:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7030, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3043:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3042:9:8" - }, - "returnParameters": { - "id": 7033, - "nodeType": "ParameterList", - "parameters": [], - "src": "3060:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7041, - "nodeType": "FunctionDefinition", - "src": "3173:41:8", - "functionSelector": "47e50cce", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "prank", - "nameLocation": "3182:5:8", - "parameters": { - "id": 7039, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7036, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7041, - "src": "3188:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7035, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3188:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7038, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7041, - "src": "3196:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7037, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3196:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3187:17:8" - }, - "returnParameters": { - "id": 7040, - "nodeType": "ParameterList", - "parameters": [], - "src": "3213:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7048, - "nodeType": "FunctionDefinition", - "src": "3358:46:8", - "functionSelector": "45b56078", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startPrank", - "nameLocation": "3367:10:8", - "parameters": { - "id": 7046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7043, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7048, - "src": "3378:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7042, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3378:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7045, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7048, - "src": "3386:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7044, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3386:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3377:17:8" - }, - "returnParameters": { - "id": 7047, - "nodeType": "ParameterList", - "parameters": [], - "src": "3403:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7051, - "nodeType": "FunctionDefinition", - "src": "3474:30:8", - "functionSelector": "90c5013b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "stopPrank", - "nameLocation": "3483:9:8", - "parameters": { - "id": 7049, - "nodeType": "ParameterList", - "parameters": [], - "src": "3492:2:8" - }, - "returnParameters": { - "id": 7050, - "nodeType": "ParameterList", - "parameters": [], - "src": "3503:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7058, - "nodeType": "FunctionDefinition", - "src": "3560:41:8", - "functionSelector": "c88a5e6d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deal", - "nameLocation": "3569:4:8", - "parameters": { - "id": 7056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7053, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7058, - "src": "3574:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7052, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3574:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7055, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7058, - "src": "3583:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7054, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3583:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3573:18:8" - }, - "returnParameters": { - "id": 7057, - "nodeType": "ParameterList", - "parameters": [], - "src": "3600:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7065, - "nodeType": "FunctionDefinition", - "src": "3651:48:8", - "functionSelector": "b4d6c782", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "etch", - "nameLocation": "3660:4:8", - "parameters": { - "id": 7063, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7060, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7065, - "src": "3665:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7059, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3665:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7062, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7065, - "src": "3674:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7061, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3674:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3664:25:8" - }, - "returnParameters": { - "id": 7064, - "nodeType": "ParameterList", - "parameters": [], - "src": "3698:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7070, - "nodeType": "FunctionDefinition", - "src": "3741:47:8", - "functionSelector": "f28dceb3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "3750:12:8", - "parameters": { - "id": 7068, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7067, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7070, - "src": "3763:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7066, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3763:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3762:16:8" - }, - "returnParameters": { - "id": 7069, - "nodeType": "ParameterList", - "parameters": [], - "src": "3787:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7075, - "nodeType": "FunctionDefinition", - "src": "3793:39:8", - "functionSelector": "c31eb0e0", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "3802:12:8", - "parameters": { - "id": 7073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7072, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7075, - "src": "3815:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7071, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "3815:6:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "3814:8:8" - }, - "returnParameters": { - "id": 7074, - "nodeType": "ParameterList", - "parameters": [], - "src": "3831:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7078, - "nodeType": "FunctionDefinition", - "src": "3837:33:8", - "functionSelector": "f4844814", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectRevert", - "nameLocation": "3846:12:8", - "parameters": { - "id": 7076, - "nodeType": "ParameterList", - "parameters": [], - "src": "3858:2:8" - }, - "returnParameters": { - "id": 7077, - "nodeType": "ParameterList", - "parameters": [], - "src": "3869:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7081, - "nodeType": "FunctionDefinition", - "src": "3919:27:8", - "functionSelector": "266cf109", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "record", - "nameLocation": "3928:6:8", - "parameters": { - "id": 7079, - "nodeType": "ParameterList", - "parameters": [], - "src": "3934:2:8" - }, - "returnParameters": { - "id": 7080, - "nodeType": "ParameterList", - "parameters": [], - "src": "3945:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7092, - "nodeType": "FunctionDefinition", - "src": "4043:94:8", - "functionSelector": "65bc9481", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "accesses", - "nameLocation": "4052:8:8", - "parameters": { - "id": 7084, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7083, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7092, - "src": "4061:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7082, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4061:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4060:9:8" - }, - "returnParameters": { - "id": 7091, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7087, - "mutability": "mutable", - "name": "reads", - "nameLocation": "4105:5:8", - "nodeType": "VariableDeclaration", - "scope": 7092, - "src": "4088:22:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7085, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4088:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7086, - "nodeType": "ArrayTypeName", - "src": "4088:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7090, - "mutability": "mutable", - "name": "writes", - "nameLocation": "4129:6:8", - "nodeType": "VariableDeclaration", - "scope": 7092, - "src": "4112:23:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[]" - }, - "typeName": { - "baseType": { - "id": 7088, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4112:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 7089, - "nodeType": "ArrayTypeName", - "src": "4112:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", - "typeString": "bytes32[]" - } - }, - "visibility": "internal" - } - ], - "src": "4087:49:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7103, - "nodeType": "FunctionDefinition", - "src": "4470:50:8", - "functionSelector": "491cc7c2", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectEmit", - "nameLocation": "4479:10:8", - "parameters": { - "id": 7101, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7094, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7103, - "src": "4490:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7093, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4490:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7096, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7103, - "src": "4495:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7095, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4495:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7098, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7103, - "src": "4500:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7097, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4500:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7100, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7103, - "src": "4505:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7099, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4505:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "4489:21:8" - }, - "returnParameters": { - "id": 7102, - "nodeType": "ParameterList", - "parameters": [], - "src": "4519:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7116, - "nodeType": "FunctionDefinition", - "src": "4525:58:8", - "functionSelector": "81bad6f3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectEmit", - "nameLocation": "4534:10:8", - "parameters": { - "id": 7114, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7105, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7116, - "src": "4545:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7104, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4545:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7107, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7116, - "src": "4550:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7106, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4550:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7109, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7116, - "src": "4555:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7108, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4555:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7111, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7116, - "src": "4560:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7110, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4560:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7113, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7116, - "src": "4565:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7112, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4565:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4544:29:8" - }, - "returnParameters": { - "id": 7115, - "nodeType": "ParameterList", - "parameters": [], - "src": "4582:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7125, - "nodeType": "FunctionDefinition", - "src": "4838:66:8", - "functionSelector": "b96213e4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "mockCall", - "nameLocation": "4847:8:8", - "parameters": { - "id": 7123, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7118, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7125, - "src": "4856:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7117, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4856:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7120, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7125, - "src": "4864:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7119, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4864:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7122, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7125, - "src": "4879:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7121, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4879:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4855:39:8" - }, - "returnParameters": { - "id": 7124, - "nodeType": "ParameterList", - "parameters": [], - "src": "4903:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7136, - "nodeType": "FunctionDefinition", - "src": "5072:74:8", - "functionSelector": "81409b91", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "mockCall", - "nameLocation": "5081:8:8", - "parameters": { - "id": 7134, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7127, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7136, - "src": "5090:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7126, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5090:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7129, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7136, - "src": "5098:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7128, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5098:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7131, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7136, - "src": "5106:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7130, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5106:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7133, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7136, - "src": "5121:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7132, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5121:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5089:47:8" - }, - "returnParameters": { - "id": 7135, - "nodeType": "ParameterList", - "parameters": [], - "src": "5145:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7139, - "nodeType": "FunctionDefinition", - "src": "5182:37:8", - "functionSelector": "3fdf4e15", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "clearMockedCalls", - "nameLocation": "5191:16:8", - "parameters": { - "id": 7137, - "nodeType": "ParameterList", - "parameters": [], - "src": "5207:2:8" - }, - "returnParameters": { - "id": 7138, - "nodeType": "ParameterList", - "parameters": [], - "src": "5218:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7146, - "nodeType": "FunctionDefinition", - "src": "5347:53:8", - "functionSelector": "bd6af434", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectCall", - "nameLocation": "5356:10:8", - "parameters": { - "id": 7144, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7141, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7146, - "src": "5367:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7140, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5367:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7143, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7146, - "src": "5375:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7142, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5375:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5366:24:8" - }, - "returnParameters": { - "id": 7145, - "nodeType": "ParameterList", - "parameters": [], - "src": "5399:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7155, - "nodeType": "FunctionDefinition", - "src": "5483:61:8", - "functionSelector": "f30c7ba3", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "expectCall", - "nameLocation": "5492:10:8", - "parameters": { - "id": 7153, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7148, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7155, - "src": "5503:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7147, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5503:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7150, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7155, - "src": "5511:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7149, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5511:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7152, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7155, - "src": "5519:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7151, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5519:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5502:32:8" - }, - "returnParameters": { - "id": 7154, - "nodeType": "ParameterList", - "parameters": [], - "src": "5543:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7162, - "nodeType": "FunctionDefinition", - "src": "5652:66:8", - "functionSelector": "8d1cc925", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getCode", - "nameLocation": "5661:7:8", - "parameters": { - "id": 7158, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7157, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7162, - "src": "5669:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7156, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5669:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5668:17:8" - }, - "returnParameters": { - "id": 7161, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7160, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7162, - "src": "5704:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7159, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5704:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5703:14:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7169, - "nodeType": "FunctionDefinition", - "src": "5826:74:8", - "functionSelector": "3ebf73b4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getDeployedCode", - "nameLocation": "5835:15:8", - "parameters": { - "id": 7165, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7164, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7169, - "src": "5851:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7163, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5851:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5850:17:8" - }, - "returnParameters": { - "id": 7168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7167, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7169, - "src": "5886:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7166, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5886:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5885:14:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7176, - "nodeType": "FunctionDefinition", - "src": "5945:50:8", - "functionSelector": "c657c718", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "label", - "nameLocation": "5954:5:8", - "parameters": { - "id": 7174, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7171, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7176, - "src": "5960:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7170, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5960:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7173, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7176, - "src": "5969:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7172, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5969:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5959:26:8" - }, - "returnParameters": { - "id": 7175, - "nodeType": "ParameterList", - "parameters": [], - "src": "5994:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7181, - "nodeType": "FunctionDefinition", - "src": "6087:31:8", - "functionSelector": "4c63e562", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "assume", - "nameLocation": "6096:6:8", - "parameters": { - "id": 7179, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7178, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7181, - "src": "6103:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7177, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6103:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6102:6:8" - }, - "returnParameters": { - "id": 7180, - "nodeType": "ParameterList", - "parameters": [], - "src": "6117:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7186, - "nodeType": "FunctionDefinition", - "src": "6156:36:8", - "functionSelector": "ff483c54", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "coinbase", - "nameLocation": "6165:8:8", - "parameters": { - "id": 7184, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7183, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7186, - "src": "6174:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7182, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6174:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6173:9:8" - }, - "returnParameters": { - "id": 7185, - "nodeType": "ParameterList", - "parameters": [], - "src": "6191:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7189, - "nodeType": "FunctionDefinition", - "src": "6359:30:8", - "functionSelector": "afc98040", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "6368:9:8", - "parameters": { - "id": 7187, - "nodeType": "ParameterList", - "parameters": [], - "src": "6377:2:8" - }, - "returnParameters": { - "id": 7188, - "nodeType": "ParameterList", - "parameters": [], - "src": "6388:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7194, - "nodeType": "FunctionDefinition", - "src": "6548:37:8", - "functionSelector": "e6962cdb", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "6557:9:8", - "parameters": { - "id": 7192, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7191, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7194, - "src": "6567:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7190, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6567:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6566:9:8" - }, - "returnParameters": { - "id": 7193, - "nodeType": "ParameterList", - "parameters": [], - "src": "6584:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7199, - "nodeType": "FunctionDefinition", - "src": "6748:37:8", - "functionSelector": "f67a965b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "broadcast", - "nameLocation": "6757:9:8", - "parameters": { - "id": 7197, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7196, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7199, - "src": "6767:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7195, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6767:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6766:9:8" - }, - "returnParameters": { - "id": 7198, - "nodeType": "ParameterList", - "parameters": [], - "src": "6784:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7202, - "nodeType": "FunctionDefinition", - "src": "6958:35:8", - "functionSelector": "7fb5297f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "6967:14:8", - "parameters": { - "id": 7200, - "nodeType": "ParameterList", - "parameters": [], - "src": "6981:2:8" - }, - "returnParameters": { - "id": 7201, - "nodeType": "ParameterList", - "parameters": [], - "src": "6992:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7207, - "nodeType": "FunctionDefinition", - "src": "7144:42:8", - "functionSelector": "7fec2a8d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "7153:14:8", - "parameters": { - "id": 7205, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7204, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7207, - "src": "7168:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7203, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7168:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7167:9:8" - }, - "returnParameters": { - "id": 7206, - "nodeType": "ParameterList", - "parameters": [], - "src": "7185:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7212, - "nodeType": "FunctionDefinition", - "src": "7341:42:8", - "functionSelector": "ce817d47", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "startBroadcast", - "nameLocation": "7350:14:8", - "parameters": { - "id": 7210, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7209, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7212, - "src": "7365:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7208, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7365:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7364:9:8" - }, - "returnParameters": { - "id": 7211, - "nodeType": "ParameterList", - "parameters": [], - "src": "7382:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7215, - "nodeType": "FunctionDefinition", - "src": "7433:34:8", - "functionSelector": "76eadd36", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "stopBroadcast", - "nameLocation": "7442:13:8", - "parameters": { - "id": 7213, - "nodeType": "ParameterList", - "parameters": [], - "src": "7455:2:8" - }, - "returnParameters": { - "id": 7214, - "nodeType": "ParameterList", - "parameters": [], - "src": "7466:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7222, - "nodeType": "FunctionDefinition", - "src": "7541:68:8", - "functionSelector": "60f9bb11", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "readFile", - "nameLocation": "7550:8:8", - "parameters": { - "id": 7218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7217, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7222, - "src": "7559:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7216, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7559:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7558:17:8" - }, - "returnParameters": { - "id": 7221, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7220, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7222, - "src": "7594:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7219, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7594:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7593:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7227, - "nodeType": "FunctionDefinition", - "src": "7662:56:8", - "functionSelector": "d930a0e6", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "projectRoot", - "nameLocation": "7671:11:8", - "parameters": { - "id": 7223, - "nodeType": "ParameterList", - "parameters": [], - "src": "7682:2:8" - }, - "returnParameters": { - "id": 7226, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7225, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7227, - "src": "7703:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7224, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7703:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7702:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7234, - "nodeType": "FunctionDefinition", - "src": "7782:68:8", - "functionSelector": "70f55728", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "readLine", - "nameLocation": "7791:8:8", - "parameters": { - "id": 7230, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7229, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7234, - "src": "7800:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7228, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7800:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7799:17:8" - }, - "returnParameters": { - "id": 7233, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7232, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7234, - "src": "7835:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7231, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7835:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7834:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7241, - "nodeType": "FunctionDefinition", - "src": "7995:62:8", - "functionSelector": "897e0a97", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeFile", - "nameLocation": "8004:9:8", - "parameters": { - "id": 7239, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7236, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7241, - "src": "8014:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7235, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8014:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7238, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7241, - "src": "8031:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7237, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8031:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8013:34:8" - }, - "returnParameters": { - "id": 7240, - "nodeType": "ParameterList", - "parameters": [], - "src": "8056:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7248, - "nodeType": "FunctionDefinition", - "src": "8154:62:8", - "functionSelector": "619d897f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "writeLine", - "nameLocation": "8163:9:8", - "parameters": { - "id": 7246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7243, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7248, - "src": "8173:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7242, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8173:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7245, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7248, - "src": "8190:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7244, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8190:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8172:34:8" - }, - "returnParameters": { - "id": 7247, - "nodeType": "ParameterList", - "parameters": [], - "src": "8215:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7253, - "nodeType": "FunctionDefinition", - "src": "8348:45:8", - "functionSelector": "48c3241f", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "closeFile", - "nameLocation": "8357:9:8", - "parameters": { - "id": 7251, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7250, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7253, - "src": "8367:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7249, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8367:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8366:17:8" - }, - "returnParameters": { - "id": 7252, - "nodeType": "ParameterList", - "parameters": [], - "src": "8392:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7258, - "nodeType": "FunctionDefinition", - "src": "8661:46:8", - "functionSelector": "f1afe04d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "removeFile", - "nameLocation": "8670:10:8", - "parameters": { - "id": 7256, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7255, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7258, - "src": "8681:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7254, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8681:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8680:17:8" - }, - "returnParameters": { - "id": 7257, - "nodeType": "ParameterList", - "parameters": [], - "src": "8706:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7265, - "nodeType": "FunctionDefinition", - "src": "8779:59:8", - "functionSelector": "56ca623e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "8788:8:8", - "parameters": { - "id": 7261, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7260, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7265, - "src": "8797:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7259, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8797:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8796:9:8" - }, - "returnParameters": { - "id": 7264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7263, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7265, - "src": "8823:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7262, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8823:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8822:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7272, - "nodeType": "FunctionDefinition", - "src": "8843:66:8", - "functionSelector": "71aad10d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "8852:8:8", - "parameters": { - "id": 7268, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7267, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7272, - "src": "8861:14:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7266, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8861:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8860:16:8" - }, - "returnParameters": { - "id": 7271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7270, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7272, - "src": "8894:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7269, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8894:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8893:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7279, - "nodeType": "FunctionDefinition", - "src": "8914:59:8", - "functionSelector": "b11a19e8", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "8923:8:8", - "parameters": { - "id": 7275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7274, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7279, - "src": "8932:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7273, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "8932:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "8931:9:8" - }, - "returnParameters": { - "id": 7278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7277, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7279, - "src": "8958:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7276, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8958:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8957:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7286, - "nodeType": "FunctionDefinition", - "src": "8978:56:8", - "functionSelector": "71dce7da", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "8987:8:8", - "parameters": { - "id": 7282, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7281, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7286, - "src": "8996:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7280, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8996:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8995:6:8" - }, - "returnParameters": { - "id": 7285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7284, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7286, - "src": "9019:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7283, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9019:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9018:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7293, - "nodeType": "FunctionDefinition", - "src": "9039:59:8", - "functionSelector": "6900a3ae", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "9048:8:8", - "parameters": { - "id": 7289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7288, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7293, - "src": "9057:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7287, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9057:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9056:9:8" - }, - "returnParameters": { - "id": 7292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7291, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7293, - "src": "9083:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7290, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9083:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9082:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7300, - "nodeType": "FunctionDefinition", - "src": "9103:58:8", - "functionSelector": "a322c40e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "toString", - "nameLocation": "9112:8:8", - "parameters": { - "id": 7296, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7295, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7300, - "src": "9121:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7294, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9121:6:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "9120:8:8" - }, - "returnParameters": { - "id": 7299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7298, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7300, - "src": "9146:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7297, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9146:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9145:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7307, - "nodeType": "FunctionDefinition", - "src": "9231:69:8", - "functionSelector": "8f5d232d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBytes", - "nameLocation": "9240:10:8", - "parameters": { - "id": 7303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7302, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7307, - "src": "9251:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7301, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9251:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9250:17:8" - }, - "returnParameters": { - "id": 7306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7305, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7307, - "src": "9286:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7304, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9286:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9285:14:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7314, - "nodeType": "FunctionDefinition", - "src": "9305:66:8", - "functionSelector": "c6ce059d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseAddress", - "nameLocation": "9314:12:8", - "parameters": { - "id": 7310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7309, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7314, - "src": "9327:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7308, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9327:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9326:17:8" - }, - "returnParameters": { - "id": 7313, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7312, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7314, - "src": "9362:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7311, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9362:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "9361:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7321, - "nodeType": "FunctionDefinition", - "src": "9376:63:8", - "functionSelector": "fa91454d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseUint", - "nameLocation": "9385:9:8", - "parameters": { - "id": 7317, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7316, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7321, - "src": "9395:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7315, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9395:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9394:17:8" - }, - "returnParameters": { - "id": 7320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7319, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7321, - "src": "9430:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7318, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9430:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9429:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7328, - "nodeType": "FunctionDefinition", - "src": "9444:61:8", - "functionSelector": "42346c5e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseInt", - "nameLocation": "9453:8:8", - "parameters": { - "id": 7324, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7323, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7328, - "src": "9462:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7322, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9462:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9461:17:8" - }, - "returnParameters": { - "id": 7327, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7326, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7328, - "src": "9497:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7325, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "9497:6:8", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "9496:8:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7335, - "nodeType": "FunctionDefinition", - "src": "9510:66:8", - "functionSelector": "087e6e81", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBytes32", - "nameLocation": "9519:12:8", - "parameters": { - "id": 7331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7330, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7335, - "src": "9532:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7329, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9532:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9531:17:8" - }, - "returnParameters": { - "id": 7334, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7333, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7335, - "src": "9567:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7332, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "9567:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "9566:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7342, - "nodeType": "FunctionDefinition", - "src": "9581:60:8", - "functionSelector": "974ef924", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseBool", - "nameLocation": "9590:9:8", - "parameters": { - "id": 7338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7337, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7342, - "src": "9600:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7336, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9600:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9599:17:8" - }, - "returnParameters": { - "id": 7341, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7340, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7342, - "src": "9635:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7339, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9635:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9634:6:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7345, - "nodeType": "FunctionDefinition", - "src": "9686:31:8", - "functionSelector": "41af2f52", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "recordLogs", - "nameLocation": "9695:10:8", - "parameters": { - "id": 7343, - "nodeType": "ParameterList", - "parameters": [], - "src": "9705:2:8" - }, - "returnParameters": { - "id": 7344, - "nodeType": "ParameterList", - "parameters": [], - "src": "9716:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7352, - "nodeType": "FunctionDefinition", - "src": "9770:59:8", - "functionSelector": "191553a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getRecordedLogs", - "nameLocation": "9779:15:8", - "parameters": { - "id": 7346, - "nodeType": "ParameterList", - "parameters": [], - "src": "9794:2:8" - }, - "returnParameters": { - "id": 7351, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7350, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7352, - "src": "9815:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Log_$6813_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Vm.Log[]" - }, - "typeName": { - "baseType": { - "id": 7348, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 7347, - "name": "Log", - "nameLocations": [ - "9815:3:8" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 6813, - "src": "9815:3:8" - }, - "referencedDeclaration": 6813, - "src": "9815:3:8", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Log_$6813_storage_ptr", - "typeString": "struct Vm.Log" - } - }, - "id": 7349, - "nodeType": "ArrayTypeName", - "src": "9815:5:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Log_$6813_storage_$dyn_storage_ptr", - "typeString": "struct Vm.Log[]" - } - }, - "visibility": "internal" - } - ], - "src": "9814:14:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7357, - "nodeType": "FunctionDefinition", - "src": "9979:46:8", - "functionSelector": "9711715a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "snapshot", - "nameLocation": "9988:8:8", - "parameters": { - "id": 7353, - "nodeType": "ParameterList", - "parameters": [], - "src": "9996:2:8" - }, - "returnParameters": { - "id": 7356, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7355, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7357, - "src": "10016:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7354, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10016:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10015:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7364, - "nodeType": "FunctionDefinition", - "src": "10217:50:8", - "functionSelector": "44d7f0a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revertTo", - "nameLocation": "10226:8:8", - "parameters": { - "id": 7360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7359, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7364, - "src": "10235:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7358, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10235:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10234:9:8" - }, - "returnParameters": { - "id": 7363, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7362, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7364, - "src": "10261:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7361, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10261:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10260:6:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7373, - "nodeType": "FunctionDefinition", - "src": "10372:71:8", - "functionSelector": "6ba3ba2b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "10381:10:8", - "parameters": { - "id": 7369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7366, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7373, - "src": "10392:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7365, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10392:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7368, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7373, - "src": "10408:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7367, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10408:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10391:25:8" - }, - "returnParameters": { - "id": 7372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7371, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7373, - "src": "10434:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7370, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10434:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10433:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7380, - "nodeType": "FunctionDefinition", - "src": "10560:63:8", - "functionSelector": "31ba3498", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "10569:10:8", - "parameters": { - "id": 7376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7375, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7380, - "src": "10580:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7374, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10580:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10579:17:8" - }, - "returnParameters": { - "id": 7379, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7378, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7380, - "src": "10614:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7377, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10614:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10613:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7389, - "nodeType": "FunctionDefinition", - "src": "10801:73:8", - "functionSelector": "7ca29682", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createFork", - "nameLocation": "10810:10:8", - "parameters": { - "id": 7385, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7382, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7389, - "src": "10821:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7381, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10821:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7384, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7389, - "src": "10838:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7383, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "10838:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "10820:26:8" - }, - "returnParameters": { - "id": 7388, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7387, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7389, - "src": "10865:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7386, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10865:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10864:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7398, - "nodeType": "FunctionDefinition", - "src": "10997:77:8", - "functionSelector": "71ee464d", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "11006:16:8", - "parameters": { - "id": 7394, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7391, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7398, - "src": "11023:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11023:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7393, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7398, - "src": "11039:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7392, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11039:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11022:25:8" - }, - "returnParameters": { - "id": 7397, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7396, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7398, - "src": "11065:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7395, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11065:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11064:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7407, - "nodeType": "FunctionDefinition", - "src": "11269:79:8", - "functionSelector": "84d52b7a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "11278:16:8", - "parameters": { - "id": 7403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7400, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7407, - "src": "11295:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7399, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11295:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7402, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7407, - "src": "11312:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7401, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "11312:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "11294:26:8" - }, - "returnParameters": { - "id": 7406, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7405, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7407, - "src": "11339:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7404, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11339:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11338:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7414, - "nodeType": "FunctionDefinition", - "src": "11482:69:8", - "functionSelector": "98680034", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "createSelectFork", - "nameLocation": "11491:16:8", - "parameters": { - "id": 7410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7409, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7414, - "src": "11508:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7408, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11508:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11507:17:8" - }, - "returnParameters": { - "id": 7413, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7412, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7414, - "src": "11542:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7411, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11542:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11541:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7419, - "nodeType": "FunctionDefinition", - "src": "11662:38:8", - "functionSelector": "9ebf6827", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "selectFork", - "nameLocation": "11671:10:8", - "parameters": { - "id": 7417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7416, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7419, - "src": "11682:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7415, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11682:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11681:9:8" - }, - "returnParameters": { - "id": 7418, - "nodeType": "ParameterList", - "parameters": [], - "src": "11699:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7425, - "nodeType": "FunctionDefinition", - "src": "11794:48:8", - "documentation": { - "id": 7420, - "nodeType": "StructuredDocumentation", - "src": "11705:84:8", - "text": "Returns the currently active fork\n Reverts if no fork is currently active" - }, - "functionSelector": "2f103f22", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "activeFork", - "nameLocation": "11803:10:8", - "parameters": { - "id": 7421, - "nodeType": "ParameterList", - "parameters": [], - "src": "11813:2:8" - }, - "returnParameters": { - "id": 7424, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7423, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7425, - "src": "11833:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7422, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11833:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11832:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7430, - "nodeType": "FunctionDefinition", - "src": "11977:36:8", - "functionSelector": "d9bbf3a1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "11986:8:8", - "parameters": { - "id": 7428, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7427, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7430, - "src": "11995:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7426, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11995:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11994:9:8" - }, - "returnParameters": { - "id": 7429, - "nodeType": "ParameterList", - "parameters": [], - "src": "12012:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7435, - "nodeType": "FunctionDefinition", - "src": "12223:36:8", - "functionSelector": "0f29772b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "12232:8:8", - "parameters": { - "id": 7433, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7432, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7435, - "src": "12241:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7431, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "12241:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "12240:9:8" - }, - "returnParameters": { - "id": 7434, - "nodeType": "ParameterList", - "parameters": [], - "src": "12258:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7442, - "nodeType": "FunctionDefinition", - "src": "12316:64:8", - "functionSelector": "d74c83a4", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "12325:8:8", - "parameters": { - "id": 7440, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7437, - "mutability": "mutable", - "name": "forkId", - "nameLocation": "12342:6:8", - "nodeType": "VariableDeclaration", - "scope": 7442, - "src": "12334:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12334:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7439, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "12358:11:8", - "nodeType": "VariableDeclaration", - "scope": 7442, - "src": "12350:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7438, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12350:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12333:37:8" - }, - "returnParameters": { - "id": 7441, - "nodeType": "ParameterList", - "parameters": [], - "src": "12379:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7449, - "nodeType": "FunctionDefinition", - "src": "12513:64:8", - "functionSelector": "f2830f7b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rollFork", - "nameLocation": "12522:8:8", - "parameters": { - "id": 7447, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7444, - "mutability": "mutable", - "name": "forkId", - "nameLocation": "12539:6:8", - "nodeType": "VariableDeclaration", - "scope": 7449, - "src": "12531:14:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7443, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12531:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7446, - "mutability": "mutable", - "name": "transaction", - "nameLocation": "12555:11:8", - "nodeType": "VariableDeclaration", - "scope": 7449, - "src": "12547:19:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 7445, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "12547:7:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "12530:37:8" - }, - "returnParameters": { - "id": 7448, - "nodeType": "ParameterList", - "parameters": [], - "src": "12576:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7454, - "nodeType": "FunctionDefinition", - "src": "12777:42:8", - "functionSelector": "57e22dde", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "12786:14:8", - "parameters": { - "id": 7452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7451, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7454, - "src": "12801:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7450, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12801:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12800:9:8" - }, - "returnParameters": { - "id": 7453, - "nodeType": "ParameterList", - "parameters": [], - "src": "12818:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7461, - "nodeType": "FunctionDefinition", - "src": "12824:51:8", - "functionSelector": "4074e0a8", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "12833:14:8", - "parameters": { - "id": 7459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7456, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7461, - "src": "12848:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7455, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12848:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7458, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7461, - "src": "12857:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7457, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12857:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12847:18:8" - }, - "returnParameters": { - "id": 7460, - "nodeType": "ParameterList", - "parameters": [], - "src": "12874:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7470, - "nodeType": "FunctionDefinition", - "src": "12880:60:8", - "functionSelector": "efb77a75", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "12889:14:8", - "parameters": { - "id": 7468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7463, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7470, - "src": "12904:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12904:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7465, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7470, - "src": "12913:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7464, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12913:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7467, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7470, - "src": "12922:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7466, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12922:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12903:27:8" - }, - "returnParameters": { - "id": 7469, - "nodeType": "ParameterList", - "parameters": [], - "src": "12939:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7476, - "nodeType": "FunctionDefinition", - "src": "12945:53:8", - "functionSelector": "1d9e269e", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "makePersistent", - "nameLocation": "12954:14:8", - "parameters": { - "id": 7474, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7473, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7476, - "src": "12969:18:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 7471, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12969:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7472, - "nodeType": "ArrayTypeName", - "src": "12969:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "12968:20:8" - }, - "returnParameters": { - "id": 7475, - "nodeType": "ParameterList", - "parameters": [], - "src": "12997:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7481, - "nodeType": "FunctionDefinition", - "src": "13092:44:8", - "functionSelector": "997a0222", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revokePersistent", - "nameLocation": "13101:16:8", - "parameters": { - "id": 7479, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7478, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7481, - "src": "13118:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13118:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13117:9:8" - }, - "returnParameters": { - "id": 7480, - "nodeType": "ParameterList", - "parameters": [], - "src": "13135:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7487, - "nodeType": "FunctionDefinition", - "src": "13141:55:8", - "functionSelector": "3ce969e6", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "revokePersistent", - "nameLocation": "13150:16:8", - "parameters": { - "id": 7485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7484, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7487, - "src": "13167:18:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 7482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13167:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7483, - "nodeType": "ArrayTypeName", - "src": "13167:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "13166:20:8" - }, - "returnParameters": { - "id": 7486, - "nodeType": "ParameterList", - "parameters": [], - "src": "13195:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7494, - "nodeType": "FunctionDefinition", - "src": "13260:55:8", - "functionSelector": "d92d8efd", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isPersistent", - "nameLocation": "13269:12:8", - "parameters": { - "id": 7490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7489, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7494, - "src": "13282:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7488, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13282:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13281:9:8" - }, - "returnParameters": { - "id": 7493, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7492, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7494, - "src": "13309:4:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7491, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13309:4:8", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13308:6:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7499, - "nodeType": "FunctionDefinition", - "src": "13397:43:8", - "functionSelector": "ea060291", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "allowCheatcodes", - "nameLocation": "13406:15:8", - "parameters": { - "id": 7497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7496, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7499, - "src": "13422:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7495, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13422:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13421:9:8" - }, - "returnParameters": { - "id": 7498, - "nodeType": "ParameterList", - "parameters": [], - "src": "13439:0:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7506, - "nodeType": "FunctionDefinition", - "src": "13493:65:8", - "functionSelector": "975a6ce9", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rpcUrl", - "nameLocation": "13502:6:8", - "parameters": { - "id": 7502, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7501, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7506, - "src": "13509:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7500, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13509:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13508:17:8" - }, - "returnParameters": { - "id": 7505, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7504, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7506, - "src": "13543:13:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7503, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13543:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13542:15:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7514, - "nodeType": "FunctionDefinition", - "src": "13626:56:8", - "functionSelector": "a85a8418", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rpcUrls", - "nameLocation": "13635:7:8", - "parameters": { - "id": 7507, - "nodeType": "ParameterList", - "parameters": [], - "src": "13642:2:8" - }, - "returnParameters": { - "id": 7513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7512, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7514, - "src": "13662:18:8", - "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": 7508, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13662:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 7510, - "length": { - "hexValue": "32", - "id": 7509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13669:1:8", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "nodeType": "ArrayTypeName", - "src": "13662:9:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$2_storage_ptr", - "typeString": "string[2]" - } - }, - "id": 7511, - "nodeType": "ArrayTypeName", - "src": "13662:11:8", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_array$_t_string_storage_$2_storage_$dyn_storage_ptr", - "typeString": "string[2][]" - } - }, - "visibility": "internal" - } - ], - "src": "13661:20:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7523, - "nodeType": "FunctionDefinition", - "src": "13818:71:8", - "functionSelector": "6229498b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deriveKey", - "nameLocation": "13827:9:8", - "parameters": { - "id": 7519, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7516, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7523, - "src": "13837:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7515, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13837:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7518, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7523, - "src": "13854:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 7517, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "13854:6:8", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "13836:25:8" - }, - "returnParameters": { - "id": 7522, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7521, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7523, - "src": "13880:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7520, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13880:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13879:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7534, - "nodeType": "FunctionDefinition", - "src": "14015:88:8", - "functionSelector": "6bcb2c1b", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "deriveKey", - "nameLocation": "14024:9:8", - "parameters": { - "id": 7530, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7525, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7534, - "src": "14034:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7524, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14034:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7527, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7534, - "src": "14051:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7526, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14051:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7529, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7534, - "src": "14068:6:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - "typeName": { - "id": 7528, - "name": "uint32", - "nodeType": "ElementaryTypeName", - "src": "14068:6:8", - "typeDescriptions": { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - } - }, - "visibility": "internal" - } - ], - "src": "14033:42:8" - }, - "returnParameters": { - "id": 7533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7532, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7534, - "src": "14094:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7531, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14094:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14093:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7541, - "nodeType": "FunctionDefinition", - "src": "14184:57:8", - "functionSelector": "22100064", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "rememberKey", - "nameLocation": "14193:11:8", - "parameters": { - "id": 7537, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7536, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7541, - "src": "14205:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7535, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14205:7:8", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14204:9:8" - }, - "returnParameters": { - "id": 7540, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7539, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7541, - "src": "14232:7:8", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7538, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14232:7:8", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14231:9:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7550, - "nodeType": "FunctionDefinition", - "src": "14422:84:8", - "functionSelector": "85940ef1", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseJson", - "nameLocation": "14431:9:8", - "parameters": { - "id": 7546, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7543, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7550, - "src": "14441:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7542, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14441:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7545, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7550, - "src": "14458:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7544, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14458:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14440:34:8" - }, - "returnParameters": { - "id": 7549, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7548, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7550, - "src": "14492:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7547, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "14492:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "14491:14:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - }, - { - "id": 7557, - "nodeType": "FunctionDefinition", - "src": "14643:67:8", - "functionSelector": "6a82600a", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "parseJson", - "nameLocation": "14652:9:8", - "parameters": { - "id": 7553, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7552, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7557, - "src": "14662:15:8", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_string_calldata_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7551, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14662:6:8", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14661:17:8" - }, - "returnParameters": { - "id": 7556, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7555, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 7557, - "src": "14696:12:8", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7554, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "14696:5:8", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "14695:14:8" - }, - "scope": 7558, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Vm", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 7558 - ], - "name": "Vm", - "nameLocation": "109:2:8", - "scope": 7559, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 8 -} \ No newline at end of file +{"abi":[{"type":"function","name":"accesses","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"reads","type":"bytes32[]","internalType":"bytes32[]"},{"name":"writes","type":"bytes32[]","internalType":"bytes32[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"activeFork","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"addr","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"allowCheatcodes","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"assume","inputs":[{"name":"","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"broadcast","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"broadcast","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"broadcast","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"chainId","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"clearMockedCalls","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"closeFile","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"coinbase","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"createFork","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"createFork","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"createFork","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"createSelectFork","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"createSelectFork","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"createSelectFork","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"deal","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"deriveKey","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"deriveKey","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"},{"name":"","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"difficulty","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"envAddress","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"envAddress","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"address[]","internalType":"address[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"envBool","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"envBool","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bool[]","internalType":"bool[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"envBytes","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"type":"function","name":"envBytes","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes[]","internalType":"bytes[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"envBytes32","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes32[]","internalType":"bytes32[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"envBytes32","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"nonpayable"},{"type":"function","name":"envInt","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"int256[]","internalType":"int256[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"envInt","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"int256","internalType":"int256"}],"stateMutability":"nonpayable"},{"type":"function","name":"envString","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"string[]","internalType":"string[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"envString","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"envUint","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"envUint","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"etch","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"expectCall","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"expectCall","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"expectEmit","inputs":[{"name":"","type":"bool","internalType":"bool"},{"name":"","type":"bool","internalType":"bool"},{"name":"","type":"bool","internalType":"bool"},{"name":"","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"expectEmit","inputs":[{"name":"","type":"bool","internalType":"bool"},{"name":"","type":"bool","internalType":"bool"},{"name":"","type":"bool","internalType":"bool"},{"name":"","type":"bool","internalType":"bool"},{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"expectRevert","inputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"expectRevert","inputs":[{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"expectRevert","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"fee","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ffi","inputs":[{"name":"","type":"string[]","internalType":"string[]"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"type":"function","name":"getCode","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"type":"function","name":"getDeployedCode","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"type":"function","name":"getNonce","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"nonpayable"},{"type":"function","name":"getRecordedLogs","inputs":[],"outputs":[{"name":"","type":"tuple[]","internalType":"struct Vm.Log[]","components":[{"name":"topics","type":"bytes32[]","internalType":"bytes32[]"},{"name":"data","type":"bytes","internalType":"bytes"}]}],"stateMutability":"nonpayable"},{"type":"function","name":"isPersistent","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"label","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"load","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"nonpayable"},{"type":"function","name":"makePersistent","inputs":[{"name":"","type":"address[]","internalType":"address[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"makePersistent","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"makePersistent","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"makePersistent","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"address","internalType":"address"},{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"mockCall","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"bytes","internalType":"bytes"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"mockCall","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"bytes","internalType":"bytes"},{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"parseAddress","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"parseBool","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"parseBytes","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"type":"function","name":"parseBytes32","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"nonpayable"},{"type":"function","name":"parseInt","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"int256","internalType":"int256"}],"stateMutability":"nonpayable"},{"type":"function","name":"parseJson","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"type":"function","name":"parseJson","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"nonpayable"},{"type":"function","name":"parseUint","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"prank","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"prank","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"projectRoot","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"readFile","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"readLine","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"record","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recordLogs","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"rememberKey","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"removeFile","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revertTo","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"revokePersistent","inputs":[{"name":"","type":"address[]","internalType":"address[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revokePersistent","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"roll","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"rollFork","inputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"rollFork","inputs":[{"name":"forkId","type":"uint256","internalType":"uint256"},{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"rollFork","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"rollFork","inputs":[{"name":"forkId","type":"uint256","internalType":"uint256"},{"name":"transaction","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"rpcUrl","inputs":[{"name":"","type":"string","internalType":"string"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"rpcUrls","inputs":[],"outputs":[{"name":"","type":"string[2][]","internalType":"string[2][]"}],"stateMutability":"nonpayable"},{"type":"function","name":"selectFork","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setEnv","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setNonce","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"sign","inputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"},{"name":"","type":"bytes32","internalType":"bytes32"},{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"nonpayable"},{"type":"function","name":"snapshot","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"startBroadcast","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"startBroadcast","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"startBroadcast","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"startPrank","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"startPrank","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"stopBroadcast","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"stopPrank","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"store","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"bytes32","internalType":"bytes32"},{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"toString","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"toString","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"toString","inputs":[{"name":"","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"toString","inputs":[{"name":"","type":"bool","internalType":"bool"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"toString","inputs":[{"name":"","type":"int256","internalType":"int256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"toString","inputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"warp","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"writeFile","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"writeLine","inputs":[{"name":"","type":"string","internalType":"string"},{"name":"","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"}],"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","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","rpcUrls()":"a85a8418","selectFork(uint256)":"9ebf6827","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","warp(uint256)":"e5d6bf02","writeFile(string,string)":"897e0a97","writeLine(string,string)":"619d897f"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"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\":\"nonpayable\",\"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\":\"nonpayable\",\"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\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envAddress\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"getDeployedCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRecordedLogs\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"topics\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct Vm.Log[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isPersistent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":\"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\"}],\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseJson\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseJson\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"parseUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readFile\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readLine\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rpcUrls\",\"outputs\":[{\"internalType\":\"string[2][]\",\"name\":\"\",\"type\":\"string[2][]\"}],\"stateMutability\":\"nonpayable\",\"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\"}],\"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\":\"nonpayable\",\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd\",\"dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"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":"nonpayable","type":"function","name":"activeFork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","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":"nonpayable","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":"nonpayable","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":"nonpayable","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":"nonpayable","type":"function","name":"envAddress","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envAddress","outputs":[{"internalType":"address[]","name":"","type":"address[]"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envBool","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envBool","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envBytes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envBytes","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}]},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envBytes32","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envBytes32","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envInt","outputs":[{"internalType":"int256[]","name":"","type":"int256[]"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envInt","outputs":[{"internalType":"int256","name":"","type":"int256"}]},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envString","outputs":[{"internalType":"string[]","name":"","type":"string[]"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envString","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"envUint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","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":"nonpayable","type":"function","name":"getCode","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"getDeployedCode","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"getNonce","outputs":[{"internalType":"uint64","name":"","type":"uint64"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"getRecordedLogs","outputs":[{"internalType":"struct Vm.Log[]","name":"","type":"tuple[]","components":[{"internalType":"bytes32[]","name":"topics","type":"bytes32[]"},{"internalType":"bytes","name":"data","type":"bytes"}]}]},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","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":"nonpayable","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":"nonpayable","type":"function","name":"parseAddress","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"parseBool","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"parseBytes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"parseBytes32","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"parseInt","outputs":[{"internalType":"int256","name":"","type":"int256"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"parseJson","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"parseJson","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","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":"nonpayable","type":"function","name":"projectRoot","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"readFile","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","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":"nonpayable","type":"function","name":"rpcUrl","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"nonpayable","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"}],"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":"nonpayable","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":"nonpayable","type":"function","name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"nonpayable","type":"function","name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}]},{"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":"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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/Vm.sol":"Vm"},"evmVersion":"paris","libraries":{}},"sources":{"lib/forge-std/src/Vm.sol":{"keccak256":"0x1d562fd52631c5a4ca16e6befa43e66e443aa6b165c6b646ac2aa69974f94f56","urls":["bzz-raw://16b4df99f5a54dde8090a1b97ffd53fd09afe44b496e7e46a64d24e7fb6fb2bd","dweb:/ipfs/QmP5zKDXnHq24WE4K2u6gYdLnh2FBropJAdzzDxpZqW231"],"license":"MIT"}},"version":1},"id":8} \ No newline at end of file diff --git a/out/Votes.sol/Votes.json b/out/Votes.sol/Votes.json index c9a3fd9..42d637b 100644 --- a/out/Votes.sol/Votes.json +++ b/out/Votes.sol/Votes.json @@ -1,6303 +1 @@ -{ - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "fromDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "toDelegate", - "type": "address" - } - ], - "name": "DelegateChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "delegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "previousBalance", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newBalance", - "type": "uint256" - } - ], - "name": "DelegateVotesChanged", - "type": "event" - }, - { - "inputs": [], - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "delegate", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiry", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "delegateBySig", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "delegates", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getPastTotalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getPastVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "getVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "DOMAIN_SEPARATOR()": "3644e515", - "delegate(address)": "5c19a95c", - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": "c3cda520", - "delegates(address)": "587cde1e", - "getPastTotalSupply(uint256)": "8e539e8c", - "getPastVotes(address,uint256)": "3a46b1a8", - "getVotes(address)": "9ab24eb0", - "nonces(address)": "7ecebe00" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This is a base abstract contract that tracks voting units, which are a measure of voting power that can be transferred, and provides a system of vote delegation, where an account can delegate its voting units to a sort of \\\"representative\\\" that will pool delegated voting units from different accounts and can then use it to vote in decisions. In fact, voting units _must_ be delegated in order to count as actual votes, and an account has to delegate those votes to itself if it wishes to participate in decisions and does not have a trusted representative. This contract is often combined with a token contract such that voting units correspond to token units. For an example, see {ERC721Votes}. The full history of delegate votes is tracked on-chain so that governance protocols can consider votes as distributed at a particular block number to protect against flash loans and double voting. The opt-in delegate system makes the cost of this history tracking optional. When using this module the derived contract must implement {_getVotingUnits} (for example, make it return {ERC721-balanceOf}), and can use {_transferVotingUnits} to track a change in the distribution of those units (in the previous example, it would be included in {ERC721-_beforeTokenTransfer}). _Available since v4.5._\",\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the contract's {EIP712} domain separator.\"},\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined\"},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"},\"nonces(address)\":{\"details\":\"Returns an address nonce.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":\"Votes\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]},\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":{\"keccak256\":\"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767\",\"dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF\"]},\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "fromDelegate", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "toDelegate", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "DelegateChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegate", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "previousBalance", - "type": "uint256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "newBalance", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "DelegateVotesChanged", - "anonymous": false - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "delegate" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiry", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "delegateBySig" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "delegates", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPastTotalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPastVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "DOMAIN_SEPARATOR()": { - "details": "Returns the contract's {EIP712} domain separator." - }, - "delegate(address)": { - "details": "Delegates votes from the sender to `delegatee`." - }, - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": { - "details": "Delegates votes from signer to `delegatee`." - }, - "delegates(address)": { - "details": "Returns the delegate that `account` has chosen." - }, - "getPastTotalSupply(uint256)": { - "details": "Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined" - }, - "getPastVotes(address,uint256)": { - "details": "Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined" - }, - "getVotes(address)": { - "details": "Returns the current amount of votes that `account` has." - }, - "nonces(address)": { - "details": "Returns an address nonce." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/governance/utils/Votes.sol": "Votes" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol": { - "keccak256": "0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0", - "urls": [ - "bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86", - "dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/governance/utils/Votes.sol": { - "keccak256": "0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474", - "urls": [ - "bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767", - "dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Checkpoints.sol": { - "keccak256": "0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c", - "urls": [ - "bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb", - "dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ" - ], - "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": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": { - "keccak256": "0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29", - "urls": [ - "bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7", - "dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol": { - "keccak256": "0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7", - "urls": [ - "bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba", - "dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/Math.sol": { - "keccak256": "0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2", - "urls": [ - "bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6", - "dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": { - "keccak256": "0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7", - "urls": [ - "bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1", - "dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/governance/utils/Votes.sol", - "id": 25227, - "exportedSymbols": { - "Checkpoints": [ - 26835 - ], - "Context": [ - 26857 - ], - "Counters": [ - 26931 - ], - "ECDSA": [ - 27541 - ], - "EIP712": [ - 27695 - ], - "IVotes": [ - 24772 - ], - "Math": [ - 27819 - ], - "SafeCast": [ - 28212 - ], - "Strings": [ - 27134 - ], - "Votes": [ - 25226 - ] - }, - "nodeType": "SourceUnit", - "src": "109:7573:24", - "nodes": [ - { - "id": 24774, - "nodeType": "PragmaDirective", - "src": "109:23:24", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 24775, - "nodeType": "ImportDirective", - "src": "134:33:24", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Context.sol", - "file": "../../utils/Context.sol", - "nameLocation": "-1:-1:-1", - "scope": 25227, - "sourceUnit": 26858, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24776, - "nodeType": "ImportDirective", - "src": "168:34:24", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Counters.sol", - "file": "../../utils/Counters.sol", - "nameLocation": "-1:-1:-1", - "scope": 25227, - "sourceUnit": 26932, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24777, - "nodeType": "ImportDirective", - "src": "203:37:24", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/Checkpoints.sol", - "file": "../../utils/Checkpoints.sol", - "nameLocation": "-1:-1:-1", - "scope": 25227, - "sourceUnit": 26836, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24778, - "nodeType": "ImportDirective", - "src": "241:51:24", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol", - "file": "../../utils/cryptography/draft-EIP712.sol", - "nameLocation": "-1:-1:-1", - "scope": 25227, - "sourceUnit": 27696, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 24779, - "nodeType": "ImportDirective", - "src": "293:22:24", - "absolutePath": "node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol", - "file": "./IVotes.sol", - "nameLocation": "-1:-1:-1", - "scope": 25227, - "sourceUnit": 24773, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 25226, - "nodeType": "ContractDefinition", - "src": "1676:6005:24", - "nodes": [ - { - "id": 24790, - "nodeType": "UsingForDirective", - "src": "1733:42:24", - "global": false, - "libraryName": { - "id": 24787, - "name": "Checkpoints", - "nameLocations": [ - "1739:11:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26835, - "src": "1739:11:24" - }, - "typeName": { - "id": 24789, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24788, - "name": "Checkpoints.History", - "nameLocations": [ - "1755:11:24", - "1767:7:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26616, - "src": "1755:19:24" - }, - "referencedDeclaration": 26616, - "src": "1755:19:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - } - } - }, - { - "id": 24794, - "nodeType": "UsingForDirective", - "src": "1780:36:24", - "global": false, - "libraryName": { - "id": 24791, - "name": "Counters", - "nameLocations": [ - "1786:8:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26931, - "src": "1786:8:24" - }, - "typeName": { - "id": 24793, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24792, - "name": "Counters.Counter", - "nameLocations": [ - "1799:8:24", - "1808:7:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26863, - "src": "1799:16:24" - }, - "referencedDeclaration": 26863, - "src": "1799:16:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - } - } - }, - { - "id": 24799, - "nodeType": "VariableDeclaration", - "src": "1822:127:24", - "constant": true, - "mutability": "constant", - "name": "_DELEGATION_TYPEHASH", - "nameLocation": "1847:20:24", - "scope": 25226, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 24795, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1822:7:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": { - "arguments": [ - { - "hexValue": "44656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929", - "id": 24797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1888:60:24", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf", - "typeString": "literal_string \"Delegation(address delegatee,uint256 nonce,uint256 expiry)\"" - }, - "value": "Delegation(address delegatee,uint256 nonce,uint256 expiry)" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf", - "typeString": "literal_string \"Delegation(address delegatee,uint256 nonce,uint256 expiry)\"" - } - ], - "id": 24796, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1878:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 24798, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1878:71:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "private" - }, - { - "id": 24803, - "nodeType": "VariableDeclaration", - "src": "1956:47:24", - "constant": false, - "mutability": "mutable", - "name": "_delegation", - "nameLocation": "1992:11:24", - "scope": 25226, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_address_$", - "typeString": "mapping(address => address)" - }, - "typeName": { - "id": 24802, - "keyType": { - "id": 24800, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1964:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1956:27:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_address_$", - "typeString": "mapping(address => address)" - }, - "valueType": { - "id": 24801, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1975:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "visibility": "private" - }, - { - "id": 24808, - "nodeType": "VariableDeclaration", - "src": "2009:68:24", - "constant": false, - "mutability": "mutable", - "name": "_delegateCheckpoints", - "nameLocation": "2057:20:24", - "scope": 25226, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_History_$26616_storage_$", - "typeString": "mapping(address => struct Checkpoints.History)" - }, - "typeName": { - "id": 24807, - "keyType": { - "id": 24804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2017:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2009:39:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_History_$26616_storage_$", - "typeString": "mapping(address => struct Checkpoints.History)" - }, - "valueType": { - "id": 24806, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24805, - "name": "Checkpoints.History", - "nameLocations": [ - "2028:11:24", - "2040:7:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26616, - "src": "2028:19:24" - }, - "referencedDeclaration": 26616, - "src": "2028:19:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - } - } - }, - "visibility": "private" - }, - { - "id": 24811, - "nodeType": "VariableDeclaration", - "src": "2083:45:24", - "constant": false, - "mutability": "mutable", - "name": "_totalCheckpoints", - "nameLocation": "2111:17:24", - "scope": 25226, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History" - }, - "typeName": { - "id": 24810, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24809, - "name": "Checkpoints.History", - "nameLocations": [ - "2083:11:24", - "2095:7:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26616, - "src": "2083:19:24" - }, - "referencedDeclaration": 26616, - "src": "2083:19:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage_ptr", - "typeString": "struct Checkpoints.History" - } - }, - "visibility": "private" - }, - { - "id": 24816, - "nodeType": "VariableDeclaration", - "src": "2135:52:24", - "constant": false, - "mutability": "mutable", - "name": "_nonces", - "nameLocation": "2180:7:24", - "scope": 25226, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Counter_$26863_storage_$", - "typeString": "mapping(address => struct Counters.Counter)" - }, - "typeName": { - "id": 24815, - "keyType": { - "id": 24812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2143:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "2135:36:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Counter_$26863_storage_$", - "typeString": "mapping(address => struct Counters.Counter)" - }, - "valueType": { - "id": 24814, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 24813, - "name": "Counters.Counter", - "nameLocations": [ - "2154:8:24", - "2163:7:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26863, - "src": "2154:16:24" - }, - "referencedDeclaration": 26863, - "src": "2154:16:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - } - } - }, - "visibility": "private" - }, - { - "id": 24832, - "nodeType": "FunctionDefinition", - "src": "2278:144:24", - "body": { - "id": 24831, - "nodeType": "Block", - "src": "2360:62:24", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "baseExpression": { - "id": 24825, - "name": "_delegateCheckpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24808, - "src": "2377:20:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_History_$26616_storage_$", - "typeString": "mapping(address => struct Checkpoints.History storage ref)" - } - }, - "id": 24827, - "indexExpression": { - "id": 24826, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24819, - "src": "2398:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2377:29:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History storage ref" - } - }, - "id": 24828, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2407:6:24", - "memberName": "latest", - "nodeType": "MemberAccess", - "referencedDeclaration": 26645, - "src": "2377:36:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_History_$26616_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_History_$26616_storage_ptr_$", - "typeString": "function (struct Checkpoints.History storage pointer) view returns (uint256)" - } - }, - "id": 24829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2377:38:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 24824, - "id": 24830, - "nodeType": "Return", - "src": "2370:45:24" - } - ] - }, - "baseFunctions": [ - 24723 - ], - "documentation": { - "id": 24817, - "nodeType": "StructuredDocumentation", - "src": "2194:79:24", - "text": " @dev Returns the current amount of votes that `account` has." - }, - "functionSelector": "9ab24eb0", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getVotes", - "nameLocation": "2287:8:24", - "overrides": { - "id": 24821, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2333:8:24" - }, - "parameters": { - "id": 24820, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24819, - "mutability": "mutable", - "name": "account", - "nameLocation": "2304:7:24", - "nodeType": "VariableDeclaration", - "scope": 24832, - "src": "2296:15:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24818, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2296:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "2295:17:24" - }, - "returnParameters": { - "id": 24824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24823, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24832, - "src": "2351:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24822, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2351:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2350:9:24" - }, - "scope": 25226, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 24851, - "nodeType": "FunctionDefinition", - "src": "2634:184:24", - "body": { - "id": 24850, - "nodeType": "Block", - "src": "2741:77:24", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 24847, - "name": "blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24837, - "src": "2799:11:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "baseExpression": { - "id": 24843, - "name": "_delegateCheckpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24808, - "src": "2758:20:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_History_$26616_storage_$", - "typeString": "mapping(address => struct Checkpoints.History storage ref)" - } - }, - "id": 24845, - "indexExpression": { - "id": 24844, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24835, - "src": "2779:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2758:29:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History storage ref" - } - }, - "id": 24846, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2788:10:24", - "memberName": "getAtBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 26721, - "src": "2758:40:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_History_$26616_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_History_$26616_storage_ptr_$", - "typeString": "function (struct Checkpoints.History storage pointer,uint256) view returns (uint256)" - } - }, - "id": 24848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2758:53:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 24842, - "id": 24849, - "nodeType": "Return", - "src": "2751:60:24" - } - ] - }, - "baseFunctions": [ - 24733 - ], - "documentation": { - "id": 24833, - "nodeType": "StructuredDocumentation", - "src": "2428:201:24", - "text": " @dev Returns the amount of votes that `account` had at the end of a past block (`blockNumber`).\n Requirements:\n - `blockNumber` must have been already mined" - }, - "functionSelector": "3a46b1a8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getPastVotes", - "nameLocation": "2643:12:24", - "overrides": { - "id": 24839, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "2714:8:24" - }, - "parameters": { - "id": 24838, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24835, - "mutability": "mutable", - "name": "account", - "nameLocation": "2664:7:24", - "nodeType": "VariableDeclaration", - "scope": 24851, - "src": "2656:15:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24834, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2656:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24837, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "2681:11:24", - "nodeType": "VariableDeclaration", - "scope": 24851, - "src": "2673:19:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24836, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2673:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2655:38:24" - }, - "returnParameters": { - "id": 24842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24841, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24851, - "src": "2732:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24840, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2732:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "2731:9:24" - }, - "scope": 25226, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 24874, - "nodeType": "FunctionDefinition", - "src": "3281:236:24", - "body": { - "id": 24873, - "nodeType": "Block", - "src": "3377:140:24", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 24864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 24861, - "name": "blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24854, - "src": "3395:11:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 24862, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "3409:5:24", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 24863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3415:6:24", - "memberName": "number", - "nodeType": "MemberAccess", - "src": "3409:12:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3395:26:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "566f7465733a20626c6f636b206e6f7420796574206d696e6564", - "id": 24865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3423:28:24", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_83c09804cf777c619c7ba082380b263866073c54e541883e3b7cb00a4aa7fe69", - "typeString": "literal_string \"Votes: block not yet mined\"" - }, - "value": "Votes: block not yet mined" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_83c09804cf777c619c7ba082380b263866073c54e541883e3b7cb00a4aa7fe69", - "typeString": "literal_string \"Votes: block not yet mined\"" - } - ], - "id": 24860, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3387:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 24866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3387:65:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24867, - "nodeType": "ExpressionStatement", - "src": "3387:65:24" - }, - { - "expression": { - "arguments": [ - { - "id": 24870, - "name": "blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24854, - "src": "3498:11:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24868, - "name": "_totalCheckpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24811, - "src": "3469:17:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History storage ref" - } - }, - "id": 24869, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3487:10:24", - "memberName": "getAtBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 26721, - "src": "3469:28:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_History_$26616_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_History_$26616_storage_ptr_$", - "typeString": "function (struct Checkpoints.History storage pointer,uint256) view returns (uint256)" - } - }, - "id": 24871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3469:41:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 24859, - "id": 24872, - "nodeType": "Return", - "src": "3462:48:24" - } - ] - }, - "baseFunctions": [ - 24741 - ], - "documentation": { - "id": 24852, - "nodeType": "StructuredDocumentation", - "src": "2824:452:24", - "text": " @dev Returns the total supply of votes available at the end of a past block (`blockNumber`).\n NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.\n Votes that have not been delegated are still part of total supply, even though they would not participate in a\n vote.\n Requirements:\n - `blockNumber` must have been already mined" - }, - "functionSelector": "8e539e8c", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getPastTotalSupply", - "nameLocation": "3290:18:24", - "overrides": { - "id": 24856, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3350:8:24" - }, - "parameters": { - "id": 24855, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24854, - "mutability": "mutable", - "name": "blockNumber", - "nameLocation": "3317:11:24", - "nodeType": "VariableDeclaration", - "scope": 24874, - "src": "3309:19:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24853, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3309:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3308:21:24" - }, - "returnParameters": { - "id": 24859, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24858, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24874, - "src": "3368:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24857, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3368:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3367:9:24" - }, - "scope": 25226, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 24885, - "nodeType": "FunctionDefinition", - "src": "3594:117:24", - "body": { - "id": 24884, - "nodeType": "Block", - "src": "3661:50:24", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 24880, - "name": "_totalCheckpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24811, - "src": "3678:17:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History storage ref" - } - }, - "id": 24881, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3696:6:24", - "memberName": "latest", - "nodeType": "MemberAccess", - "referencedDeclaration": 26645, - "src": "3678:24:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_History_$26616_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_History_$26616_storage_ptr_$", - "typeString": "function (struct Checkpoints.History storage pointer) view returns (uint256)" - } - }, - "id": 24882, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3678:26:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 24879, - "id": 24883, - "nodeType": "Return", - "src": "3671:33:24" - } - ] - }, - "documentation": { - "id": 24875, - "nodeType": "StructuredDocumentation", - "src": "3523:66:24", - "text": " @dev Returns the current total supply of votes." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_getTotalSupply", - "nameLocation": "3603:15:24", - "parameters": { - "id": 24876, - "nodeType": "ParameterList", - "parameters": [], - "src": "3618:2:24" - }, - "returnParameters": { - "id": 24879, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24878, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24885, - "src": "3652:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24877, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3652:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "3651:9:24" - }, - "scope": 25226, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - }, - { - "id": 24899, - "nodeType": "FunctionDefinition", - "src": "3793:127:24", - "body": { - "id": 24898, - "nodeType": "Block", - "src": "3876:44:24", - "statements": [ - { - "expression": { - "baseExpression": { - "id": 24894, - "name": "_delegation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24803, - "src": "3893:11:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_address_$", - "typeString": "mapping(address => address)" - } - }, - "id": 24896, - "indexExpression": { - "id": 24895, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24888, - "src": "3905:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3893:20:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 24893, - "id": 24897, - "nodeType": "Return", - "src": "3886:27:24" - } - ] - }, - "baseFunctions": [ - 24749 - ], - "documentation": { - "id": 24886, - "nodeType": "StructuredDocumentation", - "src": "3717:71:24", - "text": " @dev Returns the delegate that `account` has chosen." - }, - "functionSelector": "587cde1e", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegates", - "nameLocation": "3802:9:24", - "overrides": { - "id": 24890, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "3849:8:24" - }, - "parameters": { - "id": 24889, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24888, - "mutability": "mutable", - "name": "account", - "nameLocation": "3820:7:24", - "nodeType": "VariableDeclaration", - "scope": 24899, - "src": "3812:15:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24887, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3812:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3811:17:24" - }, - "returnParameters": { - "id": 24893, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24892, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 24899, - "src": "3867:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24891, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3867:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3866:9:24" - }, - "scope": 25226, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 24917, - "nodeType": "FunctionDefinition", - "src": "4002:147:24", - "body": { - "id": 24916, - "nodeType": "Block", - "src": "4063:86:24", - "statements": [ - { - "assignments": [ - 24907 - ], - "declarations": [ - { - "constant": false, - "id": 24907, - "mutability": "mutable", - "name": "account", - "nameLocation": "4081:7:24", - "nodeType": "VariableDeclaration", - "scope": 24916, - "src": "4073:15:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24906, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4073:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 24910, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 24908, - "name": "_msgSender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26847, - "src": "4091:10:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", - "typeString": "function () view returns (address)" - } - }, - "id": 24909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4091:12:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4073:30:24" - }, - { - "expression": { - "arguments": [ - { - "id": 24912, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24907, - "src": "4123:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24913, - "name": "delegatee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24902, - "src": "4132:9:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24911, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25012, - "src": "4113:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 24914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4113:29:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24915, - "nodeType": "ExpressionStatement", - "src": "4113:29:24" - } - ] - }, - "baseFunctions": [ - 24755 - ], - "documentation": { - "id": 24900, - "nodeType": "StructuredDocumentation", - "src": "3926:71:24", - "text": " @dev Delegates votes from the sender to `delegatee`." - }, - "functionSelector": "5c19a95c", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegate", - "nameLocation": "4011:8:24", - "overrides": { - "id": 24904, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4054:8:24" - }, - "parameters": { - "id": 24903, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24902, - "mutability": "mutable", - "name": "delegatee", - "nameLocation": "4028:9:24", - "nodeType": "VariableDeclaration", - "scope": 24917, - "src": "4020:17:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24901, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4020:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4019:19:24" - }, - "returnParameters": { - "id": 24905, - "nodeType": "ParameterList", - "parameters": [], - "src": "4063:0:24" - }, - "scope": 25226, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 24977, - "nodeType": "FunctionDefinition", - "src": "4227:564:24", - "body": { - "id": 24976, - "nodeType": "Block", - "src": "4409:382:24", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 24938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 24935, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "4427:5:24", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 24936, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4433:9:24", - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "4427:15:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 24937, - "name": "expiry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24924, - "src": "4446:6:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4427:25:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "566f7465733a207369676e61747572652065787069726564", - "id": 24939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4454:26:24", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d5ff3f347872d51f9a2d63fc6e49268c6b2f830105a4897008d3883d68bc66f", - "typeString": "literal_string \"Votes: signature expired\"" - }, - "value": "Votes: signature expired" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6d5ff3f347872d51f9a2d63fc6e49268c6b2f830105a4897008d3883d68bc66f", - "typeString": "literal_string \"Votes: signature expired\"" - } - ], - "id": 24934, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4419:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 24940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4419:62:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24941, - "nodeType": "ExpressionStatement", - "src": "4419:62:24" - }, - { - "assignments": [ - 24943 - ], - "declarations": [ - { - "constant": false, - "id": 24943, - "mutability": "mutable", - "name": "signer", - "nameLocation": "4499:6:24", - "nodeType": "VariableDeclaration", - "scope": 24976, - "src": "4491:14:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24942, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4491:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 24961, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "id": 24950, - "name": "_DELEGATION_TYPEHASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24799, - "src": "4573:20:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 24951, - "name": "delegatee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24920, - "src": "4595:9:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24952, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24922, - "src": "4606:5:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 24953, - "name": "expiry", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24924, - "src": "4613:6:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 24948, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4562:3:24", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 24949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4566:6:24", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4562:10:24", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 24954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4562:58:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 24947, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "4552:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 24955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4552:69:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 24946, - "name": "_hashTypedDataV4", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27694, - "src": "4535:16:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (bytes32) view returns (bytes32)" - } - }, - "id": 24956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4535:87:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 24957, - "name": "v", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24926, - "src": "4636:1:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "id": 24958, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24928, - "src": "4651:1:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 24959, - "name": "s", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24930, - "src": "4666:1:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 24944, - "name": "ECDSA", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27541, - "src": "4508:5:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ECDSA_$27541_$", - "typeString": "type(library ECDSA)" - } - }, - "id": 24945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4514:7:24", - "memberName": "recover", - "nodeType": "MemberAccess", - "referencedDeclaration": 27481, - "src": "4508:13:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$", - "typeString": "function (bytes32,uint8,bytes32,bytes32) pure returns (address)" - } - }, - "id": 24960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4508:169:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4491:186:24" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 24967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 24963, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24922, - "src": "4695:5:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "id": 24965, - "name": "signer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24943, - "src": "4714:6:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24964, - "name": "_useNonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25192, - "src": "4704:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) returns (uint256)" - } - }, - "id": 24966, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4704:17:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4695:26:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "566f7465733a20696e76616c6964206e6f6e6365", - "id": 24968, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4723:22:24", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_13ff7ccc79996334a065c9426876e6554e1ae6a3f574e0ced02fc6062a794b0c", - "typeString": "literal_string \"Votes: invalid nonce\"" - }, - "value": "Votes: invalid nonce" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_13ff7ccc79996334a065c9426876e6554e1ae6a3f574e0ced02fc6062a794b0c", - "typeString": "literal_string \"Votes: invalid nonce\"" - } - ], - "id": 24962, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4687:7:24", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 24969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4687:59:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24970, - "nodeType": "ExpressionStatement", - "src": "4687:59:24" - }, - { - "expression": { - "arguments": [ - { - "id": 24972, - "name": "signer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24943, - "src": "4766:6:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24973, - "name": "delegatee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24920, - "src": "4774:9:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24971, - "name": "_delegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25012, - "src": "4756:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 24974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4756:28:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 24975, - "nodeType": "ExpressionStatement", - "src": "4756:28:24" - } - ] - }, - "baseFunctions": [ - 24771 - ], - "documentation": { - "id": 24918, - "nodeType": "StructuredDocumentation", - "src": "4155:67:24", - "text": " @dev Delegates votes from signer to `delegatee`." - }, - "functionSelector": "c3cda520", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "delegateBySig", - "nameLocation": "4236:13:24", - "overrides": { - "id": 24932, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "4400:8:24" - }, - "parameters": { - "id": 24931, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24920, - "mutability": "mutable", - "name": "delegatee", - "nameLocation": "4267:9:24", - "nodeType": "VariableDeclaration", - "scope": 24977, - "src": "4259:17:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24919, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4259:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24922, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "4294:5:24", - "nodeType": "VariableDeclaration", - "scope": 24977, - "src": "4286:13:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24921, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4286:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24924, - "mutability": "mutable", - "name": "expiry", - "nameLocation": "4317:6:24", - "nodeType": "VariableDeclaration", - "scope": 24977, - "src": "4309:14:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 24923, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4309:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24926, - "mutability": "mutable", - "name": "v", - "nameLocation": "4339:1:24", - "nodeType": "VariableDeclaration", - "scope": 24977, - "src": "4333:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 24925, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "4333:5:24", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24928, - "mutability": "mutable", - "name": "r", - "nameLocation": "4358:1:24", - "nodeType": "VariableDeclaration", - "scope": 24977, - "src": "4350:9:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 24927, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4350:7:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24930, - "mutability": "mutable", - "name": "s", - "nameLocation": "4377:1:24", - "nodeType": "VariableDeclaration", - "scope": 24977, - "src": "4369:9:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 24929, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4369:7:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4249:135:24" - }, - "returnParameters": { - "id": 24933, - "nodeType": "ParameterList", - "parameters": [], - "src": "4409:0:24" - }, - "scope": 25226, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 25012, - "nodeType": "FunctionDefinition", - "src": "4955:313:24", - "body": { - "id": 25011, - "nodeType": "Block", - "src": "5027:241:24", - "statements": [ - { - "assignments": [ - 24986 - ], - "declarations": [ - { - "constant": false, - "id": 24986, - "mutability": "mutable", - "name": "oldDelegate", - "nameLocation": "5045:11:24", - "nodeType": "VariableDeclaration", - "scope": 25011, - "src": "5037:19:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5037:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 24990, - "initialValue": { - "arguments": [ - { - "id": 24988, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24980, - "src": "5069:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24987, - "name": "delegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24899, - "src": "5059:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_address_$", - "typeString": "function (address) view returns (address)" - } - }, - "id": 24989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5059:18:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5037:40:24" - }, - { - "expression": { - "id": 24995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 24991, - "name": "_delegation", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24803, - "src": "5087:11:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_address_$", - "typeString": "mapping(address => address)" - } - }, - "id": 24993, - "indexExpression": { - "id": 24992, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24980, - "src": "5099:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5087:20:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 24994, - "name": "delegatee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24982, - "src": "5110:9:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5087:32:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 24996, - "nodeType": "ExpressionStatement", - "src": "5087:32:24" - }, - { - "eventCall": { - "arguments": [ - { - "id": 24998, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24980, - "src": "5151:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 24999, - "name": "oldDelegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24986, - "src": "5160:11:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25000, - "name": "delegatee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24982, - "src": "5173:9:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 24997, - "name": "DelegateChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24706, - "src": "5135:15:24", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address,address)" - } - }, - "id": 25001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5135:48:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25002, - "nodeType": "EmitStatement", - "src": "5130:53:24" - }, - { - "expression": { - "arguments": [ - { - "id": 25004, - "name": "oldDelegate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24986, - "src": "5212:11:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25005, - "name": "delegatee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24982, - "src": "5225:9:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 25007, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24980, - "src": "5252:7:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25006, - "name": "_getVotingUnits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25225, - "src": "5236:15:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) returns (uint256)" - } - }, - "id": 25008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5236:24:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25003, - "name": "_moveDelegateVotes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25135, - "src": "5193:18:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5193:68:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25010, - "nodeType": "ExpressionStatement", - "src": "5193:68:24" - } - ] - }, - "documentation": { - "id": 24978, - "nodeType": "StructuredDocumentation", - "src": "4797:153:24", - "text": " @dev Delegate all of `account`'s voting units to `delegatee`.\n Emits events {DelegateChanged} and {DelegateVotesChanged}." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_delegate", - "nameLocation": "4964:9:24", - "parameters": { - "id": 24983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 24980, - "mutability": "mutable", - "name": "account", - "nameLocation": "4982:7:24", - "nodeType": "VariableDeclaration", - "scope": 25012, - "src": "4974:15:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24979, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4974:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 24982, - "mutability": "mutable", - "name": "delegatee", - "nameLocation": "4999:9:24", - "nodeType": "VariableDeclaration", - "scope": 25012, - "src": "4991:17:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 24981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4991:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "4973:36:24" - }, - "returnParameters": { - "id": 24984, - "nodeType": "ParameterList", - "parameters": [], - "src": "5027:0:24" - }, - "scope": 25226, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25063, - "nodeType": "FunctionDefinition", - "src": "5502:385:24", - "body": { - "id": 25062, - "nodeType": "Block", - "src": "5621:266:24", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25022, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25015, - "src": "5635:4:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5651:1:24", - "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": 25024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5643:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5643:7:24", - "typeDescriptions": {} - } - }, - "id": 25026, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5643:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5635:18:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25036, - "nodeType": "IfStatement", - "src": "5631:85:24", - "trueBody": { - "id": 25035, - "nodeType": "Block", - "src": "5655:61:24", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25031, - "name": "_add", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25149, - "src": "5692:4:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - { - "id": 25032, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25019, - "src": "5698:6:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25028, - "name": "_totalCheckpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24811, - "src": "5669:17:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History storage ref" - } - }, - "id": 25030, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5687:4:24", - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": 26834, - "src": "5669:22:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_History_$26616_storage_ptr_$_t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$_$_t_uint256_$returns$_t_uint256_$_t_uint256_$bound_to$_t_struct$_History_$26616_storage_ptr_$", - "typeString": "function (struct Checkpoints.History storage pointer,function (uint256,uint256) view returns (uint256),uint256) returns (uint256,uint256)" - } - }, - "id": 25033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5669:36:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "id": 25034, - "nodeType": "ExpressionStatement", - "src": "5669:36:24" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25037, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25017, - "src": "5729:2:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25040, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5743:1:24", - "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": 25039, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5735:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25038, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5735:7:24", - "typeDescriptions": {} - } - }, - "id": 25041, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5735:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5729:16:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25051, - "nodeType": "IfStatement", - "src": "5725:88:24", - "trueBody": { - "id": 25050, - "nodeType": "Block", - "src": "5747:66:24", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 25046, - "name": "_subtract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25163, - "src": "5784:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - { - "id": 25047, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25019, - "src": "5795:6:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 25043, - "name": "_totalCheckpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24811, - "src": "5761:17:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History storage ref" - } - }, - "id": 25045, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5779:4:24", - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": 26834, - "src": "5761:22:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_History_$26616_storage_ptr_$_t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$_$_t_uint256_$returns$_t_uint256_$_t_uint256_$bound_to$_t_struct$_History_$26616_storage_ptr_$", - "typeString": "function (struct Checkpoints.History storage pointer,function (uint256,uint256) view returns (uint256),uint256) returns (uint256,uint256)" - } - }, - "id": 25048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5761:41:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "id": 25049, - "nodeType": "ExpressionStatement", - "src": "5761:41:24" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 25054, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25015, - "src": "5851:4:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25053, - "name": "delegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24899, - "src": "5841:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_address_$", - "typeString": "function (address) view returns (address)" - } - }, - "id": 25055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5841:15:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "id": 25057, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25017, - "src": "5868:2:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 25056, - "name": "delegates", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24899, - "src": "5858:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_address_$", - "typeString": "function (address) view returns (address)" - } - }, - "id": 25058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5858:13:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25059, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25019, - "src": "5873:6:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25052, - "name": "_moveDelegateVotes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25135, - "src": "5822:18:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 25060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5822:58:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25061, - "nodeType": "ExpressionStatement", - "src": "5822:58:24" - } - ] - }, - "documentation": { - "id": 25013, - "nodeType": "StructuredDocumentation", - "src": "5274:223:24", - "text": " @dev Transfers, mints, or burns voting units. To register a mint, `from` should be zero. To register a burn, `to`\n should be zero. Total supply of voting units will be adjusted with mints and burns." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_transferVotingUnits", - "nameLocation": "5511:20:24", - "parameters": { - "id": 25020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25015, - "mutability": "mutable", - "name": "from", - "nameLocation": "5549:4:24", - "nodeType": "VariableDeclaration", - "scope": 25063, - "src": "5541:12:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25014, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5541:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25017, - "mutability": "mutable", - "name": "to", - "nameLocation": "5571:2:24", - "nodeType": "VariableDeclaration", - "scope": 25063, - "src": "5563:10:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25016, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5563:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25019, - "mutability": "mutable", - "name": "amount", - "nameLocation": "5591:6:24", - "nodeType": "VariableDeclaration", - "scope": 25063, - "src": "5583:14:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5583:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5531:72:24" - }, - "returnParameters": { - "id": 25021, - "nodeType": "ParameterList", - "parameters": [], - "src": "5621:0:24" - }, - "scope": 25226, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25135, - "nodeType": "FunctionDefinition", - "src": "5973:610:24", - "body": { - "id": 25134, - "nodeType": "Block", - "src": "6081:502:24", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 25079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25073, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25066, - "src": "6095:4:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 25074, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25068, - "src": "6103:2:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6095:10:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 25078, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25076, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25070, - "src": "6109:6:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 25077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6118:1:24", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6109:10:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6095:24:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25133, - "nodeType": "IfStatement", - "src": "6091:486:24", - "trueBody": { - "id": 25132, - "nodeType": "Block", - "src": "6121:456:24", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25080, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25066, - "src": "6139:4:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25083, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6155:1:24", - "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": 25082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6147:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25081, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6147:7:24", - "typeDescriptions": {} - } - }, - "id": 25084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6147:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6139:18:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25105, - "nodeType": "IfStatement", - "src": "6135:215:24", - "trueBody": { - "id": 25104, - "nodeType": "Block", - "src": "6159:191:24", - "statements": [ - { - "assignments": [ - 25087, - 25089 - ], - "declarations": [ - { - "constant": false, - "id": 25087, - "mutability": "mutable", - "name": "oldValue", - "nameLocation": "6186:8:24", - "nodeType": "VariableDeclaration", - "scope": 25104, - "src": "6178:16:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25086, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6178:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25089, - "mutability": "mutable", - "name": "newValue", - "nameLocation": "6204:8:24", - "nodeType": "VariableDeclaration", - "scope": 25104, - "src": "6196:16:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25088, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6196:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 25097, - "initialValue": { - "arguments": [ - { - "id": 25094, - "name": "_subtract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25163, - "src": "6248:9:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - { - "id": 25095, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25070, - "src": "6259:6:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "baseExpression": { - "id": 25090, - "name": "_delegateCheckpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24808, - "src": "6216:20:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_History_$26616_storage_$", - "typeString": "mapping(address => struct Checkpoints.History storage ref)" - } - }, - "id": 25092, - "indexExpression": { - "id": 25091, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25066, - "src": "6237:4:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6216:26:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History storage ref" - } - }, - "id": 25093, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6243:4:24", - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": 26834, - "src": "6216:31:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_History_$26616_storage_ptr_$_t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$_$_t_uint256_$returns$_t_uint256_$_t_uint256_$bound_to$_t_struct$_History_$26616_storage_ptr_$", - "typeString": "function (struct Checkpoints.History storage pointer,function (uint256,uint256) view returns (uint256),uint256) returns (uint256,uint256)" - } - }, - "id": 25096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6216:50:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6177:89:24" - }, - { - "eventCall": { - "arguments": [ - { - "id": 25099, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25066, - "src": "6310:4:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25100, - "name": "oldValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25087, - "src": "6316:8:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25101, - "name": "newValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25089, - "src": "6326:8:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25098, - "name": "DelegateVotesChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24715, - "src": "6289:20:24", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 25102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6289:46:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25103, - "nodeType": "EmitStatement", - "src": "6284:51:24" - } - ] - } - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 25111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25106, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25068, - "src": "6367:2:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "hexValue": "30", - "id": 25109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6381:1:24", - "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": 25108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6373:7:24", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 25107, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6373:7:24", - "typeDescriptions": {} - } - }, - "id": 25110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6373:10:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "6367:16:24", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 25131, - "nodeType": "IfStatement", - "src": "6363:204:24", - "trueBody": { - "id": 25130, - "nodeType": "Block", - "src": "6385:182:24", - "statements": [ - { - "assignments": [ - 25113, - 25115 - ], - "declarations": [ - { - "constant": false, - "id": 25113, - "mutability": "mutable", - "name": "oldValue", - "nameLocation": "6412:8:24", - "nodeType": "VariableDeclaration", - "scope": 25130, - "src": "6404:16:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25112, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6404:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25115, - "mutability": "mutable", - "name": "newValue", - "nameLocation": "6430:8:24", - "nodeType": "VariableDeclaration", - "scope": 25130, - "src": "6422:16:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25114, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6422:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 25123, - "initialValue": { - "arguments": [ - { - "id": 25120, - "name": "_add", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25149, - "src": "6472:4:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - { - "id": 25121, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25070, - "src": "6478:6:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "baseExpression": { - "id": 25116, - "name": "_delegateCheckpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24808, - "src": "6442:20:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_History_$26616_storage_$", - "typeString": "mapping(address => struct Checkpoints.History storage ref)" - } - }, - "id": 25118, - "indexExpression": { - "id": 25117, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25068, - "src": "6463:2:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6442:24:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_History_$26616_storage", - "typeString": "struct Checkpoints.History storage ref" - } - }, - "id": 25119, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6467:4:24", - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": 26834, - "src": "6442:29:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_History_$26616_storage_ptr_$_t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$_$_t_uint256_$returns$_t_uint256_$_t_uint256_$bound_to$_t_struct$_History_$26616_storage_ptr_$", - "typeString": "function (struct Checkpoints.History storage pointer,function (uint256,uint256) view returns (uint256),uint256) returns (uint256,uint256)" - } - }, - "id": 25122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6442:43:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$", - "typeString": "tuple(uint256,uint256)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6403:82:24" - }, - { - "eventCall": { - "arguments": [ - { - "id": 25125, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25068, - "src": "6529:2:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 25126, - "name": "oldValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25113, - "src": "6533:8:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 25127, - "name": "newValue", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25115, - "src": "6543:8:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 25124, - "name": "DelegateVotesChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24715, - "src": "6508:20:24", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256,uint256)" - } - }, - "id": 25128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6508:44:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25129, - "nodeType": "EmitStatement", - "src": "6503:49:24" - } - ] - } - } - ] - } - } - ] - }, - "documentation": { - "id": 25064, - "nodeType": "StructuredDocumentation", - "src": "5893:75:24", - "text": " @dev Moves delegated votes from one delegate to another." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_moveDelegateVotes", - "nameLocation": "5982:18:24", - "parameters": { - "id": 25071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25066, - "mutability": "mutable", - "name": "from", - "nameLocation": "6018:4:24", - "nodeType": "VariableDeclaration", - "scope": 25135, - "src": "6010:12:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6010:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25068, - "mutability": "mutable", - "name": "to", - "nameLocation": "6040:2:24", - "nodeType": "VariableDeclaration", - "scope": 25135, - "src": "6032:10:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25067, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6032:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25070, - "mutability": "mutable", - "name": "amount", - "nameLocation": "6060:6:24", - "nodeType": "VariableDeclaration", - "scope": 25135, - "src": "6052:14:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25069, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6052:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6000:72:24" - }, - "returnParameters": { - "id": 25072, - "nodeType": "ParameterList", - "parameters": [], - "src": "6081:0:24" - }, - "scope": 25226, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "private" - }, - { - "id": 25149, - "nodeType": "FunctionDefinition", - "src": "6589:96:24", - "body": { - "id": 25148, - "nodeType": "Block", - "src": "6656:29:24", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 25146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25144, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25137, - "src": "6673:1:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "id": 25145, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25139, - "src": "6677:1:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6673:5:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 25143, - "id": 25147, - "nodeType": "Return", - "src": "6666:12:24" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_add", - "nameLocation": "6598:4:24", - "parameters": { - "id": 25140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25137, - "mutability": "mutable", - "name": "a", - "nameLocation": "6611:1:24", - "nodeType": "VariableDeclaration", - "scope": 25149, - "src": "6603:9:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25136, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6603:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25139, - "mutability": "mutable", - "name": "b", - "nameLocation": "6622:1:24", - "nodeType": "VariableDeclaration", - "scope": 25149, - "src": "6614:9:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6614:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6602:22:24" - }, - "returnParameters": { - "id": 25143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25142, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25149, - "src": "6647:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25141, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6647:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6646:9:24" - }, - "scope": 25226, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - }, - { - "id": 25163, - "nodeType": "FunctionDefinition", - "src": "6691:101:24", - "body": { - "id": 25162, - "nodeType": "Block", - "src": "6763:29:24", - "statements": [ - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 25160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 25158, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25151, - "src": "6780:1:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 25159, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25153, - "src": "6784:1:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6780:5:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 25157, - "id": 25161, - "nodeType": "Return", - "src": "6773:12:24" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_subtract", - "nameLocation": "6700:9:24", - "parameters": { - "id": 25154, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25151, - "mutability": "mutable", - "name": "a", - "nameLocation": "6718:1:24", - "nodeType": "VariableDeclaration", - "scope": 25163, - "src": "6710:9:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25150, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6710:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 25153, - "mutability": "mutable", - "name": "b", - "nameLocation": "6729:1:24", - "nodeType": "VariableDeclaration", - "scope": 25163, - "src": "6721:9:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25152, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6721:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6709:22:24" - }, - "returnParameters": { - "id": 25157, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25156, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25163, - "src": "6754:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6754:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6753:9:24" - }, - "scope": 25226, - "stateMutability": "pure", - "virtual": false, - "visibility": "private" - }, - { - "id": 25192, - "nodeType": "FunctionDefinition", - "src": "6906:203:24", - "body": { - "id": 25191, - "nodeType": "Block", - "src": "6983:126:24", - "statements": [ - { - "assignments": [ - 25175 - ], - "declarations": [ - { - "constant": false, - "id": 25175, - "mutability": "mutable", - "name": "nonce", - "nameLocation": "7018:5:24", - "nodeType": "VariableDeclaration", - "scope": 25191, - "src": "6993:30:24", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - }, - "typeName": { - "id": 25174, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 25173, - "name": "Counters.Counter", - "nameLocations": [ - "6993:8:24", - "7002:7:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26863, - "src": "6993:16:24" - }, - "referencedDeclaration": 26863, - "src": "6993:16:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter" - } - }, - "visibility": "internal" - } - ], - "id": 25179, - "initialValue": { - "baseExpression": { - "id": 25176, - "name": "_nonces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24816, - "src": "7026:7:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Counter_$26863_storage_$", - "typeString": "mapping(address => struct Counters.Counter storage ref)" - } - }, - "id": 25178, - "indexExpression": { - "id": 25177, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25166, - "src": "7034:5:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7026:14:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage", - "typeString": "struct Counters.Counter storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6993:47:24" - }, - { - "expression": { - "id": 25184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 25180, - "name": "current", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25169, - "src": "7050:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 25181, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25175, - "src": "7060:5:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 25182, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7066:7:24", - "memberName": "current", - "nodeType": "MemberAccess", - "referencedDeclaration": 26875, - "src": "7060:13:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Counter_$26863_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_Counter_$26863_storage_ptr_$", - "typeString": "function (struct Counters.Counter storage pointer) view returns (uint256)" - } - }, - "id": 25183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7060:15:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7050:25:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 25185, - "nodeType": "ExpressionStatement", - "src": "7050:25:24" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 25186, - "name": "nonce", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25175, - "src": "7085:5:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage_ptr", - "typeString": "struct Counters.Counter storage pointer" - } - }, - "id": 25188, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7091:9:24", - "memberName": "increment", - "nodeType": "MemberAccess", - "referencedDeclaration": 26889, - "src": "7085:15:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$26863_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$26863_storage_ptr_$", - "typeString": "function (struct Counters.Counter storage pointer)" - } - }, - "id": 25189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7085:17:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 25190, - "nodeType": "ExpressionStatement", - "src": "7085:17:24" - } - ] - }, - "documentation": { - "id": 25164, - "nodeType": "StructuredDocumentation", - "src": "6798:103:24", - "text": " @dev Consumes a nonce.\n Returns the current value and increments nonce." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_useNonce", - "nameLocation": "6915:9:24", - "parameters": { - "id": 25167, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25166, - "mutability": "mutable", - "name": "owner", - "nameLocation": "6933:5:24", - "nodeType": "VariableDeclaration", - "scope": 25192, - "src": "6925:13:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25165, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6925:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6924:15:24" - }, - "returnParameters": { - "id": 25170, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25169, - "mutability": "mutable", - "name": "current", - "nameLocation": "6974:7:24", - "nodeType": "VariableDeclaration", - "scope": 25192, - "src": "6966:15:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25168, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6966:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6965:17:24" - }, - "scope": 25226, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 25207, - "nodeType": "FunctionDefinition", - "src": "7169:117:24", - "body": { - "id": 25206, - "nodeType": "Block", - "src": "7238:48:24", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "baseExpression": { - "id": 25200, - "name": "_nonces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24816, - "src": "7255:7:24", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Counter_$26863_storage_$", - "typeString": "mapping(address => struct Counters.Counter storage ref)" - } - }, - "id": 25202, - "indexExpression": { - "id": 25201, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25195, - "src": "7263:5:24", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7255:14:24", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Counter_$26863_storage", - "typeString": "struct Counters.Counter storage ref" - } - }, - "id": 25203, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7270:7:24", - "memberName": "current", - "nodeType": "MemberAccess", - "referencedDeclaration": 26875, - "src": "7255:22:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Counter_$26863_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_Counter_$26863_storage_ptr_$", - "typeString": "function (struct Counters.Counter storage pointer) view returns (uint256)" - } - }, - "id": 25204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7255:24:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 25199, - "id": 25205, - "nodeType": "Return", - "src": "7248:31:24" - } - ] - }, - "documentation": { - "id": 25193, - "nodeType": "StructuredDocumentation", - "src": "7115:49:24", - "text": " @dev Returns an address nonce." - }, - "functionSelector": "7ecebe00", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "nonces", - "nameLocation": "7178:6:24", - "parameters": { - "id": 25196, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25195, - "mutability": "mutable", - "name": "owner", - "nameLocation": "7193:5:24", - "nodeType": "VariableDeclaration", - "scope": 25207, - "src": "7185:13:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25194, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7185:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7184:15:24" - }, - "returnParameters": { - "id": 25199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25198, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25207, - "src": "7229:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25197, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7229:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7228:9:24" - }, - "scope": 25226, - "stateMutability": "view", - "virtual": true, - "visibility": "public" - }, - { - "id": 25217, - "nodeType": "FunctionDefinition", - "src": "7423:104:24", - "body": { - "id": 25216, - "nodeType": "Block", - "src": "7483:44:24", - "statements": [ - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 25213, - "name": "_domainSeparatorV4", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27651, - "src": "7500:18:24", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$", - "typeString": "function () view returns (bytes32)" - } - }, - "id": 25214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7500:20:24", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 25212, - "id": 25215, - "nodeType": "Return", - "src": "7493:27:24" - } - ] - }, - "documentation": { - "id": 25208, - "nodeType": "StructuredDocumentation", - "src": "7292:73:24", - "text": " @dev Returns the contract's {EIP712} domain separator." - }, - "functionSelector": "3644e515", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "DOMAIN_SEPARATOR", - "nameLocation": "7432:16:24", - "parameters": { - "id": 25209, - "nodeType": "ParameterList", - "parameters": [], - "src": "7448:2:24" - }, - "returnParameters": { - "id": 25212, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25211, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25217, - "src": "7474:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 25210, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "7474:7:24", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "7473:9:24" - }, - "scope": 25226, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 25225, - "nodeType": "FunctionDefinition", - "src": "7610:69:24", - "documentation": { - "id": 25218, - "nodeType": "StructuredDocumentation", - "src": "7533:72:24", - "text": " @dev Must return the voting units held by an account." - }, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "_getVotingUnits", - "nameLocation": "7619:15:24", - "parameters": { - "id": 25221, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25220, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25225, - "src": "7635:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 25219, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7635:7:24", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7634:9:24" - }, - "returnParameters": { - "id": 25224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 25223, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 25225, - "src": "7670:7:24", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 25222, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7670:7:24", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7669:9:24" - }, - "scope": 25226, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 24781, - "name": "IVotes", - "nameLocations": [ - "1703:6:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 24772, - "src": "1703:6:24" - }, - "id": 24782, - "nodeType": "InheritanceSpecifier", - "src": "1703:6:24" - }, - { - "baseName": { - "id": 24783, - "name": "Context", - "nameLocations": [ - "1711:7:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26857, - "src": "1711:7:24" - }, - "id": 24784, - "nodeType": "InheritanceSpecifier", - "src": "1711:7:24" - }, - { - "baseName": { - "id": 24785, - "name": "EIP712", - "nameLocations": [ - "1720:6:24" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 27695, - "src": "1720:6:24" - }, - "id": 24786, - "nodeType": "InheritanceSpecifier", - "src": "1720:6:24" - } - ], - "canonicalName": "Votes", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 24780, - "nodeType": "StructuredDocumentation", - "src": "317:1358:24", - "text": " @dev This is a base abstract contract that tracks voting units, which are a measure of voting power that can be\n transferred, and provides a system of vote delegation, where an account can delegate its voting units to a sort of\n \"representative\" that will pool delegated voting units from different accounts and can then use it to vote in\n decisions. In fact, voting units _must_ be delegated in order to count as actual votes, and an account has to\n delegate those votes to itself if it wishes to participate in decisions and does not have a trusted representative.\n This contract is often combined with a token contract such that voting units correspond to token units. For an\n example, see {ERC721Votes}.\n The full history of delegate votes is tracked on-chain so that governance protocols can consider votes as distributed\n at a particular block number to protect against flash loans and double voting. The opt-in delegate system makes the\n cost of this history tracking optional.\n When using this module the derived contract must implement {_getVotingUnits} (for example, make it return\n {ERC721-balanceOf}), and can use {_transferVotingUnits} to track a change in the distribution of those units (in the\n previous example, it would be included in {ERC721-_beforeTokenTransfer}).\n _Available since v4.5._" - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 25226, - 27695, - 26857, - 24772 - ], - "name": "Votes", - "nameLocation": "1694:5:24", - "scope": 25227, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 24 -} \ No newline at end of file +{"abi":[{"type":"function","name":"DOMAIN_SEPARATOR","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"delegate","inputs":[{"name":"delegatee","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"delegateBySig","inputs":[{"name":"delegatee","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"expiry","type":"uint256","internalType":"uint256"},{"name":"v","type":"uint8","internalType":"uint8"},{"name":"r","type":"bytes32","internalType":"bytes32"},{"name":"s","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"delegates","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getPastTotalSupply","inputs":[{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getPastVotes","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getVotes","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"nonces","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"event","name":"DelegateChanged","inputs":[{"name":"delegator","type":"address","indexed":true,"internalType":"address"},{"name":"fromDelegate","type":"address","indexed":true,"internalType":"address"},{"name":"toDelegate","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"DelegateVotesChanged","inputs":[{"name":"delegate","type":"address","indexed":true,"internalType":"address"},{"name":"previousBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newBalance","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","delegate(address)":"5c19a95c","delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)":"c3cda520","delegates(address)":"587cde1e","getPastTotalSupply(uint256)":"8e539e8c","getPastVotes(address,uint256)":"3a46b1a8","getVotes(address)":"9ab24eb0","nonces(address)":"7ecebe00"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This is a base abstract contract that tracks voting units, which are a measure of voting power that can be transferred, and provides a system of vote delegation, where an account can delegate its voting units to a sort of \\\"representative\\\" that will pool delegated voting units from different accounts and can then use it to vote in decisions. In fact, voting units _must_ be delegated in order to count as actual votes, and an account has to delegate those votes to itself if it wishes to participate in decisions and does not have a trusted representative. This contract is often combined with a token contract such that voting units correspond to token units. For an example, see {ERC721Votes}. The full history of delegate votes is tracked on-chain so that governance protocols can consider votes as distributed at a particular block number to protect against flash loans and double voting. The opt-in delegate system makes the cost of this history tracking optional. When using this module the derived contract must implement {_getVotingUnits} (for example, make it return {ERC721-balanceOf}), and can use {_transferVotingUnits} to track a change in the distribution of those units (in the previous example, it would be included in {ERC721-_beforeTokenTransfer}). _Available since v4.5._\",\"events\":{\"DelegateChanged(address,address,address)\":{\"details\":\"Emitted when an account changes their delegate.\"},\"DelegateVotesChanged(address,uint256,uint256)\":{\"details\":\"Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.\"}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the contract's {EIP712} domain separator.\"},\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined\"},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"},\"nonces(address)\":{\"details\":\"Returns an address nonce.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":\"Votes\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]},\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":{\"keccak256\":\"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767\",\"dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF\"]},\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"delegator","type":"address","indexed":true},{"internalType":"address","name":"fromDelegate","type":"address","indexed":true},{"internalType":"address","name":"toDelegate","type":"address","indexed":true}],"type":"event","name":"DelegateChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"delegate","type":"address","indexed":true},{"internalType":"uint256","name":"previousBalance","type":"uint256","indexed":false},{"internalType":"uint256","name":"newBalance","type":"uint256","indexed":false}],"type":"event","name":"DelegateVotesChanged","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"delegate"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"delegateBySig"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"view","type":"function","name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"view","type":"function","name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function","name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]}],"devdoc":{"kind":"dev","methods":{"DOMAIN_SEPARATOR()":{"details":"Returns the contract's {EIP712} domain separator."},"delegate(address)":{"details":"Delegates votes from the sender to `delegatee`."},"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)":{"details":"Delegates votes from signer to `delegatee`."},"delegates(address)":{"details":"Returns the delegate that `account` has chosen."},"getPastTotalSupply(uint256)":{"details":"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined"},"getPastVotes(address,uint256)":{"details":"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined"},"getVotes(address)":{"details":"Returns the current amount of votes that `account` has."},"nonces(address)":{"details":"Returns an address nonce."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol":"Votes"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol":{"keccak256":"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0","urls":["bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86","dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY"],"license":"MIT"},"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol":{"keccak256":"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474","urls":["bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767","dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol":{"keccak256":"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c","urls":["bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb","dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ"],"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":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29","urls":["bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7","dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol":{"keccak256":"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7","urls":["bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba","dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"keccak256":"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2","urls":["bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6","dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7","urls":["bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1","dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E"],"license":"MIT"}},"version":1},"id":25} \ No newline at end of file diff --git a/out/console.sol/console.json b/out/console.sol/console.json index 512a10b..d640ade 100644 --- a/out/console.sol/console.json +++ b/out/console.sol/console.json @@ -1,110871 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b860efe9feaf4ff6169b7e83d7e3e986c95a12012b1e4ce058fb2b2c5e2f2e2e64736f6c63430008100033", - "sourceMap": "66:66622:9:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;66:66622:9;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b860efe9feaf4ff6169b7e83d7e3e986c95a12012b1e4ce058fb2b2c5e2f2e2e64736f6c63430008100033", - "sourceMap": "66:66622:9:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/console.sol": "console" - }, - "libraries": {} - }, - "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": 15623, - "exportedSymbols": { - "console": [ - 15622 - ] - }, - "nodeType": "SourceUnit", - "src": "32:66656:9", - "nodes": [ - { - "id": 7560, - "nodeType": "PragmaDirective", - "src": "32:32:9", - "literals": [ - "solidity", - ">=", - "0.4", - ".22", - "<", - "0.9", - ".0" - ] - }, - { - "id": 15622, - "nodeType": "ContractDefinition", - "src": "66:66622:9", - "nodes": [ - { - "id": 7566, - "nodeType": "VariableDeclaration", - "src": "88:86:9", - "constant": true, - "mutability": "constant", - "name": "CONSOLE_ADDRESS", - "nameLocation": "105:15:9", - "scope": 15622, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7561, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "88:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303036333646366537333646366336353265366336663637", - "id": 7564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "131:42:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x000000000000000000636F6e736F6c652e6c6f67" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7563, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "123:7:9", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 7562, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "123:7:9", - "typeDescriptions": {} - } - }, - "id": 7565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "123:51:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "id": 7582, - "nodeType": "FunctionDefinition", - "src": "181:376:9", - "body": { - "id": 7581, - "nodeType": "Block", - "src": "241:316:9", - "statements": [ - { - "assignments": [ - 7572 - ], - "declarations": [ - { - "constant": false, - "id": 7572, - "mutability": "mutable", - "name": "payloadLength", - "nameLocation": "259:13:9", - "nodeType": "VariableDeclaration", - "scope": 7581, - "src": "251:21:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7571, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "251:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 7575, - "initialValue": { - "expression": { - "id": 7573, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7568, - "src": "275:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 7574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "283:6:9", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "275:14:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "251:38:9" - }, - { - "assignments": [ - 7577 - ], - "declarations": [ - { - "constant": false, - "id": 7577, - "mutability": "mutable", - "name": "consoleAddress", - "nameLocation": "307:14:9", - "nodeType": "VariableDeclaration", - "scope": 7581, - "src": "299:22:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7576, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "299:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 7579, - "initialValue": { - "id": 7578, - "name": "CONSOLE_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7566, - "src": "324:15:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "299:40:9" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "401:150:9", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "415:36:9", - "value": { - "arguments": [ - { - "name": "payload", - "nodeType": "YulIdentifier", - "src": "439:7:9" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "448:2:9", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "435:3:9" - }, - "nodeType": "YulFunctionCall", - "src": "435:16:9" - }, - "variables": [ - { - "name": "payloadStart", - "nodeType": "YulTypedName", - "src": "419:12:9", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "464:77:9", - "value": { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "gas", - "nodeType": "YulIdentifier", - "src": "484:3:9" - }, - "nodeType": "YulFunctionCall", - "src": "484:5:9" - }, - { - "name": "consoleAddress", - "nodeType": "YulIdentifier", - "src": "491:14:9" - }, - { - "name": "payloadStart", - "nodeType": "YulIdentifier", - "src": "507:12:9" - }, - { - "name": "payloadLength", - "nodeType": "YulIdentifier", - "src": "521:13:9" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "536:1:9", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "539:1:9", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "staticcall", - "nodeType": "YulIdentifier", - "src": "473:10:9" - }, - "nodeType": "YulFunctionCall", - "src": "473:68:9" - }, - "variables": [ - { - "name": "r", - "nodeType": "YulTypedName", - "src": "468:1:9", - "type": "" - } - ] - } - ] - }, - "documentation": "@solidity memory-safe-assembly", - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 7577, - "isOffset": false, - "isSlot": false, - "src": "491:14:9", - "valueSize": 1 - }, - { - "declaration": 7568, - "isOffset": false, - "isSlot": false, - "src": "439:7:9", - "valueSize": 1 - }, - { - "declaration": 7572, - "isOffset": false, - "isSlot": false, - "src": "521:13:9", - "valueSize": 1 - } - ], - "id": 7580, - "nodeType": "InlineAssembly", - "src": "392:159:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_sendLogPayload", - "nameLocation": "190:15:9", - "parameters": { - "id": 7569, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7568, - "mutability": "mutable", - "name": "payload", - "nameLocation": "219:7:9", - "nodeType": "VariableDeclaration", - "scope": 7582, - "src": "206:20:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7567, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "206:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "205:22:9" - }, - "returnParameters": { - "id": 7570, - "nodeType": "ParameterList", - "parameters": [], - "src": "241:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "id": 7593, - "nodeType": "FunctionDefinition", - "src": "563:95:9", - "body": { - "id": 7592, - "nodeType": "Block", - "src": "592:66:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672829", - "id": 7588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "642:7:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - }, - "value": "log()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - } - ], - "expression": { - "id": 7586, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "618:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "622:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "618:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7589, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "618:32:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7585, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "602:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "602:49:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7591, - "nodeType": "ExpressionStatement", - "src": "602:49:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "572:3:9", - "parameters": { - "id": 7583, - "nodeType": "ParameterList", - "parameters": [], - "src": "575:2:9" - }, - "returnParameters": { - "id": 7584, - "nodeType": "ParameterList", - "parameters": [], - "src": "592:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7607, - "nodeType": "FunctionDefinition", - "src": "664:111:9", - "body": { - "id": 7606, - "nodeType": "Block", - "src": "702:73:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728696e7429", - "id": 7601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "752:10:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e0c1d1dcf573259576e2a7e591d366143f88fb7f7e57df09852da9c36797f2e", - "typeString": "literal_string \"log(int)\"" - }, - "value": "log(int)" - }, - { - "id": 7602, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7595, - "src": "764:2:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4e0c1d1dcf573259576e2a7e591d366143f88fb7f7e57df09852da9c36797f2e", - "typeString": "literal_string \"log(int)\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 7599, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "728:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "732:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "728:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "728:39:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7598, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "712:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "712:56:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7605, - "nodeType": "ExpressionStatement", - "src": "712:56:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logInt", - "nameLocation": "673:6:9", - "parameters": { - "id": 7596, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7595, - "mutability": "mutable", - "name": "p0", - "nameLocation": "684:2:9", - "nodeType": "VariableDeclaration", - "scope": 7607, - "src": "680:6:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 7594, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "680:3:9", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "679:8:9" - }, - "returnParameters": { - "id": 7597, - "nodeType": "ParameterList", - "parameters": [], - "src": "702:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7621, - "nodeType": "FunctionDefinition", - "src": "781:114:9", - "body": { - "id": 7620, - "nodeType": "Block", - "src": "821:74:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7429", - "id": 7615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "871:11:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f5b1bba92d8f98cf25e27c94d7fc7cbfbae95a49dfe5ab0cdf64ddd7181bb984", - "typeString": "literal_string \"log(uint)\"" - }, - "value": "log(uint)" - }, - { - "id": 7616, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7609, - "src": "884:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f5b1bba92d8f98cf25e27c94d7fc7cbfbae95a49dfe5ab0cdf64ddd7181bb984", - "typeString": "literal_string \"log(uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7613, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "847:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "851:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "847:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "847:40:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7612, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "831:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "831:57:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7619, - "nodeType": "ExpressionStatement", - "src": "831:57:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logUint", - "nameLocation": "790:7:9", - "parameters": { - "id": 7610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7609, - "mutability": "mutable", - "name": "p0", - "nameLocation": "803:2:9", - "nodeType": "VariableDeclaration", - "scope": 7621, - "src": "798:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7608, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "798:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "797:9:9" - }, - "returnParameters": { - "id": 7611, - "nodeType": "ParameterList", - "parameters": [], - "src": "821:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7635, - "nodeType": "FunctionDefinition", - "src": "901:127:9", - "body": { - "id": 7634, - "nodeType": "Block", - "src": "952:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 7629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1002:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 7630, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7623, - "src": "1017:2:9", - "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": 7627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "978:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "982:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "978:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7626, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "962:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "962:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7633, - "nodeType": "ExpressionStatement", - "src": "962:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logString", - "nameLocation": "910:9:9", - "parameters": { - "id": 7624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7623, - "mutability": "mutable", - "name": "p0", - "nameLocation": "934:2:9", - "nodeType": "VariableDeclaration", - "scope": 7635, - "src": "920:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7622, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "920:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "919:18:9" - }, - "returnParameters": { - "id": 7625, - "nodeType": "ParameterList", - "parameters": [], - "src": "952:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7649, - "nodeType": "FunctionDefinition", - "src": "1034:114:9", - "body": { - "id": 7648, - "nodeType": "Block", - "src": "1074:74:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 7643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1124:11:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 7644, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7637, - "src": "1137:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7641, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1100:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1104:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1100:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1100:40:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7640, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "1084:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1084:57:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7647, - "nodeType": "ExpressionStatement", - "src": "1084:57:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBool", - "nameLocation": "1043:7:9", - "parameters": { - "id": 7638, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7637, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1056:2:9", - "nodeType": "VariableDeclaration", - "scope": 7649, - "src": "1051:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7636, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1051:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1050:9:9" - }, - "returnParameters": { - "id": 7639, - "nodeType": "ParameterList", - "parameters": [], - "src": "1074:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7663, - "nodeType": "FunctionDefinition", - "src": "1154:123:9", - "body": { - "id": 7662, - "nodeType": "Block", - "src": "1200:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 7657, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1250:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 7658, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7651, - "src": "1266:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7655, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1226:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7654, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "1210:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1210:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7661, - "nodeType": "ExpressionStatement", - "src": "1210:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logAddress", - "nameLocation": "1163:10:9", - "parameters": { - "id": 7652, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7651, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1182:2:9", - "nodeType": "VariableDeclaration", - "scope": 7663, - "src": "1174:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7650, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1174:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1173:12:9" - }, - "returnParameters": { - "id": 7653, - "nodeType": "ParameterList", - "parameters": [], - "src": "1200:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7677, - "nodeType": "FunctionDefinition", - "src": "1283:124:9", - "body": { - "id": 7676, - "nodeType": "Block", - "src": "1332:75:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728627974657329", - "id": 7671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1382:12:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0be77f5642494da7d212b92a3472c4f471abb24e17467f41788e7de7915d6238", - "typeString": "literal_string \"log(bytes)\"" - }, - "value": "log(bytes)" - }, - { - "id": 7672, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7665, - "src": "1396:2:9", - "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": 7669, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1358:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7670, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1362:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1358:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1358:41:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7668, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "1342:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1342:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7675, - "nodeType": "ExpressionStatement", - "src": "1342:58:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes", - "nameLocation": "1292:8:9", - "parameters": { - "id": 7666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7665, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1314:2:9", - "nodeType": "VariableDeclaration", - "scope": 7677, - "src": "1301:15:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7664, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1301:5:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1300:17:9" - }, - "returnParameters": { - "id": 7667, - "nodeType": "ParameterList", - "parameters": [], - "src": "1332:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7691, - "nodeType": "FunctionDefinition", - "src": "1413:120:9", - "body": { - "id": 7690, - "nodeType": "Block", - "src": "1457:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733129", - "id": 7685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1507:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - "value": "log(bytes1)" - }, - { - "id": 7686, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7679, - "src": "1522:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "expression": { - "id": 7683, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1483:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1487:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1483:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1483:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7682, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "1467:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1467:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7689, - "nodeType": "ExpressionStatement", - "src": "1467:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes1", - "nameLocation": "1422:9:9", - "parameters": { - "id": 7680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7679, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1439:2:9", - "nodeType": "VariableDeclaration", - "scope": 7691, - "src": "1432:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 7678, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1432:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - } - ], - "src": "1431:11:9" - }, - "returnParameters": { - "id": 7681, - "nodeType": "ParameterList", - "parameters": [], - "src": "1457:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7705, - "nodeType": "FunctionDefinition", - "src": "1539:120:9", - "body": { - "id": 7704, - "nodeType": "Block", - "src": "1583:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733229", - "id": 7699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1633:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - "value": "log(bytes2)" - }, - { - "id": 7700, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7693, - "src": "1648:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - ], - "expression": { - "id": 7697, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1609:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1613:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1609:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1609:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7696, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "1593:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1593:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7703, - "nodeType": "ExpressionStatement", - "src": "1593:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes2", - "nameLocation": "1548:9:9", - "parameters": { - "id": 7694, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7693, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1565:2:9", - "nodeType": "VariableDeclaration", - "scope": 7705, - "src": "1558:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - }, - "typeName": { - "id": 7692, - "name": "bytes2", - "nodeType": "ElementaryTypeName", - "src": "1558:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - }, - "visibility": "internal" - } - ], - "src": "1557:11:9" - }, - "returnParameters": { - "id": 7695, - "nodeType": "ParameterList", - "parameters": [], - "src": "1583:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7719, - "nodeType": "FunctionDefinition", - "src": "1665:120:9", - "body": { - "id": 7718, - "nodeType": "Block", - "src": "1709:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733329", - "id": 7713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1759:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - "value": "log(bytes3)" - }, - { - "id": 7714, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7707, - "src": "1774:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - ], - "expression": { - "id": 7711, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1735:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7712, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1739:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1735:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1735:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7710, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "1719:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1719:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7717, - "nodeType": "ExpressionStatement", - "src": "1719:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes3", - "nameLocation": "1674:9:9", - "parameters": { - "id": 7708, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7707, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1691:2:9", - "nodeType": "VariableDeclaration", - "scope": 7719, - "src": "1684:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - }, - "typeName": { - "id": 7706, - "name": "bytes3", - "nodeType": "ElementaryTypeName", - "src": "1684:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - }, - "visibility": "internal" - } - ], - "src": "1683:11:9" - }, - "returnParameters": { - "id": 7709, - "nodeType": "ParameterList", - "parameters": [], - "src": "1709:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7733, - "nodeType": "FunctionDefinition", - "src": "1791:120:9", - "body": { - "id": 7732, - "nodeType": "Block", - "src": "1835:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733429", - "id": 7727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1885:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - "value": "log(bytes4)" - }, - { - "id": 7728, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7721, - "src": "1900:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 7725, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1861:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1865:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1861:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1861:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7724, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "1845:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1845:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7731, - "nodeType": "ExpressionStatement", - "src": "1845:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes4", - "nameLocation": "1800:9:9", - "parameters": { - "id": 7722, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7721, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1817:2:9", - "nodeType": "VariableDeclaration", - "scope": 7733, - "src": "1810:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7720, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1810:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "1809:11:9" - }, - "returnParameters": { - "id": 7723, - "nodeType": "ParameterList", - "parameters": [], - "src": "1835:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7747, - "nodeType": "FunctionDefinition", - "src": "1917:120:9", - "body": { - "id": 7746, - "nodeType": "Block", - "src": "1961:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733529", - "id": 7741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2011:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - "value": "log(bytes5)" - }, - { - "id": 7742, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7735, - "src": "2026:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - ], - "expression": { - "id": 7739, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1987:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1991:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1987:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1987:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7738, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "1971:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1971:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7745, - "nodeType": "ExpressionStatement", - "src": "1971:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes5", - "nameLocation": "1926:9:9", - "parameters": { - "id": 7736, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7735, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1943:2:9", - "nodeType": "VariableDeclaration", - "scope": 7747, - "src": "1936:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - }, - "typeName": { - "id": 7734, - "name": "bytes5", - "nodeType": "ElementaryTypeName", - "src": "1936:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - }, - "visibility": "internal" - } - ], - "src": "1935:11:9" - }, - "returnParameters": { - "id": 7737, - "nodeType": "ParameterList", - "parameters": [], - "src": "1961:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7761, - "nodeType": "FunctionDefinition", - "src": "2043:120:9", - "body": { - "id": 7760, - "nodeType": "Block", - "src": "2087:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733629", - "id": 7755, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2137:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - "value": "log(bytes6)" - }, - { - "id": 7756, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "2152:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - ], - "expression": { - "id": 7753, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2113:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2117:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2113:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2113:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7752, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "2097:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2097:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7759, - "nodeType": "ExpressionStatement", - "src": "2097:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes6", - "nameLocation": "2052:9:9", - "parameters": { - "id": 7750, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7749, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2069:2:9", - "nodeType": "VariableDeclaration", - "scope": 7761, - "src": "2062:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - }, - "typeName": { - "id": 7748, - "name": "bytes6", - "nodeType": "ElementaryTypeName", - "src": "2062:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - }, - "visibility": "internal" - } - ], - "src": "2061:11:9" - }, - "returnParameters": { - "id": 7751, - "nodeType": "ParameterList", - "parameters": [], - "src": "2087:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7775, - "nodeType": "FunctionDefinition", - "src": "2169:120:9", - "body": { - "id": 7774, - "nodeType": "Block", - "src": "2213:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733729", - "id": 7769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2263:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - "value": "log(bytes7)" - }, - { - "id": 7770, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7763, - "src": "2278:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - ], - "expression": { - "id": 7767, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2239:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2243:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2239:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2239:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7766, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "2223:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2223:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7773, - "nodeType": "ExpressionStatement", - "src": "2223:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes7", - "nameLocation": "2178:9:9", - "parameters": { - "id": 7764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7763, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2195:2:9", - "nodeType": "VariableDeclaration", - "scope": 7775, - "src": "2188:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - }, - "typeName": { - "id": 7762, - "name": "bytes7", - "nodeType": "ElementaryTypeName", - "src": "2188:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - }, - "visibility": "internal" - } - ], - "src": "2187:11:9" - }, - "returnParameters": { - "id": 7765, - "nodeType": "ParameterList", - "parameters": [], - "src": "2213:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7789, - "nodeType": "FunctionDefinition", - "src": "2295:120:9", - "body": { - "id": 7788, - "nodeType": "Block", - "src": "2339:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733829", - "id": 7783, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2389:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - "value": "log(bytes8)" - }, - { - "id": 7784, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7777, - "src": "2404:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - ], - "expression": { - "id": 7781, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2365:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7782, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2369:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2365:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2365:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7780, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "2349:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2349:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7787, - "nodeType": "ExpressionStatement", - "src": "2349:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes8", - "nameLocation": "2304:9:9", - "parameters": { - "id": 7778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7777, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2321:2:9", - "nodeType": "VariableDeclaration", - "scope": 7789, - "src": "2314:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - }, - "typeName": { - "id": 7776, - "name": "bytes8", - "nodeType": "ElementaryTypeName", - "src": "2314:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - }, - "visibility": "internal" - } - ], - "src": "2313:11:9" - }, - "returnParameters": { - "id": 7779, - "nodeType": "ParameterList", - "parameters": [], - "src": "2339:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7803, - "nodeType": "FunctionDefinition", - "src": "2421:120:9", - "body": { - "id": 7802, - "nodeType": "Block", - "src": "2465:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733929", - "id": 7797, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2515:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - "value": "log(bytes9)" - }, - { - "id": 7798, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7791, - "src": "2530:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - ], - "expression": { - "id": 7795, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2491:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7796, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2495:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2491:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2491:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7794, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "2475:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7801, - "nodeType": "ExpressionStatement", - "src": "2475:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes9", - "nameLocation": "2430:9:9", - "parameters": { - "id": 7792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7791, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2447:2:9", - "nodeType": "VariableDeclaration", - "scope": 7803, - "src": "2440:9:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - }, - "typeName": { - "id": 7790, - "name": "bytes9", - "nodeType": "ElementaryTypeName", - "src": "2440:6:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - }, - "visibility": "internal" - } - ], - "src": "2439:11:9" - }, - "returnParameters": { - "id": 7793, - "nodeType": "ParameterList", - "parameters": [], - "src": "2465:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7817, - "nodeType": "FunctionDefinition", - "src": "2547:123:9", - "body": { - "id": 7816, - "nodeType": "Block", - "src": "2593:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313029", - "id": 7811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2643:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - "value": "log(bytes10)" - }, - { - "id": 7812, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7805, - "src": "2659:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - ], - "expression": { - "id": 7809, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2619:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2623:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2619:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2619:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7808, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "2603:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2603:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7815, - "nodeType": "ExpressionStatement", - "src": "2603:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes10", - "nameLocation": "2556:10:9", - "parameters": { - "id": 7806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7805, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2575:2:9", - "nodeType": "VariableDeclaration", - "scope": 7817, - "src": "2567:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - }, - "typeName": { - "id": 7804, - "name": "bytes10", - "nodeType": "ElementaryTypeName", - "src": "2567:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - }, - "visibility": "internal" - } - ], - "src": "2566:12:9" - }, - "returnParameters": { - "id": 7807, - "nodeType": "ParameterList", - "parameters": [], - "src": "2593:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7831, - "nodeType": "FunctionDefinition", - "src": "2676:123:9", - "body": { - "id": 7830, - "nodeType": "Block", - "src": "2722:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313129", - "id": 7825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2772:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - "value": "log(bytes11)" - }, - { - "id": 7826, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7819, - "src": "2788:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - ], - "expression": { - "id": 7823, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2748:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2752:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2748:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2748:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7822, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "2732:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2732:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7829, - "nodeType": "ExpressionStatement", - "src": "2732:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes11", - "nameLocation": "2685:10:9", - "parameters": { - "id": 7820, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7819, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2704:2:9", - "nodeType": "VariableDeclaration", - "scope": 7831, - "src": "2696:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - }, - "typeName": { - "id": 7818, - "name": "bytes11", - "nodeType": "ElementaryTypeName", - "src": "2696:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - }, - "visibility": "internal" - } - ], - "src": "2695:12:9" - }, - "returnParameters": { - "id": 7821, - "nodeType": "ParameterList", - "parameters": [], - "src": "2722:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7845, - "nodeType": "FunctionDefinition", - "src": "2805:123:9", - "body": { - "id": 7844, - "nodeType": "Block", - "src": "2851:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313229", - "id": 7839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2901:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - "value": "log(bytes12)" - }, - { - "id": 7840, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7833, - "src": "2917:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - ], - "expression": { - "id": 7837, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2877:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2881:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2877:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2877:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7836, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "2861:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2861:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7843, - "nodeType": "ExpressionStatement", - "src": "2861:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes12", - "nameLocation": "2814:10:9", - "parameters": { - "id": 7834, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7833, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2833:2:9", - "nodeType": "VariableDeclaration", - "scope": 7845, - "src": "2825:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - }, - "typeName": { - "id": 7832, - "name": "bytes12", - "nodeType": "ElementaryTypeName", - "src": "2825:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - }, - "visibility": "internal" - } - ], - "src": "2824:12:9" - }, - "returnParameters": { - "id": 7835, - "nodeType": "ParameterList", - "parameters": [], - "src": "2851:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7859, - "nodeType": "FunctionDefinition", - "src": "2934:123:9", - "body": { - "id": 7858, - "nodeType": "Block", - "src": "2980:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313329", - "id": 7853, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3030:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - "value": "log(bytes13)" - }, - { - "id": 7854, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7847, - "src": "3046:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - ], - "expression": { - "id": 7851, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3006:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3010:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3006:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3006:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7850, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "2990:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2990:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7857, - "nodeType": "ExpressionStatement", - "src": "2990:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes13", - "nameLocation": "2943:10:9", - "parameters": { - "id": 7848, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7847, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2962:2:9", - "nodeType": "VariableDeclaration", - "scope": 7859, - "src": "2954:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - }, - "typeName": { - "id": 7846, - "name": "bytes13", - "nodeType": "ElementaryTypeName", - "src": "2954:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - }, - "visibility": "internal" - } - ], - "src": "2953:12:9" - }, - "returnParameters": { - "id": 7849, - "nodeType": "ParameterList", - "parameters": [], - "src": "2980:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7873, - "nodeType": "FunctionDefinition", - "src": "3063:123:9", - "body": { - "id": 7872, - "nodeType": "Block", - "src": "3109:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313429", - "id": 7867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3159:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - "value": "log(bytes14)" - }, - { - "id": 7868, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7861, - "src": "3175:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - ], - "expression": { - "id": 7865, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3135:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7866, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3139:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3135:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3135:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7864, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "3119:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3119:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7871, - "nodeType": "ExpressionStatement", - "src": "3119:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes14", - "nameLocation": "3072:10:9", - "parameters": { - "id": 7862, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7861, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3091:2:9", - "nodeType": "VariableDeclaration", - "scope": 7873, - "src": "3083:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - }, - "typeName": { - "id": 7860, - "name": "bytes14", - "nodeType": "ElementaryTypeName", - "src": "3083:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - }, - "visibility": "internal" - } - ], - "src": "3082:12:9" - }, - "returnParameters": { - "id": 7863, - "nodeType": "ParameterList", - "parameters": [], - "src": "3109:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7887, - "nodeType": "FunctionDefinition", - "src": "3192:123:9", - "body": { - "id": 7886, - "nodeType": "Block", - "src": "3238:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313529", - "id": 7881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3288:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - "value": "log(bytes15)" - }, - { - "id": 7882, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "3304:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - ], - "expression": { - "id": 7879, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3264:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7880, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3268:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3264:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3264:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7878, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "3248:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7884, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3248:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7885, - "nodeType": "ExpressionStatement", - "src": "3248:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes15", - "nameLocation": "3201:10:9", - "parameters": { - "id": 7876, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7875, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3220:2:9", - "nodeType": "VariableDeclaration", - "scope": 7887, - "src": "3212:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - }, - "typeName": { - "id": 7874, - "name": "bytes15", - "nodeType": "ElementaryTypeName", - "src": "3212:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - }, - "visibility": "internal" - } - ], - "src": "3211:12:9" - }, - "returnParameters": { - "id": 7877, - "nodeType": "ParameterList", - "parameters": [], - "src": "3238:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7901, - "nodeType": "FunctionDefinition", - "src": "3321:123:9", - "body": { - "id": 7900, - "nodeType": "Block", - "src": "3367:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313629", - "id": 7895, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3417:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - "value": "log(bytes16)" - }, - { - "id": 7896, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7889, - "src": "3433:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - ], - "expression": { - "id": 7893, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3393:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3397:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3393:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3393:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7892, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "3377:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3377:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7899, - "nodeType": "ExpressionStatement", - "src": "3377:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes16", - "nameLocation": "3330:10:9", - "parameters": { - "id": 7890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7889, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3349:2:9", - "nodeType": "VariableDeclaration", - "scope": 7901, - "src": "3341:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 7888, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "3341:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "visibility": "internal" - } - ], - "src": "3340:12:9" - }, - "returnParameters": { - "id": 7891, - "nodeType": "ParameterList", - "parameters": [], - "src": "3367:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7915, - "nodeType": "FunctionDefinition", - "src": "3450:123:9", - "body": { - "id": 7914, - "nodeType": "Block", - "src": "3496:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313729", - "id": 7909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3546:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - "value": "log(bytes17)" - }, - { - "id": 7910, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7903, - "src": "3562:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - ], - "expression": { - "id": 7907, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3522:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3526:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3522:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3522:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7906, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "3506:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3506:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7913, - "nodeType": "ExpressionStatement", - "src": "3506:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes17", - "nameLocation": "3459:10:9", - "parameters": { - "id": 7904, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7903, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3478:2:9", - "nodeType": "VariableDeclaration", - "scope": 7915, - "src": "3470:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - }, - "typeName": { - "id": 7902, - "name": "bytes17", - "nodeType": "ElementaryTypeName", - "src": "3470:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - }, - "visibility": "internal" - } - ], - "src": "3469:12:9" - }, - "returnParameters": { - "id": 7905, - "nodeType": "ParameterList", - "parameters": [], - "src": "3496:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7929, - "nodeType": "FunctionDefinition", - "src": "3579:123:9", - "body": { - "id": 7928, - "nodeType": "Block", - "src": "3625:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313829", - "id": 7923, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3675:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - "value": "log(bytes18)" - }, - { - "id": 7924, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7917, - "src": "3691:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - ], - "expression": { - "id": 7921, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3651:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7922, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3655:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3651:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3651:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7920, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "3635:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3635:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7927, - "nodeType": "ExpressionStatement", - "src": "3635:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes18", - "nameLocation": "3588:10:9", - "parameters": { - "id": 7918, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7917, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3607:2:9", - "nodeType": "VariableDeclaration", - "scope": 7929, - "src": "3599:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - }, - "typeName": { - "id": 7916, - "name": "bytes18", - "nodeType": "ElementaryTypeName", - "src": "3599:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - }, - "visibility": "internal" - } - ], - "src": "3598:12:9" - }, - "returnParameters": { - "id": 7919, - "nodeType": "ParameterList", - "parameters": [], - "src": "3625:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7943, - "nodeType": "FunctionDefinition", - "src": "3708:123:9", - "body": { - "id": 7942, - "nodeType": "Block", - "src": "3754:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313929", - "id": 7937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3804:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - "value": "log(bytes19)" - }, - { - "id": 7938, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7931, - "src": "3820:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - ], - "expression": { - "id": 7935, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3780:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3784:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3780:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3780:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7934, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "3764:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3764:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7941, - "nodeType": "ExpressionStatement", - "src": "3764:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes19", - "nameLocation": "3717:10:9", - "parameters": { - "id": 7932, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7931, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3736:2:9", - "nodeType": "VariableDeclaration", - "scope": 7943, - "src": "3728:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - }, - "typeName": { - "id": 7930, - "name": "bytes19", - "nodeType": "ElementaryTypeName", - "src": "3728:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - }, - "visibility": "internal" - } - ], - "src": "3727:12:9" - }, - "returnParameters": { - "id": 7933, - "nodeType": "ParameterList", - "parameters": [], - "src": "3754:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7957, - "nodeType": "FunctionDefinition", - "src": "3837:123:9", - "body": { - "id": 7956, - "nodeType": "Block", - "src": "3883:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323029", - "id": 7951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3933:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - "value": "log(bytes20)" - }, - { - "id": 7952, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7945, - "src": "3949:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - ], - "expression": { - "id": 7949, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3909:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3913:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3909:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3909:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7948, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "3893:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3893:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7955, - "nodeType": "ExpressionStatement", - "src": "3893:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes20", - "nameLocation": "3846:10:9", - "parameters": { - "id": 7946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7945, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3865:2:9", - "nodeType": "VariableDeclaration", - "scope": 7957, - "src": "3857:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - }, - "typeName": { - "id": 7944, - "name": "bytes20", - "nodeType": "ElementaryTypeName", - "src": "3857:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - }, - "visibility": "internal" - } - ], - "src": "3856:12:9" - }, - "returnParameters": { - "id": 7947, - "nodeType": "ParameterList", - "parameters": [], - "src": "3883:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7971, - "nodeType": "FunctionDefinition", - "src": "3966:123:9", - "body": { - "id": 7970, - "nodeType": "Block", - "src": "4012:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323129", - "id": 7965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4062:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - "value": "log(bytes21)" - }, - { - "id": 7966, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7959, - "src": "4078:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - ], - "expression": { - "id": 7963, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4038:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7964, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4042:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4038:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4038:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7962, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "4022:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4022:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7969, - "nodeType": "ExpressionStatement", - "src": "4022:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes21", - "nameLocation": "3975:10:9", - "parameters": { - "id": 7960, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7959, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3994:2:9", - "nodeType": "VariableDeclaration", - "scope": 7971, - "src": "3986:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - }, - "typeName": { - "id": 7958, - "name": "bytes21", - "nodeType": "ElementaryTypeName", - "src": "3986:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - }, - "visibility": "internal" - } - ], - "src": "3985:12:9" - }, - "returnParameters": { - "id": 7961, - "nodeType": "ParameterList", - "parameters": [], - "src": "4012:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7985, - "nodeType": "FunctionDefinition", - "src": "4095:123:9", - "body": { - "id": 7984, - "nodeType": "Block", - "src": "4141:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323229", - "id": 7979, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4191:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - "value": "log(bytes22)" - }, - { - "id": 7980, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7973, - "src": "4207:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - ], - "expression": { - "id": 7977, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4167:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4171:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4167:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4167:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7976, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "4151:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4151:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7983, - "nodeType": "ExpressionStatement", - "src": "4151:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes22", - "nameLocation": "4104:10:9", - "parameters": { - "id": 7974, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7973, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4123:2:9", - "nodeType": "VariableDeclaration", - "scope": 7985, - "src": "4115:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - }, - "typeName": { - "id": 7972, - "name": "bytes22", - "nodeType": "ElementaryTypeName", - "src": "4115:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - }, - "visibility": "internal" - } - ], - "src": "4114:12:9" - }, - "returnParameters": { - "id": 7975, - "nodeType": "ParameterList", - "parameters": [], - "src": "4141:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 7999, - "nodeType": "FunctionDefinition", - "src": "4224:123:9", - "body": { - "id": 7998, - "nodeType": "Block", - "src": "4270:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323329", - "id": 7993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4320:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - "value": "log(bytes23)" - }, - { - "id": 7994, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7987, - "src": "4336:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - ], - "expression": { - "id": 7991, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4296:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4300:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4296:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4296:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7990, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "4280:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4280:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7997, - "nodeType": "ExpressionStatement", - "src": "4280:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes23", - "nameLocation": "4233:10:9", - "parameters": { - "id": 7988, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7987, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4252:2:9", - "nodeType": "VariableDeclaration", - "scope": 7999, - "src": "4244:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - }, - "typeName": { - "id": 7986, - "name": "bytes23", - "nodeType": "ElementaryTypeName", - "src": "4244:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - }, - "visibility": "internal" - } - ], - "src": "4243:12:9" - }, - "returnParameters": { - "id": 7989, - "nodeType": "ParameterList", - "parameters": [], - "src": "4270:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8013, - "nodeType": "FunctionDefinition", - "src": "4353:123:9", - "body": { - "id": 8012, - "nodeType": "Block", - "src": "4399:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323429", - "id": 8007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4449:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - "value": "log(bytes24)" - }, - { - "id": 8008, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8001, - "src": "4465:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - ], - "expression": { - "id": 8005, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4425:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4429:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4425:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4425:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8004, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "4409:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4409:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8011, - "nodeType": "ExpressionStatement", - "src": "4409:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes24", - "nameLocation": "4362:10:9", - "parameters": { - "id": 8002, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8001, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4381:2:9", - "nodeType": "VariableDeclaration", - "scope": 8013, - "src": "4373:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - }, - "typeName": { - "id": 8000, - "name": "bytes24", - "nodeType": "ElementaryTypeName", - "src": "4373:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - }, - "visibility": "internal" - } - ], - "src": "4372:12:9" - }, - "returnParameters": { - "id": 8003, - "nodeType": "ParameterList", - "parameters": [], - "src": "4399:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8027, - "nodeType": "FunctionDefinition", - "src": "4482:123:9", - "body": { - "id": 8026, - "nodeType": "Block", - "src": "4528:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323529", - "id": 8021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4578:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - "value": "log(bytes25)" - }, - { - "id": 8022, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8015, - "src": "4594:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - ], - "expression": { - "id": 8019, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4554:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8020, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4558:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4554:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8018, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "4538:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4538:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8025, - "nodeType": "ExpressionStatement", - "src": "4538:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes25", - "nameLocation": "4491:10:9", - "parameters": { - "id": 8016, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8015, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4510:2:9", - "nodeType": "VariableDeclaration", - "scope": 8027, - "src": "4502:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - }, - "typeName": { - "id": 8014, - "name": "bytes25", - "nodeType": "ElementaryTypeName", - "src": "4502:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - }, - "visibility": "internal" - } - ], - "src": "4501:12:9" - }, - "returnParameters": { - "id": 8017, - "nodeType": "ParameterList", - "parameters": [], - "src": "4528:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8041, - "nodeType": "FunctionDefinition", - "src": "4611:123:9", - "body": { - "id": 8040, - "nodeType": "Block", - "src": "4657:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323629", - "id": 8035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4707:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - "value": "log(bytes26)" - }, - { - "id": 8036, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8029, - "src": "4723:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - ], - "expression": { - "id": 8033, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4683:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4687:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4683:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4683:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8032, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "4667:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4667:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8039, - "nodeType": "ExpressionStatement", - "src": "4667:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes26", - "nameLocation": "4620:10:9", - "parameters": { - "id": 8030, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8029, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4639:2:9", - "nodeType": "VariableDeclaration", - "scope": 8041, - "src": "4631:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - }, - "typeName": { - "id": 8028, - "name": "bytes26", - "nodeType": "ElementaryTypeName", - "src": "4631:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - }, - "visibility": "internal" - } - ], - "src": "4630:12:9" - }, - "returnParameters": { - "id": 8031, - "nodeType": "ParameterList", - "parameters": [], - "src": "4657:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8055, - "nodeType": "FunctionDefinition", - "src": "4740:123:9", - "body": { - "id": 8054, - "nodeType": "Block", - "src": "4786:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323729", - "id": 8049, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4836:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - "value": "log(bytes27)" - }, - { - "id": 8050, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8043, - "src": "4852:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - ], - "expression": { - "id": 8047, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4812:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4816:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4812:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8051, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4812:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8046, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "4796:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4796:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8053, - "nodeType": "ExpressionStatement", - "src": "4796:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes27", - "nameLocation": "4749:10:9", - "parameters": { - "id": 8044, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8043, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4768:2:9", - "nodeType": "VariableDeclaration", - "scope": 8055, - "src": "4760:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - }, - "typeName": { - "id": 8042, - "name": "bytes27", - "nodeType": "ElementaryTypeName", - "src": "4760:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - }, - "visibility": "internal" - } - ], - "src": "4759:12:9" - }, - "returnParameters": { - "id": 8045, - "nodeType": "ParameterList", - "parameters": [], - "src": "4786:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8069, - "nodeType": "FunctionDefinition", - "src": "4869:123:9", - "body": { - "id": 8068, - "nodeType": "Block", - "src": "4915:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323829", - "id": 8063, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4965:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - "value": "log(bytes28)" - }, - { - "id": 8064, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8057, - "src": "4981:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - ], - "expression": { - "id": 8061, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4941:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4945:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4941:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4941:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8060, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "4925:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8066, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4925:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8067, - "nodeType": "ExpressionStatement", - "src": "4925:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes28", - "nameLocation": "4878:10:9", - "parameters": { - "id": 8058, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8057, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4897:2:9", - "nodeType": "VariableDeclaration", - "scope": 8069, - "src": "4889:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - }, - "typeName": { - "id": 8056, - "name": "bytes28", - "nodeType": "ElementaryTypeName", - "src": "4889:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - }, - "visibility": "internal" - } - ], - "src": "4888:12:9" - }, - "returnParameters": { - "id": 8059, - "nodeType": "ParameterList", - "parameters": [], - "src": "4915:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8083, - "nodeType": "FunctionDefinition", - "src": "4998:123:9", - "body": { - "id": 8082, - "nodeType": "Block", - "src": "5044:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323929", - "id": 8077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5094:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - "value": "log(bytes29)" - }, - { - "id": 8078, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8071, - "src": "5110:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - ], - "expression": { - "id": 8075, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5070:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5074:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5070:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8079, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5070:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8074, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "5054:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5054:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8081, - "nodeType": "ExpressionStatement", - "src": "5054:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes29", - "nameLocation": "5007:10:9", - "parameters": { - "id": 8072, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8071, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5026:2:9", - "nodeType": "VariableDeclaration", - "scope": 8083, - "src": "5018:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - }, - "typeName": { - "id": 8070, - "name": "bytes29", - "nodeType": "ElementaryTypeName", - "src": "5018:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - }, - "visibility": "internal" - } - ], - "src": "5017:12:9" - }, - "returnParameters": { - "id": 8073, - "nodeType": "ParameterList", - "parameters": [], - "src": "5044:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8097, - "nodeType": "FunctionDefinition", - "src": "5127:123:9", - "body": { - "id": 8096, - "nodeType": "Block", - "src": "5173:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333029", - "id": 8091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5223:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - "value": "log(bytes30)" - }, - { - "id": 8092, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8085, - "src": "5239:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - ], - "expression": { - "id": 8089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5199:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5203:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5199:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5199:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8088, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "5183:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5183:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8095, - "nodeType": "ExpressionStatement", - "src": "5183:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes30", - "nameLocation": "5136:10:9", - "parameters": { - "id": 8086, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8085, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5155:2:9", - "nodeType": "VariableDeclaration", - "scope": 8097, - "src": "5147:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - }, - "typeName": { - "id": 8084, - "name": "bytes30", - "nodeType": "ElementaryTypeName", - "src": "5147:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - }, - "visibility": "internal" - } - ], - "src": "5146:12:9" - }, - "returnParameters": { - "id": 8087, - "nodeType": "ParameterList", - "parameters": [], - "src": "5173:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8111, - "nodeType": "FunctionDefinition", - "src": "5256:123:9", - "body": { - "id": 8110, - "nodeType": "Block", - "src": "5302:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333129", - "id": 8105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5352:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - "value": "log(bytes31)" - }, - { - "id": 8106, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8099, - "src": "5368:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - ], - "expression": { - "id": 8103, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5328:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5332:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5328:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5328:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8102, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "5312:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5312:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8109, - "nodeType": "ExpressionStatement", - "src": "5312:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes31", - "nameLocation": "5265:10:9", - "parameters": { - "id": 8100, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8099, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5284:2:9", - "nodeType": "VariableDeclaration", - "scope": 8111, - "src": "5276:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - }, - "typeName": { - "id": 8098, - "name": "bytes31", - "nodeType": "ElementaryTypeName", - "src": "5276:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - }, - "visibility": "internal" - } - ], - "src": "5275:12:9" - }, - "returnParameters": { - "id": 8101, - "nodeType": "ParameterList", - "parameters": [], - "src": "5302:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8125, - "nodeType": "FunctionDefinition", - "src": "5385:123:9", - "body": { - "id": 8124, - "nodeType": "Block", - "src": "5431:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333229", - "id": 8119, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5481:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - "value": "log(bytes32)" - }, - { - "id": 8120, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8113, - "src": "5497:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 8117, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5457:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5461:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5457:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5457:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8116, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "5441:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5441:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8123, - "nodeType": "ExpressionStatement", - "src": "5441:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes32", - "nameLocation": "5394:10:9", - "parameters": { - "id": 8114, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8113, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5413:2:9", - "nodeType": "VariableDeclaration", - "scope": 8125, - "src": "5405:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 8112, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5405:7:9", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5404:12:9" - }, - "returnParameters": { - "id": 8115, - "nodeType": "ParameterList", - "parameters": [], - "src": "5431:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8139, - "nodeType": "FunctionDefinition", - "src": "5514:110:9", - "body": { - "id": 8138, - "nodeType": "Block", - "src": "5550:74:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7429", - "id": 8133, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5600:11:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f5b1bba92d8f98cf25e27c94d7fc7cbfbae95a49dfe5ab0cdf64ddd7181bb984", - "typeString": "literal_string \"log(uint)\"" - }, - "value": "log(uint)" - }, - { - "id": 8134, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8127, - "src": "5613:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f5b1bba92d8f98cf25e27c94d7fc7cbfbae95a49dfe5ab0cdf64ddd7181bb984", - "typeString": "literal_string \"log(uint)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 8131, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5576:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8132, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5580:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5576:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5576:40:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8130, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "5560:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5560:57:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8137, - "nodeType": "ExpressionStatement", - "src": "5560:57:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5523:3:9", - "parameters": { - "id": 8128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8127, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5532:2:9", - "nodeType": "VariableDeclaration", - "scope": 8139, - "src": "5527:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5527:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5526:9:9" - }, - "returnParameters": { - "id": 8129, - "nodeType": "ParameterList", - "parameters": [], - "src": "5550:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8153, - "nodeType": "FunctionDefinition", - "src": "5630:121:9", - "body": { - "id": 8152, - "nodeType": "Block", - "src": "5675:76:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 8147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5725:13:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 8148, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8141, - "src": "5740:2:9", - "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": 8145, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5701:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5705:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5701:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8149, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5701:42:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8144, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "5685:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5685:59:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8151, - "nodeType": "ExpressionStatement", - "src": "5685:59:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5639:3:9", - "parameters": { - "id": 8142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8141, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5657:2:9", - "nodeType": "VariableDeclaration", - "scope": 8153, - "src": "5643:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8140, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5643:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5642:18:9" - }, - "returnParameters": { - "id": 8143, - "nodeType": "ParameterList", - "parameters": [], - "src": "5675:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8167, - "nodeType": "FunctionDefinition", - "src": "5757:110:9", - "body": { - "id": 8166, - "nodeType": "Block", - "src": "5793:74:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 8161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5843:11:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 8162, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8155, - "src": "5856:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 8159, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5819:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5823:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5819:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5819:40:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8158, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "5803:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5803:57:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8165, - "nodeType": "ExpressionStatement", - "src": "5803:57:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5766:3:9", - "parameters": { - "id": 8156, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8155, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5775:2:9", - "nodeType": "VariableDeclaration", - "scope": 8167, - "src": "5770:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8154, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5770:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5769:9:9" - }, - "returnParameters": { - "id": 8157, - "nodeType": "ParameterList", - "parameters": [], - "src": "5793:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8181, - "nodeType": "FunctionDefinition", - "src": "5873:116:9", - "body": { - "id": 8180, - "nodeType": "Block", - "src": "5912:77:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 8175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:14:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 8176, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8169, - "src": "5978:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 8173, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5938:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5942:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5938:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5938:43:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8172, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "5922:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5922:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8179, - "nodeType": "ExpressionStatement", - "src": "5922:60:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5882:3:9", - "parameters": { - "id": 8170, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8169, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5894:2:9", - "nodeType": "VariableDeclaration", - "scope": 8181, - "src": "5886:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8168, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5886:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5885:12:9" - }, - "returnParameters": { - "id": 8171, - "nodeType": "ParameterList", - "parameters": [], - "src": "5912:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8198, - "nodeType": "FunctionDefinition", - "src": "5995:128:9", - "body": { - "id": 8197, - "nodeType": "Block", - "src": "6040:83:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e7429", - "id": 8191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6090:16:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c0f69806b714804c91bc48c3b408dde7373841a86e55c9ea3ee0c5945b4bc32", - "typeString": "literal_string \"log(uint,uint)\"" - }, - "value": "log(uint,uint)" - }, - { - "id": 8192, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8183, - "src": "6108:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8193, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8185, - "src": "6112:2:9", - "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": 8189, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6066:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8190, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6070:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6066:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6066:49:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8188, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "6050:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6050:66:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8196, - "nodeType": "ExpressionStatement", - "src": "6050:66:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6004:3:9", - "parameters": { - "id": 8186, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8183, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6013:2:9", - "nodeType": "VariableDeclaration", - "scope": 8198, - "src": "6008:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8182, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6008:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8185, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6022:2:9", - "nodeType": "VariableDeclaration", - "scope": 8198, - "src": "6017:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8184, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6017:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6007:18:9" - }, - "returnParameters": { - "id": 8187, - "nodeType": "ParameterList", - "parameters": [], - "src": "6040:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8215, - "nodeType": "FunctionDefinition", - "src": "6129:139:9", - "body": { - "id": 8214, - "nodeType": "Block", - "src": "6183:85:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e6729", - "id": 8208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6233:18:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0fa3f345ed69310615f27bede4ec80a963e2134dd287fa93c82b0c1eefe029a8", - "typeString": "literal_string \"log(uint,string)\"" - }, - "value": "log(uint,string)" - }, - { - "id": 8209, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8200, - "src": "6253:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8210, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8202, - "src": "6257:2:9", - "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": 8206, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6209:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6213:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6209:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6209:51:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8205, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "6193:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6193:68:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8213, - "nodeType": "ExpressionStatement", - "src": "6193:68:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6138:3:9", - "parameters": { - "id": 8203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8200, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6147:2:9", - "nodeType": "VariableDeclaration", - "scope": 8215, - "src": "6142:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8199, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6142:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8202, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6165:2:9", - "nodeType": "VariableDeclaration", - "scope": 8215, - "src": "6151:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8201, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6151:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6141:27:9" - }, - "returnParameters": { - "id": 8204, - "nodeType": "ParameterList", - "parameters": [], - "src": "6183:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8232, - "nodeType": "FunctionDefinition", - "src": "6274:128:9", - "body": { - "id": 8231, - "nodeType": "Block", - "src": "6319:83:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c29", - "id": 8225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6369:16:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e6dd4ecaf57d2ec6eb02f2f993c53040200a16451fba718b7e8b170825fd172", - "typeString": "literal_string \"log(uint,bool)\"" - }, - "value": "log(uint,bool)" - }, - { - "id": 8226, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8217, - "src": "6387:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8227, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8219, - "src": "6391:2:9", - "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": 8223, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6345:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6349:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6345:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6345:49:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8222, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "6329:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8229, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6329:66:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8230, - "nodeType": "ExpressionStatement", - "src": "6329:66:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6283:3:9", - "parameters": { - "id": 8220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8217, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6292:2:9", - "nodeType": "VariableDeclaration", - "scope": 8232, - "src": "6287:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8216, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6287:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8219, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6301:2:9", - "nodeType": "VariableDeclaration", - "scope": 8232, - "src": "6296:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8218, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6296:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6286:18:9" - }, - "returnParameters": { - "id": 8221, - "nodeType": "ParameterList", - "parameters": [], - "src": "6319:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8249, - "nodeType": "FunctionDefinition", - "src": "6408:134:9", - "body": { - "id": 8248, - "nodeType": "Block", - "src": "6456:86:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c6164647265737329", - "id": 8242, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6506:19:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_58eb860cb5df2c2db83667a7ce62ef14d1323e0f3e304ea316fb64cd2c6fd3b2", - "typeString": "literal_string \"log(uint,address)\"" - }, - "value": "log(uint,address)" - }, - { - "id": 8243, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8234, - "src": "6527:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8244, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8236, - "src": "6531:2:9", - "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": 8240, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6482:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6486:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6482:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6482:52:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8239, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "6466:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6466:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8247, - "nodeType": "ExpressionStatement", - "src": "6466:69:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6417:3:9", - "parameters": { - "id": 8237, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8234, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6426:2:9", - "nodeType": "VariableDeclaration", - "scope": 8249, - "src": "6421:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8233, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6421:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8236, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6438:2:9", - "nodeType": "VariableDeclaration", - "scope": 8249, - "src": "6430:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8235, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6430:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6420:21:9" - }, - "returnParameters": { - "id": 8238, - "nodeType": "ParameterList", - "parameters": [], - "src": "6456:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8266, - "nodeType": "FunctionDefinition", - "src": "6548:139:9", - "body": { - "id": 8265, - "nodeType": "Block", - "src": "6602:85:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e7429", - "id": 8259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6652:18:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9710a9d00d210736b1ce918b483e56000e2885769da8118b2fbf9fe33949d3bd", - "typeString": "literal_string \"log(string,uint)\"" - }, - "value": "log(string,uint)" - }, - { - "id": 8260, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8251, - "src": "6672:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8261, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8253, - "src": "6676:2:9", - "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": 8257, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6628:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8258, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6632:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6628:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8262, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6628:51:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8256, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "6612:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6612:68:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8264, - "nodeType": "ExpressionStatement", - "src": "6612:68:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6557:3:9", - "parameters": { - "id": 8254, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8251, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6575:2:9", - "nodeType": "VariableDeclaration", - "scope": 8266, - "src": "6561:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8250, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6561:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8253, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6584:2:9", - "nodeType": "VariableDeclaration", - "scope": 8266, - "src": "6579:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8252, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6579:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6560:27:9" - }, - "returnParameters": { - "id": 8255, - "nodeType": "ParameterList", - "parameters": [], - "src": "6602:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8283, - "nodeType": "FunctionDefinition", - "src": "6693:150:9", - "body": { - "id": 8282, - "nodeType": "Block", - "src": "6756:87:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e6729", - "id": 8276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6806:20:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b5c4277d556d03fbf5ee534fba41dc13982b44f2fa82f1d48fdd8b5b5b692ac", - "typeString": "literal_string \"log(string,string)\"" - }, - "value": "log(string,string)" - }, - { - "id": 8277, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8268, - "src": "6828:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8278, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8270, - "src": "6832:2:9", - "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": 8274, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6782:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8275, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6786:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6782:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6782:53:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8273, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "6766:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6766:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8281, - "nodeType": "ExpressionStatement", - "src": "6766:70:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6702:3:9", - "parameters": { - "id": 8271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8268, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6720:2:9", - "nodeType": "VariableDeclaration", - "scope": 8283, - "src": "6706:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8267, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6706:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8270, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6738:2:9", - "nodeType": "VariableDeclaration", - "scope": 8283, - "src": "6724:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8269, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6724:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6705:36:9" - }, - "returnParameters": { - "id": 8272, - "nodeType": "ParameterList", - "parameters": [], - "src": "6756:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8300, - "nodeType": "FunctionDefinition", - "src": "6849:139:9", - "body": { - "id": 8299, - "nodeType": "Block", - "src": "6903:85:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c29", - "id": 8293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6953:18:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3b556354c088fbb43886eb83c2a04bc7089663f964d22be308197a236f5b870", - "typeString": "literal_string \"log(string,bool)\"" - }, - "value": "log(string,bool)" - }, - { - "id": 8294, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8285, - "src": "6973:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8295, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8287, - "src": "6977:2:9", - "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": 8291, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6929:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6933:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6929:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6929:51:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8290, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "6913:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6913:68:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8298, - "nodeType": "ExpressionStatement", - "src": "6913:68:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6858:3:9", - "parameters": { - "id": 8288, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8285, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6876:2:9", - "nodeType": "VariableDeclaration", - "scope": 8300, - "src": "6862:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8284, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6862:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8287, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6885:2:9", - "nodeType": "VariableDeclaration", - "scope": 8300, - "src": "6880:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8286, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6880:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6861:27:9" - }, - "returnParameters": { - "id": 8289, - "nodeType": "ParameterList", - "parameters": [], - "src": "6903:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8317, - "nodeType": "FunctionDefinition", - "src": "6994:145:9", - "body": { - "id": 8316, - "nodeType": "Block", - "src": "7051:88:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c6164647265737329", - "id": 8310, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7101:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_319af333460570a1937bf195dd33445c0d0951c59127da6f1f038b9fdce3fd72", - "typeString": "literal_string \"log(string,address)\"" - }, - "value": "log(string,address)" - }, - { - "id": 8311, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8302, - "src": "7124:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8312, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8304, - "src": "7128:2:9", - "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": 8308, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7077:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7081:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7077:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7077:54:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8307, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "7061:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7061:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8315, - "nodeType": "ExpressionStatement", - "src": "7061:71:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7003:3:9", - "parameters": { - "id": 8305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8302, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7021:2:9", - "nodeType": "VariableDeclaration", - "scope": 8317, - "src": "7007:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8301, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7007:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8304, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7033:2:9", - "nodeType": "VariableDeclaration", - "scope": 8317, - "src": "7025:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8303, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7025:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7006:30:9" - }, - "returnParameters": { - "id": 8306, - "nodeType": "ParameterList", - "parameters": [], - "src": "7051:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8334, - "nodeType": "FunctionDefinition", - "src": "7145:128:9", - "body": { - "id": 8333, - "nodeType": "Block", - "src": "7190:83:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e7429", - "id": 8327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7240:16:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_364b6a921e139cbe48176ce2b1f6700c7e568330bc5da26f60350cc33cf2a299", - "typeString": "literal_string \"log(bool,uint)\"" - }, - "value": "log(bool,uint)" - }, - { - "id": 8328, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8319, - "src": "7258:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8329, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8321, - "src": "7262:2:9", - "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": 8325, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7216:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7220:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7216:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7216:49:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8324, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "7200:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7200:66:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8332, - "nodeType": "ExpressionStatement", - "src": "7200:66:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7154:3:9", - "parameters": { - "id": 8322, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8319, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7163:2:9", - "nodeType": "VariableDeclaration", - "scope": 8334, - "src": "7158:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8318, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7158:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8321, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7172:2:9", - "nodeType": "VariableDeclaration", - "scope": 8334, - "src": "7167:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8320, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7167:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7157:18:9" - }, - "returnParameters": { - "id": 8323, - "nodeType": "ParameterList", - "parameters": [], - "src": "7190:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8351, - "nodeType": "FunctionDefinition", - "src": "7279:139:9", - "body": { - "id": 8350, - "nodeType": "Block", - "src": "7333:85:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e6729", - "id": 8344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7383:18:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8feac5256a5b88d7ca0173065b796567ecbc9d75ec022fa0f044eb427f962b84", - "typeString": "literal_string \"log(bool,string)\"" - }, - "value": "log(bool,string)" - }, - { - "id": 8345, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8336, - "src": "7403:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8346, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8338, - "src": "7407:2:9", - "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": 8342, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7359:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7363:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7359:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7359:51:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8341, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "7343:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7343:68:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8349, - "nodeType": "ExpressionStatement", - "src": "7343:68:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7288:3:9", - "parameters": { - "id": 8339, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8336, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7297:2:9", - "nodeType": "VariableDeclaration", - "scope": 8351, - "src": "7292:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8335, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7292:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8338, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7315:2:9", - "nodeType": "VariableDeclaration", - "scope": 8351, - "src": "7301:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8337, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7301:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7291:27:9" - }, - "returnParameters": { - "id": 8340, - "nodeType": "ParameterList", - "parameters": [], - "src": "7333:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8368, - "nodeType": "FunctionDefinition", - "src": "7424:128:9", - "body": { - "id": 8367, - "nodeType": "Block", - "src": "7469:83:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c29", - "id": 8361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7519:16:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a110e83227fbe26ff7524076f2091da3e9aa01d70b93677da53b41d22f4fb15", - "typeString": "literal_string \"log(bool,bool)\"" - }, - "value": "log(bool,bool)" - }, - { - "id": 8362, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8353, - "src": "7537:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8363, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8355, - "src": "7541:2:9", - "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": 8359, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7495:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8360, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7499:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7495:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7495:49:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8358, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "7479:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8365, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7479:66:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8366, - "nodeType": "ExpressionStatement", - "src": "7479:66:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7433:3:9", - "parameters": { - "id": 8356, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8353, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7442:2:9", - "nodeType": "VariableDeclaration", - "scope": 8368, - "src": "7437:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8352, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7437:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8355, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7451:2:9", - "nodeType": "VariableDeclaration", - "scope": 8368, - "src": "7446:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8354, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7446:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7436:18:9" - }, - "returnParameters": { - "id": 8357, - "nodeType": "ParameterList", - "parameters": [], - "src": "7469:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8385, - "nodeType": "FunctionDefinition", - "src": "7558:134:9", - "body": { - "id": 8384, - "nodeType": "Block", - "src": "7606:86:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c6164647265737329", - "id": 8378, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7656:19:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_853c4849443241e2249adafa4f69c8bb738b0f17c7a0a9d9997450cd71db4d55", - "typeString": "literal_string \"log(bool,address)\"" - }, - "value": "log(bool,address)" - }, - { - "id": 8379, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8370, - "src": "7677:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8380, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8372, - "src": "7681:2:9", - "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": 8376, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7632:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7636:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7632:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7632:52:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8375, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "7616:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7616:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8383, - "nodeType": "ExpressionStatement", - "src": "7616:69:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7567:3:9", - "parameters": { - "id": 8373, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8370, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7576:2:9", - "nodeType": "VariableDeclaration", - "scope": 8385, - "src": "7571:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8369, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7571:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8372, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7588:2:9", - "nodeType": "VariableDeclaration", - "scope": 8385, - "src": "7580:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8371, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7580:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7570:21:9" - }, - "returnParameters": { - "id": 8374, - "nodeType": "ParameterList", - "parameters": [], - "src": "7606:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8402, - "nodeType": "FunctionDefinition", - "src": "7698:134:9", - "body": { - "id": 8401, - "nodeType": "Block", - "src": "7746:86:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e7429", - "id": 8395, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7796:19:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2243cfa3a64f0f85afef83b08ba731ebd8a4b1053fdc66eb414b069452c9f133", - "typeString": "literal_string \"log(address,uint)\"" - }, - "value": "log(address,uint)" - }, - { - "id": 8396, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8387, - "src": "7817:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8397, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8389, - "src": "7821:2:9", - "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": 8393, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7772:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8394, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7776:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7772:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7772:52:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8392, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "7756:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7756:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8400, - "nodeType": "ExpressionStatement", - "src": "7756:69:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7707:3:9", - "parameters": { - "id": 8390, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8387, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7719:2:9", - "nodeType": "VariableDeclaration", - "scope": 8402, - "src": "7711:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8386, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7711:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8389, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7728:2:9", - "nodeType": "VariableDeclaration", - "scope": 8402, - "src": "7723:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8388, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7723:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7710:21:9" - }, - "returnParameters": { - "id": 8391, - "nodeType": "ParameterList", - "parameters": [], - "src": "7746:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8419, - "nodeType": "FunctionDefinition", - "src": "7838:145:9", - "body": { - "id": 8418, - "nodeType": "Block", - "src": "7895:88:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e6729", - "id": 8412, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7945:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_759f86bbdd0758679ecefbd32ea620068b2339dddd9e45ee0fa567ee6c81f0ab", - "typeString": "literal_string \"log(address,string)\"" - }, - "value": "log(address,string)" - }, - { - "id": 8413, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8404, - "src": "7968:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8414, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8406, - "src": "7972:2:9", - "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": 8410, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7921:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7925:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7921:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7921:54:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8409, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "7905:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7905:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8417, - "nodeType": "ExpressionStatement", - "src": "7905:71:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7847:3:9", - "parameters": { - "id": 8407, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8404, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7859:2:9", - "nodeType": "VariableDeclaration", - "scope": 8419, - "src": "7851:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8403, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7851:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8406, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7877:2:9", - "nodeType": "VariableDeclaration", - "scope": 8419, - "src": "7863:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8405, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7863:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7850:30:9" - }, - "returnParameters": { - "id": 8408, - "nodeType": "ParameterList", - "parameters": [], - "src": "7895:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8436, - "nodeType": "FunctionDefinition", - "src": "7989:134:9", - "body": { - "id": 8435, - "nodeType": "Block", - "src": "8037:86:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c29", - "id": 8429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8087:19:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75b605d31a3bf49c8d814696c7c66216d3a7e81348c450078f032e425592f72b", - "typeString": "literal_string \"log(address,bool)\"" - }, - "value": "log(address,bool)" - }, - { - "id": 8430, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8421, - "src": "8108:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8431, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8423, - "src": "8112:2:9", - "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": 8427, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8063:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8067:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8063:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8063:52:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8426, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "8047:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8047:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8434, - "nodeType": "ExpressionStatement", - "src": "8047:69:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7998:3:9", - "parameters": { - "id": 8424, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8421, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8010:2:9", - "nodeType": "VariableDeclaration", - "scope": 8436, - "src": "8002:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8420, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8002:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8423, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8019:2:9", - "nodeType": "VariableDeclaration", - "scope": 8436, - "src": "8014:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8422, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8014:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8001:21:9" - }, - "returnParameters": { - "id": 8425, - "nodeType": "ParameterList", - "parameters": [], - "src": "8037:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8453, - "nodeType": "FunctionDefinition", - "src": "8129:140:9", - "body": { - "id": 8452, - "nodeType": "Block", - "src": "8180:89:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c6164647265737329", - "id": 8446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8230:22:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_daf0d4aa9a5679e832ac921da67b43572b4326ee2565442d3ed255b48cfb5161", - "typeString": "literal_string \"log(address,address)\"" - }, - "value": "log(address,address)" - }, - { - "id": 8447, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8438, - "src": "8254:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8448, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8440, - "src": "8258:2:9", - "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": 8444, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8206:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8210:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8206:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8206:55:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8443, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "8190:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8190:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8451, - "nodeType": "ExpressionStatement", - "src": "8190:72:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8138:3:9", - "parameters": { - "id": 8441, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8438, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8150:2:9", - "nodeType": "VariableDeclaration", - "scope": 8453, - "src": "8142:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8142:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8440, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8162:2:9", - "nodeType": "VariableDeclaration", - "scope": 8453, - "src": "8154:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8439, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8154:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8141:24:9" - }, - "returnParameters": { - "id": 8442, - "nodeType": "ParameterList", - "parameters": [], - "src": "8180:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8473, - "nodeType": "FunctionDefinition", - "src": "8275:146:9", - "body": { - "id": 8472, - "nodeType": "Block", - "src": "8329:92:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e7429", - "id": 8465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8379:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e7820a7400e33a94b0ae6f00adee99b97ebef8b77c9e38dd555c2f6b541dee17", - "typeString": "literal_string \"log(uint,uint,uint)\"" - }, - "value": "log(uint,uint,uint)" - }, - { - "id": 8466, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8455, - "src": "8402:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8467, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8457, - "src": "8406:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8468, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8459, - "src": "8410:2:9", - "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": 8463, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8355:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8359:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8355:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8355:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8462, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "8339:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8339:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8471, - "nodeType": "ExpressionStatement", - "src": "8339:75:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8284:3:9", - "parameters": { - "id": 8460, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8455, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8293:2:9", - "nodeType": "VariableDeclaration", - "scope": 8473, - "src": "8288:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8454, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8288:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8457, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8302:2:9", - "nodeType": "VariableDeclaration", - "scope": 8473, - "src": "8297:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8456, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8297:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8459, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8311:2:9", - "nodeType": "VariableDeclaration", - "scope": 8473, - "src": "8306:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8458, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8306:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8287:27:9" - }, - "returnParameters": { - "id": 8461, - "nodeType": "ParameterList", - "parameters": [], - "src": "8329:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8493, - "nodeType": "FunctionDefinition", - "src": "8427:157:9", - "body": { - "id": 8492, - "nodeType": "Block", - "src": "8490:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e6729", - "id": 8485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8540:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d690ee617a4217569e96b85c815115b0eee15407adaa46490ed719a45458699", - "typeString": "literal_string \"log(uint,uint,string)\"" - }, - "value": "log(uint,uint,string)" - }, - { - "id": 8486, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8475, - "src": "8565:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8487, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8477, - "src": "8569:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8488, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8479, - "src": "8573:2:9", - "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": 8483, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8516:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8520:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8516:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8516:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8482, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "8500:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8500:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8491, - "nodeType": "ExpressionStatement", - "src": "8500:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8436:3:9", - "parameters": { - "id": 8480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8475, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8445:2:9", - "nodeType": "VariableDeclaration", - "scope": 8493, - "src": "8440:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8474, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8440:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8477, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8454:2:9", - "nodeType": "VariableDeclaration", - "scope": 8493, - "src": "8449:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8476, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8449:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8479, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8472:2:9", - "nodeType": "VariableDeclaration", - "scope": 8493, - "src": "8458:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8478, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8458:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8439:36:9" - }, - "returnParameters": { - "id": 8481, - "nodeType": "ParameterList", - "parameters": [], - "src": "8490:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8513, - "nodeType": "FunctionDefinition", - "src": "8590:146:9", - "body": { - "id": 8512, - "nodeType": "Block", - "src": "8644:92:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c29", - "id": 8505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8694:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_67570ff704783f5d282b26317dc28aeb4fe23c085020ec6e580604c709916fa8", - "typeString": "literal_string \"log(uint,uint,bool)\"" - }, - "value": "log(uint,uint,bool)" - }, - { - "id": 8506, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8495, - "src": "8717:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8507, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8497, - "src": "8721:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8508, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8499, - "src": "8725:2:9", - "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": 8503, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8670:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8674:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8670:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8670:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8502, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "8654:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8654:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8511, - "nodeType": "ExpressionStatement", - "src": "8654:75:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8599:3:9", - "parameters": { - "id": 8500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8495, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8608:2:9", - "nodeType": "VariableDeclaration", - "scope": 8513, - "src": "8603:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8494, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8603:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8497, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8617:2:9", - "nodeType": "VariableDeclaration", - "scope": 8513, - "src": "8612:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8496, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8612:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8499, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8626:2:9", - "nodeType": "VariableDeclaration", - "scope": 8513, - "src": "8621:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8498, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8621:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8602:27:9" - }, - "returnParameters": { - "id": 8501, - "nodeType": "ParameterList", - "parameters": [], - "src": "8644:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8533, - "nodeType": "FunctionDefinition", - "src": "8742:152:9", - "body": { - "id": 8532, - "nodeType": "Block", - "src": "8799:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c6164647265737329", - "id": 8525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8849:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_be33491b8b53b7f3deae2959d1f4b0a22e6967a778c50f03dc188de84a207616", - "typeString": "literal_string \"log(uint,uint,address)\"" - }, - "value": "log(uint,uint,address)" - }, - { - "id": 8526, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8515, - "src": "8875:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8527, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8517, - "src": "8879:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8528, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8519, - "src": "8883:2:9", - "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": 8523, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8825:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8829:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8825:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8825:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8522, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "8809:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8809:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8531, - "nodeType": "ExpressionStatement", - "src": "8809:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8751:3:9", - "parameters": { - "id": 8520, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8515, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8760:2:9", - "nodeType": "VariableDeclaration", - "scope": 8533, - "src": "8755:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8514, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8755:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8517, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8769:2:9", - "nodeType": "VariableDeclaration", - "scope": 8533, - "src": "8764:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8516, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8764:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8519, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8781:2:9", - "nodeType": "VariableDeclaration", - "scope": 8533, - "src": "8773:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8518, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8773:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8754:30:9" - }, - "returnParameters": { - "id": 8521, - "nodeType": "ParameterList", - "parameters": [], - "src": "8799:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8553, - "nodeType": "FunctionDefinition", - "src": "8900:157:9", - "body": { - "id": 8552, - "nodeType": "Block", - "src": "8963:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e7429", - "id": 8545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9013:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5b6de83ff0d95cd44df8bb8bfd95aa0a6291cab3b8502d85b1dcfd35a64c81cd", - "typeString": "literal_string \"log(uint,string,uint)\"" - }, - "value": "log(uint,string,uint)" - }, - { - "id": 8546, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8535, - "src": "9038:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8547, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8537, - "src": "9042:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8548, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8539, - "src": "9046:2:9", - "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": 8543, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8989:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8993:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8989:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8989:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8542, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "8973:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8973:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8551, - "nodeType": "ExpressionStatement", - "src": "8973:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8909:3:9", - "parameters": { - "id": 8540, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8535, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8918:2:9", - "nodeType": "VariableDeclaration", - "scope": 8553, - "src": "8913:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8534, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8913:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8537, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8936:2:9", - "nodeType": "VariableDeclaration", - "scope": 8553, - "src": "8922:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8922:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8539, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8945:2:9", - "nodeType": "VariableDeclaration", - "scope": 8553, - "src": "8940:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8538, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8940:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8912:36:9" - }, - "returnParameters": { - "id": 8541, - "nodeType": "ParameterList", - "parameters": [], - "src": "8963:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8573, - "nodeType": "FunctionDefinition", - "src": "9063:168:9", - "body": { - "id": 8572, - "nodeType": "Block", - "src": "9135:96:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e6729", - "id": 8565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9185:25:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3f57c295245f8891b303347a08039155dde08dde601649242724a0ce876bcc65", - "typeString": "literal_string \"log(uint,string,string)\"" - }, - "value": "log(uint,string,string)" - }, - { - "id": 8566, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8555, - "src": "9212:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8567, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8557, - "src": "9216:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8568, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8559, - "src": "9220:2:9", - "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": 8563, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9161:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9165:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9161:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9161:62:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8562, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "9145:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9145:79:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8571, - "nodeType": "ExpressionStatement", - "src": "9145:79:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9072:3:9", - "parameters": { - "id": 8560, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8555, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9081:2:9", - "nodeType": "VariableDeclaration", - "scope": 8573, - "src": "9076:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8554, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9076:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8557, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9099:2:9", - "nodeType": "VariableDeclaration", - "scope": 8573, - "src": "9085:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8556, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9085:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8559, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9117:2:9", - "nodeType": "VariableDeclaration", - "scope": 8573, - "src": "9103:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9103:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9075:45:9" - }, - "returnParameters": { - "id": 8561, - "nodeType": "ParameterList", - "parameters": [], - "src": "9135:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8593, - "nodeType": "FunctionDefinition", - "src": "9237:157:9", - "body": { - "id": 8592, - "nodeType": "Block", - "src": "9300:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c29", - "id": 8585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9350:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46a7d0ce13c2c26d158d9defa8ce488dbeb81d3c852592fb370bd45953199485", - "typeString": "literal_string \"log(uint,string,bool)\"" - }, - "value": "log(uint,string,bool)" - }, - { - "id": 8586, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8575, - "src": "9375:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8587, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8577, - "src": "9379:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8588, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8579, - "src": "9383:2:9", - "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": 8583, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9326:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9330:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9326:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9326:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8582, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "9310:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9310:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8591, - "nodeType": "ExpressionStatement", - "src": "9310:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9246:3:9", - "parameters": { - "id": 8580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8575, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9255:2:9", - "nodeType": "VariableDeclaration", - "scope": 8593, - "src": "9250:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8574, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9250:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8577, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9273:2:9", - "nodeType": "VariableDeclaration", - "scope": 8593, - "src": "9259:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8576, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9259:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8579, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9282:2:9", - "nodeType": "VariableDeclaration", - "scope": 8593, - "src": "9277:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8578, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9277:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9249:36:9" - }, - "returnParameters": { - "id": 8581, - "nodeType": "ParameterList", - "parameters": [], - "src": "9300:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8613, - "nodeType": "FunctionDefinition", - "src": "9400:163:9", - "body": { - "id": 8612, - "nodeType": "Block", - "src": "9466:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c6164647265737329", - "id": 8605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9516:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1f90f24a472e5198a9eef41600323c8a476ef0a1db1496125f7d053a74d474ac", - "typeString": "literal_string \"log(uint,string,address)\"" - }, - "value": "log(uint,string,address)" - }, - { - "id": 8606, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8595, - "src": "9544:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8607, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8597, - "src": "9548:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8608, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8599, - "src": "9552:2:9", - "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": 8603, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9492:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9496:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9492:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9492:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8602, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "9476:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9476:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8611, - "nodeType": "ExpressionStatement", - "src": "9476:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9409:3:9", - "parameters": { - "id": 8600, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8595, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9418:2:9", - "nodeType": "VariableDeclaration", - "scope": 8613, - "src": "9413:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8594, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9413:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8597, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9436:2:9", - "nodeType": "VariableDeclaration", - "scope": 8613, - "src": "9422:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8596, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9422:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8599, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9448:2:9", - "nodeType": "VariableDeclaration", - "scope": 8613, - "src": "9440:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9440:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "9412:39:9" - }, - "returnParameters": { - "id": 8601, - "nodeType": "ParameterList", - "parameters": [], - "src": "9466:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8633, - "nodeType": "FunctionDefinition", - "src": "9569:146:9", - "body": { - "id": 8632, - "nodeType": "Block", - "src": "9623:92:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e7429", - "id": 8625, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9673:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5a4d9922ab81f1126dafac21c1ce3fb483db2e4898341fe0758315eb5f3054d6", - "typeString": "literal_string \"log(uint,bool,uint)\"" - }, - "value": "log(uint,bool,uint)" - }, - { - "id": 8626, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8615, - "src": "9696:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8627, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8617, - "src": "9700:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8628, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8619, - "src": "9704:2:9", - "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": 8623, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9649:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8624, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9653:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9649:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9649:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8622, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "9633:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9633:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8631, - "nodeType": "ExpressionStatement", - "src": "9633:75:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9578:3:9", - "parameters": { - "id": 8620, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8615, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9587:2:9", - "nodeType": "VariableDeclaration", - "scope": 8633, - "src": "9582:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8614, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9582:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8617, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9596:2:9", - "nodeType": "VariableDeclaration", - "scope": 8633, - "src": "9591:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8616, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9591:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8619, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9605:2:9", - "nodeType": "VariableDeclaration", - "scope": 8633, - "src": "9600:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8618, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9600:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9581:27:9" - }, - "returnParameters": { - "id": 8621, - "nodeType": "ParameterList", - "parameters": [], - "src": "9623:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8653, - "nodeType": "FunctionDefinition", - "src": "9721:157:9", - "body": { - "id": 8652, - "nodeType": "Block", - "src": "9784:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e6729", - "id": 8645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9834:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8b0e14fe247223cbba6a19a2fac250db70b4f126d0f3f63ac9c3f080885b9f82", - "typeString": "literal_string \"log(uint,bool,string)\"" - }, - "value": "log(uint,bool,string)" - }, - { - "id": 8646, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8635, - "src": "9859:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8647, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8637, - "src": "9863:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8648, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8639, - "src": "9867:2:9", - "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": 8643, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9810:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8644, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9814:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9810:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9810:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8642, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "9794:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9794:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8651, - "nodeType": "ExpressionStatement", - "src": "9794:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9730:3:9", - "parameters": { - "id": 8640, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8635, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9739:2:9", - "nodeType": "VariableDeclaration", - "scope": 8653, - "src": "9734:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8634, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9734:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8637, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9748:2:9", - "nodeType": "VariableDeclaration", - "scope": 8653, - "src": "9743:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8636, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9743:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8639, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9766:2:9", - "nodeType": "VariableDeclaration", - "scope": 8653, - "src": "9752:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8638, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9752:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9733:36:9" - }, - "returnParameters": { - "id": 8641, - "nodeType": "ParameterList", - "parameters": [], - "src": "9784:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8673, - "nodeType": "FunctionDefinition", - "src": "9884:146:9", - "body": { - "id": 8672, - "nodeType": "Block", - "src": "9938:92:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c29", - "id": 8665, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9988:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5ceace024d24c243571d0b2393ca9fb37aa961a0e028332e72cd7dfb84c0971", - "typeString": "literal_string \"log(uint,bool,bool)\"" - }, - "value": "log(uint,bool,bool)" - }, - { - "id": 8666, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8655, - "src": "10011:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8667, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8657, - "src": "10015:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8668, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8659, - "src": "10019:2:9", - "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": 8663, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9964:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9968:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9964:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9964:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8662, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "9948:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9948:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8671, - "nodeType": "ExpressionStatement", - "src": "9948:75:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9893:3:9", - "parameters": { - "id": 8660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8655, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9902:2:9", - "nodeType": "VariableDeclaration", - "scope": 8673, - "src": "9897:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8654, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9897:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8657, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9911:2:9", - "nodeType": "VariableDeclaration", - "scope": 8673, - "src": "9906:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9906:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8659, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9920:2:9", - "nodeType": "VariableDeclaration", - "scope": 8673, - "src": "9915:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8658, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9915:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9896:27:9" - }, - "returnParameters": { - "id": 8661, - "nodeType": "ParameterList", - "parameters": [], - "src": "9938:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8693, - "nodeType": "FunctionDefinition", - "src": "10036:152:9", - "body": { - "id": 8692, - "nodeType": "Block", - "src": "10093:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c6164647265737329", - "id": 8685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10143:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_424effbf6346b3a7c79debdbad20f804c7961e0193d509136d2bb7c09c7ff9b2", - "typeString": "literal_string \"log(uint,bool,address)\"" - }, - "value": "log(uint,bool,address)" - }, - { - "id": 8686, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8675, - "src": "10169:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8687, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8677, - "src": "10173:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8688, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8679, - "src": "10177:2:9", - "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": 8683, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10119:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10123:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10119:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10119:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8682, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "10103:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10103:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8691, - "nodeType": "ExpressionStatement", - "src": "10103:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10045:3:9", - "parameters": { - "id": 8680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8675, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10054:2:9", - "nodeType": "VariableDeclaration", - "scope": 8693, - "src": "10049:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8674, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10049:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8677, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10063:2:9", - "nodeType": "VariableDeclaration", - "scope": 8693, - "src": "10058:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8676, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10058:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8679, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10075:2:9", - "nodeType": "VariableDeclaration", - "scope": 8693, - "src": "10067:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8678, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10067:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10048:30:9" - }, - "returnParameters": { - "id": 8681, - "nodeType": "ParameterList", - "parameters": [], - "src": "10093:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8713, - "nodeType": "FunctionDefinition", - "src": "10194:152:9", - "body": { - "id": 8712, - "nodeType": "Block", - "src": "10251:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e7429", - "id": 8705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10301:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_884343aaf095a99f79852cd574543144a9a04148c5eb5687826e5e86a2554617", - "typeString": "literal_string \"log(uint,address,uint)\"" - }, - "value": "log(uint,address,uint)" - }, - { - "id": 8706, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8695, - "src": "10327:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8707, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8697, - "src": "10331:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8708, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8699, - "src": "10335:2:9", - "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": 8703, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10277:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10281:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10277:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10277:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8702, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "10261:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10261:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8711, - "nodeType": "ExpressionStatement", - "src": "10261:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10203:3:9", - "parameters": { - "id": 8700, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8695, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10212:2:9", - "nodeType": "VariableDeclaration", - "scope": 8713, - "src": "10207:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8694, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10207:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8697, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10224:2:9", - "nodeType": "VariableDeclaration", - "scope": 8713, - "src": "10216:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8696, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10216:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8699, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10233:2:9", - "nodeType": "VariableDeclaration", - "scope": 8713, - "src": "10228:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8698, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10228:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10206:30:9" - }, - "returnParameters": { - "id": 8701, - "nodeType": "ParameterList", - "parameters": [], - "src": "10251:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8733, - "nodeType": "FunctionDefinition", - "src": "10352:163:9", - "body": { - "id": 8732, - "nodeType": "Block", - "src": "10418:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e6729", - "id": 8725, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10468:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ce83047b6eeeca52b57db5064e316bb4dc615477077814d1a191d68a4818cbed", - "typeString": "literal_string \"log(uint,address,string)\"" - }, - "value": "log(uint,address,string)" - }, - { - "id": 8726, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8715, - "src": "10496:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8727, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8717, - "src": "10500:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8728, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8719, - "src": "10504:2:9", - "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": 8723, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10444:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10448:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10444:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10444:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8722, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "10428:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10428:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8731, - "nodeType": "ExpressionStatement", - "src": "10428:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10361:3:9", - "parameters": { - "id": 8720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8715, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10370:2:9", - "nodeType": "VariableDeclaration", - "scope": 8733, - "src": "10365:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8714, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10365:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8717, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10382:2:9", - "nodeType": "VariableDeclaration", - "scope": 8733, - "src": "10374:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10374:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8719, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10400:2:9", - "nodeType": "VariableDeclaration", - "scope": 8733, - "src": "10386:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8718, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10386:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10364:39:9" - }, - "returnParameters": { - "id": 8721, - "nodeType": "ParameterList", - "parameters": [], - "src": "10418:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8753, - "nodeType": "FunctionDefinition", - "src": "10521:152:9", - "body": { - "id": 8752, - "nodeType": "Block", - "src": "10578:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c29", - "id": 8745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10628:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7ad0128e41690364edd967a051c6d9cea9f7c322246c5ed2ebc0083265828a80", - "typeString": "literal_string \"log(uint,address,bool)\"" - }, - "value": "log(uint,address,bool)" - }, - { - "id": 8746, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8735, - "src": "10654:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8747, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8737, - "src": "10658:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8748, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8739, - "src": "10662:2:9", - "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": 8743, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10604:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10608:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10604:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10604:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8742, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "10588:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10588:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8751, - "nodeType": "ExpressionStatement", - "src": "10588:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10530:3:9", - "parameters": { - "id": 8740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8735, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10539:2:9", - "nodeType": "VariableDeclaration", - "scope": 8753, - "src": "10534:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8734, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10534:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8737, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10551:2:9", - "nodeType": "VariableDeclaration", - "scope": 8753, - "src": "10543:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8736, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10543:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8739, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10560:2:9", - "nodeType": "VariableDeclaration", - "scope": 8753, - "src": "10555:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8738, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10555:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10533:30:9" - }, - "returnParameters": { - "id": 8741, - "nodeType": "ParameterList", - "parameters": [], - "src": "10578:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8773, - "nodeType": "FunctionDefinition", - "src": "10679:158:9", - "body": { - "id": 8772, - "nodeType": "Block", - "src": "10739:98:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c6164647265737329", - "id": 8765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10789:27:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d77a61be18c592527fe1ce89d591c1badea18ef3198dacc513c5ba08449fd7b", - "typeString": "literal_string \"log(uint,address,address)\"" - }, - "value": "log(uint,address,address)" - }, - { - "id": 8766, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8755, - "src": "10818:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8767, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8757, - "src": "10822:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8768, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8759, - "src": "10826:2:9", - "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": 8763, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10765:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10769:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10765:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10765:64:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8762, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "10749:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10749:81:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8771, - "nodeType": "ExpressionStatement", - "src": "10749:81:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10688:3:9", - "parameters": { - "id": 8760, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8755, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10697:2:9", - "nodeType": "VariableDeclaration", - "scope": 8773, - "src": "10692:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8754, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10692:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8757, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10709:2:9", - "nodeType": "VariableDeclaration", - "scope": 8773, - "src": "10701:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8756, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10701:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8759, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10721:2:9", - "nodeType": "VariableDeclaration", - "scope": 8773, - "src": "10713:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8758, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10713:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10691:33:9" - }, - "returnParameters": { - "id": 8761, - "nodeType": "ParameterList", - "parameters": [], - "src": "10739:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8793, - "nodeType": "FunctionDefinition", - "src": "10843:157:9", - "body": { - "id": 8792, - "nodeType": "Block", - "src": "10906:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e7429", - "id": 8785, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10956:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_969cdd03749f5aa30c7fce9178272cdca616cb2cc28128d3b9824be8046f827e", - "typeString": "literal_string \"log(string,uint,uint)\"" - }, - "value": "log(string,uint,uint)" - }, - { - "id": 8786, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8775, - "src": "10981:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8787, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8777, - "src": "10985:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8788, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8779, - "src": "10989:2:9", - "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": 8783, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10932:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10936:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10932:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10932:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8782, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "10916:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10916:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8791, - "nodeType": "ExpressionStatement", - "src": "10916:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10852:3:9", - "parameters": { - "id": 8780, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8775, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10870:2:9", - "nodeType": "VariableDeclaration", - "scope": 8793, - "src": "10856:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8774, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10856:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8777, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10879:2:9", - "nodeType": "VariableDeclaration", - "scope": 8793, - "src": "10874:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8776, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10874:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8779, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10888:2:9", - "nodeType": "VariableDeclaration", - "scope": 8793, - "src": "10883:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8778, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10883:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10855:36:9" - }, - "returnParameters": { - "id": 8781, - "nodeType": "ParameterList", - "parameters": [], - "src": "10906:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8813, - "nodeType": "FunctionDefinition", - "src": "11006:168:9", - "body": { - "id": 8812, - "nodeType": "Block", - "src": "11078:96:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e6729", - "id": 8805, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11128:25:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a3f5c739d439f7a3912e960230088fb752539d00203d48771c643a12b26892ec", - "typeString": "literal_string \"log(string,uint,string)\"" - }, - "value": "log(string,uint,string)" - }, - { - "id": 8806, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8795, - "src": "11155:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8807, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8797, - "src": "11159:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8808, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8799, - "src": "11163:2:9", - "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": 8803, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11104:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8804, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11108:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11104:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11104:62:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8802, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "11088:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11088:79:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8811, - "nodeType": "ExpressionStatement", - "src": "11088:79:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11015:3:9", - "parameters": { - "id": 8800, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8795, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11033:2:9", - "nodeType": "VariableDeclaration", - "scope": 8813, - "src": "11019:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8794, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11019:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8797, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11042:2:9", - "nodeType": "VariableDeclaration", - "scope": 8813, - "src": "11037:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8796, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11037:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8799, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11060:2:9", - "nodeType": "VariableDeclaration", - "scope": 8813, - "src": "11046:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8798, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11046:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11018:45:9" - }, - "returnParameters": { - "id": 8801, - "nodeType": "ParameterList", - "parameters": [], - "src": "11078:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8833, - "nodeType": "FunctionDefinition", - "src": "11180:157:9", - "body": { - "id": 8832, - "nodeType": "Block", - "src": "11243:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c29", - "id": 8825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11293:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f102ee05f3b79d3bc2ba0350401e35479d9f95705fb40abfaeb49d12355695b3", - "typeString": "literal_string \"log(string,uint,bool)\"" - }, - "value": "log(string,uint,bool)" - }, - { - "id": 8826, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8815, - "src": "11318:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8827, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8817, - "src": "11322:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8828, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8819, - "src": "11326:2:9", - "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": 8823, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11269:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11273:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11269:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11269:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8822, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "11253:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11253:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8831, - "nodeType": "ExpressionStatement", - "src": "11253:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11189:3:9", - "parameters": { - "id": 8820, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8815, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11207:2:9", - "nodeType": "VariableDeclaration", - "scope": 8833, - "src": "11193:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8814, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11193:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8817, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11216:2:9", - "nodeType": "VariableDeclaration", - "scope": 8833, - "src": "11211:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8816, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11211:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8819, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11225:2:9", - "nodeType": "VariableDeclaration", - "scope": 8833, - "src": "11220:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8818, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11220:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11192:36:9" - }, - "returnParameters": { - "id": 8821, - "nodeType": "ParameterList", - "parameters": [], - "src": "11243:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8853, - "nodeType": "FunctionDefinition", - "src": "11343:163:9", - "body": { - "id": 8852, - "nodeType": "Block", - "src": "11409:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c6164647265737329", - "id": 8845, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11459:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e3849f79a3c07bea1bae0837bfeee5da2531684b262865f1541a60df4fcd512a", - "typeString": "literal_string \"log(string,uint,address)\"" - }, - "value": "log(string,uint,address)" - }, - { - "id": 8846, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8835, - "src": "11487:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8847, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8837, - "src": "11491:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 8848, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8839, - "src": "11495:2:9", - "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": 8843, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11435:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11439:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11435:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11435:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8842, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "11419:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11419:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8851, - "nodeType": "ExpressionStatement", - "src": "11419:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11352:3:9", - "parameters": { - "id": 8840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8835, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11370:2:9", - "nodeType": "VariableDeclaration", - "scope": 8853, - "src": "11356:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8834, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11356:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8837, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11379:2:9", - "nodeType": "VariableDeclaration", - "scope": 8853, - "src": "11374:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8836, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11374:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8839, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11391:2:9", - "nodeType": "VariableDeclaration", - "scope": 8853, - "src": "11383:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8838, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11383:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11355:39:9" - }, - "returnParameters": { - "id": 8841, - "nodeType": "ParameterList", - "parameters": [], - "src": "11409:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8873, - "nodeType": "FunctionDefinition", - "src": "11512:168:9", - "body": { - "id": 8872, - "nodeType": "Block", - "src": "11584:96:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e7429", - "id": 8865, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11634:25:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f362ca59af8dc58335601f00e8a4f3f8cd0c03c9716c1459118a41613b5e0147", - "typeString": "literal_string \"log(string,string,uint)\"" - }, - "value": "log(string,string,uint)" - }, - { - "id": 8866, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8855, - "src": "11661:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8867, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8857, - "src": "11665:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8868, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8859, - "src": "11669:2:9", - "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": 8863, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11610:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8864, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11614:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11610:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11610:62:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8862, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "11594:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11594:79:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8871, - "nodeType": "ExpressionStatement", - "src": "11594:79:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11521:3:9", - "parameters": { - "id": 8860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8855, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11539:2:9", - "nodeType": "VariableDeclaration", - "scope": 8873, - "src": "11525:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8854, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11525:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8857, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11557:2:9", - "nodeType": "VariableDeclaration", - "scope": 8873, - "src": "11543:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8856, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11543:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8859, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11566:2:9", - "nodeType": "VariableDeclaration", - "scope": 8873, - "src": "11561:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8858, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11561:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11524:45:9" - }, - "returnParameters": { - "id": 8861, - "nodeType": "ParameterList", - "parameters": [], - "src": "11584:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8893, - "nodeType": "FunctionDefinition", - "src": "11686:179:9", - "body": { - "id": 8892, - "nodeType": "Block", - "src": "11767:98:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e6729", - "id": 8885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11817:27:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ced7cef693312206c21f0e92e3b54e2e16bf33db5eec350c78866822c665e1f", - "typeString": "literal_string \"log(string,string,string)\"" - }, - "value": "log(string,string,string)" - }, - { - "id": 8886, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8875, - "src": "11846:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8887, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "11850:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8888, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "11854:2:9", - "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": 8883, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11793:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11797:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11793:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11793:64:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8882, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "11777:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8890, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11777:81:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8891, - "nodeType": "ExpressionStatement", - "src": "11777:81:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11695:3:9", - "parameters": { - "id": 8880, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8875, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11713:2:9", - "nodeType": "VariableDeclaration", - "scope": 8893, - "src": "11699:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8874, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11699:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8877, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11731:2:9", - "nodeType": "VariableDeclaration", - "scope": 8893, - "src": "11717:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8876, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11717:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8879, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11749:2:9", - "nodeType": "VariableDeclaration", - "scope": 8893, - "src": "11735:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8878, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11735:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11698:54:9" - }, - "returnParameters": { - "id": 8881, - "nodeType": "ParameterList", - "parameters": [], - "src": "11767:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8913, - "nodeType": "FunctionDefinition", - "src": "11871:168:9", - "body": { - "id": 8912, - "nodeType": "Block", - "src": "11943:96:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c29", - "id": 8905, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11993:25:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b0e0f9b5ad960213f9ab262d120ce4ec3edffc58d1ad51b99628a777e82d8acb", - "typeString": "literal_string \"log(string,string,bool)\"" - }, - "value": "log(string,string,bool)" - }, - { - "id": 8906, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8895, - "src": "12020:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8907, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8897, - "src": "12024:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8908, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8899, - "src": "12028:2:9", - "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": 8903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11969:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11973:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11969:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11969:62:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8902, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "11953:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11953:79:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8911, - "nodeType": "ExpressionStatement", - "src": "11953:79:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11880:3:9", - "parameters": { - "id": 8900, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8895, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11898:2:9", - "nodeType": "VariableDeclaration", - "scope": 8913, - "src": "11884:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8894, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11884:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8897, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11916:2:9", - "nodeType": "VariableDeclaration", - "scope": 8913, - "src": "11902:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8896, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11902:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8899, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11925:2:9", - "nodeType": "VariableDeclaration", - "scope": 8913, - "src": "11920:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8898, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11920:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11883:45:9" - }, - "returnParameters": { - "id": 8901, - "nodeType": "ParameterList", - "parameters": [], - "src": "11943:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8933, - "nodeType": "FunctionDefinition", - "src": "12045:174:9", - "body": { - "id": 8932, - "nodeType": "Block", - "src": "12120:99:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c6164647265737329", - "id": 8925, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12170:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_95ed0195ee22a092ad93d352c33e8dc78b91f0c01eab9cff270af55b2ae65768", - "typeString": "literal_string \"log(string,string,address)\"" - }, - "value": "log(string,string,address)" - }, - { - "id": 8926, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8915, - "src": "12200:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8927, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8917, - "src": "12204:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8928, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8919, - "src": "12208:2:9", - "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": 8923, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12146:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8924, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12150:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12146:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8929, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12146:65:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8922, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "12130:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12130:82:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8931, - "nodeType": "ExpressionStatement", - "src": "12130:82:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12054:3:9", - "parameters": { - "id": 8920, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8915, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12072:2:9", - "nodeType": "VariableDeclaration", - "scope": 8933, - "src": "12058:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12058:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8917, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12090:2:9", - "nodeType": "VariableDeclaration", - "scope": 8933, - "src": "12076:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8916, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12076:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8919, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12102:2:9", - "nodeType": "VariableDeclaration", - "scope": 8933, - "src": "12094:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8918, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12094:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12057:48:9" - }, - "returnParameters": { - "id": 8921, - "nodeType": "ParameterList", - "parameters": [], - "src": "12120:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8953, - "nodeType": "FunctionDefinition", - "src": "12225:157:9", - "body": { - "id": 8952, - "nodeType": "Block", - "src": "12288:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e7429", - "id": 8945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12338:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_291bb9d00defdc1b95c66c8b4bc10ef714a549c4f22fb190fe687dc5e85a4db1", - "typeString": "literal_string \"log(string,bool,uint)\"" - }, - "value": "log(string,bool,uint)" - }, - { - "id": 8946, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8935, - "src": "12363:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8947, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8937, - "src": "12367:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8948, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8939, - "src": "12371:2:9", - "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": 8943, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12314:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8944, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12318:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12314:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12314:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8942, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "12298:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12298:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8951, - "nodeType": "ExpressionStatement", - "src": "12298:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12234:3:9", - "parameters": { - "id": 8940, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8935, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12252:2:9", - "nodeType": "VariableDeclaration", - "scope": 8953, - "src": "12238:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8934, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12238:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8937, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12261:2:9", - "nodeType": "VariableDeclaration", - "scope": 8953, - "src": "12256:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8936, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12256:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8939, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12270:2:9", - "nodeType": "VariableDeclaration", - "scope": 8953, - "src": "12265:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8938, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12265:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12237:36:9" - }, - "returnParameters": { - "id": 8941, - "nodeType": "ParameterList", - "parameters": [], - "src": "12288:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8973, - "nodeType": "FunctionDefinition", - "src": "12388:168:9", - "body": { - "id": 8972, - "nodeType": "Block", - "src": "12460:96:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e6729", - "id": 8965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12510:25:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e298f47d872a89293d316b9b936000a26f83eda2ba3171b2f9f16e2bf618c3e7", - "typeString": "literal_string \"log(string,bool,string)\"" - }, - "value": "log(string,bool,string)" - }, - { - "id": 8966, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8955, - "src": "12537:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8967, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8957, - "src": "12541:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8968, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8959, - "src": "12545:2:9", - "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": 8963, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12486:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8964, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12490:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12486:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12486:62:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8962, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "12470:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8970, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12470:79:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8971, - "nodeType": "ExpressionStatement", - "src": "12470:79:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12397:3:9", - "parameters": { - "id": 8960, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8955, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12415:2:9", - "nodeType": "VariableDeclaration", - "scope": 8973, - "src": "12401:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8954, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12401:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8957, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12424:2:9", - "nodeType": "VariableDeclaration", - "scope": 8973, - "src": "12419:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8956, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12419:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8959, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12442:2:9", - "nodeType": "VariableDeclaration", - "scope": 8973, - "src": "12428:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8958, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12428:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12400:45:9" - }, - "returnParameters": { - "id": 8961, - "nodeType": "ParameterList", - "parameters": [], - "src": "12460:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 8993, - "nodeType": "FunctionDefinition", - "src": "12562:157:9", - "body": { - "id": 8992, - "nodeType": "Block", - "src": "12625:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c29", - "id": 8985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12675:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_850b7ad637241a873b861925ccffb71aaffb030b1df8850f324c9804bc7b443d", - "typeString": "literal_string \"log(string,bool,bool)\"" - }, - "value": "log(string,bool,bool)" - }, - { - "id": 8986, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8975, - "src": "12700:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 8987, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8977, - "src": "12704:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8988, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8979, - "src": "12708:2:9", - "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": 8983, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12651:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12655:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12651:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12651:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8982, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "12635:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12635:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8991, - "nodeType": "ExpressionStatement", - "src": "12635:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12571:3:9", - "parameters": { - "id": 8980, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8975, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12589:2:9", - "nodeType": "VariableDeclaration", - "scope": 8993, - "src": "12575:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8974, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12575:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8977, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12598:2:9", - "nodeType": "VariableDeclaration", - "scope": 8993, - "src": "12593:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8976, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12593:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8979, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12607:2:9", - "nodeType": "VariableDeclaration", - "scope": 8993, - "src": "12602:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8978, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12602:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "12574:36:9" - }, - "returnParameters": { - "id": 8981, - "nodeType": "ParameterList", - "parameters": [], - "src": "12625:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9013, - "nodeType": "FunctionDefinition", - "src": "12725:163:9", - "body": { - "id": 9012, - "nodeType": "Block", - "src": "12791:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c6164647265737329", - "id": 9005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12841:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_932bbb385d479707ff387e3bb2d8968a7b4115e938510c531aa15b50507fc27f", - "typeString": "literal_string \"log(string,bool,address)\"" - }, - "value": "log(string,bool,address)" - }, - { - "id": 9006, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8995, - "src": "12869:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9007, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8997, - "src": "12873:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9008, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8999, - "src": "12877:2:9", - "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": 9003, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12817:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9004, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12821:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12817:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12817:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9002, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "12801:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12801:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9011, - "nodeType": "ExpressionStatement", - "src": "12801:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12734:3:9", - "parameters": { - "id": 9000, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8995, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12752:2:9", - "nodeType": "VariableDeclaration", - "scope": 9013, - "src": "12738:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8994, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12738:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8997, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12761:2:9", - "nodeType": "VariableDeclaration", - "scope": 9013, - "src": "12756:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8996, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12756:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8999, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12773:2:9", - "nodeType": "VariableDeclaration", - "scope": 9013, - "src": "12765:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8998, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12765:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12737:39:9" - }, - "returnParameters": { - "id": 9001, - "nodeType": "ParameterList", - "parameters": [], - "src": "12791:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9033, - "nodeType": "FunctionDefinition", - "src": "12894:163:9", - "body": { - "id": 9032, - "nodeType": "Block", - "src": "12960:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e7429", - "id": 9025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13010:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_07c81217b9c48682941345dce61bbd916a12dd883642c9077891090a71c93a13", - "typeString": "literal_string \"log(string,address,uint)\"" - }, - "value": "log(string,address,uint)" - }, - { - "id": 9026, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9015, - "src": "13038:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9027, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9017, - "src": "13042:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9028, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9019, - "src": "13046:2:9", - "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": 9023, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12986:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12990:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12986:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12986:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9022, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "12970:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12970:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9031, - "nodeType": "ExpressionStatement", - "src": "12970:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12903:3:9", - "parameters": { - "id": 9020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9015, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12921:2:9", - "nodeType": "VariableDeclaration", - "scope": 9033, - "src": "12907:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9014, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12907:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9017, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12933:2:9", - "nodeType": "VariableDeclaration", - "scope": 9033, - "src": "12925:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9016, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12925:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9019, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12942:2:9", - "nodeType": "VariableDeclaration", - "scope": 9033, - "src": "12937:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9018, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12937:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12906:39:9" - }, - "returnParameters": { - "id": 9021, - "nodeType": "ParameterList", - "parameters": [], - "src": "12960:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9053, - "nodeType": "FunctionDefinition", - "src": "13063:174:9", - "body": { - "id": 9052, - "nodeType": "Block", - "src": "13138:99:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e6729", - "id": 9045, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13188:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0e9ad4f87059a51cce5555e129ca819f7e5d52e9c65a4e175882207ee47d634", - "typeString": "literal_string \"log(string,address,string)\"" - }, - "value": "log(string,address,string)" - }, - { - "id": 9046, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9035, - "src": "13218:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9047, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9037, - "src": "13222:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9048, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9039, - "src": "13226:2:9", - "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": 9043, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13164:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9044, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13168:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13164:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13164:65:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9042, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "13148:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13148:82:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9051, - "nodeType": "ExpressionStatement", - "src": "13148:82:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13072:3:9", - "parameters": { - "id": 9040, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9035, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13090:2:9", - "nodeType": "VariableDeclaration", - "scope": 9053, - "src": "13076:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9034, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13076:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9037, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13102:2:9", - "nodeType": "VariableDeclaration", - "scope": 9053, - "src": "13094:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9036, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13094:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9039, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13120:2:9", - "nodeType": "VariableDeclaration", - "scope": 9053, - "src": "13106:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9038, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13106:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13075:48:9" - }, - "returnParameters": { - "id": 9041, - "nodeType": "ParameterList", - "parameters": [], - "src": "13138:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9073, - "nodeType": "FunctionDefinition", - "src": "13243:163:9", - "body": { - "id": 9072, - "nodeType": "Block", - "src": "13309:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c29", - "id": 9065, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13359:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c91d5ed4480e0b3323f998bcee9594aa98173c7324b015a4713a7c8429afd0b8", - "typeString": "literal_string \"log(string,address,bool)\"" - }, - "value": "log(string,address,bool)" - }, - { - "id": 9066, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9055, - "src": "13387:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9067, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9057, - "src": "13391:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9068, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9059, - "src": "13395:2:9", - "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": 9063, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13335:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13339:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13335:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13335:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9062, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "13319:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13319:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9071, - "nodeType": "ExpressionStatement", - "src": "13319:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13252:3:9", - "parameters": { - "id": 9060, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9055, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13270:2:9", - "nodeType": "VariableDeclaration", - "scope": 9073, - "src": "13256:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9054, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13256:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9057, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13282:2:9", - "nodeType": "VariableDeclaration", - "scope": 9073, - "src": "13274:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9056, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13274:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9059, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13291:2:9", - "nodeType": "VariableDeclaration", - "scope": 9073, - "src": "13286:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9058, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13286:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13255:39:9" - }, - "returnParameters": { - "id": 9061, - "nodeType": "ParameterList", - "parameters": [], - "src": "13309:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9093, - "nodeType": "FunctionDefinition", - "src": "13412:169:9", - "body": { - "id": 9092, - "nodeType": "Block", - "src": "13481:100:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c6164647265737329", - "id": 9085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13531:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fcec75e0902c9d61eded5d9f2eed16d5b0f2cd255fe6fa77733f59e1063823e8", - "typeString": "literal_string \"log(string,address,address)\"" - }, - "value": "log(string,address,address)" - }, - { - "id": 9086, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9075, - "src": "13562:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9087, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9077, - "src": "13566:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9088, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9079, - "src": "13570:2:9", - "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": 9083, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13507:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13511:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13507:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9089, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13507:66:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9082, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "13491:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9090, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13491:83:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9091, - "nodeType": "ExpressionStatement", - "src": "13491:83:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13421:3:9", - "parameters": { - "id": 9080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9075, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13439:2:9", - "nodeType": "VariableDeclaration", - "scope": 9093, - "src": "13425:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13425:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9077, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13451:2:9", - "nodeType": "VariableDeclaration", - "scope": 9093, - "src": "13443:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9076, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13443:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9079, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13463:2:9", - "nodeType": "VariableDeclaration", - "scope": 9093, - "src": "13455:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9078, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13455:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13424:42:9" - }, - "returnParameters": { - "id": 9081, - "nodeType": "ParameterList", - "parameters": [], - "src": "13481:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9113, - "nodeType": "FunctionDefinition", - "src": "13587:146:9", - "body": { - "id": 9112, - "nodeType": "Block", - "src": "13641:92:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e7429", - "id": 9105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13691:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b5c03e061c862e366b964ce1ef4845511d610b73a90137eb2b2afa3099b1a4e", - "typeString": "literal_string \"log(bool,uint,uint)\"" - }, - "value": "log(bool,uint,uint)" - }, - { - "id": 9106, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9095, - "src": "13714:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9107, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9097, - "src": "13718:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9108, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9099, - "src": "13722:2:9", - "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": 9103, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13667:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13671:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13667:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13667:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9102, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "13651:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13651:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9111, - "nodeType": "ExpressionStatement", - "src": "13651:75:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13596:3:9", - "parameters": { - "id": 9100, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9095, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13605:2:9", - "nodeType": "VariableDeclaration", - "scope": 9113, - "src": "13600:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9094, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13600:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9097, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13614:2:9", - "nodeType": "VariableDeclaration", - "scope": 9113, - "src": "13609:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9096, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13609:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9099, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13623:2:9", - "nodeType": "VariableDeclaration", - "scope": 9113, - "src": "13618:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9098, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13618:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13599:27:9" - }, - "returnParameters": { - "id": 9101, - "nodeType": "ParameterList", - "parameters": [], - "src": "13641:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9133, - "nodeType": "FunctionDefinition", - "src": "13739:157:9", - "body": { - "id": 9132, - "nodeType": "Block", - "src": "13802:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e6729", - "id": 9125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13852:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c8397eb0de34bc3ec2853d625c1649c0c0abb20941c30ba650cc738adade018f", - "typeString": "literal_string \"log(bool,uint,string)\"" - }, - "value": "log(bool,uint,string)" - }, - { - "id": 9126, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9115, - "src": "13877:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9127, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9117, - "src": "13881:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9128, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9119, - "src": "13885:2:9", - "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": 9123, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13828:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13832:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13828:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13828:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9122, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "13812:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13812:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9131, - "nodeType": "ExpressionStatement", - "src": "13812:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13748:3:9", - "parameters": { - "id": 9120, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9115, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13757:2:9", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "13752:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9114, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13752:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9117, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13766:2:9", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "13761:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9116, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13761:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9119, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13784:2:9", - "nodeType": "VariableDeclaration", - "scope": 9133, - "src": "13770:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9118, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13770:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13751:36:9" - }, - "returnParameters": { - "id": 9121, - "nodeType": "ParameterList", - "parameters": [], - "src": "13802:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9153, - "nodeType": "FunctionDefinition", - "src": "13902:146:9", - "body": { - "id": 9152, - "nodeType": "Block", - "src": "13956:92:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c29", - "id": 9145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14006:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1badc9eb6813ec769c33a3918f278565b7e2e9ed34d2ae2d50d951cc0f602ae0", - "typeString": "literal_string \"log(bool,uint,bool)\"" - }, - "value": "log(bool,uint,bool)" - }, - { - "id": 9146, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9135, - "src": "14029:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9147, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9137, - "src": "14033:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9148, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9139, - "src": "14037:2:9", - "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": 9143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13982:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13986:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13982:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9149, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13982:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9142, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "13966:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13966:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9151, - "nodeType": "ExpressionStatement", - "src": "13966:75:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13911:3:9", - "parameters": { - "id": 9140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9135, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13920:2:9", - "nodeType": "VariableDeclaration", - "scope": 9153, - "src": "13915:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9134, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13915:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9137, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13929:2:9", - "nodeType": "VariableDeclaration", - "scope": 9153, - "src": "13924:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9136, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13924:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9139, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13938:2:9", - "nodeType": "VariableDeclaration", - "scope": 9153, - "src": "13933:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9138, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13933:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13914:27:9" - }, - "returnParameters": { - "id": 9141, - "nodeType": "ParameterList", - "parameters": [], - "src": "13956:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9173, - "nodeType": "FunctionDefinition", - "src": "14054:152:9", - "body": { - "id": 9172, - "nodeType": "Block", - "src": "14111:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c6164647265737329", - "id": 9165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14161:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4d23507f52009aec241457bf26dc51305bd2896aa08c5b47f04709554b39440", - "typeString": "literal_string \"log(bool,uint,address)\"" - }, - "value": "log(bool,uint,address)" - }, - { - "id": 9166, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9155, - "src": "14187:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9167, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9157, - "src": "14191:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9168, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9159, - "src": "14195:2:9", - "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": 9163, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14137:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9164, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14141:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14137:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14137:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9162, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "14121:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14121:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9171, - "nodeType": "ExpressionStatement", - "src": "14121:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14063:3:9", - "parameters": { - "id": 9160, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9155, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14072:2:9", - "nodeType": "VariableDeclaration", - "scope": 9173, - "src": "14067:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9154, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14067:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9157, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14081:2:9", - "nodeType": "VariableDeclaration", - "scope": 9173, - "src": "14076:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9156, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14076:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9159, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14093:2:9", - "nodeType": "VariableDeclaration", - "scope": 9173, - "src": "14085:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9158, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14085:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14066:30:9" - }, - "returnParameters": { - "id": 9161, - "nodeType": "ParameterList", - "parameters": [], - "src": "14111:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9193, - "nodeType": "FunctionDefinition", - "src": "14212:157:9", - "body": { - "id": 9192, - "nodeType": "Block", - "src": "14275:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e7429", - "id": 9185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14325:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0382aac3e9b237c9c8f246cdb8152d44351aaafa72d99e3640be65f754ac807", - "typeString": "literal_string \"log(bool,string,uint)\"" - }, - "value": "log(bool,string,uint)" - }, - { - "id": 9186, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9175, - "src": "14350:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9187, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9177, - "src": "14354:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9188, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9179, - "src": "14358:2:9", - "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": 9183, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14301:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14305:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14301:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14301:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9182, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "14285:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14285:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9191, - "nodeType": "ExpressionStatement", - "src": "14285:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14221:3:9", - "parameters": { - "id": 9180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9175, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14230:2:9", - "nodeType": "VariableDeclaration", - "scope": 9193, - "src": "14225:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9174, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14225:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9177, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14248:2:9", - "nodeType": "VariableDeclaration", - "scope": 9193, - "src": "14234:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9176, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14234:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9179, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14257:2:9", - "nodeType": "VariableDeclaration", - "scope": 9193, - "src": "14252:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9178, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14252:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14224:36:9" - }, - "returnParameters": { - "id": 9181, - "nodeType": "ParameterList", - "parameters": [], - "src": "14275:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9213, - "nodeType": "FunctionDefinition", - "src": "14375:168:9", - "body": { - "id": 9212, - "nodeType": "Block", - "src": "14447:96:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e6729", - "id": 9205, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14497:25:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b076847f8b4aee0cfbf46ec501532f9f3c85a581aff135287ff8e917c0a39102", - "typeString": "literal_string \"log(bool,string,string)\"" - }, - "value": "log(bool,string,string)" - }, - { - "id": 9206, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9195, - "src": "14524:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9207, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9197, - "src": "14528:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9208, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9199, - "src": "14532:2:9", - "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": 9203, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14473:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9204, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14477:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14473:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14473:62:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9202, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "14457:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14457:79:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9211, - "nodeType": "ExpressionStatement", - "src": "14457:79:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14384:3:9", - "parameters": { - "id": 9200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9195, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14393:2:9", - "nodeType": "VariableDeclaration", - "scope": 9213, - "src": "14388:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9194, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14388:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9197, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14411:2:9", - "nodeType": "VariableDeclaration", - "scope": 9213, - "src": "14397:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9196, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14397:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9199, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14429:2:9", - "nodeType": "VariableDeclaration", - "scope": 9213, - "src": "14415:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9198, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14415:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14387:45:9" - }, - "returnParameters": { - "id": 9201, - "nodeType": "ParameterList", - "parameters": [], - "src": "14447:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9233, - "nodeType": "FunctionDefinition", - "src": "14549:157:9", - "body": { - "id": 9232, - "nodeType": "Block", - "src": "14612:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c29", - "id": 9225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14662:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dbb4c2477dacc98e0e5b96fd6ca6bf0ae1f82dd042439d9f53f8d963bef43eaa", - "typeString": "literal_string \"log(bool,string,bool)\"" - }, - "value": "log(bool,string,bool)" - }, - { - "id": 9226, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9215, - "src": "14687:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9227, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9217, - "src": "14691:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9228, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9219, - "src": "14695:2:9", - "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": 9223, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14638:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14642:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14638:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9229, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14638:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9222, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "14622:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14622:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9231, - "nodeType": "ExpressionStatement", - "src": "14622:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14558:3:9", - "parameters": { - "id": 9220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9215, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14567:2:9", - "nodeType": "VariableDeclaration", - "scope": 9233, - "src": "14562:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9214, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14562:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9217, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14585:2:9", - "nodeType": "VariableDeclaration", - "scope": 9233, - "src": "14571:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9216, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14571:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9219, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14594:2:9", - "nodeType": "VariableDeclaration", - "scope": 9233, - "src": "14589:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9218, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14589:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "14561:36:9" - }, - "returnParameters": { - "id": 9221, - "nodeType": "ParameterList", - "parameters": [], - "src": "14612:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9253, - "nodeType": "FunctionDefinition", - "src": "14712:163:9", - "body": { - "id": 9252, - "nodeType": "Block", - "src": "14778:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c6164647265737329", - "id": 9245, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14828:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9591b953c9b1d0af9d1e3bc0f6ea9aa5b0e1af8c702f85b36e21b9b2d7e4da79", - "typeString": "literal_string \"log(bool,string,address)\"" - }, - "value": "log(bool,string,address)" - }, - { - "id": 9246, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9235, - "src": "14856:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9247, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9237, - "src": "14860:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9248, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9239, - "src": "14864:2:9", - "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": 9243, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14804:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9244, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14808:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14804:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14804:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9242, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "14788:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14788:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9251, - "nodeType": "ExpressionStatement", - "src": "14788:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14721:3:9", - "parameters": { - "id": 9240, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9235, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14730:2:9", - "nodeType": "VariableDeclaration", - "scope": 9253, - "src": "14725:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9234, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14725:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9237, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14748:2:9", - "nodeType": "VariableDeclaration", - "scope": 9253, - "src": "14734:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9236, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14734:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9239, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14760:2:9", - "nodeType": "VariableDeclaration", - "scope": 9253, - "src": "14752:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9238, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14752:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14724:39:9" - }, - "returnParameters": { - "id": 9241, - "nodeType": "ParameterList", - "parameters": [], - "src": "14778:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9273, - "nodeType": "FunctionDefinition", - "src": "14881:146:9", - "body": { - "id": 9272, - "nodeType": "Block", - "src": "14935:92:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e7429", - "id": 9265, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14985:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b01365bbae43503e22260bcc9cf23ffef37ffc9f6c1580737fe2489955065877", - "typeString": "literal_string \"log(bool,bool,uint)\"" - }, - "value": "log(bool,bool,uint)" - }, - { - "id": 9266, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9255, - "src": "15008:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9267, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9257, - "src": "15012:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9268, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9259, - "src": "15016:2:9", - "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": 9263, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14961:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9264, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14965:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14961:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9269, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14961:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9262, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "14945:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14945:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9271, - "nodeType": "ExpressionStatement", - "src": "14945:75:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14890:3:9", - "parameters": { - "id": 9260, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9255, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14899:2:9", - "nodeType": "VariableDeclaration", - "scope": 9273, - "src": "14894:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9254, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14894:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9257, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14908:2:9", - "nodeType": "VariableDeclaration", - "scope": 9273, - "src": "14903:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9256, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14903:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9259, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14917:2:9", - "nodeType": "VariableDeclaration", - "scope": 9273, - "src": "14912:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9258, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14912:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14893:27:9" - }, - "returnParameters": { - "id": 9261, - "nodeType": "ParameterList", - "parameters": [], - "src": "14935:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9293, - "nodeType": "FunctionDefinition", - "src": "15033:157:9", - "body": { - "id": 9292, - "nodeType": "Block", - "src": "15096:94:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e6729", - "id": 9285, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15146:23:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2555fa465662416fc443b21c515f245dc550a66f7c658773f7bd7ad91c82f2cc", - "typeString": "literal_string \"log(bool,bool,string)\"" - }, - "value": "log(bool,bool,string)" - }, - { - "id": 9286, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9275, - "src": "15171:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9287, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9277, - "src": "15175:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9288, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9279, - "src": "15179:2:9", - "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": 9283, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15122:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15126:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15122:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15122:60:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9282, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "15106:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15106:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9291, - "nodeType": "ExpressionStatement", - "src": "15106:77:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15042:3:9", - "parameters": { - "id": 9280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9275, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15051:2:9", - "nodeType": "VariableDeclaration", - "scope": 9293, - "src": "15046:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9274, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15046:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9277, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15060:2:9", - "nodeType": "VariableDeclaration", - "scope": 9293, - "src": "15055:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9276, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15055:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9279, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15078:2:9", - "nodeType": "VariableDeclaration", - "scope": 9293, - "src": "15064:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9278, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15064:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15045:36:9" - }, - "returnParameters": { - "id": 9281, - "nodeType": "ParameterList", - "parameters": [], - "src": "15096:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9313, - "nodeType": "FunctionDefinition", - "src": "15196:146:9", - "body": { - "id": 9312, - "nodeType": "Block", - "src": "15250:92:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c29", - "id": 9305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15300:21:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50709698278bb02f656e4ac53a2ae8ef0ec4064d340360a5fa4d933e9a742590", - "typeString": "literal_string \"log(bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool)" - }, - { - "id": 9306, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9295, - "src": "15323:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9307, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9297, - "src": "15327:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9308, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9299, - "src": "15331:2:9", - "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": 9303, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15276:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9304, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15280:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15276:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15276:58:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9302, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "15260:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15260:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9311, - "nodeType": "ExpressionStatement", - "src": "15260:75:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15205:3:9", - "parameters": { - "id": 9300, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9295, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15214:2:9", - "nodeType": "VariableDeclaration", - "scope": 9313, - "src": "15209:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9294, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15209:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9297, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15223:2:9", - "nodeType": "VariableDeclaration", - "scope": 9313, - "src": "15218:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9296, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15218:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9299, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15232:2:9", - "nodeType": "VariableDeclaration", - "scope": 9313, - "src": "15227:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9298, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15227:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15208:27:9" - }, - "returnParameters": { - "id": 9301, - "nodeType": "ParameterList", - "parameters": [], - "src": "15250:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9333, - "nodeType": "FunctionDefinition", - "src": "15348:152:9", - "body": { - "id": 9332, - "nodeType": "Block", - "src": "15405:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c6164647265737329", - "id": 9325, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15455:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1078f68da6ddbbe80f829fe8d54d1f2c6347e1ee4ec5a2a7a3a330ada9eccf81", - "typeString": "literal_string \"log(bool,bool,address)\"" - }, - "value": "log(bool,bool,address)" - }, - { - "id": 9326, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9315, - "src": "15481:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9327, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9317, - "src": "15485:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9328, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9319, - "src": "15489:2:9", - "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": 9323, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15431:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9324, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15435:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15431:23:9", - "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": "15431:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9322, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "15415:15:9", - "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": "15415:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9331, - "nodeType": "ExpressionStatement", - "src": "15415:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15357:3:9", - "parameters": { - "id": 9320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9315, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15366:2:9", - "nodeType": "VariableDeclaration", - "scope": 9333, - "src": "15361:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9314, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15361:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9317, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15375:2:9", - "nodeType": "VariableDeclaration", - "scope": 9333, - "src": "15370:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9316, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15370:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9319, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15387:2:9", - "nodeType": "VariableDeclaration", - "scope": 9333, - "src": "15379:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9318, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15379:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "15360:30:9" - }, - "returnParameters": { - "id": 9321, - "nodeType": "ParameterList", - "parameters": [], - "src": "15405:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9353, - "nodeType": "FunctionDefinition", - "src": "15506:152:9", - "body": { - "id": 9352, - "nodeType": "Block", - "src": "15563:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e7429", - "id": 9345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15613:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb704bafbd89369a907d48394b6acdacf482ae42cc2aaedd1cc37e89b4054b3d", - "typeString": "literal_string \"log(bool,address,uint)\"" - }, - "value": "log(bool,address,uint)" - }, - { - "id": 9346, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9335, - "src": "15639:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9347, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9337, - "src": "15643:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9348, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9339, - "src": "15647:2:9", - "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": 9343, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15589:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15593:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15589:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15589:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9342, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "15573:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15573:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9351, - "nodeType": "ExpressionStatement", - "src": "15573:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15515:3:9", - "parameters": { - "id": 9340, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9335, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15524:2:9", - "nodeType": "VariableDeclaration", - "scope": 9353, - "src": "15519:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9334, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15519:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9337, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15536:2:9", - "nodeType": "VariableDeclaration", - "scope": 9353, - "src": "15528:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9336, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15528:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9339, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15545:2:9", - "nodeType": "VariableDeclaration", - "scope": 9353, - "src": "15540:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9338, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "15540:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "15518:30:9" - }, - "returnParameters": { - "id": 9341, - "nodeType": "ParameterList", - "parameters": [], - "src": "15563:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9373, - "nodeType": "FunctionDefinition", - "src": "15664:163:9", - "body": { - "id": 9372, - "nodeType": "Block", - "src": "15730:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e6729", - "id": 9365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15780:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de9a927090b15ed84eefc0c471675a23ce67fd75011b1652fe17ca2dd0dcd06d", - "typeString": "literal_string \"log(bool,address,string)\"" - }, - "value": "log(bool,address,string)" - }, - { - "id": 9366, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9355, - "src": "15808:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9367, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9357, - "src": "15812:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9368, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9359, - "src": "15816:2:9", - "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": 9363, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15756:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15760:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15756:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15756:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9362, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "15740:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15740:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9371, - "nodeType": "ExpressionStatement", - "src": "15740:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15673:3:9", - "parameters": { - "id": 9360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9355, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15682:2:9", - "nodeType": "VariableDeclaration", - "scope": 9373, - "src": "15677:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9354, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15677:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9357, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15694:2:9", - "nodeType": "VariableDeclaration", - "scope": 9373, - "src": "15686:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9356, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15686:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9359, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15712:2:9", - "nodeType": "VariableDeclaration", - "scope": 9373, - "src": "15698:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9358, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15698:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15676:39:9" - }, - "returnParameters": { - "id": 9361, - "nodeType": "ParameterList", - "parameters": [], - "src": "15730:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9393, - "nodeType": "FunctionDefinition", - "src": "15833:152:9", - "body": { - "id": 9392, - "nodeType": "Block", - "src": "15890:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c29", - "id": 9385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15940:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_18c9c746c9d0e38e4dc234ee76e678bbaa4e473eca3dce0969637d7f01e4a908", - "typeString": "literal_string \"log(bool,address,bool)\"" - }, - "value": "log(bool,address,bool)" - }, - { - "id": 9386, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9375, - "src": "15966:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9387, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9377, - "src": "15970:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9388, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9379, - "src": "15974:2:9", - "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": 9383, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15916:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9384, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15920:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15916:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9389, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15916:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9382, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "15900:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15900:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9391, - "nodeType": "ExpressionStatement", - "src": "15900:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15842:3:9", - "parameters": { - "id": 9380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9375, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15851:2:9", - "nodeType": "VariableDeclaration", - "scope": 9393, - "src": "15846:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9374, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15846:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9377, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15863:2:9", - "nodeType": "VariableDeclaration", - "scope": 9393, - "src": "15855:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9376, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15855:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9379, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15872:2:9", - "nodeType": "VariableDeclaration", - "scope": 9393, - "src": "15867:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9378, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15867:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15845:30:9" - }, - "returnParameters": { - "id": 9381, - "nodeType": "ParameterList", - "parameters": [], - "src": "15890:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9413, - "nodeType": "FunctionDefinition", - "src": "15991:158:9", - "body": { - "id": 9412, - "nodeType": "Block", - "src": "16051:98:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c6164647265737329", - "id": 9405, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16101:27:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2763667477f08a6a3f8ce84e1cc1aeb5e67ee2996f5f36e8939da2b8b8f0265", - "typeString": "literal_string \"log(bool,address,address)\"" - }, - "value": "log(bool,address,address)" - }, - { - "id": 9406, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9395, - "src": "16130:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9407, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9397, - "src": "16134:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9408, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9399, - "src": "16138:2:9", - "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": 9403, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16077:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16081:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16077:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16077:64:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9402, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "16061:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16061:81:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9411, - "nodeType": "ExpressionStatement", - "src": "16061:81:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16000:3:9", - "parameters": { - "id": 9400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9395, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16009:2:9", - "nodeType": "VariableDeclaration", - "scope": 9413, - "src": "16004:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9394, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16004:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9397, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16021:2:9", - "nodeType": "VariableDeclaration", - "scope": 9413, - "src": "16013:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9396, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16013:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9399, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16033:2:9", - "nodeType": "VariableDeclaration", - "scope": 9413, - "src": "16025:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9398, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16025:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16003:33:9" - }, - "returnParameters": { - "id": 9401, - "nodeType": "ParameterList", - "parameters": [], - "src": "16051:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9433, - "nodeType": "FunctionDefinition", - "src": "16155:152:9", - "body": { - "id": 9432, - "nodeType": "Block", - "src": "16212:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e7429", - "id": 9425, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16262:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8786135eae1a8e4736031518026bd3bd30886c3cc8d3e8bdedd6faea426de5ea", - "typeString": "literal_string \"log(address,uint,uint)\"" - }, - "value": "log(address,uint,uint)" - }, - { - "id": 9426, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9415, - "src": "16288:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9427, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9417, - "src": "16292:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9428, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9419, - "src": "16296:2:9", - "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": 9423, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16238:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16242:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16238:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16238:61:9", - "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": 7582, - "src": "16222:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16222:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9431, - "nodeType": "ExpressionStatement", - "src": "16222:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16164:3:9", - "parameters": { - "id": 9420, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9415, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16176:2:9", - "nodeType": "VariableDeclaration", - "scope": 9433, - "src": "16168:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9414, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16168:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9417, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16185:2:9", - "nodeType": "VariableDeclaration", - "scope": 9433, - "src": "16180:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9416, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16180:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9419, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16194:2:9", - "nodeType": "VariableDeclaration", - "scope": 9433, - "src": "16189:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9418, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16189:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16167:30:9" - }, - "returnParameters": { - "id": 9421, - "nodeType": "ParameterList", - "parameters": [], - "src": "16212:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9453, - "nodeType": "FunctionDefinition", - "src": "16313:163:9", - "body": { - "id": 9452, - "nodeType": "Block", - "src": "16379:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e6729", - "id": 9445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16429:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_baf968498a2094de432bd16841b992056c14db9f313a6b44c3156c2b5f1dc2b4", - "typeString": "literal_string \"log(address,uint,string)\"" - }, - "value": "log(address,uint,string)" - }, - { - "id": 9446, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9435, - "src": "16457:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9447, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9437, - "src": "16461:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9448, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9439, - "src": "16465:2:9", - "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": 9443, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16405:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16409:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16405:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16405:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9442, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "16389:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16389:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9451, - "nodeType": "ExpressionStatement", - "src": "16389:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16322:3:9", - "parameters": { - "id": 9440, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9435, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16334:2:9", - "nodeType": "VariableDeclaration", - "scope": 9453, - "src": "16326:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9434, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16326:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9437, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16343:2:9", - "nodeType": "VariableDeclaration", - "scope": 9453, - "src": "16338:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9436, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16338:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9439, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16361:2:9", - "nodeType": "VariableDeclaration", - "scope": 9453, - "src": "16347:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9438, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16347:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "16325:39:9" - }, - "returnParameters": { - "id": 9441, - "nodeType": "ParameterList", - "parameters": [], - "src": "16379:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9473, - "nodeType": "FunctionDefinition", - "src": "16482:152:9", - "body": { - "id": 9472, - "nodeType": "Block", - "src": "16539:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c29", - "id": 9465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16589:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e54ae1445cd51f09e801fc5885e33c709102997417d3d9b6f543f7724468b4e4", - "typeString": "literal_string \"log(address,uint,bool)\"" - }, - "value": "log(address,uint,bool)" - }, - { - "id": 9466, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9455, - "src": "16615:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9467, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9457, - "src": "16619:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9468, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9459, - "src": "16623:2:9", - "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": 9463, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16565:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9464, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16569:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16565:23:9", - "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": "16565:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9462, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "16549:15:9", - "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": "16549:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9471, - "nodeType": "ExpressionStatement", - "src": "16549:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16491:3:9", - "parameters": { - "id": 9460, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9455, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16503:2:9", - "nodeType": "VariableDeclaration", - "scope": 9473, - "src": "16495:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9454, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16495:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9457, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16512:2:9", - "nodeType": "VariableDeclaration", - "scope": 9473, - "src": "16507:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9456, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16507:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9459, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16521:2:9", - "nodeType": "VariableDeclaration", - "scope": 9473, - "src": "16516:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9458, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16516:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "16494:30:9" - }, - "returnParameters": { - "id": 9461, - "nodeType": "ParameterList", - "parameters": [], - "src": "16539:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9493, - "nodeType": "FunctionDefinition", - "src": "16640:158:9", - "body": { - "id": 9492, - "nodeType": "Block", - "src": "16700:98:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c6164647265737329", - "id": 9485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16750:27:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_97eca3948a309251ff02cc4a3cb96f84ac4b6b4bdc56e86c9f0131c9b70c6259", - "typeString": "literal_string \"log(address,uint,address)\"" - }, - "value": "log(address,uint,address)" - }, - { - "id": 9486, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9475, - "src": "16779:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9487, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9477, - "src": "16783:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9488, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9479, - "src": "16787:2:9", - "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": 9483, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16726:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16730:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16726:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16726:64:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9482, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "16710:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16710:81:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9491, - "nodeType": "ExpressionStatement", - "src": "16710:81:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16649:3:9", - "parameters": { - "id": 9480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9475, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16661:2:9", - "nodeType": "VariableDeclaration", - "scope": 9493, - "src": "16653:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9474, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16653:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9477, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16670:2:9", - "nodeType": "VariableDeclaration", - "scope": 9493, - "src": "16665:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9476, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16665:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9479, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16682:2:9", - "nodeType": "VariableDeclaration", - "scope": 9493, - "src": "16674:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9478, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16674:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16652:33:9" - }, - "returnParameters": { - "id": 9481, - "nodeType": "ParameterList", - "parameters": [], - "src": "16700:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9513, - "nodeType": "FunctionDefinition", - "src": "16804:163:9", - "body": { - "id": 9512, - "nodeType": "Block", - "src": "16870:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e7429", - "id": 9505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16920:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cdaf28a630ff01c83e1629295cea6793da60638603e831a5c07be53dbee3597", - "typeString": "literal_string \"log(address,string,uint)\"" - }, - "value": "log(address,string,uint)" - }, - { - "id": 9506, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9495, - "src": "16948:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9507, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9497, - "src": "16952:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9508, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9499, - "src": "16956:2:9", - "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": 9503, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16896:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9504, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16900:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16896:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16896:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9502, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "16880:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16880:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9511, - "nodeType": "ExpressionStatement", - "src": "16880:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16813:3:9", - "parameters": { - "id": 9500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9495, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16825:2:9", - "nodeType": "VariableDeclaration", - "scope": 9513, - "src": "16817:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9494, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16817:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9497, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16843:2:9", - "nodeType": "VariableDeclaration", - "scope": 9513, - "src": "16829:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9496, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16829:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9499, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16852:2:9", - "nodeType": "VariableDeclaration", - "scope": 9513, - "src": "16847:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9498, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16847:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16816:39:9" - }, - "returnParameters": { - "id": 9501, - "nodeType": "ParameterList", - "parameters": [], - "src": "16870:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9533, - "nodeType": "FunctionDefinition", - "src": "16973:174:9", - "body": { - "id": 9532, - "nodeType": "Block", - "src": "17048:99:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e6729", - "id": 9525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17098:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb77226597c11cd0c52945168d7176a06b9af41edea6a51823db111f35573158", - "typeString": "literal_string \"log(address,string,string)\"" - }, - "value": "log(address,string,string)" - }, - { - "id": 9526, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9515, - "src": "17128:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9527, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9517, - "src": "17132:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9528, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9519, - "src": "17136:2:9", - "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": 9523, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17074:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17078:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17074:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17074:65:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9522, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "17058:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17058:82:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9531, - "nodeType": "ExpressionStatement", - "src": "17058:82:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16982:3:9", - "parameters": { - "id": 9520, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9515, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16994:2:9", - "nodeType": "VariableDeclaration", - "scope": 9533, - "src": "16986:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9514, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16986:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9517, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17012:2:9", - "nodeType": "VariableDeclaration", - "scope": 9533, - "src": "16998:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9516, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16998:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9519, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17030:2:9", - "nodeType": "VariableDeclaration", - "scope": 9533, - "src": "17016:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9518, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17016:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "16985:48:9" - }, - "returnParameters": { - "id": 9521, - "nodeType": "ParameterList", - "parameters": [], - "src": "17048:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9553, - "nodeType": "FunctionDefinition", - "src": "17153:163:9", - "body": { - "id": 9552, - "nodeType": "Block", - "src": "17219:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c29", - "id": 9545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17269:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf020fb14f49566c5748de1f455c699a10a4ed1d7cf32f9adb28d22878df1b96", - "typeString": "literal_string \"log(address,string,bool)\"" - }, - "value": "log(address,string,bool)" - }, - { - "id": 9546, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9535, - "src": "17297:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9547, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9537, - "src": "17301:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9548, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9539, - "src": "17305:2:9", - "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": 9543, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17245:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17249:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17245:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17245:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9542, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "17229:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17229:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9551, - "nodeType": "ExpressionStatement", - "src": "17229:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17162:3:9", - "parameters": { - "id": 9540, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9535, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17174:2:9", - "nodeType": "VariableDeclaration", - "scope": 9553, - "src": "17166:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9534, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17166:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9537, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17192:2:9", - "nodeType": "VariableDeclaration", - "scope": 9553, - "src": "17178:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17178:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9539, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17201:2:9", - "nodeType": "VariableDeclaration", - "scope": 9553, - "src": "17196:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9538, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17196:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17165:39:9" - }, - "returnParameters": { - "id": 9541, - "nodeType": "ParameterList", - "parameters": [], - "src": "17219:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9573, - "nodeType": "FunctionDefinition", - "src": "17322:169:9", - "body": { - "id": 9572, - "nodeType": "Block", - "src": "17391:100:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c6164647265737329", - "id": 9565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17441:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f08744e82875525f1ef885a48453f58e96cac98a5d32bd6d8c38e4977aede231", - "typeString": "literal_string \"log(address,string,address)\"" - }, - "value": "log(address,string,address)" - }, - { - "id": 9566, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9555, - "src": "17472:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9567, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9557, - "src": "17476:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9568, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9559, - "src": "17480:2:9", - "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": 9563, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17417:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17421:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17417:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17417:66:9", - "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": 7582, - "src": "17401:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17401:83:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9571, - "nodeType": "ExpressionStatement", - "src": "17401:83:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17331:3:9", - "parameters": { - "id": 9560, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9555, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17343:2:9", - "nodeType": "VariableDeclaration", - "scope": 9573, - "src": "17335:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9554, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17335:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9557, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17361:2:9", - "nodeType": "VariableDeclaration", - "scope": 9573, - "src": "17347:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9556, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17347:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9559, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17373:2:9", - "nodeType": "VariableDeclaration", - "scope": 9573, - "src": "17365:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9558, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17365:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17334:42:9" - }, - "returnParameters": { - "id": 9561, - "nodeType": "ParameterList", - "parameters": [], - "src": "17391:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9593, - "nodeType": "FunctionDefinition", - "src": "17497:152:9", - "body": { - "id": 9592, - "nodeType": "Block", - "src": "17554:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e7429", - "id": 9585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17604:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c468d157d9cb3bd4f3bc977d201b067de313f8e774b0377d5c5b2b5c9426095", - "typeString": "literal_string \"log(address,bool,uint)\"" - }, - "value": "log(address,bool,uint)" - }, - { - "id": 9586, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9575, - "src": "17630:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9587, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9577, - "src": "17634:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9588, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9579, - "src": "17638:2:9", - "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": 9583, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17580:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17584:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17580:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17580:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9582, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "17564:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17564:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9591, - "nodeType": "ExpressionStatement", - "src": "17564:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17506:3:9", - "parameters": { - "id": 9580, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9575, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17518:2:9", - "nodeType": "VariableDeclaration", - "scope": 9593, - "src": "17510:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9574, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17510:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9577, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17527:2:9", - "nodeType": "VariableDeclaration", - "scope": 9593, - "src": "17522:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9576, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17522:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9579, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17536:2:9", - "nodeType": "VariableDeclaration", - "scope": 9593, - "src": "17531:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9578, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "17531:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17509:30:9" - }, - "returnParameters": { - "id": 9581, - "nodeType": "ParameterList", - "parameters": [], - "src": "17554:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9613, - "nodeType": "FunctionDefinition", - "src": "17655:163:9", - "body": { - "id": 9612, - "nodeType": "Block", - "src": "17721:97:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e6729", - "id": 9605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17771:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_212255cc5ff4a2d867f69451c60f51c24e41784276f4ceffe8ec3af322690750", - "typeString": "literal_string \"log(address,bool,string)\"" - }, - "value": "log(address,bool,string)" - }, - { - "id": 9606, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9595, - "src": "17799:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9607, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9597, - "src": "17803:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9608, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9599, - "src": "17807:2:9", - "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": 9603, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17747:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17751:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17747:23:9", - "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": "17747:63:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9602, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "17731:15:9", - "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": "17731:80:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9611, - "nodeType": "ExpressionStatement", - "src": "17731:80:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17664:3:9", - "parameters": { - "id": 9600, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9595, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17676:2:9", - "nodeType": "VariableDeclaration", - "scope": 9613, - "src": "17668:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9594, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17668:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9597, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17685:2:9", - "nodeType": "VariableDeclaration", - "scope": 9613, - "src": "17680:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9596, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17680:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9599, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17703:2:9", - "nodeType": "VariableDeclaration", - "scope": 9613, - "src": "17689:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9598, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17689:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17667:39:9" - }, - "returnParameters": { - "id": 9601, - "nodeType": "ParameterList", - "parameters": [], - "src": "17721:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9633, - "nodeType": "FunctionDefinition", - "src": "17824:152:9", - "body": { - "id": 9632, - "nodeType": "Block", - "src": "17881:95:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c29", - "id": 9625, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17931:24:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb830c92a079b46f3abcb83e519f578cffe7387941b6885067265feec096d279", - "typeString": "literal_string \"log(address,bool,bool)\"" - }, - "value": "log(address,bool,bool)" - }, - { - "id": 9626, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9615, - "src": "17957:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9627, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9617, - "src": "17961:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9628, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9619, - "src": "17965:2:9", - "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": 9623, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17907:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9624, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17911:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17907:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17907:61:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9622, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "17891:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17891:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9631, - "nodeType": "ExpressionStatement", - "src": "17891:78:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17833:3:9", - "parameters": { - "id": 9620, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9615, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17845:2:9", - "nodeType": "VariableDeclaration", - "scope": 9633, - "src": "17837:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9614, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17837:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9617, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17854:2:9", - "nodeType": "VariableDeclaration", - "scope": 9633, - "src": "17849:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9616, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17849:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9619, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17863:2:9", - "nodeType": "VariableDeclaration", - "scope": 9633, - "src": "17858:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9618, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17858:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17836:30:9" - }, - "returnParameters": { - "id": 9621, - "nodeType": "ParameterList", - "parameters": [], - "src": "17881:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9653, - "nodeType": "FunctionDefinition", - "src": "17982:158:9", - "body": { - "id": 9652, - "nodeType": "Block", - "src": "18042:98:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c6164647265737329", - "id": 9645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18092:27:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f11699ed537119f000a51ba9fbd5bb55b3990a1a718acbe99659bd1bc84dc18d", - "typeString": "literal_string \"log(address,bool,address)\"" - }, - "value": "log(address,bool,address)" - }, - { - "id": 9646, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9635, - "src": "18121:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9647, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9637, - "src": "18125:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9648, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9639, - "src": "18129:2:9", - "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": 9643, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18068:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9644, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18072:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18068:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18068:64:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9642, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "18052:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18052:81:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9651, - "nodeType": "ExpressionStatement", - "src": "18052:81:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17991:3:9", - "parameters": { - "id": 9640, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9635, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18003:2:9", - "nodeType": "VariableDeclaration", - "scope": 9653, - "src": "17995:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9634, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17995:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9637, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18012:2:9", - "nodeType": "VariableDeclaration", - "scope": 9653, - "src": "18007:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9636, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18007:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9639, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18024:2:9", - "nodeType": "VariableDeclaration", - "scope": 9653, - "src": "18016:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9638, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18016:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17994:33:9" - }, - "returnParameters": { - "id": 9641, - "nodeType": "ParameterList", - "parameters": [], - "src": "18042:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9673, - "nodeType": "FunctionDefinition", - "src": "18146:158:9", - "body": { - "id": 9672, - "nodeType": "Block", - "src": "18206:98:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e7429", - "id": 9665, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18256:27:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c366d7295b93bbfacc4df0ea28f0eef60efacfffd447f8f2823cbe5b2fedb07", - "typeString": "literal_string \"log(address,address,uint)\"" - }, - "value": "log(address,address,uint)" - }, - { - "id": 9666, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9655, - "src": "18285:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9667, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9657, - "src": "18289:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9668, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9659, - "src": "18293:2:9", - "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": 9663, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18232:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18236:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18232:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18232:64:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9662, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "18216:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18216:81:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9671, - "nodeType": "ExpressionStatement", - "src": "18216:81:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18155:3:9", - "parameters": { - "id": 9660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9655, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18167:2:9", - "nodeType": "VariableDeclaration", - "scope": 9673, - "src": "18159:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9654, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18159:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9657, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18179:2:9", - "nodeType": "VariableDeclaration", - "scope": 9673, - "src": "18171:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9656, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18171:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9659, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18188:2:9", - "nodeType": "VariableDeclaration", - "scope": 9673, - "src": "18183:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9658, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18183:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18158:33:9" - }, - "returnParameters": { - "id": 9661, - "nodeType": "ParameterList", - "parameters": [], - "src": "18206:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9693, - "nodeType": "FunctionDefinition", - "src": "18310:169:9", - "body": { - "id": 9692, - "nodeType": "Block", - "src": "18379:100:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e6729", - "id": 9685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18429:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_007150be50a4671a6be318012e9cd2eabb1e1bc8869b45c34abbaa04d81c8eee", - "typeString": "literal_string \"log(address,address,string)\"" - }, - "value": "log(address,address,string)" - }, - { - "id": 9686, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9675, - "src": "18460:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9687, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9677, - "src": "18464:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9688, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9679, - "src": "18468:2:9", - "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": 9683, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18405:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18409:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18405:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18405:66:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9682, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "18389:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18389:83:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9691, - "nodeType": "ExpressionStatement", - "src": "18389:83:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18319:3:9", - "parameters": { - "id": 9680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9675, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18331:2:9", - "nodeType": "VariableDeclaration", - "scope": 9693, - "src": "18323:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9674, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18323:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9677, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18343:2:9", - "nodeType": "VariableDeclaration", - "scope": 9693, - "src": "18335:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9676, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18335:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9679, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18361:2:9", - "nodeType": "VariableDeclaration", - "scope": 9693, - "src": "18347:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9678, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18347:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18322:42:9" - }, - "returnParameters": { - "id": 9681, - "nodeType": "ParameterList", - "parameters": [], - "src": "18379:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9713, - "nodeType": "FunctionDefinition", - "src": "18485:158:9", - "body": { - "id": 9712, - "nodeType": "Block", - "src": "18545:98:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c29", - "id": 9705, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18595:27:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f2a6628622808c8bbef4f3e513ab11e708a8f5073988f2f7988e111aa26586dc", - "typeString": "literal_string \"log(address,address,bool)\"" - }, - "value": "log(address,address,bool)" - }, - { - "id": 9706, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9695, - "src": "18624:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9707, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9697, - "src": "18628:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9708, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9699, - "src": "18632:2:9", - "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": 9703, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18571:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9704, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18575:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18571:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18571:64:9", - "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": 7582, - "src": "18555:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18555:81:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9711, - "nodeType": "ExpressionStatement", - "src": "18555:81:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18494:3:9", - "parameters": { - "id": 9700, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9695, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18506:2:9", - "nodeType": "VariableDeclaration", - "scope": 9713, - "src": "18498:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9694, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18498:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9697, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18518:2:9", - "nodeType": "VariableDeclaration", - "scope": 9713, - "src": "18510:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9696, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18510:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9699, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18527:2:9", - "nodeType": "VariableDeclaration", - "scope": 9713, - "src": "18522:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9698, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18522:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "18497:33:9" - }, - "returnParameters": { - "id": 9701, - "nodeType": "ParameterList", - "parameters": [], - "src": "18545:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9733, - "nodeType": "FunctionDefinition", - "src": "18649:164:9", - "body": { - "id": 9732, - "nodeType": "Block", - "src": "18712:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c6164647265737329", - "id": 9725, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18762:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_018c84c25fb680b5bcd4e1ab1848682497c9dd3b635564a91c36ce3d1414c830", - "typeString": "literal_string \"log(address,address,address)\"" - }, - "value": "log(address,address,address)" - }, - { - "id": 9726, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9715, - "src": "18794:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9727, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9717, - "src": "18798:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 9728, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9719, - "src": "18802:2:9", - "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": 9723, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18738:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18742:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18738:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18738:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9722, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "18722:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18722:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9731, - "nodeType": "ExpressionStatement", - "src": "18722:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18658:3:9", - "parameters": { - "id": 9720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9715, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18670:2:9", - "nodeType": "VariableDeclaration", - "scope": 9733, - "src": "18662:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9714, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18662:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9717, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18682:2:9", - "nodeType": "VariableDeclaration", - "scope": 9733, - "src": "18674:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18674:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9719, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18694:2:9", - "nodeType": "VariableDeclaration", - "scope": 9733, - "src": "18686:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18686:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18661:36:9" - }, - "returnParameters": { - "id": 9721, - "nodeType": "ParameterList", - "parameters": [], - "src": "18712:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9756, - "nodeType": "FunctionDefinition", - "src": "18819:164:9", - "body": { - "id": 9755, - "nodeType": "Block", - "src": "18882:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e742c75696e7429", - "id": 9747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18932:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ca0ad3ec7f731e4661cde447171efd221faf44c50b57eba4cc4965c1f89c0b6", - "typeString": "literal_string \"log(uint,uint,uint,uint)\"" - }, - "value": "log(uint,uint,uint,uint)" - }, - { - "id": 9748, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9735, - "src": "18960:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9749, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9737, - "src": "18964:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9750, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9739, - "src": "18968:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9751, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9741, - "src": "18972:2:9", - "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": 9745, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18908:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18912:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18908:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18908:67:9", - "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": 7582, - "src": "18892:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18892:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9754, - "nodeType": "ExpressionStatement", - "src": "18892:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18828:3:9", - "parameters": { - "id": 9742, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9735, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18837:2:9", - "nodeType": "VariableDeclaration", - "scope": 9756, - "src": "18832:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9734, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18832:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9737, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18846:2:9", - "nodeType": "VariableDeclaration", - "scope": 9756, - "src": "18841:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9736, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18841:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9739, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18855:2:9", - "nodeType": "VariableDeclaration", - "scope": 9756, - "src": "18850:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9738, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18850:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9741, - "mutability": "mutable", - "name": "p3", - "nameLocation": "18864:2:9", - "nodeType": "VariableDeclaration", - "scope": 9756, - "src": "18859:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9740, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18859:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18831:36:9" - }, - "returnParameters": { - "id": 9743, - "nodeType": "ParameterList", - "parameters": [], - "src": "18882:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9779, - "nodeType": "FunctionDefinition", - "src": "18989:175:9", - "body": { - "id": 9778, - "nodeType": "Block", - "src": "19061:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e742c737472696e6729", - "id": 9770, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19111:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_78ad7a0c8cf57ba0e3b9e892fd6558ba40a5d4c84ef5c8c5e36bfc8d7f23b0c5", - "typeString": "literal_string \"log(uint,uint,uint,string)\"" - }, - "value": "log(uint,uint,uint,string)" - }, - { - "id": 9771, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9758, - "src": "19141:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9772, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9760, - "src": "19145:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9773, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9762, - "src": "19149:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9774, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9764, - "src": "19153:2:9", - "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": 9768, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19087:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19091:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19087:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9775, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19087:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9767, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "19071:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19071:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9777, - "nodeType": "ExpressionStatement", - "src": "19071:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18998:3:9", - "parameters": { - "id": 9765, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9758, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19007:2:9", - "nodeType": "VariableDeclaration", - "scope": 9779, - "src": "19002:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9757, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19002:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9760, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19016:2:9", - "nodeType": "VariableDeclaration", - "scope": 9779, - "src": "19011:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9759, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19011:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9762, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19025:2:9", - "nodeType": "VariableDeclaration", - "scope": 9779, - "src": "19020:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9761, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19020:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9764, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19043:2:9", - "nodeType": "VariableDeclaration", - "scope": 9779, - "src": "19029:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9763, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19029:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19001:45:9" - }, - "returnParameters": { - "id": 9766, - "nodeType": "ParameterList", - "parameters": [], - "src": "19061:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9802, - "nodeType": "FunctionDefinition", - "src": "19170:164:9", - "body": { - "id": 9801, - "nodeType": "Block", - "src": "19233:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e742c626f6f6c29", - "id": 9793, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19283:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6452b9cbdf8b8479d7ee301237b2d6dfa173fc92538628ab30d643fb4351918f", - "typeString": "literal_string \"log(uint,uint,uint,bool)\"" - }, - "value": "log(uint,uint,uint,bool)" - }, - { - "id": 9794, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9781, - "src": "19311:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9795, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9783, - "src": "19315:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9796, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9785, - "src": "19319:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9797, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9787, - "src": "19323:2:9", - "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": 9791, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19259:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9792, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19263:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19259:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19259:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9790, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "19243:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19243:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9800, - "nodeType": "ExpressionStatement", - "src": "19243:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19179:3:9", - "parameters": { - "id": 9788, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9781, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19188:2:9", - "nodeType": "VariableDeclaration", - "scope": 9802, - "src": "19183:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9780, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19183:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9783, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19197:2:9", - "nodeType": "VariableDeclaration", - "scope": 9802, - "src": "19192:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9782, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19192:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9785, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19206:2:9", - "nodeType": "VariableDeclaration", - "scope": 9802, - "src": "19201:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9784, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19201:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9787, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19215:2:9", - "nodeType": "VariableDeclaration", - "scope": 9802, - "src": "19210:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9786, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19210:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "19182:36:9" - }, - "returnParameters": { - "id": 9789, - "nodeType": "ParameterList", - "parameters": [], - "src": "19233:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9825, - "nodeType": "FunctionDefinition", - "src": "19340:170:9", - "body": { - "id": 9824, - "nodeType": "Block", - "src": "19406:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c75696e742c6164647265737329", - "id": 9816, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19456:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0853f69a5584c9e0aa87ddae9bd870cf5164166d612d334644e66176c1213ba", - "typeString": "literal_string \"log(uint,uint,uint,address)\"" - }, - "value": "log(uint,uint,uint,address)" - }, - { - "id": 9817, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9804, - "src": "19487:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9818, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9806, - "src": "19491:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9819, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9808, - "src": "19495:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9820, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9810, - "src": "19499:2:9", - "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": 9814, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19432:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9815, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19436:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19432:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19432:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9813, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "19416:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19416:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9823, - "nodeType": "ExpressionStatement", - "src": "19416:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19349:3:9", - "parameters": { - "id": 9811, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9804, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19358:2:9", - "nodeType": "VariableDeclaration", - "scope": 9825, - "src": "19353:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9803, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19353:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9806, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19367:2:9", - "nodeType": "VariableDeclaration", - "scope": 9825, - "src": "19362:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9805, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19362:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9808, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19376:2:9", - "nodeType": "VariableDeclaration", - "scope": 9825, - "src": "19371:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9807, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19371:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9810, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19388:2:9", - "nodeType": "VariableDeclaration", - "scope": 9825, - "src": "19380:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9809, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19380:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19352:39:9" - }, - "returnParameters": { - "id": 9812, - "nodeType": "ParameterList", - "parameters": [], - "src": "19406:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9848, - "nodeType": "FunctionDefinition", - "src": "19516:175:9", - "body": { - "id": 9847, - "nodeType": "Block", - "src": "19588:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e672c75696e7429", - "id": 9839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19638:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3894163d4e8f3eec101fb8e2c1029563bd05d05ee1d1790a46910ebbbdc3072e", - "typeString": "literal_string \"log(uint,uint,string,uint)\"" - }, - "value": "log(uint,uint,string,uint)" - }, - { - "id": 9840, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9827, - "src": "19668:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9841, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9829, - "src": "19672:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9842, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9831, - "src": "19676:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9843, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9833, - "src": "19680:2:9", - "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": 9837, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19614:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19618:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19614:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19614:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9836, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "19598:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19598:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9846, - "nodeType": "ExpressionStatement", - "src": "19598:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19525:3:9", - "parameters": { - "id": 9834, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9827, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19534:2:9", - "nodeType": "VariableDeclaration", - "scope": 9848, - "src": "19529:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9826, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19529:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9829, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19543:2:9", - "nodeType": "VariableDeclaration", - "scope": 9848, - "src": "19538:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9828, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19538:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9831, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19561:2:9", - "nodeType": "VariableDeclaration", - "scope": 9848, - "src": "19547:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9830, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19547:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9833, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19570:2:9", - "nodeType": "VariableDeclaration", - "scope": 9848, - "src": "19565:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9832, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19565:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19528:45:9" - }, - "returnParameters": { - "id": 9835, - "nodeType": "ParameterList", - "parameters": [], - "src": "19588:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9871, - "nodeType": "FunctionDefinition", - "src": "19697:186:9", - "body": { - "id": 9870, - "nodeType": "Block", - "src": "19778:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e672c737472696e6729", - "id": 9862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19828:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7c032a3207958e3d969ab52b045e7a59226129ee4b9e813f7071f9a5e80813f6", - "typeString": "literal_string \"log(uint,uint,string,string)\"" - }, - "value": "log(uint,uint,string,string)" - }, - { - "id": 9863, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9850, - "src": "19860:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9864, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9852, - "src": "19864:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9865, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9854, - "src": "19868:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9866, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9856, - "src": "19872:2:9", - "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": 9860, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19804:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19808:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19804:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19804:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9859, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "19788:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19788:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9869, - "nodeType": "ExpressionStatement", - "src": "19788:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19706:3:9", - "parameters": { - "id": 9857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9850, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19715:2:9", - "nodeType": "VariableDeclaration", - "scope": 9871, - "src": "19710:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9849, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19710:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9852, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19724:2:9", - "nodeType": "VariableDeclaration", - "scope": 9871, - "src": "19719:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9851, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19719:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9854, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19742:2:9", - "nodeType": "VariableDeclaration", - "scope": 9871, - "src": "19728:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9853, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19728:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9856, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19760:2:9", - "nodeType": "VariableDeclaration", - "scope": 9871, - "src": "19746:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19746:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19709:54:9" - }, - "returnParameters": { - "id": 9858, - "nodeType": "ParameterList", - "parameters": [], - "src": "19778:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9894, - "nodeType": "FunctionDefinition", - "src": "19889:175:9", - "body": { - "id": 9893, - "nodeType": "Block", - "src": "19961:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e672c626f6f6c29", - "id": 9885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20011:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b22eaf06d72d481cf9b94b8f4d5fb89cf08bbfd924ee166a250ac94617be65b9", - "typeString": "literal_string \"log(uint,uint,string,bool)\"" - }, - "value": "log(uint,uint,string,bool)" - }, - { - "id": 9886, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9873, - "src": "20041:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9887, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9875, - "src": "20045:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9888, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9877, - "src": "20049:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9889, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9879, - "src": "20053:2:9", - "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": 9883, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19987:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19991:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19987:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9890, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19987:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9882, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "19971:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19971:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9892, - "nodeType": "ExpressionStatement", - "src": "19971:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19898:3:9", - "parameters": { - "id": 9880, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9873, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19907:2:9", - "nodeType": "VariableDeclaration", - "scope": 9894, - "src": "19902:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9872, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19902:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9875, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19916:2:9", - "nodeType": "VariableDeclaration", - "scope": 9894, - "src": "19911:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9874, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19911:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9877, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19934:2:9", - "nodeType": "VariableDeclaration", - "scope": 9894, - "src": "19920:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9876, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19920:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9879, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19943:2:9", - "nodeType": "VariableDeclaration", - "scope": 9894, - "src": "19938:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9878, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19938:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "19901:45:9" - }, - "returnParameters": { - "id": 9881, - "nodeType": "ParameterList", - "parameters": [], - "src": "19961:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9917, - "nodeType": "FunctionDefinition", - "src": "20070:181:9", - "body": { - "id": 9916, - "nodeType": "Block", - "src": "20145:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c737472696e672c6164647265737329", - "id": 9908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20195:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_433285a23ec6b1f0f76da64682232527561857544109f80e3e5d46b0e16980e7", - "typeString": "literal_string \"log(uint,uint,string,address)\"" - }, - "value": "log(uint,uint,string,address)" - }, - { - "id": 9909, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9896, - "src": "20228:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9910, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9898, - "src": "20232:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9911, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9900, - "src": "20236:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 9912, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9902, - "src": "20240:2:9", - "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": 9906, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20171:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9907, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20175:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20171:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20171:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9905, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "20155:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20155:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9915, - "nodeType": "ExpressionStatement", - "src": "20155:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20079:3:9", - "parameters": { - "id": 9903, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9896, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20088:2:9", - "nodeType": "VariableDeclaration", - "scope": 9917, - "src": "20083:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9895, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20083:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9898, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20097:2:9", - "nodeType": "VariableDeclaration", - "scope": 9917, - "src": "20092:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9897, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20092:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9900, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20115:2:9", - "nodeType": "VariableDeclaration", - "scope": 9917, - "src": "20101:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9899, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20101:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9902, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20127:2:9", - "nodeType": "VariableDeclaration", - "scope": 9917, - "src": "20119:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9901, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20119:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20082:48:9" - }, - "returnParameters": { - "id": 9904, - "nodeType": "ParameterList", - "parameters": [], - "src": "20145:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9940, - "nodeType": "FunctionDefinition", - "src": "20257:164:9", - "body": { - "id": 9939, - "nodeType": "Block", - "src": "20320:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c2c75696e7429", - "id": 9931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20370:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c647c8c5fed6e02ad4f1c7bfb891e58ba00758f5d6cb92966fd0684c5b3fc8d", - "typeString": "literal_string \"log(uint,uint,bool,uint)\"" - }, - "value": "log(uint,uint,bool,uint)" - }, - { - "id": 9932, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9919, - "src": "20398:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9933, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9921, - "src": "20402:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9934, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9923, - "src": "20406:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9935, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9925, - "src": "20410:2:9", - "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": 9929, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20346:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9930, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20350:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20346:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9936, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20346:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9928, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "20330:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20330:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9938, - "nodeType": "ExpressionStatement", - "src": "20330:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20266:3:9", - "parameters": { - "id": 9926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9919, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20275:2:9", - "nodeType": "VariableDeclaration", - "scope": 9940, - "src": "20270:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9918, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20270:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9921, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20284:2:9", - "nodeType": "VariableDeclaration", - "scope": 9940, - "src": "20279:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9920, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20279:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9923, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20293:2:9", - "nodeType": "VariableDeclaration", - "scope": 9940, - "src": "20288:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9922, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20288:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9925, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20302:2:9", - "nodeType": "VariableDeclaration", - "scope": 9940, - "src": "20297:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9924, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20297:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20269:36:9" - }, - "returnParameters": { - "id": 9927, - "nodeType": "ParameterList", - "parameters": [], - "src": "20320:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9963, - "nodeType": "FunctionDefinition", - "src": "20427:175:9", - "body": { - "id": 9962, - "nodeType": "Block", - "src": "20499:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c2c737472696e6729", - "id": 9954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20549:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_efd9cbeee79713372dd0a748a26a3fb36cbe4eb4e01a37fbde0cde0e101fc85a", - "typeString": "literal_string \"log(uint,uint,bool,string)\"" - }, - "value": "log(uint,uint,bool,string)" - }, - { - "id": 9955, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9942, - "src": "20579:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9956, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9944, - "src": "20583:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9957, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9946, - "src": "20587:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9958, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9948, - "src": "20591:2:9", - "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": 9952, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20525:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20529:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20525:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9959, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20525:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9951, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "20509:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20509:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9961, - "nodeType": "ExpressionStatement", - "src": "20509:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20436:3:9", - "parameters": { - "id": 9949, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9942, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20445:2:9", - "nodeType": "VariableDeclaration", - "scope": 9963, - "src": "20440:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9941, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20440:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9944, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20454:2:9", - "nodeType": "VariableDeclaration", - "scope": 9963, - "src": "20449:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9943, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20449:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9946, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20463:2:9", - "nodeType": "VariableDeclaration", - "scope": 9963, - "src": "20458:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9945, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20458:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9948, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20481:2:9", - "nodeType": "VariableDeclaration", - "scope": 9963, - "src": "20467:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 9947, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20467:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "20439:45:9" - }, - "returnParameters": { - "id": 9950, - "nodeType": "ParameterList", - "parameters": [], - "src": "20499:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 9986, - "nodeType": "FunctionDefinition", - "src": "20608:164:9", - "body": { - "id": 9985, - "nodeType": "Block", - "src": "20671:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c2c626f6f6c29", - "id": 9977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20721:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94be3bb13e096cdbc5a1999a524e3b6664a32da7e2c2954ae0e2b792a0dd1f41", - "typeString": "literal_string \"log(uint,uint,bool,bool)\"" - }, - "value": "log(uint,uint,bool,bool)" - }, - { - "id": 9978, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9965, - "src": "20749:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9979, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9967, - "src": "20753:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 9980, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9969, - "src": "20757:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 9981, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9971, - "src": "20761:2:9", - "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": 9975, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20697:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9976, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20701:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20697:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 9982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20697:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9974, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "20681:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 9983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20681:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9984, - "nodeType": "ExpressionStatement", - "src": "20681:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20617:3:9", - "parameters": { - "id": 9972, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9965, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20626:2:9", - "nodeType": "VariableDeclaration", - "scope": 9986, - "src": "20621:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9964, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20621:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9967, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20635:2:9", - "nodeType": "VariableDeclaration", - "scope": 9986, - "src": "20630:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9966, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20630:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9969, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20644:2:9", - "nodeType": "VariableDeclaration", - "scope": 9986, - "src": "20639:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9968, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20639:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9971, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20653:2:9", - "nodeType": "VariableDeclaration", - "scope": 9986, - "src": "20648:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9970, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20648:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20620:36:9" - }, - "returnParameters": { - "id": 9973, - "nodeType": "ParameterList", - "parameters": [], - "src": "20671:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10009, - "nodeType": "FunctionDefinition", - "src": "20778:170:9", - "body": { - "id": 10008, - "nodeType": "Block", - "src": "20844:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c626f6f6c2c6164647265737329", - "id": 10000, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20894:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e117744fcc46e4484cabd18d640497b4a9d76b7f775e79fe9a95e42427bd8976", - "typeString": "literal_string \"log(uint,uint,bool,address)\"" - }, - "value": "log(uint,uint,bool,address)" - }, - { - "id": 10001, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9988, - "src": "20925:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10002, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9990, - "src": "20929:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10003, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9992, - "src": "20933:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10004, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9994, - "src": "20937:2:9", - "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": 9998, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20870:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 9999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20874:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20870:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20870:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 9997, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "20854:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10006, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20854:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10007, - "nodeType": "ExpressionStatement", - "src": "20854:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20787:3:9", - "parameters": { - "id": 9995, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9988, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20796:2:9", - "nodeType": "VariableDeclaration", - "scope": 10009, - "src": "20791:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9987, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20791:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9990, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20805:2:9", - "nodeType": "VariableDeclaration", - "scope": 10009, - "src": "20800:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9989, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20800:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9992, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20814:2:9", - "nodeType": "VariableDeclaration", - "scope": 10009, - "src": "20809:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9991, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20809:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9994, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20826:2:9", - "nodeType": "VariableDeclaration", - "scope": 10009, - "src": "20818:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9993, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20818:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20790:39:9" - }, - "returnParameters": { - "id": 9996, - "nodeType": "ParameterList", - "parameters": [], - "src": "20844:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10032, - "nodeType": "FunctionDefinition", - "src": "20954:170:9", - "body": { - "id": 10031, - "nodeType": "Block", - "src": "21020:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c616464726573732c75696e7429", - "id": 10023, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21070:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_610ba8c0cae1123f7f8ad76791afd86dc185a4f1fe79a263112118ddb5231e9f", - "typeString": "literal_string \"log(uint,uint,address,uint)\"" - }, - "value": "log(uint,uint,address,uint)" - }, - { - "id": 10024, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10011, - "src": "21101:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10025, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10013, - "src": "21105:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10026, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10015, - "src": "21109:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10027, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10017, - "src": "21113:2:9", - "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": 10021, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21046:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10022, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21050:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21046:23:9", - "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": "21046:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10020, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "21030:15:9", - "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": "21030:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10030, - "nodeType": "ExpressionStatement", - "src": "21030:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20963:3:9", - "parameters": { - "id": 10018, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10011, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20972:2:9", - "nodeType": "VariableDeclaration", - "scope": 10032, - "src": "20967:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10010, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20967:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10013, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20981:2:9", - "nodeType": "VariableDeclaration", - "scope": 10032, - "src": "20976:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10012, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20976:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10015, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20993:2:9", - "nodeType": "VariableDeclaration", - "scope": 10032, - "src": "20985:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10014, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20985:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10017, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21002:2:9", - "nodeType": "VariableDeclaration", - "scope": 10032, - "src": "20997:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10016, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20997:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20966:39:9" - }, - "returnParameters": { - "id": 10019, - "nodeType": "ParameterList", - "parameters": [], - "src": "21020:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10055, - "nodeType": "FunctionDefinition", - "src": "21130:181:9", - "body": { - "id": 10054, - "nodeType": "Block", - "src": "21205:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c616464726573732c737472696e6729", - "id": 10046, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21255:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6a2d1de1bf5c0a47e82220cd592c8fb4a4a43f17ecab471044861ef70454227", - "typeString": "literal_string \"log(uint,uint,address,string)\"" - }, - "value": "log(uint,uint,address,string)" - }, - { - "id": 10047, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10034, - "src": "21288:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10048, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10036, - "src": "21292:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10049, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10038, - "src": "21296:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10050, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10040, - "src": "21300:2:9", - "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": 10044, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21231:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10045, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21235:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21231:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10051, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21231:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10043, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "21215:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21215:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10053, - "nodeType": "ExpressionStatement", - "src": "21215:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21139:3:9", - "parameters": { - "id": 10041, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10034, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21148:2:9", - "nodeType": "VariableDeclaration", - "scope": 10055, - "src": "21143:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10033, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21143:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10036, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21157:2:9", - "nodeType": "VariableDeclaration", - "scope": 10055, - "src": "21152:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10035, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21152:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10038, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21169:2:9", - "nodeType": "VariableDeclaration", - "scope": 10055, - "src": "21161:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10037, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21161:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10040, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21187:2:9", - "nodeType": "VariableDeclaration", - "scope": 10055, - "src": "21173:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10039, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21173:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21142:48:9" - }, - "returnParameters": { - "id": 10042, - "nodeType": "ParameterList", - "parameters": [], - "src": "21205:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10078, - "nodeType": "FunctionDefinition", - "src": "21317:170:9", - "body": { - "id": 10077, - "nodeType": "Block", - "src": "21383:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c616464726573732c626f6f6c29", - "id": 10069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21433:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a8e820ae9dc5fd5a845e5dabf2b296e5588fe5a0d8101de14323ebe3e8e2b6c0", - "typeString": "literal_string \"log(uint,uint,address,bool)\"" - }, - "value": "log(uint,uint,address,bool)" - }, - { - "id": 10070, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10057, - "src": "21464:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10071, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10059, - "src": "21468:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10072, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10061, - "src": "21472:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10073, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10063, - "src": "21476:2:9", - "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": 10067, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21409:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21413:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21409:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21409:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10066, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "21393:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21393:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10076, - "nodeType": "ExpressionStatement", - "src": "21393:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21326:3:9", - "parameters": { - "id": 10064, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10057, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21335:2:9", - "nodeType": "VariableDeclaration", - "scope": 10078, - "src": "21330:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10056, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21330:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10059, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21344:2:9", - "nodeType": "VariableDeclaration", - "scope": 10078, - "src": "21339:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10058, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21339:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10061, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21356:2:9", - "nodeType": "VariableDeclaration", - "scope": 10078, - "src": "21348:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10060, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21348:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10063, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21365:2:9", - "nodeType": "VariableDeclaration", - "scope": 10078, - "src": "21360:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10062, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21360:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "21329:39:9" - }, - "returnParameters": { - "id": 10065, - "nodeType": "ParameterList", - "parameters": [], - "src": "21383:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10101, - "nodeType": "FunctionDefinition", - "src": "21493:176:9", - "body": { - "id": 10100, - "nodeType": "Block", - "src": "21562:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c75696e742c616464726573732c6164647265737329", - "id": 10092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21612:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca939b20e9284d76bbbc091d0d45d06f650171230ac4f1f35652b8b6e1579811", - "typeString": "literal_string \"log(uint,uint,address,address)\"" - }, - "value": "log(uint,uint,address,address)" - }, - { - "id": 10093, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10080, - "src": "21646:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10094, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10082, - "src": "21650:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10095, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10084, - "src": "21654:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10096, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10086, - "src": "21658:2:9", - "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": 10090, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21588:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21592:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21588:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10097, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21588:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10089, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "21572:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21572:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10099, - "nodeType": "ExpressionStatement", - "src": "21572:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21502:3:9", - "parameters": { - "id": 10087, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10080, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21511:2:9", - "nodeType": "VariableDeclaration", - "scope": 10101, - "src": "21506:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10079, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21506:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10082, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21520:2:9", - "nodeType": "VariableDeclaration", - "scope": 10101, - "src": "21515:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10081, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21515:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10084, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21532:2:9", - "nodeType": "VariableDeclaration", - "scope": 10101, - "src": "21524:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21524:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10086, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21544:2:9", - "nodeType": "VariableDeclaration", - "scope": 10101, - "src": "21536:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10085, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21536:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21505:42:9" - }, - "returnParameters": { - "id": 10088, - "nodeType": "ParameterList", - "parameters": [], - "src": "21562:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10124, - "nodeType": "FunctionDefinition", - "src": "21675:175:9", - "body": { - "id": 10123, - "nodeType": "Block", - "src": "21747:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e742c75696e7429", - "id": 10115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21797:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0043807b5f951e0375253205c951c6e6a6b19b5de111342e8f6be7c7f284628", - "typeString": "literal_string \"log(uint,string,uint,uint)\"" - }, - "value": "log(uint,string,uint,uint)" - }, - { - "id": 10116, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10103, - "src": "21827:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10117, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10105, - "src": "21831:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10118, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10107, - "src": "21835:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10119, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10109, - "src": "21839:2:9", - "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": 10113, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21773:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10114, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21777:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21773:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21773:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10112, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "21757:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21757:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10122, - "nodeType": "ExpressionStatement", - "src": "21757:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21684:3:9", - "parameters": { - "id": 10110, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10103, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21693:2:9", - "nodeType": "VariableDeclaration", - "scope": 10124, - "src": "21688:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10102, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21688:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10105, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21711:2:9", - "nodeType": "VariableDeclaration", - "scope": 10124, - "src": "21697:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10104, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21697:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10107, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21720:2:9", - "nodeType": "VariableDeclaration", - "scope": 10124, - "src": "21715:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10106, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21715:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10109, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21729:2:9", - "nodeType": "VariableDeclaration", - "scope": 10124, - "src": "21724:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10108, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21724:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21687:45:9" - }, - "returnParameters": { - "id": 10111, - "nodeType": "ParameterList", - "parameters": [], - "src": "21747:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10147, - "nodeType": "FunctionDefinition", - "src": "21856:186:9", - "body": { - "id": 10146, - "nodeType": "Block", - "src": "21937:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e742c737472696e6729", - "id": 10138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21987:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a2bc0c99cedfd873182e8eb1e68799dc8925c663b8ce2430858586fba62fe313", - "typeString": "literal_string \"log(uint,string,uint,string)\"" - }, - "value": "log(uint,string,uint,string)" - }, - { - "id": 10139, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10126, - "src": "22019:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10140, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10128, - "src": "22023:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10141, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10130, - "src": "22027:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10142, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10132, - "src": "22031:2:9", - "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": 10136, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21963:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10137, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21967:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21963:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21963:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10135, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "21947:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21947:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10145, - "nodeType": "ExpressionStatement", - "src": "21947:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21865:3:9", - "parameters": { - "id": 10133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10126, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21874:2:9", - "nodeType": "VariableDeclaration", - "scope": 10147, - "src": "21869:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10125, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21869:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10128, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21892:2:9", - "nodeType": "VariableDeclaration", - "scope": 10147, - "src": "21878:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10127, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21878:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10130, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21901:2:9", - "nodeType": "VariableDeclaration", - "scope": 10147, - "src": "21896:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10129, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21896:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10132, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21919:2:9", - "nodeType": "VariableDeclaration", - "scope": 10147, - "src": "21905:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10131, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21905:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21868:54:9" - }, - "returnParameters": { - "id": 10134, - "nodeType": "ParameterList", - "parameters": [], - "src": "21937:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10170, - "nodeType": "FunctionDefinition", - "src": "22048:175:9", - "body": { - "id": 10169, - "nodeType": "Block", - "src": "22120:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e742c626f6f6c29", - "id": 10161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22170:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_875a6e2ed2444d0d09e264b06717914212d8a793bea0f48b5633e707ac53784d", - "typeString": "literal_string \"log(uint,string,uint,bool)\"" - }, - "value": "log(uint,string,uint,bool)" - }, - { - "id": 10162, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10149, - "src": "22200:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10163, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10151, - "src": "22204:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10164, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10153, - "src": "22208:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10165, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10155, - "src": "22212:2:9", - "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": 10159, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22146:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22150:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22146:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22146:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10158, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "22130:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22130:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10168, - "nodeType": "ExpressionStatement", - "src": "22130:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22057:3:9", - "parameters": { - "id": 10156, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10149, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22066:2:9", - "nodeType": "VariableDeclaration", - "scope": 10170, - "src": "22061:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10148, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22061:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10151, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22084:2:9", - "nodeType": "VariableDeclaration", - "scope": 10170, - "src": "22070:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10150, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22070:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10153, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22093:2:9", - "nodeType": "VariableDeclaration", - "scope": 10170, - "src": "22088:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10152, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22088:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10155, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22102:2:9", - "nodeType": "VariableDeclaration", - "scope": 10170, - "src": "22097:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10154, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22097:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "22060:45:9" - }, - "returnParameters": { - "id": 10157, - "nodeType": "ParameterList", - "parameters": [], - "src": "22120:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10193, - "nodeType": "FunctionDefinition", - "src": "22229:181:9", - "body": { - "id": 10192, - "nodeType": "Block", - "src": "22304:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c75696e742c6164647265737329", - "id": 10184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22354:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ab7bd9fd9b149127bbb235a3e1bec9a2e844f3968bdc1f48944c4b1973dacfda", - "typeString": "literal_string \"log(uint,string,uint,address)\"" - }, - "value": "log(uint,string,uint,address)" - }, - { - "id": 10185, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10172, - "src": "22387:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10186, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10174, - "src": "22391:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10187, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10176, - "src": "22395:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10188, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10178, - "src": "22399:2:9", - "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": 10182, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22330:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10183, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22334:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22330:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22330:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10181, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "22314:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22314:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10191, - "nodeType": "ExpressionStatement", - "src": "22314:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22238:3:9", - "parameters": { - "id": 10179, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10172, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22247:2:9", - "nodeType": "VariableDeclaration", - "scope": 10193, - "src": "22242:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10171, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22242:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10174, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22265:2:9", - "nodeType": "VariableDeclaration", - "scope": 10193, - "src": "22251:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10173, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22251:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10176, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22274:2:9", - "nodeType": "VariableDeclaration", - "scope": 10193, - "src": "22269:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10175, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22269:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10178, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22286:2:9", - "nodeType": "VariableDeclaration", - "scope": 10193, - "src": "22278:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10177, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22278:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "22241:48:9" - }, - "returnParameters": { - "id": 10180, - "nodeType": "ParameterList", - "parameters": [], - "src": "22304:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10216, - "nodeType": "FunctionDefinition", - "src": "22416:186:9", - "body": { - "id": 10215, - "nodeType": "Block", - "src": "22497:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e672c75696e7429", - "id": 10207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22547:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_76ec635e4702367bf449b895743175fa2654af8170b6d9c20dd183616d0a192b", - "typeString": "literal_string \"log(uint,string,string,uint)\"" - }, - "value": "log(uint,string,string,uint)" - }, - { - "id": 10208, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10195, - "src": "22579:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10209, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10197, - "src": "22583:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10210, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10199, - "src": "22587:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10211, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10201, - "src": "22591:2:9", - "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": 10205, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22523:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10206, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22527:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22523:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22523:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10204, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "22507:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22507:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10214, - "nodeType": "ExpressionStatement", - "src": "22507:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22425:3:9", - "parameters": { - "id": 10202, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10195, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22434:2:9", - "nodeType": "VariableDeclaration", - "scope": 10216, - "src": "22429:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10194, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22429:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10197, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22452:2:9", - "nodeType": "VariableDeclaration", - "scope": 10216, - "src": "22438:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10196, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22438:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10199, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22470:2:9", - "nodeType": "VariableDeclaration", - "scope": 10216, - "src": "22456:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10198, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22456:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10201, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22479:2:9", - "nodeType": "VariableDeclaration", - "scope": 10216, - "src": "22474:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10200, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22474:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22428:54:9" - }, - "returnParameters": { - "id": 10203, - "nodeType": "ParameterList", - "parameters": [], - "src": "22497:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10239, - "nodeType": "FunctionDefinition", - "src": "22608:197:9", - "body": { - "id": 10238, - "nodeType": "Block", - "src": "22698:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e672c737472696e6729", - "id": 10230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22748:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_57dd0a119927787a0c91b48333e191a1b3a4082dcb6efc912e2ba5b047e15156", - "typeString": "literal_string \"log(uint,string,string,string)\"" - }, - "value": "log(uint,string,string,string)" - }, - { - "id": 10231, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10218, - "src": "22782:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10232, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10220, - "src": "22786:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10233, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10222, - "src": "22790:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10234, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10224, - "src": "22794:2:9", - "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": 10228, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22724:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22728:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22724:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22724:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10227, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "22708:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10236, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22708:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10237, - "nodeType": "ExpressionStatement", - "src": "22708:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22617:3:9", - "parameters": { - "id": 10225, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10218, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22626:2:9", - "nodeType": "VariableDeclaration", - "scope": 10239, - "src": "22621:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10217, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22621:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10220, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22644:2:9", - "nodeType": "VariableDeclaration", - "scope": 10239, - "src": "22630:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10219, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22630:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10222, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22662:2:9", - "nodeType": "VariableDeclaration", - "scope": 10239, - "src": "22648:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10221, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22648:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10224, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22680:2:9", - "nodeType": "VariableDeclaration", - "scope": 10239, - "src": "22666:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10223, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22666:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22620:63:9" - }, - "returnParameters": { - "id": 10226, - "nodeType": "ParameterList", - "parameters": [], - "src": "22698:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10262, - "nodeType": "FunctionDefinition", - "src": "22811:186:9", - "body": { - "id": 10261, - "nodeType": "Block", - "src": "22892:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e672c626f6f6c29", - "id": 10253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22942:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12862b98fdb7950b0e6908443bc9d7894b44d5616424da5cdb6206a848affcbc", - "typeString": "literal_string \"log(uint,string,string,bool)\"" - }, - "value": "log(uint,string,string,bool)" - }, - { - "id": 10254, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10241, - "src": "22974:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10255, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10243, - "src": "22978:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10256, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10245, - "src": "22982:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10257, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10247, - "src": "22986:2:9", - "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": 10251, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22918:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22922:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22918:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22918:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10250, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "22902:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10259, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22902:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10260, - "nodeType": "ExpressionStatement", - "src": "22902:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22820:3:9", - "parameters": { - "id": 10248, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10241, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22829:2:9", - "nodeType": "VariableDeclaration", - "scope": 10262, - "src": "22824:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10240, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "22824:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10243, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22847:2:9", - "nodeType": "VariableDeclaration", - "scope": 10262, - "src": "22833:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10242, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22833:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10245, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22865:2:9", - "nodeType": "VariableDeclaration", - "scope": 10262, - "src": "22851:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10244, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22851:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10247, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22874:2:9", - "nodeType": "VariableDeclaration", - "scope": 10262, - "src": "22869:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10246, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22869:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "22823:54:9" - }, - "returnParameters": { - "id": 10249, - "nodeType": "ParameterList", - "parameters": [], - "src": "22892:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10285, - "nodeType": "FunctionDefinition", - "src": "23003:192:9", - "body": { - "id": 10284, - "nodeType": "Block", - "src": "23087:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c737472696e672c6164647265737329", - "id": 10276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23137:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc988aa0514d1ed8be70a6bf2bdff4972e3f3420811b4adbd40f9b75b873fded", - "typeString": "literal_string \"log(uint,string,string,address)\"" - }, - "value": "log(uint,string,string,address)" - }, - { - "id": 10277, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10264, - "src": "23172:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10278, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10266, - "src": "23176:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10279, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10268, - "src": "23180:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10280, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10270, - "src": "23184:2:9", - "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": 10274, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23113:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10275, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23117:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23113:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23113:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10273, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "23097:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23097:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10283, - "nodeType": "ExpressionStatement", - "src": "23097:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23012:3:9", - "parameters": { - "id": 10271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10264, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23021:2:9", - "nodeType": "VariableDeclaration", - "scope": 10285, - "src": "23016:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10263, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23016:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10266, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23039:2:9", - "nodeType": "VariableDeclaration", - "scope": 10285, - "src": "23025:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10265, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23025:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10268, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23057:2:9", - "nodeType": "VariableDeclaration", - "scope": 10285, - "src": "23043:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10267, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23043:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10270, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23069:2:9", - "nodeType": "VariableDeclaration", - "scope": 10285, - "src": "23061:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10269, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23061:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "23015:57:9" - }, - "returnParameters": { - "id": 10272, - "nodeType": "ParameterList", - "parameters": [], - "src": "23087:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10308, - "nodeType": "FunctionDefinition", - "src": "23201:175:9", - "body": { - "id": 10307, - "nodeType": "Block", - "src": "23273:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c2c75696e7429", - "id": 10299, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23323:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a4b48a7f4bdefee99950b35e5da7ba9724c3954e445cc3077000bce7a4265081", - "typeString": "literal_string \"log(uint,string,bool,uint)\"" - }, - "value": "log(uint,string,bool,uint)" - }, - { - "id": 10300, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10287, - "src": "23353:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10301, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10289, - "src": "23357:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10302, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10291, - "src": "23361:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10303, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10293, - "src": "23365:2:9", - "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": 10297, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23299:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10298, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23303:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23299:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23299:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10296, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "23283:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10305, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23283:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10306, - "nodeType": "ExpressionStatement", - "src": "23283:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23210:3:9", - "parameters": { - "id": 10294, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10287, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23219:2:9", - "nodeType": "VariableDeclaration", - "scope": 10308, - "src": "23214:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10286, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23214:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10289, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23237:2:9", - "nodeType": "VariableDeclaration", - "scope": 10308, - "src": "23223:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10288, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23223:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10291, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23246:2:9", - "nodeType": "VariableDeclaration", - "scope": 10308, - "src": "23241:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10290, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23241:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10293, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23255:2:9", - "nodeType": "VariableDeclaration", - "scope": 10308, - "src": "23250:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10292, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23250:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23213:45:9" - }, - "returnParameters": { - "id": 10295, - "nodeType": "ParameterList", - "parameters": [], - "src": "23273:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10331, - "nodeType": "FunctionDefinition", - "src": "23382:186:9", - "body": { - "id": 10330, - "nodeType": "Block", - "src": "23463:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c2c737472696e6729", - "id": 10322, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23513:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d489ca064b1083bafb8388fd8f3d44c2255dbe322f7a52abe786a76257d06e4", - "typeString": "literal_string \"log(uint,string,bool,string)\"" - }, - "value": "log(uint,string,bool,string)" - }, - { - "id": 10323, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10310, - "src": "23545:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10324, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10312, - "src": "23549:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10325, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10314, - "src": "23553:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10326, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10316, - "src": "23557:2:9", - "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": 10320, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23489:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23493:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23489:23:9", - "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": "23489:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10319, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "23473:15:9", - "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": "23473:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10329, - "nodeType": "ExpressionStatement", - "src": "23473:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23391:3:9", - "parameters": { - "id": 10317, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10310, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23400:2:9", - "nodeType": "VariableDeclaration", - "scope": 10331, - "src": "23395:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10309, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23395:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10312, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23418:2:9", - "nodeType": "VariableDeclaration", - "scope": 10331, - "src": "23404:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10311, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23404:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10314, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23427:2:9", - "nodeType": "VariableDeclaration", - "scope": 10331, - "src": "23422:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10313, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23422:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10316, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23445:2:9", - "nodeType": "VariableDeclaration", - "scope": 10331, - "src": "23431:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10315, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23431:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "23394:54:9" - }, - "returnParameters": { - "id": 10318, - "nodeType": "ParameterList", - "parameters": [], - "src": "23463:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10354, - "nodeType": "FunctionDefinition", - "src": "23574:175:9", - "body": { - "id": 10353, - "nodeType": "Block", - "src": "23646:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c2c626f6f6c29", - "id": 10345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23696:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51bc2bc161debf765eefa84d88e06440adeb87045d559377a9edb97406168b2a", - "typeString": "literal_string \"log(uint,string,bool,bool)\"" - }, - "value": "log(uint,string,bool,bool)" - }, - { - "id": 10346, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10333, - "src": "23726:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10347, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10335, - "src": "23730:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10348, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10337, - "src": "23734:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10349, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10339, - "src": "23738:2:9", - "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": 10343, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23672:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23676:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23672:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23672:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10342, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "23656:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23656:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10352, - "nodeType": "ExpressionStatement", - "src": "23656:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23583:3:9", - "parameters": { - "id": 10340, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10333, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23592:2:9", - "nodeType": "VariableDeclaration", - "scope": 10354, - "src": "23587:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10332, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23587:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10335, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23610:2:9", - "nodeType": "VariableDeclaration", - "scope": 10354, - "src": "23596:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10334, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23596:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10337, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23619:2:9", - "nodeType": "VariableDeclaration", - "scope": 10354, - "src": "23614:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10336, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23614:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10339, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23628:2:9", - "nodeType": "VariableDeclaration", - "scope": 10354, - "src": "23623:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10338, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23623:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "23586:45:9" - }, - "returnParameters": { - "id": 10341, - "nodeType": "ParameterList", - "parameters": [], - "src": "23646:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10377, - "nodeType": "FunctionDefinition", - "src": "23755:181:9", - "body": { - "id": 10376, - "nodeType": "Block", - "src": "23830:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c626f6f6c2c6164647265737329", - "id": 10368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23880:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_796f28a06ededa438107c0866560412d4d4337e29da4c7300f50c49a73c18829", - "typeString": "literal_string \"log(uint,string,bool,address)\"" - }, - "value": "log(uint,string,bool,address)" - }, - { - "id": 10369, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10356, - "src": "23913:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10370, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10358, - "src": "23917:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10371, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10360, - "src": "23921:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10372, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10362, - "src": "23925:2:9", - "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": 10366, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23856:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23860:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23856:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23856:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10365, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "23840:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23840:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10375, - "nodeType": "ExpressionStatement", - "src": "23840:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23764:3:9", - "parameters": { - "id": 10363, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10356, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23773:2:9", - "nodeType": "VariableDeclaration", - "scope": 10377, - "src": "23768:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10355, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23768:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10358, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23791:2:9", - "nodeType": "VariableDeclaration", - "scope": 10377, - "src": "23777:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10357, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23777:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10360, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23800:2:9", - "nodeType": "VariableDeclaration", - "scope": 10377, - "src": "23795:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10359, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23795:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10362, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23812:2:9", - "nodeType": "VariableDeclaration", - "scope": 10377, - "src": "23804:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23804:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "23767:48:9" - }, - "returnParameters": { - "id": 10364, - "nodeType": "ParameterList", - "parameters": [], - "src": "23830:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10400, - "nodeType": "FunctionDefinition", - "src": "23942:181:9", - "body": { - "id": 10399, - "nodeType": "Block", - "src": "24017:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c616464726573732c75696e7429", - "id": 10391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24067:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_98e7f3f3a2c39a91982b0a3ae7f29043579abd563fc10531c052f92c3317af43", - "typeString": "literal_string \"log(uint,string,address,uint)\"" - }, - "value": "log(uint,string,address,uint)" - }, - { - "id": 10392, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10379, - "src": "24100:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10393, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10381, - "src": "24104:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10394, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10383, - "src": "24108:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10395, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10385, - "src": "24112:2:9", - "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": 10389, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24043:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24047:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24043:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10396, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24043:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10388, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "24027:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10397, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24027:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10398, - "nodeType": "ExpressionStatement", - "src": "24027:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23951:3:9", - "parameters": { - "id": 10386, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10379, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23960:2:9", - "nodeType": "VariableDeclaration", - "scope": 10400, - "src": "23955:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10378, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23955:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10381, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23978:2:9", - "nodeType": "VariableDeclaration", - "scope": 10400, - "src": "23964:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10380, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23964:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10383, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23990:2:9", - "nodeType": "VariableDeclaration", - "scope": 10400, - "src": "23982:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10382, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23982:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10385, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23999:2:9", - "nodeType": "VariableDeclaration", - "scope": 10400, - "src": "23994:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23994:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23954:48:9" - }, - "returnParameters": { - "id": 10387, - "nodeType": "ParameterList", - "parameters": [], - "src": "24017:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10423, - "nodeType": "FunctionDefinition", - "src": "24129:192:9", - "body": { - "id": 10422, - "nodeType": "Block", - "src": "24213:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c616464726573732c737472696e6729", - "id": 10414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24263:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f898577fdc87bf80b54b2b838f8b58bf5a74554c7beeb61b98f3c2b7d59f31e2", - "typeString": "literal_string \"log(uint,string,address,string)\"" - }, - "value": "log(uint,string,address,string)" - }, - { - "id": 10415, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10402, - "src": "24298:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10416, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10404, - "src": "24302:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10417, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10406, - "src": "24306:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10418, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10408, - "src": "24310:2:9", - "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": 10412, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24239:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24243:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24239:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24239:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10411, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "24223:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10420, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24223:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10421, - "nodeType": "ExpressionStatement", - "src": "24223:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24138:3:9", - "parameters": { - "id": 10409, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10402, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24147:2:9", - "nodeType": "VariableDeclaration", - "scope": 10423, - "src": "24142:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10401, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24142:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10404, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24165:2:9", - "nodeType": "VariableDeclaration", - "scope": 10423, - "src": "24151:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24151:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10406, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24177:2:9", - "nodeType": "VariableDeclaration", - "scope": 10423, - "src": "24169:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10405, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24169:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10408, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24195:2:9", - "nodeType": "VariableDeclaration", - "scope": 10423, - "src": "24181:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10407, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24181:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "24141:57:9" - }, - "returnParameters": { - "id": 10410, - "nodeType": "ParameterList", - "parameters": [], - "src": "24213:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10446, - "nodeType": "FunctionDefinition", - "src": "24327:181:9", - "body": { - "id": 10445, - "nodeType": "Block", - "src": "24402:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c616464726573732c626f6f6c29", - "id": 10437, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24452:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f93fff378483bab1a84a8ae346090ff91e793863821a5430c45153390c3262e1", - "typeString": "literal_string \"log(uint,string,address,bool)\"" - }, - "value": "log(uint,string,address,bool)" - }, - { - "id": 10438, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10425, - "src": "24485:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10439, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10427, - "src": "24489:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10440, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10429, - "src": "24493:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10441, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10431, - "src": "24497:2:9", - "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": 10435, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24428:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10436, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24432:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24428:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24428:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10434, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "24412:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10443, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24412:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10444, - "nodeType": "ExpressionStatement", - "src": "24412:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24336:3:9", - "parameters": { - "id": 10432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10425, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24345:2:9", - "nodeType": "VariableDeclaration", - "scope": 10446, - "src": "24340:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10424, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24340:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10427, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24363:2:9", - "nodeType": "VariableDeclaration", - "scope": 10446, - "src": "24349:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10426, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24349:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10429, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24375:2:9", - "nodeType": "VariableDeclaration", - "scope": 10446, - "src": "24367:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10428, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24367:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10431, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24384:2:9", - "nodeType": "VariableDeclaration", - "scope": 10446, - "src": "24379:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10430, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24379:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "24339:48:9" - }, - "returnParameters": { - "id": 10433, - "nodeType": "ParameterList", - "parameters": [], - "src": "24402:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10469, - "nodeType": "FunctionDefinition", - "src": "24514:187:9", - "body": { - "id": 10468, - "nodeType": "Block", - "src": "24592:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c737472696e672c616464726573732c6164647265737329", - "id": 10460, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24642:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7fa5458bb859a8b444c46f9915b7879afe7e200298580a00c5813ecf5c0a77cb", - "typeString": "literal_string \"log(uint,string,address,address)\"" - }, - "value": "log(uint,string,address,address)" - }, - { - "id": 10461, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10448, - "src": "24678:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10462, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10450, - "src": "24682:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10463, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10452, - "src": "24686:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10464, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10454, - "src": "24690:2:9", - "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": 10458, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24618:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10459, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24622:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24618:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24618:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10457, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "24602:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10466, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24602:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10467, - "nodeType": "ExpressionStatement", - "src": "24602:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24523:3:9", - "parameters": { - "id": 10455, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10448, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24532:2:9", - "nodeType": "VariableDeclaration", - "scope": 10469, - "src": "24527:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10447, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24527:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10450, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24550:2:9", - "nodeType": "VariableDeclaration", - "scope": 10469, - "src": "24536:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10449, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24536:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10452, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24562:2:9", - "nodeType": "VariableDeclaration", - "scope": 10469, - "src": "24554:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10451, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24554:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10454, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24574:2:9", - "nodeType": "VariableDeclaration", - "scope": 10469, - "src": "24566:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10453, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24566:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "24526:51:9" - }, - "returnParameters": { - "id": 10456, - "nodeType": "ParameterList", - "parameters": [], - "src": "24592:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10492, - "nodeType": "FunctionDefinition", - "src": "24707:164:9", - "body": { - "id": 10491, - "nodeType": "Block", - "src": "24770:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e742c75696e7429", - "id": 10483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24820:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_56828da42a6ecdc94480e6d223af96b676cdc4ca9a00b1d88a7646ef1e12541e", - "typeString": "literal_string \"log(uint,bool,uint,uint)\"" - }, - "value": "log(uint,bool,uint,uint)" - }, - { - "id": 10484, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10471, - "src": "24848:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10485, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10473, - "src": "24852:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10486, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10475, - "src": "24856:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10487, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10477, - "src": "24860:2:9", - "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": 10481, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24796:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10482, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24800:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24796:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24796:67:9", - "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": 7582, - "src": "24780:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24780:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10490, - "nodeType": "ExpressionStatement", - "src": "24780:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24716:3:9", - "parameters": { - "id": 10478, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10471, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24725:2:9", - "nodeType": "VariableDeclaration", - "scope": 10492, - "src": "24720:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10470, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24720:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10473, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24734:2:9", - "nodeType": "VariableDeclaration", - "scope": 10492, - "src": "24729:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10472, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24729:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10475, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24743:2:9", - "nodeType": "VariableDeclaration", - "scope": 10492, - "src": "24738:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10474, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24738:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10477, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24752:2:9", - "nodeType": "VariableDeclaration", - "scope": 10492, - "src": "24747:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10476, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24747:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "24719:36:9" - }, - "returnParameters": { - "id": 10479, - "nodeType": "ParameterList", - "parameters": [], - "src": "24770:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10515, - "nodeType": "FunctionDefinition", - "src": "24877:175:9", - "body": { - "id": 10514, - "nodeType": "Block", - "src": "24949:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e742c737472696e6729", - "id": 10506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24999:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e8ddbc56b4712607102717eb35a3ee6aa0309358d07a4257a282d4a44ceb2f63", - "typeString": "literal_string \"log(uint,bool,uint,string)\"" - }, - "value": "log(uint,bool,uint,string)" - }, - { - "id": 10507, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10494, - "src": "25029:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10508, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10496, - "src": "25033:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10509, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10498, - "src": "25037:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10510, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10500, - "src": "25041:2:9", - "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": 10504, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24975:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24979:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24975:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10511, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24975:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10503, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "24959:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24959:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10513, - "nodeType": "ExpressionStatement", - "src": "24959:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24886:3:9", - "parameters": { - "id": 10501, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10494, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24895:2:9", - "nodeType": "VariableDeclaration", - "scope": 10515, - "src": "24890:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10493, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24890:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10496, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24904:2:9", - "nodeType": "VariableDeclaration", - "scope": 10515, - "src": "24899:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10495, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24899:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10498, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24913:2:9", - "nodeType": "VariableDeclaration", - "scope": 10515, - "src": "24908:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10497, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24908:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10500, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24931:2:9", - "nodeType": "VariableDeclaration", - "scope": 10515, - "src": "24917:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10499, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24917:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "24889:45:9" - }, - "returnParameters": { - "id": 10502, - "nodeType": "ParameterList", - "parameters": [], - "src": "24949:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10538, - "nodeType": "FunctionDefinition", - "src": "25058:164:9", - "body": { - "id": 10537, - "nodeType": "Block", - "src": "25121:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e742c626f6f6c29", - "id": 10529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25171:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2abc4fdef6f35f3785755f2ca3a26416b52c0c4c5ad8b27342fc84a56532f2f", - "typeString": "literal_string \"log(uint,bool,uint,bool)\"" - }, - "value": "log(uint,bool,uint,bool)" - }, - { - "id": 10530, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10517, - "src": "25199:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10531, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10519, - "src": "25203:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10532, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10521, - "src": "25207:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10533, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10523, - "src": "25211:2:9", - "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": 10527, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25147:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25151:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25147:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25147:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10526, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "25131:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10535, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25131:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10536, - "nodeType": "ExpressionStatement", - "src": "25131:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25067:3:9", - "parameters": { - "id": 10524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10517, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25076:2:9", - "nodeType": "VariableDeclaration", - "scope": 10538, - "src": "25071:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10516, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25071:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10519, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25085:2:9", - "nodeType": "VariableDeclaration", - "scope": 10538, - "src": "25080:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10518, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25080:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10521, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25094:2:9", - "nodeType": "VariableDeclaration", - "scope": 10538, - "src": "25089:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10520, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25089:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10523, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25103:2:9", - "nodeType": "VariableDeclaration", - "scope": 10538, - "src": "25098:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10522, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25098:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "25070:36:9" - }, - "returnParameters": { - "id": 10525, - "nodeType": "ParameterList", - "parameters": [], - "src": "25121:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10561, - "nodeType": "FunctionDefinition", - "src": "25228:170:9", - "body": { - "id": 10560, - "nodeType": "Block", - "src": "25294:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c75696e742c6164647265737329", - "id": 10552, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25344:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f40058ea8927b23c60661eeb28f54d3ce10f5f6cdd8e3ce445d34409ceb50a3", - "typeString": "literal_string \"log(uint,bool,uint,address)\"" - }, - "value": "log(uint,bool,uint,address)" - }, - { - "id": 10553, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10540, - "src": "25375:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10554, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10542, - "src": "25379:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10555, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10544, - "src": "25383:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10556, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10546, - "src": "25387:2:9", - "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": 10550, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25320:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10551, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25324:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25320:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25320:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10549, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "25304:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10558, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25304:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10559, - "nodeType": "ExpressionStatement", - "src": "25304:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25237:3:9", - "parameters": { - "id": 10547, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10540, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25246:2:9", - "nodeType": "VariableDeclaration", - "scope": 10561, - "src": "25241:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10539, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25241:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10542, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25255:2:9", - "nodeType": "VariableDeclaration", - "scope": 10561, - "src": "25250:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10541, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25250:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10544, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25264:2:9", - "nodeType": "VariableDeclaration", - "scope": 10561, - "src": "25259:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10543, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25259:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10546, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25276:2:9", - "nodeType": "VariableDeclaration", - "scope": 10561, - "src": "25268:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10545, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25268:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "25240:39:9" - }, - "returnParameters": { - "id": 10548, - "nodeType": "ParameterList", - "parameters": [], - "src": "25294:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10584, - "nodeType": "FunctionDefinition", - "src": "25404:175:9", - "body": { - "id": 10583, - "nodeType": "Block", - "src": "25476:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e672c75696e7429", - "id": 10575, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25526:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_915fdb28841654f5e04882ad0aa4f5de28bd90db1a700dae8b1eb5e67e36a012", - "typeString": "literal_string \"log(uint,bool,string,uint)\"" - }, - "value": "log(uint,bool,string,uint)" - }, - { - "id": 10576, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10563, - "src": "25556:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10577, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10565, - "src": "25560:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10578, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10567, - "src": "25564:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10579, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10569, - "src": "25568:2:9", - "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": 10573, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25502:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25506:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25502:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25502:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10572, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "25486:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25486:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10582, - "nodeType": "ExpressionStatement", - "src": "25486:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25413:3:9", - "parameters": { - "id": 10570, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10563, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25422:2:9", - "nodeType": "VariableDeclaration", - "scope": 10584, - "src": "25417:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10562, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25417:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10565, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25431:2:9", - "nodeType": "VariableDeclaration", - "scope": 10584, - "src": "25426:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10564, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25426:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10567, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25449:2:9", - "nodeType": "VariableDeclaration", - "scope": 10584, - "src": "25435:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10566, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25435:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10569, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25458:2:9", - "nodeType": "VariableDeclaration", - "scope": 10584, - "src": "25453:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10568, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25453:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25416:45:9" - }, - "returnParameters": { - "id": 10571, - "nodeType": "ParameterList", - "parameters": [], - "src": "25476:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10607, - "nodeType": "FunctionDefinition", - "src": "25585:186:9", - "body": { - "id": 10606, - "nodeType": "Block", - "src": "25666:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e672c737472696e6729", - "id": 10598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25716:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a433fcfd538cd0e077747fbb2c5a6453c1804c6ad4af653273e0d14ab4a0566a", - "typeString": "literal_string \"log(uint,bool,string,string)\"" - }, - "value": "log(uint,bool,string,string)" - }, - { - "id": 10599, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10586, - "src": "25748:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10600, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10588, - "src": "25752:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10601, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10590, - "src": "25756:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10602, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10592, - "src": "25760:2:9", - "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": 10596, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25692:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10597, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25696:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25692:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25692:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10595, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "25676:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25676:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10605, - "nodeType": "ExpressionStatement", - "src": "25676:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25594:3:9", - "parameters": { - "id": 10593, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10586, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25603:2:9", - "nodeType": "VariableDeclaration", - "scope": 10607, - "src": "25598:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10585, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25598:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10588, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25612:2:9", - "nodeType": "VariableDeclaration", - "scope": 10607, - "src": "25607:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10587, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25607:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10590, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25630:2:9", - "nodeType": "VariableDeclaration", - "scope": 10607, - "src": "25616:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10589, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25616:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10592, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25648:2:9", - "nodeType": "VariableDeclaration", - "scope": 10607, - "src": "25634:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10591, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25634:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "25597:54:9" - }, - "returnParameters": { - "id": 10594, - "nodeType": "ParameterList", - "parameters": [], - "src": "25666:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10630, - "nodeType": "FunctionDefinition", - "src": "25777:175:9", - "body": { - "id": 10629, - "nodeType": "Block", - "src": "25849:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e672c626f6f6c29", - "id": 10621, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25899:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_346eb8c74221bcb2c0a69b8dde628b7e6175c4f090782c8f07996b251212e22d", - "typeString": "literal_string \"log(uint,bool,string,bool)\"" - }, - "value": "log(uint,bool,string,bool)" - }, - { - "id": 10622, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10609, - "src": "25929:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10623, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10611, - "src": "25933:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10624, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10613, - "src": "25937:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10625, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10615, - "src": "25941:2:9", - "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": 10619, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25875:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10620, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25879:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25875:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25875:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10618, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "25859:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25859:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10628, - "nodeType": "ExpressionStatement", - "src": "25859:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25786:3:9", - "parameters": { - "id": 10616, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10609, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25795:2:9", - "nodeType": "VariableDeclaration", - "scope": 10630, - "src": "25790:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10608, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25790:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10611, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25804:2:9", - "nodeType": "VariableDeclaration", - "scope": 10630, - "src": "25799:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10610, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25799:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10613, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25822:2:9", - "nodeType": "VariableDeclaration", - "scope": 10630, - "src": "25808:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10612, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25808:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10615, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25831:2:9", - "nodeType": "VariableDeclaration", - "scope": 10630, - "src": "25826:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10614, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25826:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "25789:45:9" - }, - "returnParameters": { - "id": 10617, - "nodeType": "ParameterList", - "parameters": [], - "src": "25849:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10653, - "nodeType": "FunctionDefinition", - "src": "25958:181:9", - "body": { - "id": 10652, - "nodeType": "Block", - "src": "26033:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c737472696e672c6164647265737329", - "id": 10644, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26083:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_496e2bb45f5cdd3680c3e807c53955b9de163e898851c7844433c0a9c91dcd9d", - "typeString": "literal_string \"log(uint,bool,string,address)\"" - }, - "value": "log(uint,bool,string,address)" - }, - { - "id": 10645, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10632, - "src": "26116:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10646, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10634, - "src": "26120:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10647, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10636, - "src": "26124:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10648, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10638, - "src": "26128:2:9", - "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": 10642, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26059:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26063:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26059:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26059:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10641, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "26043:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26043:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10651, - "nodeType": "ExpressionStatement", - "src": "26043:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25967:3:9", - "parameters": { - "id": 10639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10632, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25976:2:9", - "nodeType": "VariableDeclaration", - "scope": 10653, - "src": "25971:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10631, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "25971:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10634, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25985:2:9", - "nodeType": "VariableDeclaration", - "scope": 10653, - "src": "25980:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10633, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25980:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10636, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26003:2:9", - "nodeType": "VariableDeclaration", - "scope": 10653, - "src": "25989:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10635, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25989:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10638, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26015:2:9", - "nodeType": "VariableDeclaration", - "scope": 10653, - "src": "26007:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10637, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26007:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "25970:48:9" - }, - "returnParameters": { - "id": 10640, - "nodeType": "ParameterList", - "parameters": [], - "src": "26033:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10676, - "nodeType": "FunctionDefinition", - "src": "26145:164:9", - "body": { - "id": 10675, - "nodeType": "Block", - "src": "26208:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c2c75696e7429", - "id": 10667, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26258:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bd25ad5987e2f3e90d5ff2c9e0dad802782e9040e45e823722ccf598278cf7ed", - "typeString": "literal_string \"log(uint,bool,bool,uint)\"" - }, - "value": "log(uint,bool,bool,uint)" - }, - { - "id": 10668, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10655, - "src": "26286:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10669, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10657, - "src": "26290:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10670, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10659, - "src": "26294:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10671, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10661, - "src": "26298:2:9", - "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": 10665, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26234:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10666, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26238:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26234:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10672, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26234:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10664, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "26218:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26218:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10674, - "nodeType": "ExpressionStatement", - "src": "26218:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26154:3:9", - "parameters": { - "id": 10662, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10655, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26163:2:9", - "nodeType": "VariableDeclaration", - "scope": 10676, - "src": "26158:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10654, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26158:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10657, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26172:2:9", - "nodeType": "VariableDeclaration", - "scope": 10676, - "src": "26167:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26167:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10659, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26181:2:9", - "nodeType": "VariableDeclaration", - "scope": 10676, - "src": "26176:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10658, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26176:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10661, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26190:2:9", - "nodeType": "VariableDeclaration", - "scope": 10676, - "src": "26185:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10660, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26185:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "26157:36:9" - }, - "returnParameters": { - "id": 10663, - "nodeType": "ParameterList", - "parameters": [], - "src": "26208:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10699, - "nodeType": "FunctionDefinition", - "src": "26315:175:9", - "body": { - "id": 10698, - "nodeType": "Block", - "src": "26387:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c2c737472696e6729", - "id": 10690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26437:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_318ae59b506d4efe5cd02b34be9f24009f0134ab1136defc4789a09e425a8861", - "typeString": "literal_string \"log(uint,bool,bool,string)\"" - }, - "value": "log(uint,bool,bool,string)" - }, - { - "id": 10691, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10678, - "src": "26467:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10692, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10680, - "src": "26471:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10693, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10682, - "src": "26475:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10694, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10684, - "src": "26479:2:9", - "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": 10688, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26413:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10689, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26417:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26413:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26413:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10687, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "26397:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26397:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10697, - "nodeType": "ExpressionStatement", - "src": "26397:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26324:3:9", - "parameters": { - "id": 10685, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10678, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26333:2:9", - "nodeType": "VariableDeclaration", - "scope": 10699, - "src": "26328:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10677, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26328:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10680, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26342:2:9", - "nodeType": "VariableDeclaration", - "scope": 10699, - "src": "26337:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10679, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26337:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10682, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26351:2:9", - "nodeType": "VariableDeclaration", - "scope": 10699, - "src": "26346:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10681, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26346:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10684, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26369:2:9", - "nodeType": "VariableDeclaration", - "scope": 10699, - "src": "26355:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10683, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26355:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "26327:45:9" - }, - "returnParameters": { - "id": 10686, - "nodeType": "ParameterList", - "parameters": [], - "src": "26387:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10722, - "nodeType": "FunctionDefinition", - "src": "26496:164:9", - "body": { - "id": 10721, - "nodeType": "Block", - "src": "26559:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 10713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26609:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4e6c5315e6998332ba87ae2545bc72447c94349a51e999446a98bfab04167b32", - "typeString": "literal_string \"log(uint,bool,bool,bool)\"" - }, - "value": "log(uint,bool,bool,bool)" - }, - { - "id": 10714, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10701, - "src": "26637:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10715, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10703, - "src": "26641:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10716, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10705, - "src": "26645:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10717, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10707, - "src": "26649:2:9", - "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": 10711, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26585:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10712, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26589:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26585:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26585:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10710, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "26569:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26569:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10720, - "nodeType": "ExpressionStatement", - "src": "26569:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26505:3:9", - "parameters": { - "id": 10708, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10701, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26514:2:9", - "nodeType": "VariableDeclaration", - "scope": 10722, - "src": "26509:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10700, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26509:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10703, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26523:2:9", - "nodeType": "VariableDeclaration", - "scope": 10722, - "src": "26518:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10702, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26518:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10705, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26532:2:9", - "nodeType": "VariableDeclaration", - "scope": 10722, - "src": "26527:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10704, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26527:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10707, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26541:2:9", - "nodeType": "VariableDeclaration", - "scope": 10722, - "src": "26536:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10706, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26536:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "26508:36:9" - }, - "returnParameters": { - "id": 10709, - "nodeType": "ParameterList", - "parameters": [], - "src": "26559:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10745, - "nodeType": "FunctionDefinition", - "src": "26666:170:9", - "body": { - "id": 10744, - "nodeType": "Block", - "src": "26732:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c626f6f6c2c6164647265737329", - "id": 10736, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26782:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5306225d3f6a0c340e12a634d8571b24a659d0fdcb96dd45e3bd062feb68355b", - "typeString": "literal_string \"log(uint,bool,bool,address)\"" - }, - "value": "log(uint,bool,bool,address)" - }, - { - "id": 10737, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10724, - "src": "26813:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10738, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10726, - "src": "26817:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10739, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10728, - "src": "26821:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10740, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10730, - "src": "26825:2:9", - "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": 10734, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26758:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10735, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26762:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26758:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26758:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10733, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "26742:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26742:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10743, - "nodeType": "ExpressionStatement", - "src": "26742:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26675:3:9", - "parameters": { - "id": 10731, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10724, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26684:2:9", - "nodeType": "VariableDeclaration", - "scope": 10745, - "src": "26679:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10723, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26679:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10726, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26693:2:9", - "nodeType": "VariableDeclaration", - "scope": 10745, - "src": "26688:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10725, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26688:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10728, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26702:2:9", - "nodeType": "VariableDeclaration", - "scope": 10745, - "src": "26697:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10727, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26697:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10730, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26714:2:9", - "nodeType": "VariableDeclaration", - "scope": 10745, - "src": "26706:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10729, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26706:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "26678:39:9" - }, - "returnParameters": { - "id": 10732, - "nodeType": "ParameterList", - "parameters": [], - "src": "26732:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10768, - "nodeType": "FunctionDefinition", - "src": "26842:170:9", - "body": { - "id": 10767, - "nodeType": "Block", - "src": "26908:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c616464726573732c75696e7429", - "id": 10759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26958:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41b5ef3bc57cb6072d9bbab757f04e68fb78a6a8b29741a7b963761abce32fb1", - "typeString": "literal_string \"log(uint,bool,address,uint)\"" - }, - "value": "log(uint,bool,address,uint)" - }, - { - "id": 10760, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10747, - "src": "26989:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10761, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10749, - "src": "26993:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10762, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10751, - "src": "26997:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10763, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10753, - "src": "27001:2:9", - "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": 10757, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26934:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10758, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26938:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26934:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26934:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10756, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "26918:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26918:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10766, - "nodeType": "ExpressionStatement", - "src": "26918:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26851:3:9", - "parameters": { - "id": 10754, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10747, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26860:2:9", - "nodeType": "VariableDeclaration", - "scope": 10768, - "src": "26855:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10746, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26855:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10749, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26869:2:9", - "nodeType": "VariableDeclaration", - "scope": 10768, - "src": "26864:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10748, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26864:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10751, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26881:2:9", - "nodeType": "VariableDeclaration", - "scope": 10768, - "src": "26873:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10750, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26873:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10753, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26890:2:9", - "nodeType": "VariableDeclaration", - "scope": 10768, - "src": "26885:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10752, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "26885:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "26854:39:9" - }, - "returnParameters": { - "id": 10755, - "nodeType": "ParameterList", - "parameters": [], - "src": "26908:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10791, - "nodeType": "FunctionDefinition", - "src": "27018:181:9", - "body": { - "id": 10790, - "nodeType": "Block", - "src": "27093:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c616464726573732c737472696e6729", - "id": 10782, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27143:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a230761e3811ae33e11d91e6667cf79e7e0ce8023ec276bdd69859f68587933c", - "typeString": "literal_string \"log(uint,bool,address,string)\"" - }, - "value": "log(uint,bool,address,string)" - }, - { - "id": 10783, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10770, - "src": "27176:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10784, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10772, - "src": "27180:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10785, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10774, - "src": "27184:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10786, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10776, - "src": "27188:2:9", - "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": 10780, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27119:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10781, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27123:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27119:23:9", - "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": "27119:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10779, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "27103:15:9", - "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": "27103:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10789, - "nodeType": "ExpressionStatement", - "src": "27103:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27027:3:9", - "parameters": { - "id": 10777, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10770, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27036:2:9", - "nodeType": "VariableDeclaration", - "scope": 10791, - "src": "27031:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10769, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27031:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10772, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27045:2:9", - "nodeType": "VariableDeclaration", - "scope": 10791, - "src": "27040:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10771, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27040:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10774, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27057:2:9", - "nodeType": "VariableDeclaration", - "scope": 10791, - "src": "27049:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10773, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27049:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10776, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27075:2:9", - "nodeType": "VariableDeclaration", - "scope": 10791, - "src": "27061:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10775, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27061:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "27030:48:9" - }, - "returnParameters": { - "id": 10778, - "nodeType": "ParameterList", - "parameters": [], - "src": "27093:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10814, - "nodeType": "FunctionDefinition", - "src": "27205:170:9", - "body": { - "id": 10813, - "nodeType": "Block", - "src": "27271:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c616464726573732c626f6f6c29", - "id": 10805, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27321:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91fb124272873b32f25c28f6935451e3d46ffd78ac8ebaaa0e096a7942db5445", - "typeString": "literal_string \"log(uint,bool,address,bool)\"" - }, - "value": "log(uint,bool,address,bool)" - }, - { - "id": 10806, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10793, - "src": "27352:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10807, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10795, - "src": "27356:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10808, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10797, - "src": "27360:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10809, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10799, - "src": "27364:2:9", - "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": 10803, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27297:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10804, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27301:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27297:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27297:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10802, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "27281:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27281:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10812, - "nodeType": "ExpressionStatement", - "src": "27281:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27214:3:9", - "parameters": { - "id": 10800, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10793, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27223:2:9", - "nodeType": "VariableDeclaration", - "scope": 10814, - "src": "27218:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10792, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27218:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10795, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27232:2:9", - "nodeType": "VariableDeclaration", - "scope": 10814, - "src": "27227:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10794, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27227:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10797, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27244:2:9", - "nodeType": "VariableDeclaration", - "scope": 10814, - "src": "27236:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10796, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27236:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10799, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27253:2:9", - "nodeType": "VariableDeclaration", - "scope": 10814, - "src": "27248:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10798, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27248:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27217:39:9" - }, - "returnParameters": { - "id": 10801, - "nodeType": "ParameterList", - "parameters": [], - "src": "27271:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10837, - "nodeType": "FunctionDefinition", - "src": "27381:176:9", - "body": { - "id": 10836, - "nodeType": "Block", - "src": "27450:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c626f6f6c2c616464726573732c6164647265737329", - "id": 10828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27500:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86edc10cd85187c3b3f180e68e570c794e768808cdffe5158045d6f841ae33f2", - "typeString": "literal_string \"log(uint,bool,address,address)\"" - }, - "value": "log(uint,bool,address,address)" - }, - { - "id": 10829, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10816, - "src": "27534:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10830, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10818, - "src": "27538:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 10831, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10820, - "src": "27542:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10832, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10822, - "src": "27546:2:9", - "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": 10826, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27476:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10827, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27480:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27476:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27476:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10825, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "27460:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27460:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10835, - "nodeType": "ExpressionStatement", - "src": "27460:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27390:3:9", - "parameters": { - "id": 10823, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10816, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27399:2:9", - "nodeType": "VariableDeclaration", - "scope": 10837, - "src": "27394:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10815, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27394:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10818, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27408:2:9", - "nodeType": "VariableDeclaration", - "scope": 10837, - "src": "27403:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10817, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27403:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10820, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27420:2:9", - "nodeType": "VariableDeclaration", - "scope": 10837, - "src": "27412:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10819, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27412:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10822, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27432:2:9", - "nodeType": "VariableDeclaration", - "scope": 10837, - "src": "27424:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10821, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27424:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "27393:42:9" - }, - "returnParameters": { - "id": 10824, - "nodeType": "ParameterList", - "parameters": [], - "src": "27450:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10860, - "nodeType": "FunctionDefinition", - "src": "27563:170:9", - "body": { - "id": 10859, - "nodeType": "Block", - "src": "27629:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e742c75696e7429", - "id": 10851, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27679:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca9a3eb4a61979ee5cc1814fa8df2504ab7831148afaa3d4c17622578eab7412", - "typeString": "literal_string \"log(uint,address,uint,uint)\"" - }, - "value": "log(uint,address,uint,uint)" - }, - { - "id": 10852, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10839, - "src": "27710:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10853, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10841, - "src": "27714:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10854, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10843, - "src": "27718:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10855, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10845, - "src": "27722:2:9", - "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": 10849, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27655:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10850, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27659:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27655:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27655:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10848, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "27639:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27639:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10858, - "nodeType": "ExpressionStatement", - "src": "27639:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27572:3:9", - "parameters": { - "id": 10846, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10839, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27581:2:9", - "nodeType": "VariableDeclaration", - "scope": 10860, - "src": "27576:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10838, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27576:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10841, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27593:2:9", - "nodeType": "VariableDeclaration", - "scope": 10860, - "src": "27585:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10840, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27585:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10843, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27602:2:9", - "nodeType": "VariableDeclaration", - "scope": 10860, - "src": "27597:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10842, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27597:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10845, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27611:2:9", - "nodeType": "VariableDeclaration", - "scope": 10860, - "src": "27606:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10844, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27606:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27575:39:9" - }, - "returnParameters": { - "id": 10847, - "nodeType": "ParameterList", - "parameters": [], - "src": "27629:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10883, - "nodeType": "FunctionDefinition", - "src": "27739:181:9", - "body": { - "id": 10882, - "nodeType": "Block", - "src": "27814:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e742c737472696e6729", - "id": 10874, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27864:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3ed3bd282d1a27244fa4d3668aff783448c1a1864ff920057fa9f1c8144bb10b", - "typeString": "literal_string \"log(uint,address,uint,string)\"" - }, - "value": "log(uint,address,uint,string)" - }, - { - "id": 10875, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10862, - "src": "27897:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10876, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10864, - "src": "27901:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10877, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10866, - "src": "27905:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10878, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10868, - "src": "27909:2:9", - "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": 10872, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27840:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10873, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27844:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27840:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27840:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10871, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "27824:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27824:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10881, - "nodeType": "ExpressionStatement", - "src": "27824:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27748:3:9", - "parameters": { - "id": 10869, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10862, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27757:2:9", - "nodeType": "VariableDeclaration", - "scope": 10883, - "src": "27752:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10861, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27752:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10864, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27769:2:9", - "nodeType": "VariableDeclaration", - "scope": 10883, - "src": "27761:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10863, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27761:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10866, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27778:2:9", - "nodeType": "VariableDeclaration", - "scope": 10883, - "src": "27773:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10865, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27773:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10868, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27796:2:9", - "nodeType": "VariableDeclaration", - "scope": 10883, - "src": "27782:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10867, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27782:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "27751:48:9" - }, - "returnParameters": { - "id": 10870, - "nodeType": "ParameterList", - "parameters": [], - "src": "27814:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10906, - "nodeType": "FunctionDefinition", - "src": "27926:170:9", - "body": { - "id": 10905, - "nodeType": "Block", - "src": "27992:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e742c626f6f6c29", - "id": 10897, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28042:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_19f67369d42bc0582d07ae744348ad46b79a6c16f354e3d3fb3c6bff2ecfa9f8", - "typeString": "literal_string \"log(uint,address,uint,bool)\"" - }, - "value": "log(uint,address,uint,bool)" - }, - { - "id": 10898, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10885, - "src": "28073:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10899, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10887, - "src": "28077:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10900, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10889, - "src": "28081:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10901, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10891, - "src": "28085:2:9", - "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": 10895, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28018:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10896, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28022:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28018:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28018:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10894, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "28002:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28002:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10904, - "nodeType": "ExpressionStatement", - "src": "28002:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27935:3:9", - "parameters": { - "id": 10892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10885, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27944:2:9", - "nodeType": "VariableDeclaration", - "scope": 10906, - "src": "27939:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10884, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27939:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10887, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27956:2:9", - "nodeType": "VariableDeclaration", - "scope": 10906, - "src": "27948:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10886, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27948:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10889, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27965:2:9", - "nodeType": "VariableDeclaration", - "scope": 10906, - "src": "27960:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10888, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "27960:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10891, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27974:2:9", - "nodeType": "VariableDeclaration", - "scope": 10906, - "src": "27969:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10890, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27969:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27938:39:9" - }, - "returnParameters": { - "id": 10893, - "nodeType": "ParameterList", - "parameters": [], - "src": "27992:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10929, - "nodeType": "FunctionDefinition", - "src": "28102:176:9", - "body": { - "id": 10928, - "nodeType": "Block", - "src": "28171:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c75696e742c6164647265737329", - "id": 10920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28221:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fdb2ecd415c75df8f66285a054607fa1335126fb1d8930dfc21744a3de7298e3", - "typeString": "literal_string \"log(uint,address,uint,address)\"" - }, - "value": "log(uint,address,uint,address)" - }, - { - "id": 10921, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10908, - "src": "28255:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10922, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10910, - "src": "28259:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10923, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10912, - "src": "28263:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10924, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10914, - "src": "28267:2:9", - "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": 10918, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28197:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28201:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28197:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28197:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10917, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "28181:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28181:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10927, - "nodeType": "ExpressionStatement", - "src": "28181:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28111:3:9", - "parameters": { - "id": 10915, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10908, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28120:2:9", - "nodeType": "VariableDeclaration", - "scope": 10929, - "src": "28115:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10907, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28115:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10910, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28132:2:9", - "nodeType": "VariableDeclaration", - "scope": 10929, - "src": "28124:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28124:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10912, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28141:2:9", - "nodeType": "VariableDeclaration", - "scope": 10929, - "src": "28136:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10911, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28136:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10914, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28153:2:9", - "nodeType": "VariableDeclaration", - "scope": 10929, - "src": "28145:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10913, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28145:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "28114:42:9" - }, - "returnParameters": { - "id": 10916, - "nodeType": "ParameterList", - "parameters": [], - "src": "28171:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10952, - "nodeType": "FunctionDefinition", - "src": "28284:181:9", - "body": { - "id": 10951, - "nodeType": "Block", - "src": "28359:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e672c75696e7429", - "id": 10943, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28409:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0c414e8ba2ea65b865dd0bf68b2357e81261b47f237c68a4a8a63051bbef2eb", - "typeString": "literal_string \"log(uint,address,string,uint)\"" - }, - "value": "log(uint,address,string,uint)" - }, - { - "id": 10944, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10931, - "src": "28442:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10945, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10933, - "src": "28446:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10946, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10935, - "src": "28450:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10947, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10937, - "src": "28454:2:9", - "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": 10941, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28385:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28389:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28385:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28385:72:9", - "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": 7582, - "src": "28369:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28369:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10950, - "nodeType": "ExpressionStatement", - "src": "28369:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28293:3:9", - "parameters": { - "id": 10938, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10931, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28302:2:9", - "nodeType": "VariableDeclaration", - "scope": 10952, - "src": "28297:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10930, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28297:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10933, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28314:2:9", - "nodeType": "VariableDeclaration", - "scope": 10952, - "src": "28306:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28306:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10935, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28332:2:9", - "nodeType": "VariableDeclaration", - "scope": 10952, - "src": "28318:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10934, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28318:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10937, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28341:2:9", - "nodeType": "VariableDeclaration", - "scope": 10952, - "src": "28336:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10936, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28336:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28296:48:9" - }, - "returnParameters": { - "id": 10939, - "nodeType": "ParameterList", - "parameters": [], - "src": "28359:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10975, - "nodeType": "FunctionDefinition", - "src": "28471:192:9", - "body": { - "id": 10974, - "nodeType": "Block", - "src": "28555:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e672c737472696e6729", - "id": 10966, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28605:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d778624e1d83269ce0415864bb54677b540f778c6b8503cf9035bc7517326f1", - "typeString": "literal_string \"log(uint,address,string,string)\"" - }, - "value": "log(uint,address,string,string)" - }, - { - "id": 10967, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10954, - "src": "28640:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10968, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10956, - "src": "28644:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10969, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10958, - "src": "28648:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10970, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10960, - "src": "28652:2:9", - "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": 10964, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28581:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28585:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28581:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10971, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28581:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10963, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "28565:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28565:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10973, - "nodeType": "ExpressionStatement", - "src": "28565:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28480:3:9", - "parameters": { - "id": 10961, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10954, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28489:2:9", - "nodeType": "VariableDeclaration", - "scope": 10975, - "src": "28484:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10953, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28484:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10956, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28501:2:9", - "nodeType": "VariableDeclaration", - "scope": 10975, - "src": "28493:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10955, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28493:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10958, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28519:2:9", - "nodeType": "VariableDeclaration", - "scope": 10975, - "src": "28505:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10957, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28505:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10960, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28537:2:9", - "nodeType": "VariableDeclaration", - "scope": 10975, - "src": "28523:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10959, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28523:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28483:57:9" - }, - "returnParameters": { - "id": 10962, - "nodeType": "ParameterList", - "parameters": [], - "src": "28555:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 10998, - "nodeType": "FunctionDefinition", - "src": "28669:181:9", - "body": { - "id": 10997, - "nodeType": "Block", - "src": "28744:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e672c626f6f6c29", - "id": 10989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28794:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_22a479a660b74b7598155f369ed227a5a93527fbdb04ff6f78fbf35fa23aacbf", - "typeString": "literal_string \"log(uint,address,string,bool)\"" - }, - "value": "log(uint,address,string,bool)" - }, - { - "id": 10990, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10977, - "src": "28827:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 10991, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10979, - "src": "28831:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 10992, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10981, - "src": "28835:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 10993, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 10983, - "src": "28839:2:9", - "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": 10987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28770:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 10988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28774:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28770:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 10994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28770:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 10986, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "28754:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 10995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28754:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 10996, - "nodeType": "ExpressionStatement", - "src": "28754:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28678:3:9", - "parameters": { - "id": 10984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 10977, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28687:2:9", - "nodeType": "VariableDeclaration", - "scope": 10998, - "src": "28682:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10976, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28682:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10979, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28699:2:9", - "nodeType": "VariableDeclaration", - "scope": 10998, - "src": "28691:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 10978, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28691:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10981, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28717:2:9", - "nodeType": "VariableDeclaration", - "scope": 10998, - "src": "28703:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 10980, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28703:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 10983, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28726:2:9", - "nodeType": "VariableDeclaration", - "scope": 10998, - "src": "28721:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 10982, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28721:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "28681:48:9" - }, - "returnParameters": { - "id": 10985, - "nodeType": "ParameterList", - "parameters": [], - "src": "28744:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11021, - "nodeType": "FunctionDefinition", - "src": "28856:187:9", - "body": { - "id": 11020, - "nodeType": "Block", - "src": "28934:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c737472696e672c6164647265737329", - "id": 11012, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28984:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cbe58efddc067d74914c3479914810966ae688ac66ca2bbcae69cd9d0395796f", - "typeString": "literal_string \"log(uint,address,string,address)\"" - }, - "value": "log(uint,address,string,address)" - }, - { - "id": 11013, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11000, - "src": "29020:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11014, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11002, - "src": "29024:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11015, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11004, - "src": "29028:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11016, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11006, - "src": "29032:2:9", - "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": 11010, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28960:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11011, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28964:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28960:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28960:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11009, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "28944:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28944:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11019, - "nodeType": "ExpressionStatement", - "src": "28944:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28865:3:9", - "parameters": { - "id": 11007, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11000, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28874:2:9", - "nodeType": "VariableDeclaration", - "scope": 11021, - "src": "28869:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10999, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "28869:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11002, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28886:2:9", - "nodeType": "VariableDeclaration", - "scope": 11021, - "src": "28878:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11001, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28878:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11004, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28904:2:9", - "nodeType": "VariableDeclaration", - "scope": 11021, - "src": "28890:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11003, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28890:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11006, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28916:2:9", - "nodeType": "VariableDeclaration", - "scope": 11021, - "src": "28908:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11005, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28908:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "28868:51:9" - }, - "returnParameters": { - "id": 11008, - "nodeType": "ParameterList", - "parameters": [], - "src": "28934:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11044, - "nodeType": "FunctionDefinition", - "src": "29049:170:9", - "body": { - "id": 11043, - "nodeType": "Block", - "src": "29115:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c2c75696e7429", - "id": 11035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29165:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7b08e8ebd6be8a04c54551194ba5143f1a555d43fe60d53843383a9915eeccb2", - "typeString": "literal_string \"log(uint,address,bool,uint)\"" - }, - "value": "log(uint,address,bool,uint)" - }, - { - "id": 11036, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11023, - "src": "29196:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11037, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11025, - "src": "29200:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11038, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11027, - "src": "29204:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11039, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11029, - "src": "29208:2:9", - "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": 11033, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29141:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11034, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29145:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29141:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29141:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11032, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "29125:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29125:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11042, - "nodeType": "ExpressionStatement", - "src": "29125:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29058:3:9", - "parameters": { - "id": 11030, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11023, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29067:2:9", - "nodeType": "VariableDeclaration", - "scope": 11044, - "src": "29062:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11022, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29062:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11025, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29079:2:9", - "nodeType": "VariableDeclaration", - "scope": 11044, - "src": "29071:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11024, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29071:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11027, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29088:2:9", - "nodeType": "VariableDeclaration", - "scope": 11044, - "src": "29083:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11026, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29083:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11029, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29097:2:9", - "nodeType": "VariableDeclaration", - "scope": 11044, - "src": "29092:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11028, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29092:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "29061:39:9" - }, - "returnParameters": { - "id": 11031, - "nodeType": "ParameterList", - "parameters": [], - "src": "29115:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11067, - "nodeType": "FunctionDefinition", - "src": "29225:181:9", - "body": { - "id": 11066, - "nodeType": "Block", - "src": "29300:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c2c737472696e6729", - "id": 11058, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29350:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_63f0e24221aeb6c531ea500a191ac35497bf48695fb29864fe57726a12d605c6", - "typeString": "literal_string \"log(uint,address,bool,string)\"" - }, - "value": "log(uint,address,bool,string)" - }, - { - "id": 11059, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11046, - "src": "29383:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11060, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11048, - "src": "29387:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11061, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11050, - "src": "29391:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11062, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11052, - "src": "29395:2:9", - "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": 11056, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29326:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29330:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29326:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29326:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11055, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "29310:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29310:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11065, - "nodeType": "ExpressionStatement", - "src": "29310:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29234:3:9", - "parameters": { - "id": 11053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11046, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29243:2:9", - "nodeType": "VariableDeclaration", - "scope": 11067, - "src": "29238:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11045, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29238:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11048, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29255:2:9", - "nodeType": "VariableDeclaration", - "scope": 11067, - "src": "29247:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29247:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11050, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29264:2:9", - "nodeType": "VariableDeclaration", - "scope": 11067, - "src": "29259:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11049, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29259:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11052, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29282:2:9", - "nodeType": "VariableDeclaration", - "scope": 11067, - "src": "29268:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11051, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29268:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29237:48:9" - }, - "returnParameters": { - "id": 11054, - "nodeType": "ParameterList", - "parameters": [], - "src": "29300:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11090, - "nodeType": "FunctionDefinition", - "src": "29412:170:9", - "body": { - "id": 11089, - "nodeType": "Block", - "src": "29478:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c2c626f6f6c29", - "id": 11081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29528:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7e27410dc86ab22a92f2a269c9cf538b707bde3ac248f933df1f4d0b76947d32", - "typeString": "literal_string \"log(uint,address,bool,bool)\"" - }, - "value": "log(uint,address,bool,bool)" - }, - { - "id": 11082, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11069, - "src": "29559:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11083, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11071, - "src": "29563:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11084, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11073, - "src": "29567:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11085, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11075, - "src": "29571:2:9", - "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": 11079, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29504:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29508:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29504:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11086, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29504:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11078, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "29488:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11087, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29488:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11088, - "nodeType": "ExpressionStatement", - "src": "29488:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29421:3:9", - "parameters": { - "id": 11076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11069, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29430:2:9", - "nodeType": "VariableDeclaration", - "scope": 11090, - "src": "29425:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11068, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29425:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11071, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29442:2:9", - "nodeType": "VariableDeclaration", - "scope": 11090, - "src": "29434:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11070, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29434:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11073, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29451:2:9", - "nodeType": "VariableDeclaration", - "scope": 11090, - "src": "29446:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11072, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29446:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11075, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29460:2:9", - "nodeType": "VariableDeclaration", - "scope": 11090, - "src": "29455:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11074, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29455:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "29424:39:9" - }, - "returnParameters": { - "id": 11077, - "nodeType": "ParameterList", - "parameters": [], - "src": "29478:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11113, - "nodeType": "FunctionDefinition", - "src": "29588:176:9", - "body": { - "id": 11112, - "nodeType": "Block", - "src": "29657:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c626f6f6c2c6164647265737329", - "id": 11104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29707:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6313094a820841f3156e32d271c63cceded7f62875d471e1e87ef33ec252789", - "typeString": "literal_string \"log(uint,address,bool,address)\"" - }, - "value": "log(uint,address,bool,address)" - }, - { - "id": 11105, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11092, - "src": "29741:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11106, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11094, - "src": "29745:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11107, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11096, - "src": "29749:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11108, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11098, - "src": "29753:2:9", - "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": 11102, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29683:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11103, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29687:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29683:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11109, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29683:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11101, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "29667:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29667:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11111, - "nodeType": "ExpressionStatement", - "src": "29667:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29597:3:9", - "parameters": { - "id": 11099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11092, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29606:2:9", - "nodeType": "VariableDeclaration", - "scope": 11113, - "src": "29601:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11091, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29601:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11094, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29618:2:9", - "nodeType": "VariableDeclaration", - "scope": 11113, - "src": "29610:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11093, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29610:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11096, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29627:2:9", - "nodeType": "VariableDeclaration", - "scope": 11113, - "src": "29622:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11095, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29622:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11098, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29639:2:9", - "nodeType": "VariableDeclaration", - "scope": 11113, - "src": "29631:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11097, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29631:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "29600:42:9" - }, - "returnParameters": { - "id": 11100, - "nodeType": "ParameterList", - "parameters": [], - "src": "29657:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11136, - "nodeType": "FunctionDefinition", - "src": "29770:176:9", - "body": { - "id": 11135, - "nodeType": "Block", - "src": "29839:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c616464726573732c75696e7429", - "id": 11127, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29889:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9a3cbf9603c94c357c6f62b7a32789d9ca5caa81518d1277c9ca986a5650734b", - "typeString": "literal_string \"log(uint,address,address,uint)\"" - }, - "value": "log(uint,address,address,uint)" - }, - { - "id": 11128, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11115, - "src": "29923:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11129, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11117, - "src": "29927:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11130, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11119, - "src": "29931:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11131, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11121, - "src": "29935:2:9", - "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": 11125, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29865:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29869:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29865:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29865:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11124, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "29849:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29849:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11134, - "nodeType": "ExpressionStatement", - "src": "29849:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29779:3:9", - "parameters": { - "id": 11122, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11115, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29788:2:9", - "nodeType": "VariableDeclaration", - "scope": 11136, - "src": "29783:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11114, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29783:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11117, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29800:2:9", - "nodeType": "VariableDeclaration", - "scope": 11136, - "src": "29792:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11116, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29792:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11119, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29812:2:9", - "nodeType": "VariableDeclaration", - "scope": 11136, - "src": "29804:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11118, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29804:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11121, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29821:2:9", - "nodeType": "VariableDeclaration", - "scope": 11136, - "src": "29816:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11120, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29816:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "29782:42:9" - }, - "returnParameters": { - "id": 11123, - "nodeType": "ParameterList", - "parameters": [], - "src": "29839:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11159, - "nodeType": "FunctionDefinition", - "src": "29952:187:9", - "body": { - "id": 11158, - "nodeType": "Block", - "src": "30030:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c616464726573732c737472696e6729", - "id": 11150, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30080:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7943dc6627d308affd474fe50b563bcfbf09518236383b806f11730459213622", - "typeString": "literal_string \"log(uint,address,address,string)\"" - }, - "value": "log(uint,address,address,string)" - }, - { - "id": 11151, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11138, - "src": "30116:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11152, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11140, - "src": "30120:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11153, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11142, - "src": "30124:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11154, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11144, - "src": "30128:2:9", - "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": 11148, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30056:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30060:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30056:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11155, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30056:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11147, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "30040:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30040:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11157, - "nodeType": "ExpressionStatement", - "src": "30040:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29961:3:9", - "parameters": { - "id": 11145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11138, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29970:2:9", - "nodeType": "VariableDeclaration", - "scope": 11159, - "src": "29965:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11137, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "29965:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11140, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29982:2:9", - "nodeType": "VariableDeclaration", - "scope": 11159, - "src": "29974:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29974:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11142, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29994:2:9", - "nodeType": "VariableDeclaration", - "scope": 11159, - "src": "29986:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11141, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29986:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11144, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30012:2:9", - "nodeType": "VariableDeclaration", - "scope": 11159, - "src": "29998:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11143, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29998:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29964:51:9" - }, - "returnParameters": { - "id": 11146, - "nodeType": "ParameterList", - "parameters": [], - "src": "30030:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11182, - "nodeType": "FunctionDefinition", - "src": "30145:176:9", - "body": { - "id": 11181, - "nodeType": "Block", - "src": "30214:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c616464726573732c626f6f6c29", - "id": 11173, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30264:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_01550b04ea9916da7bc495d1b5ca5c4bd8d92ef3a98e2cca5a948cec5011f38c", - "typeString": "literal_string \"log(uint,address,address,bool)\"" - }, - "value": "log(uint,address,address,bool)" - }, - { - "id": 11174, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11161, - "src": "30298:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11175, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11163, - "src": "30302:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11176, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11165, - "src": "30306:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11177, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11167, - "src": "30310:2:9", - "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": 11171, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30240:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11172, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30244:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30240:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11178, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30240:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11170, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "30224:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30224:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11180, - "nodeType": "ExpressionStatement", - "src": "30224:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30154:3:9", - "parameters": { - "id": 11168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11161, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30163:2:9", - "nodeType": "VariableDeclaration", - "scope": 11182, - "src": "30158:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11160, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30158:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11163, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30175:2:9", - "nodeType": "VariableDeclaration", - "scope": 11182, - "src": "30167:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30167:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11165, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30187:2:9", - "nodeType": "VariableDeclaration", - "scope": 11182, - "src": "30179:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11164, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30179:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11167, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30196:2:9", - "nodeType": "VariableDeclaration", - "scope": 11182, - "src": "30191:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11166, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30191:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30157:42:9" - }, - "returnParameters": { - "id": 11169, - "nodeType": "ParameterList", - "parameters": [], - "src": "30214:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11205, - "nodeType": "FunctionDefinition", - "src": "30327:182:9", - "body": { - "id": 11204, - "nodeType": "Block", - "src": "30399:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e742c616464726573732c616464726573732c6164647265737329", - "id": 11196, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30449:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_554745f9e6550eea6000ea2febc94de95d453100d5d60359e62cd398b366bfc4", - "typeString": "literal_string \"log(uint,address,address,address)\"" - }, - "value": "log(uint,address,address,address)" - }, - { - "id": 11197, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11184, - "src": "30486:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11198, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11186, - "src": "30490:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11199, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11188, - "src": "30494:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11200, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11190, - "src": "30498:2:9", - "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": 11194, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30425:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11195, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30429:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30425:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11201, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30425:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11193, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "30409:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30409:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11203, - "nodeType": "ExpressionStatement", - "src": "30409:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30336:3:9", - "parameters": { - "id": 11191, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11184, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30345:2:9", - "nodeType": "VariableDeclaration", - "scope": 11205, - "src": "30340:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11183, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30340:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11186, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30357:2:9", - "nodeType": "VariableDeclaration", - "scope": 11205, - "src": "30349:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11185, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30349:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11188, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30369:2:9", - "nodeType": "VariableDeclaration", - "scope": 11205, - "src": "30361:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11187, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30361:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11190, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30381:2:9", - "nodeType": "VariableDeclaration", - "scope": 11205, - "src": "30373:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11189, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30373:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "30339:45:9" - }, - "returnParameters": { - "id": 11192, - "nodeType": "ParameterList", - "parameters": [], - "src": "30399:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11228, - "nodeType": "FunctionDefinition", - "src": "30515:175:9", - "body": { - "id": 11227, - "nodeType": "Block", - "src": "30587:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e742c75696e7429", - "id": 11219, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30637:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee5666d6bd329d27af528e563bb238dedf631fe471effe31c7123dcb5164f2", - "typeString": "literal_string \"log(string,uint,uint,uint)\"" - }, - "value": "log(string,uint,uint,uint)" - }, - { - "id": 11220, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11207, - "src": "30667:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11221, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11209, - "src": "30671:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11222, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11211, - "src": "30675:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11223, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11213, - "src": "30679:2:9", - "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": 11217, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30613:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11218, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30617:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30613:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30613:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11216, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "30597:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30597:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11226, - "nodeType": "ExpressionStatement", - "src": "30597:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30524:3:9", - "parameters": { - "id": 11214, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11207, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30542:2:9", - "nodeType": "VariableDeclaration", - "scope": 11228, - "src": "30528:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11206, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30528:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11209, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30551:2:9", - "nodeType": "VariableDeclaration", - "scope": 11228, - "src": "30546:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11208, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30546:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11211, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30560:2:9", - "nodeType": "VariableDeclaration", - "scope": 11228, - "src": "30555:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11210, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30555:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11213, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30569:2:9", - "nodeType": "VariableDeclaration", - "scope": 11228, - "src": "30564:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11212, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30564:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "30527:45:9" - }, - "returnParameters": { - "id": 11215, - "nodeType": "ParameterList", - "parameters": [], - "src": "30587:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11251, - "nodeType": "FunctionDefinition", - "src": "30696:186:9", - "body": { - "id": 11250, - "nodeType": "Block", - "src": "30777:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e742c737472696e6729", - "id": 11242, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30827:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a54ed4bdd39588715cd10f1b9730ac9f0db064013c8dc11e216fa2ef3a5948b8", - "typeString": "literal_string \"log(string,uint,uint,string)\"" - }, - "value": "log(string,uint,uint,string)" - }, - { - "id": 11243, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11230, - "src": "30859:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11244, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11232, - "src": "30863:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11245, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11234, - "src": "30867:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11246, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11236, - "src": "30871:2:9", - "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": 11240, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30803:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30807:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30803:23:9", - "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": "30803:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11239, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "30787:15:9", - "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": "30787:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11249, - "nodeType": "ExpressionStatement", - "src": "30787:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30705:3:9", - "parameters": { - "id": 11237, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11230, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30723:2:9", - "nodeType": "VariableDeclaration", - "scope": 11251, - "src": "30709:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11229, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30709:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11232, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30732:2:9", - "nodeType": "VariableDeclaration", - "scope": 11251, - "src": "30727:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11231, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30727:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11234, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30741:2:9", - "nodeType": "VariableDeclaration", - "scope": 11251, - "src": "30736:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11233, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30736:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11236, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30759:2:9", - "nodeType": "VariableDeclaration", - "scope": 11251, - "src": "30745:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11235, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30745:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "30708:54:9" - }, - "returnParameters": { - "id": 11238, - "nodeType": "ParameterList", - "parameters": [], - "src": "30777:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11274, - "nodeType": "FunctionDefinition", - "src": "30888:175:9", - "body": { - "id": 11273, - "nodeType": "Block", - "src": "30960:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e742c626f6f6c29", - "id": 11265, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31010:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f73c7e3dc5b5cecd5787e08e359612e609c17649291b138c8f184ee441526f2d", - "typeString": "literal_string \"log(string,uint,uint,bool)\"" - }, - "value": "log(string,uint,uint,bool)" - }, - { - "id": 11266, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11253, - "src": "31040:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11267, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11255, - "src": "31044:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11268, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11257, - "src": "31048:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11269, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11259, - "src": "31052:2:9", - "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": 11263, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30986:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11264, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30990:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30986:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30986:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11262, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "30970:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11271, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30970:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11272, - "nodeType": "ExpressionStatement", - "src": "30970:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30897:3:9", - "parameters": { - "id": 11260, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11253, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30915:2:9", - "nodeType": "VariableDeclaration", - "scope": 11274, - "src": "30901:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11252, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30901:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11255, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30924:2:9", - "nodeType": "VariableDeclaration", - "scope": 11274, - "src": "30919:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11254, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30919:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11257, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30933:2:9", - "nodeType": "VariableDeclaration", - "scope": 11274, - "src": "30928:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11256, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "30928:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11259, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30942:2:9", - "nodeType": "VariableDeclaration", - "scope": 11274, - "src": "30937:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11258, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30937:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30900:45:9" - }, - "returnParameters": { - "id": 11261, - "nodeType": "ParameterList", - "parameters": [], - "src": "30960:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11297, - "nodeType": "FunctionDefinition", - "src": "31069:181:9", - "body": { - "id": 11296, - "nodeType": "Block", - "src": "31144:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c75696e742c6164647265737329", - "id": 11288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31194:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bed728bf5bf9afc41a2cff142cfc289808bbba64cbab683d8e6689e6f6f14abc", - "typeString": "literal_string \"log(string,uint,uint,address)\"" - }, - "value": "log(string,uint,uint,address)" - }, - { - "id": 11289, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11276, - "src": "31227:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11290, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11278, - "src": "31231:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11291, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11280, - "src": "31235:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11292, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11282, - "src": "31239:2:9", - "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": 11286, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31170:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11287, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31174:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31170:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31170:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11285, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "31154:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31154:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11295, - "nodeType": "ExpressionStatement", - "src": "31154:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31078:3:9", - "parameters": { - "id": 11283, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11276, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31096:2:9", - "nodeType": "VariableDeclaration", - "scope": 11297, - "src": "31082:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11275, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31082:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11278, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31105:2:9", - "nodeType": "VariableDeclaration", - "scope": 11297, - "src": "31100:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11277, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31100:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11280, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31114:2:9", - "nodeType": "VariableDeclaration", - "scope": 11297, - "src": "31109:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11279, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31109:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11282, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31126:2:9", - "nodeType": "VariableDeclaration", - "scope": 11297, - "src": "31118:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11281, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31118:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "31081:48:9" - }, - "returnParameters": { - "id": 11284, - "nodeType": "ParameterList", - "parameters": [], - "src": "31144:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11320, - "nodeType": "FunctionDefinition", - "src": "31256:186:9", - "body": { - "id": 11319, - "nodeType": "Block", - "src": "31337:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e672c75696e7429", - "id": 11311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31387:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0c4b225a555b1198e8b1e32117070e759cad9a7266d99901b8a7fd2482d0e2f", - "typeString": "literal_string \"log(string,uint,string,uint)\"" - }, - "value": "log(string,uint,string,uint)" - }, - { - "id": 11312, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11299, - "src": "31419:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11313, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11301, - "src": "31423:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11314, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11303, - "src": "31427:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11315, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11305, - "src": "31431:2:9", - "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": 11309, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31363:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11310, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31367:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31363:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31363:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11308, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "31347:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31347:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11318, - "nodeType": "ExpressionStatement", - "src": "31347:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31265:3:9", - "parameters": { - "id": 11306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11299, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31283:2:9", - "nodeType": "VariableDeclaration", - "scope": 11320, - "src": "31269:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11298, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31269:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11301, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31292:2:9", - "nodeType": "VariableDeclaration", - "scope": 11320, - "src": "31287:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11300, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31287:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11303, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31310:2:9", - "nodeType": "VariableDeclaration", - "scope": 11320, - "src": "31296:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11302, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31296:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11305, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31319:2:9", - "nodeType": "VariableDeclaration", - "scope": 11320, - "src": "31314:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11304, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31314:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "31268:54:9" - }, - "returnParameters": { - "id": 11307, - "nodeType": "ParameterList", - "parameters": [], - "src": "31337:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11343, - "nodeType": "FunctionDefinition", - "src": "31448:197:9", - "body": { - "id": 11342, - "nodeType": "Block", - "src": "31538:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e672c737472696e6729", - "id": 11334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31588:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6c98dae27db048edb14bb31b4326832aa1fb54be52caaf49d1cecb59aa297c07", - "typeString": "literal_string \"log(string,uint,string,string)\"" - }, - "value": "log(string,uint,string,string)" - }, - { - "id": 11335, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11322, - "src": "31622:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11336, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11324, - "src": "31626:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11337, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11326, - "src": "31630:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11338, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11328, - "src": "31634:2:9", - "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": 11332, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31564:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11333, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31568:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31564:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11339, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31564:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11331, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "31548:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31548:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11341, - "nodeType": "ExpressionStatement", - "src": "31548:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31457:3:9", - "parameters": { - "id": 11329, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11322, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31475:2:9", - "nodeType": "VariableDeclaration", - "scope": 11343, - "src": "31461:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11321, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31461:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11324, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31484:2:9", - "nodeType": "VariableDeclaration", - "scope": 11343, - "src": "31479:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11323, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31479:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11326, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31502:2:9", - "nodeType": "VariableDeclaration", - "scope": 11343, - "src": "31488:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11325, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31488:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11328, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31520:2:9", - "nodeType": "VariableDeclaration", - "scope": 11343, - "src": "31506:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11327, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31506:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "31460:63:9" - }, - "returnParameters": { - "id": 11330, - "nodeType": "ParameterList", - "parameters": [], - "src": "31538:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11366, - "nodeType": "FunctionDefinition", - "src": "31651:186:9", - "body": { - "id": 11365, - "nodeType": "Block", - "src": "31732:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e672c626f6f6c29", - "id": 11357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31782:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e99f82cf29cb9d7551a843a55617f00569395570d3a9816be530f7c6197ec7c8", - "typeString": "literal_string \"log(string,uint,string,bool)\"" - }, - "value": "log(string,uint,string,bool)" - }, - { - "id": 11358, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11345, - "src": "31814:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11359, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11347, - "src": "31818:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11360, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11349, - "src": "31822:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11361, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11351, - "src": "31826:2:9", - "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": 11355, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31758:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31762:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31758:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31758:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11354, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "31742:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31742:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11364, - "nodeType": "ExpressionStatement", - "src": "31742:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31660:3:9", - "parameters": { - "id": 11352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11345, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31678:2:9", - "nodeType": "VariableDeclaration", - "scope": 11366, - "src": "31664:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11344, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31664:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11347, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31687:2:9", - "nodeType": "VariableDeclaration", - "scope": 11366, - "src": "31682:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11346, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31682:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11349, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31705:2:9", - "nodeType": "VariableDeclaration", - "scope": 11366, - "src": "31691:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11348, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31691:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11351, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31714:2:9", - "nodeType": "VariableDeclaration", - "scope": 11366, - "src": "31709:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11350, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31709:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "31663:54:9" - }, - "returnParameters": { - "id": 11353, - "nodeType": "ParameterList", - "parameters": [], - "src": "31732:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11389, - "nodeType": "FunctionDefinition", - "src": "31843:192:9", - "body": { - "id": 11388, - "nodeType": "Block", - "src": "31927:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c737472696e672c6164647265737329", - "id": 11380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31977:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bb7235e9977380af5de9932c5c28e18d22806b4b0a15ac7e98086e795e59b31c", - "typeString": "literal_string \"log(string,uint,string,address)\"" - }, - "value": "log(string,uint,string,address)" - }, - { - "id": 11381, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11368, - "src": "32012:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11382, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11370, - "src": "32016:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11383, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11372, - "src": "32020:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11384, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11374, - "src": "32024:2:9", - "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": 11378, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31953:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31957:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31953:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31953:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11377, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "31937:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11386, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31937:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11387, - "nodeType": "ExpressionStatement", - "src": "31937:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31852:3:9", - "parameters": { - "id": 11375, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11368, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31870:2:9", - "nodeType": "VariableDeclaration", - "scope": 11389, - "src": "31856:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11367, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31856:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11370, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31879:2:9", - "nodeType": "VariableDeclaration", - "scope": 11389, - "src": "31874:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11369, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "31874:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11372, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31897:2:9", - "nodeType": "VariableDeclaration", - "scope": 11389, - "src": "31883:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11371, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31883:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11374, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31909:2:9", - "nodeType": "VariableDeclaration", - "scope": 11389, - "src": "31901:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11373, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31901:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "31855:57:9" - }, - "returnParameters": { - "id": 11376, - "nodeType": "ParameterList", - "parameters": [], - "src": "31927:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11412, - "nodeType": "FunctionDefinition", - "src": "32041:175:9", - "body": { - "id": 11411, - "nodeType": "Block", - "src": "32113:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c2c75696e7429", - "id": 11403, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32163:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_550e6ef516f1b3b5be9432b068022af744a919b7f9554b6605ddb59dad27875f", - "typeString": "literal_string \"log(string,uint,bool,uint)\"" - }, - "value": "log(string,uint,bool,uint)" - }, - { - "id": 11404, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11391, - "src": "32193:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11405, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11393, - "src": "32197:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11406, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11395, - "src": "32201:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11407, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11397, - "src": "32205:2:9", - "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": 11401, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32139:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11402, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32143:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32139:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32139:69:9", - "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": 7582, - "src": "32123:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32123:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11410, - "nodeType": "ExpressionStatement", - "src": "32123:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32050:3:9", - "parameters": { - "id": 11398, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11391, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32068:2:9", - "nodeType": "VariableDeclaration", - "scope": 11412, - "src": "32054:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11390, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32054:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11393, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32077:2:9", - "nodeType": "VariableDeclaration", - "scope": 11412, - "src": "32072:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11392, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32072:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11395, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32086:2:9", - "nodeType": "VariableDeclaration", - "scope": 11412, - "src": "32081:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11394, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32081:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11397, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32095:2:9", - "nodeType": "VariableDeclaration", - "scope": 11412, - "src": "32090:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11396, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32090:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32053:45:9" - }, - "returnParameters": { - "id": 11399, - "nodeType": "ParameterList", - "parameters": [], - "src": "32113:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11435, - "nodeType": "FunctionDefinition", - "src": "32222:186:9", - "body": { - "id": 11434, - "nodeType": "Block", - "src": "32303:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c2c737472696e6729", - "id": 11426, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32353:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_76cc6064a225b36730abdd64aa9dcb74a19c97e79a6eaa7e7a7381b59d8b3f68", - "typeString": "literal_string \"log(string,uint,bool,string)\"" - }, - "value": "log(string,uint,bool,string)" - }, - { - "id": 11427, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11414, - "src": "32385:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11428, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11416, - "src": "32389:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11429, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11418, - "src": "32393:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11430, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11420, - "src": "32397:2:9", - "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": 11424, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32329:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11425, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32333:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32329:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11431, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32329:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11423, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "32313:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32313:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11433, - "nodeType": "ExpressionStatement", - "src": "32313:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32231:3:9", - "parameters": { - "id": 11421, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11414, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32249:2:9", - "nodeType": "VariableDeclaration", - "scope": 11435, - "src": "32235:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11413, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32235:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11416, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32258:2:9", - "nodeType": "VariableDeclaration", - "scope": 11435, - "src": "32253:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11415, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32253:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11418, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32267:2:9", - "nodeType": "VariableDeclaration", - "scope": 11435, - "src": "32262:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11417, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32262:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11420, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32285:2:9", - "nodeType": "VariableDeclaration", - "scope": 11435, - "src": "32271:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11419, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32271:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32234:54:9" - }, - "returnParameters": { - "id": 11422, - "nodeType": "ParameterList", - "parameters": [], - "src": "32303:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11458, - "nodeType": "FunctionDefinition", - "src": "32414:175:9", - "body": { - "id": 11457, - "nodeType": "Block", - "src": "32486:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c2c626f6f6c29", - "id": 11449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32536:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e37ff3d07873d5117abd74fe9be70fdadf355b74510a6f7507b0edd4a0032d7f", - "typeString": "literal_string \"log(string,uint,bool,bool)\"" - }, - "value": "log(string,uint,bool,bool)" - }, - { - "id": 11450, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11437, - "src": "32566:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11451, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11439, - "src": "32570:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11452, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11441, - "src": "32574:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11453, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11443, - "src": "32578:2:9", - "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": 11447, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32512:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32516:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32512:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32512:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11446, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "32496:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32496:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11456, - "nodeType": "ExpressionStatement", - "src": "32496:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32423:3:9", - "parameters": { - "id": 11444, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11437, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32441:2:9", - "nodeType": "VariableDeclaration", - "scope": 11458, - "src": "32427:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11436, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32427:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11439, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32450:2:9", - "nodeType": "VariableDeclaration", - "scope": 11458, - "src": "32445:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11438, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32445:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11441, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32459:2:9", - "nodeType": "VariableDeclaration", - "scope": 11458, - "src": "32454:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11440, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32454:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11443, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32468:2:9", - "nodeType": "VariableDeclaration", - "scope": 11458, - "src": "32463:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11442, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32463:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "32426:45:9" - }, - "returnParameters": { - "id": 11445, - "nodeType": "ParameterList", - "parameters": [], - "src": "32486:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11481, - "nodeType": "FunctionDefinition", - "src": "32595:181:9", - "body": { - "id": 11480, - "nodeType": "Block", - "src": "32670:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c626f6f6c2c6164647265737329", - "id": 11472, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32720:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e5549d91ec2998207f70463fe94a71d0edc39b13b219ff8feb87dd990a616539", - "typeString": "literal_string \"log(string,uint,bool,address)\"" - }, - "value": "log(string,uint,bool,address)" - }, - { - "id": 11473, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11460, - "src": "32753:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11474, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11462, - "src": "32757:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11475, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11464, - "src": "32761:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11476, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11466, - "src": "32765:2:9", - "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": 11470, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32696:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11471, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32700:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32696:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32696:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11469, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "32680:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32680:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11479, - "nodeType": "ExpressionStatement", - "src": "32680:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32604:3:9", - "parameters": { - "id": 11467, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11460, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32622:2:9", - "nodeType": "VariableDeclaration", - "scope": 11481, - "src": "32608:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11459, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32608:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11462, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32631:2:9", - "nodeType": "VariableDeclaration", - "scope": 11481, - "src": "32626:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11461, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32626:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11464, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32640:2:9", - "nodeType": "VariableDeclaration", - "scope": 11481, - "src": "32635:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11463, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32635:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11466, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32652:2:9", - "nodeType": "VariableDeclaration", - "scope": 11481, - "src": "32644:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11465, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32644:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32607:48:9" - }, - "returnParameters": { - "id": 11468, - "nodeType": "ParameterList", - "parameters": [], - "src": "32670:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11504, - "nodeType": "FunctionDefinition", - "src": "32782:181:9", - "body": { - "id": 11503, - "nodeType": "Block", - "src": "32857:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c616464726573732c75696e7429", - "id": 11495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32907:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_58497afe9e509136f5cf2fb1db9876437d9cbd769be5985b518ff094427e4f75", - "typeString": "literal_string \"log(string,uint,address,uint)\"" - }, - "value": "log(string,uint,address,uint)" - }, - { - "id": 11496, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11483, - "src": "32940:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11497, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11485, - "src": "32944:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11498, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11487, - "src": "32948:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11499, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11489, - "src": "32952:2:9", - "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": 11493, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32883:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11494, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32887:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32883:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11500, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32883:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11492, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "32867:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32867:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11502, - "nodeType": "ExpressionStatement", - "src": "32867:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32791:3:9", - "parameters": { - "id": 11490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11483, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32809:2:9", - "nodeType": "VariableDeclaration", - "scope": 11504, - "src": "32795:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11482, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32795:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11485, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32818:2:9", - "nodeType": "VariableDeclaration", - "scope": 11504, - "src": "32813:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11484, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32813:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11487, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32830:2:9", - "nodeType": "VariableDeclaration", - "scope": 11504, - "src": "32822:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32822:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11489, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32839:2:9", - "nodeType": "VariableDeclaration", - "scope": 11504, - "src": "32834:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11488, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "32834:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32794:48:9" - }, - "returnParameters": { - "id": 11491, - "nodeType": "ParameterList", - "parameters": [], - "src": "32857:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11527, - "nodeType": "FunctionDefinition", - "src": "32969:192:9", - "body": { - "id": 11526, - "nodeType": "Block", - "src": "33053:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c616464726573732c737472696e6729", - "id": 11518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33103:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3254c2e85e824e7dd0b3e2e602f95218ed23a331406e197386693086d91053c0", - "typeString": "literal_string \"log(string,uint,address,string)\"" - }, - "value": "log(string,uint,address,string)" - }, - { - "id": 11519, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11506, - "src": "33138:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11520, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11508, - "src": "33142:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11521, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11510, - "src": "33146:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11522, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11512, - "src": "33150:2:9", - "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": 11516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33079:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33083:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33079:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33079:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11515, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "33063:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33063:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11525, - "nodeType": "ExpressionStatement", - "src": "33063:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32978:3:9", - "parameters": { - "id": 11513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11506, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32996:2:9", - "nodeType": "VariableDeclaration", - "scope": 11527, - "src": "32982:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11505, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32982:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11508, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33005:2:9", - "nodeType": "VariableDeclaration", - "scope": 11527, - "src": "33000:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11507, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33000:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11510, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33017:2:9", - "nodeType": "VariableDeclaration", - "scope": 11527, - "src": "33009:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11509, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33009:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11512, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33035:2:9", - "nodeType": "VariableDeclaration", - "scope": 11527, - "src": "33021:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11511, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33021:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32981:57:9" - }, - "returnParameters": { - "id": 11514, - "nodeType": "ParameterList", - "parameters": [], - "src": "33053:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11550, - "nodeType": "FunctionDefinition", - "src": "33167:181:9", - "body": { - "id": 11549, - "nodeType": "Block", - "src": "33242:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c616464726573732c626f6f6c29", - "id": 11541, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33292:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1106a8f7a9fdb0743cc8f33bcf28da92f358b488bfc5eb2426dcc116571bae10", - "typeString": "literal_string \"log(string,uint,address,bool)\"" - }, - "value": "log(string,uint,address,bool)" - }, - { - "id": 11542, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11529, - "src": "33325:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11543, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11531, - "src": "33329:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11544, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11533, - "src": "33333:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11545, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11535, - "src": "33337:2:9", - "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": 11539, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33268:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11540, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33272:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33268:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11546, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33268:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11538, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "33252:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33252:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11548, - "nodeType": "ExpressionStatement", - "src": "33252:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33176:3:9", - "parameters": { - "id": 11536, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11529, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33194:2:9", - "nodeType": "VariableDeclaration", - "scope": 11550, - "src": "33180:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11528, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33180:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11531, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33203:2:9", - "nodeType": "VariableDeclaration", - "scope": 11550, - "src": "33198:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11530, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33198:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11533, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33215:2:9", - "nodeType": "VariableDeclaration", - "scope": 11550, - "src": "33207:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33207:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11535, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33224:2:9", - "nodeType": "VariableDeclaration", - "scope": 11550, - "src": "33219:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11534, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33219:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33179:48:9" - }, - "returnParameters": { - "id": 11537, - "nodeType": "ParameterList", - "parameters": [], - "src": "33242:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11573, - "nodeType": "FunctionDefinition", - "src": "33354:187:9", - "body": { - "id": 11572, - "nodeType": "Block", - "src": "33432:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e742c616464726573732c6164647265737329", - "id": 11564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33482:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eac892812ad5b43e056a005de5f4269f3430ecb19d3374f0e27d055022fbb381", - "typeString": "literal_string \"log(string,uint,address,address)\"" - }, - "value": "log(string,uint,address,address)" - }, - { - "id": 11565, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11552, - "src": "33518:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11566, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11554, - "src": "33522:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11567, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11556, - "src": "33526:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11568, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11558, - "src": "33530:2:9", - "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": 11562, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33458:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11563, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33462:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33458:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33458:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11561, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "33442:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33442:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11571, - "nodeType": "ExpressionStatement", - "src": "33442:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33363:3:9", - "parameters": { - "id": 11559, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11552, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33381:2:9", - "nodeType": "VariableDeclaration", - "scope": 11573, - "src": "33367:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11551, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33367:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11554, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33390:2:9", - "nodeType": "VariableDeclaration", - "scope": 11573, - "src": "33385:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11553, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33385:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11556, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33402:2:9", - "nodeType": "VariableDeclaration", - "scope": 11573, - "src": "33394:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11555, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33394:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11558, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33414:2:9", - "nodeType": "VariableDeclaration", - "scope": 11573, - "src": "33406:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11557, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33406:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33366:51:9" - }, - "returnParameters": { - "id": 11560, - "nodeType": "ParameterList", - "parameters": [], - "src": "33432:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11596, - "nodeType": "FunctionDefinition", - "src": "33547:186:9", - "body": { - "id": 11595, - "nodeType": "Block", - "src": "33628:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e742c75696e7429", - "id": 11587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33678:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5cf17d093c9068e0703e037cea1f6c3048599508dc7985106a94aa34c08c926", - "typeString": "literal_string \"log(string,string,uint,uint)\"" - }, - "value": "log(string,string,uint,uint)" - }, - { - "id": 11588, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11575, - "src": "33710:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11589, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11577, - "src": "33714:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11590, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11579, - "src": "33718:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11591, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11581, - "src": "33722:2:9", - "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": 11585, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33654:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33658:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33654:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33654:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11584, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "33638:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33638:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11594, - "nodeType": "ExpressionStatement", - "src": "33638:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33556:3:9", - "parameters": { - "id": 11582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11575, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33574:2:9", - "nodeType": "VariableDeclaration", - "scope": 11596, - "src": "33560:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11574, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33560:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11577, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33592:2:9", - "nodeType": "VariableDeclaration", - "scope": 11596, - "src": "33578:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11576, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33578:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11579, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33601:2:9", - "nodeType": "VariableDeclaration", - "scope": 11596, - "src": "33596:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11578, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33596:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11581, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33610:2:9", - "nodeType": "VariableDeclaration", - "scope": 11596, - "src": "33605:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11580, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33605:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33559:54:9" - }, - "returnParameters": { - "id": 11583, - "nodeType": "ParameterList", - "parameters": [], - "src": "33628:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11619, - "nodeType": "FunctionDefinition", - "src": "33739:197:9", - "body": { - "id": 11618, - "nodeType": "Block", - "src": "33829:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e742c737472696e6729", - "id": 11610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33879:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d142cdddf40ab944834474e14a37534e67dcf2f6ffd68fd3d894f907fb76a0a", - "typeString": "literal_string \"log(string,string,uint,string)\"" - }, - "value": "log(string,string,uint,string)" - }, - { - "id": 11611, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11598, - "src": "33913:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11612, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11600, - "src": "33917:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11613, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11602, - "src": "33921:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11614, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11604, - "src": "33925:2:9", - "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": 11608, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33855:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11609, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33859:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33855:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33855:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11607, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "33839:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33839:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11617, - "nodeType": "ExpressionStatement", - "src": "33839:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33748:3:9", - "parameters": { - "id": 11605, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11598, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33766:2:9", - "nodeType": "VariableDeclaration", - "scope": 11619, - "src": "33752:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11597, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33752:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11600, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33784:2:9", - "nodeType": "VariableDeclaration", - "scope": 11619, - "src": "33770:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11599, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33770:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11602, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33793:2:9", - "nodeType": "VariableDeclaration", - "scope": 11619, - "src": "33788:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11601, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33788:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11604, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33811:2:9", - "nodeType": "VariableDeclaration", - "scope": 11619, - "src": "33797:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11603, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33797:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "33751:63:9" - }, - "returnParameters": { - "id": 11606, - "nodeType": "ParameterList", - "parameters": [], - "src": "33829:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11642, - "nodeType": "FunctionDefinition", - "src": "33942:186:9", - "body": { - "id": 11641, - "nodeType": "Block", - "src": "34023:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e742c626f6f6c29", - "id": 11633, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34073:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e65658ca6578795ac405c3487ab68ec21d76f9a79d734a9ab869db5d96b4556b", - "typeString": "literal_string \"log(string,string,uint,bool)\"" - }, - "value": "log(string,string,uint,bool)" - }, - { - "id": 11634, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11621, - "src": "34105:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11635, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11623, - "src": "34109:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11636, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11625, - "src": "34113:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11637, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11627, - "src": "34117:2:9", - "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": 11631, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34049:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11632, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34053:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34049:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34049:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11630, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "34033:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34033:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11640, - "nodeType": "ExpressionStatement", - "src": "34033:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33951:3:9", - "parameters": { - "id": 11628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11621, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33969:2:9", - "nodeType": "VariableDeclaration", - "scope": 11642, - "src": "33955:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11620, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33955:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11623, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33987:2:9", - "nodeType": "VariableDeclaration", - "scope": 11642, - "src": "33973:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11622, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33973:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11625, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33996:2:9", - "nodeType": "VariableDeclaration", - "scope": 11642, - "src": "33991:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11624, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "33991:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11627, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34005:2:9", - "nodeType": "VariableDeclaration", - "scope": 11642, - "src": "34000:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11626, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34000:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33954:54:9" - }, - "returnParameters": { - "id": 11629, - "nodeType": "ParameterList", - "parameters": [], - "src": "34023:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11665, - "nodeType": "FunctionDefinition", - "src": "34134:192:9", - "body": { - "id": 11664, - "nodeType": "Block", - "src": "34218:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e742c6164647265737329", - "id": 11656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34268:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d4f46805293f3e84ba6dbfe353f76b3d1f1cfb2ff1e8024fb2adb45e2b7a128", - "typeString": "literal_string \"log(string,string,uint,address)\"" - }, - "value": "log(string,string,uint,address)" - }, - { - "id": 11657, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11644, - "src": "34303:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11658, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11646, - "src": "34307:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11659, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11648, - "src": "34311:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11660, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11650, - "src": "34315:2:9", - "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": 11654, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34244:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11655, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34248:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34244:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11661, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34244:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11653, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "34228:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34228:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11663, - "nodeType": "ExpressionStatement", - "src": "34228:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34143:3:9", - "parameters": { - "id": 11651, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11644, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34161:2:9", - "nodeType": "VariableDeclaration", - "scope": 11665, - "src": "34147:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11643, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34147:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11646, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34179:2:9", - "nodeType": "VariableDeclaration", - "scope": 11665, - "src": "34165:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11645, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34165:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11648, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34188:2:9", - "nodeType": "VariableDeclaration", - "scope": 11665, - "src": "34183:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11647, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "34183:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11650, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34200:2:9", - "nodeType": "VariableDeclaration", - "scope": 11665, - "src": "34192:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11649, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34192:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34146:57:9" - }, - "returnParameters": { - "id": 11652, - "nodeType": "ParameterList", - "parameters": [], - "src": "34218:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11688, - "nodeType": "FunctionDefinition", - "src": "34332:197:9", - "body": { - "id": 11687, - "nodeType": "Block", - "src": "34422:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c75696e7429", - "id": 11679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34472:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9fd009f5f31a16d665d9be327a4a2b17dc428108ae31e46ab875e747b5ee155f", - "typeString": "literal_string \"log(string,string,string,uint)\"" - }, - "value": "log(string,string,string,uint)" - }, - { - "id": 11680, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11667, - "src": "34506:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11681, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11669, - "src": "34510:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11682, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11671, - "src": "34514:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11683, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11673, - "src": "34518:2:9", - "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": 11677, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34448:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11678, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34452:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34448:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34448:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11676, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "34432:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34432:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11686, - "nodeType": "ExpressionStatement", - "src": "34432:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34341:3:9", - "parameters": { - "id": 11674, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11667, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34359:2:9", - "nodeType": "VariableDeclaration", - "scope": 11688, - "src": "34345:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11666, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34345:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11669, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34377:2:9", - "nodeType": "VariableDeclaration", - "scope": 11688, - "src": "34363:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11668, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34363:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11671, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34395:2:9", - "nodeType": "VariableDeclaration", - "scope": 11688, - "src": "34381:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11670, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34381:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11673, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34404:2:9", - "nodeType": "VariableDeclaration", - "scope": 11688, - "src": "34399:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11672, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "34399:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "34344:63:9" - }, - "returnParameters": { - "id": 11675, - "nodeType": "ParameterList", - "parameters": [], - "src": "34422:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11711, - "nodeType": "FunctionDefinition", - "src": "34535:208:9", - "body": { - "id": 11710, - "nodeType": "Block", - "src": "34634:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c737472696e6729", - "id": 11702, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34684:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de68f20a8e88f68d54c5aa294860ee37b58680632686e2f1101e4e042a2cbcbe", - "typeString": "literal_string \"log(string,string,string,string)\"" - }, - "value": "log(string,string,string,string)" - }, - { - "id": 11703, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11690, - "src": "34720:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11704, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11692, - "src": "34724:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11705, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11694, - "src": "34728:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11706, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11696, - "src": "34732:2:9", - "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": 11700, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34660:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11701, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34664:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34660:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34660:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11699, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "34644:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34644:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11709, - "nodeType": "ExpressionStatement", - "src": "34644:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34544:3:9", - "parameters": { - "id": 11697, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11690, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34562:2:9", - "nodeType": "VariableDeclaration", - "scope": 11711, - "src": "34548:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11689, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34548:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11692, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34580:2:9", - "nodeType": "VariableDeclaration", - "scope": 11711, - "src": "34566:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11691, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34566:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11694, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34598:2:9", - "nodeType": "VariableDeclaration", - "scope": 11711, - "src": "34584:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11693, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34584:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11696, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34616:2:9", - "nodeType": "VariableDeclaration", - "scope": 11711, - "src": "34602:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11695, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34602:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "34547:72:9" - }, - "returnParameters": { - "id": 11698, - "nodeType": "ParameterList", - "parameters": [], - "src": "34634:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11734, - "nodeType": "FunctionDefinition", - "src": "34749:197:9", - "body": { - "id": 11733, - "nodeType": "Block", - "src": "34839:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c626f6f6c29", - "id": 11725, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34889:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c1754ed9d3bc50669c3e71e3115dc4403f3cff35aa9b6b58799f80b5496f332", - "typeString": "literal_string \"log(string,string,string,bool)\"" - }, - "value": "log(string,string,string,bool)" - }, - { - "id": 11726, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11713, - "src": "34923:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11727, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11715, - "src": "34927:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11728, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11717, - "src": "34931:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11729, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11719, - "src": "34935:2:9", - "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": 11723, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34865:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11724, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34869:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34865:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34865:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11722, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "34849:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34849:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11732, - "nodeType": "ExpressionStatement", - "src": "34849:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34758:3:9", - "parameters": { - "id": 11720, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11713, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34776:2:9", - "nodeType": "VariableDeclaration", - "scope": 11734, - "src": "34762:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11712, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34762:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11715, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34794:2:9", - "nodeType": "VariableDeclaration", - "scope": 11734, - "src": "34780:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11714, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34780:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11717, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34812:2:9", - "nodeType": "VariableDeclaration", - "scope": 11734, - "src": "34798:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11716, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34798:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11719, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34821:2:9", - "nodeType": "VariableDeclaration", - "scope": 11734, - "src": "34816:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11718, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34816:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "34761:63:9" - }, - "returnParameters": { - "id": 11721, - "nodeType": "ParameterList", - "parameters": [], - "src": "34839:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11757, - "nodeType": "FunctionDefinition", - "src": "34952:203:9", - "body": { - "id": 11756, - "nodeType": "Block", - "src": "35045:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c6164647265737329", - "id": 11748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35095:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d572f449cf1e446ea3ace51a34ce30628f4f1588a39dc5d550cefb210c5bb16", - "typeString": "literal_string \"log(string,string,string,address)\"" - }, - "value": "log(string,string,string,address)" - }, - { - "id": 11749, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11736, - "src": "35132:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11750, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11738, - "src": "35136:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11751, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11740, - "src": "35140:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11752, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11742, - "src": "35144:2:9", - "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": 11746, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35071:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35075:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35071:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35071:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11745, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "35055:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35055:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11755, - "nodeType": "ExpressionStatement", - "src": "35055:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34961:3:9", - "parameters": { - "id": 11743, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11736, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34979:2:9", - "nodeType": "VariableDeclaration", - "scope": 11757, - "src": "34965:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11735, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34965:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11738, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34997:2:9", - "nodeType": "VariableDeclaration", - "scope": 11757, - "src": "34983:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11737, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34983:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11740, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35015:2:9", - "nodeType": "VariableDeclaration", - "scope": 11757, - "src": "35001:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11739, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35001:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11742, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35027:2:9", - "nodeType": "VariableDeclaration", - "scope": 11757, - "src": "35019:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11741, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35019:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34964:66:9" - }, - "returnParameters": { - "id": 11744, - "nodeType": "ParameterList", - "parameters": [], - "src": "35045:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11780, - "nodeType": "FunctionDefinition", - "src": "35161:186:9", - "body": { - "id": 11779, - "nodeType": "Block", - "src": "35242:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c75696e7429", - "id": 11771, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35292:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86818a7aa9bc994aa800ce554e865f0047fd8aaa8799a458e8fea2db0986c5c1", - "typeString": "literal_string \"log(string,string,bool,uint)\"" - }, - "value": "log(string,string,bool,uint)" - }, - { - "id": 11772, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11759, - "src": "35324:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11773, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11761, - "src": "35328:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11774, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11763, - "src": "35332:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11775, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11765, - "src": "35336:2:9", - "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": 11769, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35268:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11770, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35272:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35268:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35268:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11768, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "35252:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35252:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11778, - "nodeType": "ExpressionStatement", - "src": "35252:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35170:3:9", - "parameters": { - "id": 11766, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11759, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35188:2:9", - "nodeType": "VariableDeclaration", - "scope": 11780, - "src": "35174:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11758, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35174:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11761, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35206:2:9", - "nodeType": "VariableDeclaration", - "scope": 11780, - "src": "35192:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11760, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35192:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11763, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35215:2:9", - "nodeType": "VariableDeclaration", - "scope": 11780, - "src": "35210:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11762, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35210:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11765, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35224:2:9", - "nodeType": "VariableDeclaration", - "scope": 11780, - "src": "35219:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11764, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "35219:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35173:54:9" - }, - "returnParameters": { - "id": 11767, - "nodeType": "ParameterList", - "parameters": [], - "src": "35242:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11803, - "nodeType": "FunctionDefinition", - "src": "35353:197:9", - "body": { - "id": 11802, - "nodeType": "Block", - "src": "35443:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c737472696e6729", - "id": 11794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35493:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e84b0ea51a130c3c7e1443097f28cb5c541ea8487836ae7cb1ca9c6e683699b", - "typeString": "literal_string \"log(string,string,bool,string)\"" - }, - "value": "log(string,string,bool,string)" - }, - { - "id": 11795, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11782, - "src": "35527:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11796, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11784, - "src": "35531:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11797, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11786, - "src": "35535:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11798, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11788, - "src": "35539:2:9", - "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": 11792, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35469:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11793, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35473:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35469:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35469:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11791, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "35453:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35453:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11801, - "nodeType": "ExpressionStatement", - "src": "35453:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35362:3:9", - "parameters": { - "id": 11789, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11782, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35380:2:9", - "nodeType": "VariableDeclaration", - "scope": 11803, - "src": "35366:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11781, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35366:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11784, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35398:2:9", - "nodeType": "VariableDeclaration", - "scope": 11803, - "src": "35384:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11783, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35384:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11786, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35407:2:9", - "nodeType": "VariableDeclaration", - "scope": 11803, - "src": "35402:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11785, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35402:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11788, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35425:2:9", - "nodeType": "VariableDeclaration", - "scope": 11803, - "src": "35411:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11787, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35411:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "35365:63:9" - }, - "returnParameters": { - "id": 11790, - "nodeType": "ParameterList", - "parameters": [], - "src": "35443:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11826, - "nodeType": "FunctionDefinition", - "src": "35556:186:9", - "body": { - "id": 11825, - "nodeType": "Block", - "src": "35637:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c626f6f6c29", - "id": 11817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35687:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_40785869c0ea63ca2ccbcf7415552989c2f1ce04f151eb3b2bd695c64d21af10", - "typeString": "literal_string \"log(string,string,bool,bool)\"" - }, - "value": "log(string,string,bool,bool)" - }, - { - "id": 11818, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11805, - "src": "35719:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11819, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11807, - "src": "35723:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11820, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11809, - "src": "35727:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11821, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11811, - "src": "35731:2:9", - "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": 11815, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35663:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11816, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35667:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35663:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35663:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11814, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "35647:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35647:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11824, - "nodeType": "ExpressionStatement", - "src": "35647:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35565:3:9", - "parameters": { - "id": 11812, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11805, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35583:2:9", - "nodeType": "VariableDeclaration", - "scope": 11826, - "src": "35569:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11804, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35569:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11807, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35601:2:9", - "nodeType": "VariableDeclaration", - "scope": 11826, - "src": "35587:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11806, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35587:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11809, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35610:2:9", - "nodeType": "VariableDeclaration", - "scope": 11826, - "src": "35605:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11808, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35605:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11811, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35619:2:9", - "nodeType": "VariableDeclaration", - "scope": 11826, - "src": "35614:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11810, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35614:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35568:54:9" - }, - "returnParameters": { - "id": 11813, - "nodeType": "ParameterList", - "parameters": [], - "src": "35637:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11849, - "nodeType": "FunctionDefinition", - "src": "35748:192:9", - "body": { - "id": 11848, - "nodeType": "Block", - "src": "35832:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c6164647265737329", - "id": 11840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35882:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c371c7db0a4b104babdbdf00d079eb75cb5aa1d401c4fb726c8e5559029df84d", - "typeString": "literal_string \"log(string,string,bool,address)\"" - }, - "value": "log(string,string,bool,address)" - }, - { - "id": 11841, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11828, - "src": "35917:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11842, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11830, - "src": "35921:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11843, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11832, - "src": "35925:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11844, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11834, - "src": "35929:2:9", - "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": 11838, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35858:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35862:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35858:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11845, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35858:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11837, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "35842:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35842:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11847, - "nodeType": "ExpressionStatement", - "src": "35842:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35757:3:9", - "parameters": { - "id": 11835, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11828, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35775:2:9", - "nodeType": "VariableDeclaration", - "scope": 11849, - "src": "35761:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11827, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35761:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11830, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35793:2:9", - "nodeType": "VariableDeclaration", - "scope": 11849, - "src": "35779:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11829, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35779:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11832, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35802:2:9", - "nodeType": "VariableDeclaration", - "scope": 11849, - "src": "35797:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11831, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35797:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11834, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35814:2:9", - "nodeType": "VariableDeclaration", - "scope": 11849, - "src": "35806:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11833, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35806:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35760:57:9" - }, - "returnParameters": { - "id": 11836, - "nodeType": "ParameterList", - "parameters": [], - "src": "35832:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11872, - "nodeType": "FunctionDefinition", - "src": "35946:192:9", - "body": { - "id": 11871, - "nodeType": "Block", - "src": "36030:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c75696e7429", - "id": 11863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36080:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a81a56a33247069679e8b6a463a3b29deb4b1020ce6e03b978132074cad28c2", - "typeString": "literal_string \"log(string,string,address,uint)\"" - }, - "value": "log(string,string,address,uint)" - }, - { - "id": 11864, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11851, - "src": "36115:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11865, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11853, - "src": "36119:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11866, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11855, - "src": "36123:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11867, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11857, - "src": "36127:2:9", - "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": 11861, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36056:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36060:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36056:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36056:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11860, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "36040:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36040:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11870, - "nodeType": "ExpressionStatement", - "src": "36040:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35955:3:9", - "parameters": { - "id": 11858, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11851, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35973:2:9", - "nodeType": "VariableDeclaration", - "scope": 11872, - "src": "35959:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11850, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35959:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11853, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35991:2:9", - "nodeType": "VariableDeclaration", - "scope": 11872, - "src": "35977:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11852, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35977:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11855, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36003:2:9", - "nodeType": "VariableDeclaration", - "scope": 11872, - "src": "35995:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11854, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35995:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11857, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36012:2:9", - "nodeType": "VariableDeclaration", - "scope": 11872, - "src": "36007:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11856, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36007:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35958:57:9" - }, - "returnParameters": { - "id": 11859, - "nodeType": "ParameterList", - "parameters": [], - "src": "36030:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11895, - "nodeType": "FunctionDefinition", - "src": "36144:203:9", - "body": { - "id": 11894, - "nodeType": "Block", - "src": "36237:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c737472696e6729", - "id": 11886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36287:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb1bff805ef136c60bfed230c7b932a14c6f7a62608edeaf56f8f2c0575d25b6", - "typeString": "literal_string \"log(string,string,address,string)\"" - }, - "value": "log(string,string,address,string)" - }, - { - "id": 11887, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11874, - "src": "36324:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11888, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11876, - "src": "36328:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11889, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11878, - "src": "36332:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11890, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11880, - "src": "36336:2:9", - "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": 11884, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36263:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36267:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36263:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36263:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11883, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "36247:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36247:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11893, - "nodeType": "ExpressionStatement", - "src": "36247:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36153:3:9", - "parameters": { - "id": 11881, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11874, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36171:2:9", - "nodeType": "VariableDeclaration", - "scope": 11895, - "src": "36157:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11873, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36157:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11876, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36189:2:9", - "nodeType": "VariableDeclaration", - "scope": 11895, - "src": "36175:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11875, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36175:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11878, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36201:2:9", - "nodeType": "VariableDeclaration", - "scope": 11895, - "src": "36193:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11877, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36193:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11880, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36219:2:9", - "nodeType": "VariableDeclaration", - "scope": 11895, - "src": "36205:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11879, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36205:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36156:66:9" - }, - "returnParameters": { - "id": 11882, - "nodeType": "ParameterList", - "parameters": [], - "src": "36237:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11918, - "nodeType": "FunctionDefinition", - "src": "36353:192:9", - "body": { - "id": 11917, - "nodeType": "Block", - "src": "36437:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c626f6f6c29", - "id": 11909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36487:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ccd4e373eb6ae26626c8607ae861c55cda5fd321363edde7e6328e09072ba63", - "typeString": "literal_string \"log(string,string,address,bool)\"" - }, - "value": "log(string,string,address,bool)" - }, - { - "id": 11910, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11897, - "src": "36522:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11911, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11899, - "src": "36526:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11912, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11901, - "src": "36530:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11913, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11903, - "src": "36534:2:9", - "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": 11907, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36463:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36467:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36463:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36463:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11906, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "36447:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36447:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11916, - "nodeType": "ExpressionStatement", - "src": "36447:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36362:3:9", - "parameters": { - "id": 11904, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11897, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36380:2:9", - "nodeType": "VariableDeclaration", - "scope": 11918, - "src": "36366:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11896, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36366:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11899, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36398:2:9", - "nodeType": "VariableDeclaration", - "scope": 11918, - "src": "36384:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11898, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36384:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11901, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36410:2:9", - "nodeType": "VariableDeclaration", - "scope": 11918, - "src": "36402:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11900, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36402:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11903, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36419:2:9", - "nodeType": "VariableDeclaration", - "scope": 11918, - "src": "36414:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11902, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36414:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "36365:57:9" - }, - "returnParameters": { - "id": 11905, - "nodeType": "ParameterList", - "parameters": [], - "src": "36437:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11941, - "nodeType": "FunctionDefinition", - "src": "36551:198:9", - "body": { - "id": 11940, - "nodeType": "Block", - "src": "36638:111:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c6164647265737329", - "id": 11932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36688:36:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_439c7befd1b6bfcb9bd001c1f3a991ef43c070f0ace0c190dd9f16d7ae338a5d", - "typeString": "literal_string \"log(string,string,address,address)\"" - }, - "value": "log(string,string,address,address)" - }, - { - "id": 11933, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11920, - "src": "36726:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11934, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11922, - "src": "36730:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11935, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11924, - "src": "36734:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 11936, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11926, - "src": "36738:2:9", - "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": 11930, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36664:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36668:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36664:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36664:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11929, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "36648:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36648:94:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11939, - "nodeType": "ExpressionStatement", - "src": "36648:94:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36560:3:9", - "parameters": { - "id": 11927, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11920, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36578:2:9", - "nodeType": "VariableDeclaration", - "scope": 11941, - "src": "36564:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11919, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36564:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11922, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36596:2:9", - "nodeType": "VariableDeclaration", - "scope": 11941, - "src": "36582:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36582:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11924, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36608:2:9", - "nodeType": "VariableDeclaration", - "scope": 11941, - "src": "36600:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11923, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36600:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11926, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36620:2:9", - "nodeType": "VariableDeclaration", - "scope": 11941, - "src": "36612:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 11925, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36612:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "36563:60:9" - }, - "returnParameters": { - "id": 11928, - "nodeType": "ParameterList", - "parameters": [], - "src": "36638:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11964, - "nodeType": "FunctionDefinition", - "src": "36755:175:9", - "body": { - "id": 11963, - "nodeType": "Block", - "src": "36827:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e742c75696e7429", - "id": 11955, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36877:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5dbff038873b5f716761e9dcaab0713a903ceaebb2ba8c30b199c4dc534f7701", - "typeString": "literal_string \"log(string,bool,uint,uint)\"" - }, - "value": "log(string,bool,uint,uint)" - }, - { - "id": 11956, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11943, - "src": "36907:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11957, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11945, - "src": "36911:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11958, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11947, - "src": "36915:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11959, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11949, - "src": "36919:2:9", - "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": 11953, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36853:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36857:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36853:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36853:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11952, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "36837:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36837:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11962, - "nodeType": "ExpressionStatement", - "src": "36837:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36764:3:9", - "parameters": { - "id": 11950, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11943, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36782:2:9", - "nodeType": "VariableDeclaration", - "scope": 11964, - "src": "36768:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11942, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36768:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11945, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36791:2:9", - "nodeType": "VariableDeclaration", - "scope": 11964, - "src": "36786:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11944, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36786:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11947, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36800:2:9", - "nodeType": "VariableDeclaration", - "scope": 11964, - "src": "36795:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11946, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36795:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11949, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36809:2:9", - "nodeType": "VariableDeclaration", - "scope": 11964, - "src": "36804:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11948, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36804:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36767:45:9" - }, - "returnParameters": { - "id": 11951, - "nodeType": "ParameterList", - "parameters": [], - "src": "36827:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 11987, - "nodeType": "FunctionDefinition", - "src": "36936:186:9", - "body": { - "id": 11986, - "nodeType": "Block", - "src": "37017:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e742c737472696e6729", - "id": 11978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37067:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42b9a2274d0e9ab9211da679bc79f433c4055060036260a350e95cf10b9004ee", - "typeString": "literal_string \"log(string,bool,uint,string)\"" - }, - "value": "log(string,bool,uint,string)" - }, - { - "id": 11979, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11966, - "src": "37099:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 11980, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11968, - "src": "37103:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 11981, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11970, - "src": "37107:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 11982, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11972, - "src": "37111:2:9", - "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": 11976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37043:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 11977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37047:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37043:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 11983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37043:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11975, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "37027:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 11984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37027:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 11985, - "nodeType": "ExpressionStatement", - "src": "37027:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36945:3:9", - "parameters": { - "id": 11973, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11966, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36963:2:9", - "nodeType": "VariableDeclaration", - "scope": 11987, - "src": "36949:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11965, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36949:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11968, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36972:2:9", - "nodeType": "VariableDeclaration", - "scope": 11987, - "src": "36967:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11967, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36967:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11970, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36981:2:9", - "nodeType": "VariableDeclaration", - "scope": 11987, - "src": "36976:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11969, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "36976:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11972, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36999:2:9", - "nodeType": "VariableDeclaration", - "scope": 11987, - "src": "36985:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11971, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36985:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36948:54:9" - }, - "returnParameters": { - "id": 11974, - "nodeType": "ParameterList", - "parameters": [], - "src": "37017:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12010, - "nodeType": "FunctionDefinition", - "src": "37128:175:9", - "body": { - "id": 12009, - "nodeType": "Block", - "src": "37200:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e742c626f6f6c29", - "id": 12001, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37250:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3cc5b5d38fa67d61ad4f760e2dab344ea54d36d39a7b72ff747c1e117e2289bb", - "typeString": "literal_string \"log(string,bool,uint,bool)\"" - }, - "value": "log(string,bool,uint,bool)" - }, - { - "id": 12002, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11989, - "src": "37280:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12003, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11991, - "src": "37284:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12004, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11993, - "src": "37288:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12005, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11995, - "src": "37292:2:9", - "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": 11999, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37226:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12000, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37230:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37226:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12006, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37226:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 11998, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "37210:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37210:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12008, - "nodeType": "ExpressionStatement", - "src": "37210:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37137:3:9", - "parameters": { - "id": 11996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 11989, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37155:2:9", - "nodeType": "VariableDeclaration", - "scope": 12010, - "src": "37141:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 11988, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37141:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11991, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37164:2:9", - "nodeType": "VariableDeclaration", - "scope": 12010, - "src": "37159:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11990, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37159:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11993, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37173:2:9", - "nodeType": "VariableDeclaration", - "scope": 12010, - "src": "37168:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 11992, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "37168:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 11995, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37182:2:9", - "nodeType": "VariableDeclaration", - "scope": 12010, - "src": "37177:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 11994, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37177:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37140:45:9" - }, - "returnParameters": { - "id": 11997, - "nodeType": "ParameterList", - "parameters": [], - "src": "37200:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12033, - "nodeType": "FunctionDefinition", - "src": "37309:181:9", - "body": { - "id": 12032, - "nodeType": "Block", - "src": "37384:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e742c6164647265737329", - "id": 12024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37434:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_71d3850da171f493bcf1bd9faa0694f71484214d8459bca427251a9ad3e9bbd6", - "typeString": "literal_string \"log(string,bool,uint,address)\"" - }, - "value": "log(string,bool,uint,address)" - }, - { - "id": 12025, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12012, - "src": "37467:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12026, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12014, - "src": "37471:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12027, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12016, - "src": "37475:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12028, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12018, - "src": "37479:2:9", - "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": 12022, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37410:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12023, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37414:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37410:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12029, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37410:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12021, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "37394:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37394:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12031, - "nodeType": "ExpressionStatement", - "src": "37394:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37318:3:9", - "parameters": { - "id": 12019, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12012, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37336:2:9", - "nodeType": "VariableDeclaration", - "scope": 12033, - "src": "37322:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12011, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37322:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12014, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37345:2:9", - "nodeType": "VariableDeclaration", - "scope": 12033, - "src": "37340:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12013, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37340:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12016, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37354:2:9", - "nodeType": "VariableDeclaration", - "scope": 12033, - "src": "37349:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12015, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "37349:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12018, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37366:2:9", - "nodeType": "VariableDeclaration", - "scope": 12033, - "src": "37358:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12017, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37358:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "37321:48:9" - }, - "returnParameters": { - "id": 12020, - "nodeType": "ParameterList", - "parameters": [], - "src": "37384:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12056, - "nodeType": "FunctionDefinition", - "src": "37496:186:9", - "body": { - "id": 12055, - "nodeType": "Block", - "src": "37577:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c75696e7429", - "id": 12047, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37627:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_34cb308d42fc37e3a239bcd0d717cf3713a336733737bee1d82ac9061e969d72", - "typeString": "literal_string \"log(string,bool,string,uint)\"" - }, - "value": "log(string,bool,string,uint)" - }, - { - "id": 12048, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12035, - "src": "37659:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12049, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12037, - "src": "37663:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12050, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12039, - "src": "37667:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12051, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12041, - "src": "37671:2:9", - "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": 12045, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37603:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12046, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37607:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37603:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37603:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12044, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "37587:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37587:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12054, - "nodeType": "ExpressionStatement", - "src": "37587:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37505:3:9", - "parameters": { - "id": 12042, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12035, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37523:2:9", - "nodeType": "VariableDeclaration", - "scope": 12056, - "src": "37509:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12034, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37509:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12037, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37532:2:9", - "nodeType": "VariableDeclaration", - "scope": 12056, - "src": "37527:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12036, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37527:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12039, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37550:2:9", - "nodeType": "VariableDeclaration", - "scope": 12056, - "src": "37536:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12038, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37536:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12041, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37559:2:9", - "nodeType": "VariableDeclaration", - "scope": 12056, - "src": "37554:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12040, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "37554:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37508:54:9" - }, - "returnParameters": { - "id": 12043, - "nodeType": "ParameterList", - "parameters": [], - "src": "37577:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12079, - "nodeType": "FunctionDefinition", - "src": "37688:197:9", - "body": { - "id": 12078, - "nodeType": "Block", - "src": "37778:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c737472696e6729", - "id": 12070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37828:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a826caebc65f4a71211c1c7fd8dc9bdd856d7ef7dbeef42d8af156e9f73bc47d", - "typeString": "literal_string \"log(string,bool,string,string)\"" - }, - "value": "log(string,bool,string,string)" - }, - { - "id": 12071, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12058, - "src": "37862:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12072, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12060, - "src": "37866:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12073, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12062, - "src": "37870:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12074, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12064, - "src": "37874:2:9", - "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": 12068, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37804:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37808:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37804:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37804:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12067, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "37788:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37788:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12077, - "nodeType": "ExpressionStatement", - "src": "37788:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37697:3:9", - "parameters": { - "id": 12065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12058, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37715:2:9", - "nodeType": "VariableDeclaration", - "scope": 12079, - "src": "37701:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12057, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37701:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12060, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37724:2:9", - "nodeType": "VariableDeclaration", - "scope": 12079, - "src": "37719:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12059, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37719:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12062, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37742:2:9", - "nodeType": "VariableDeclaration", - "scope": 12079, - "src": "37728:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12061, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37728:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12064, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37760:2:9", - "nodeType": "VariableDeclaration", - "scope": 12079, - "src": "37746:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12063, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37746:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "37700:63:9" - }, - "returnParameters": { - "id": 12066, - "nodeType": "ParameterList", - "parameters": [], - "src": "37778:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12102, - "nodeType": "FunctionDefinition", - "src": "37891:186:9", - "body": { - "id": 12101, - "nodeType": "Block", - "src": "37972:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c626f6f6c29", - "id": 12093, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38022:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3f8a701d00386d6ad9c7b7a930805b985bcbbe108e894a7d5cb9493e87e57e8b", - "typeString": "literal_string \"log(string,bool,string,bool)\"" - }, - "value": "log(string,bool,string,bool)" - }, - { - "id": 12094, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12081, - "src": "38054:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12095, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12083, - "src": "38058:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12096, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12085, - "src": "38062:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12097, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12087, - "src": "38066:2:9", - "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": 12091, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37998:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38002:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37998:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37998:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12090, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "37982:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12099, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37982:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12100, - "nodeType": "ExpressionStatement", - "src": "37982:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37900:3:9", - "parameters": { - "id": 12088, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12081, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37918:2:9", - "nodeType": "VariableDeclaration", - "scope": 12102, - "src": "37904:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12080, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37904:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12083, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37927:2:9", - "nodeType": "VariableDeclaration", - "scope": 12102, - "src": "37922:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12082, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37922:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12085, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37945:2:9", - "nodeType": "VariableDeclaration", - "scope": 12102, - "src": "37931:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12084, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37931:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12087, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37954:2:9", - "nodeType": "VariableDeclaration", - "scope": 12102, - "src": "37949:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12086, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37949:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37903:54:9" - }, - "returnParameters": { - "id": 12089, - "nodeType": "ParameterList", - "parameters": [], - "src": "37972:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12125, - "nodeType": "FunctionDefinition", - "src": "38083:192:9", - "body": { - "id": 12124, - "nodeType": "Block", - "src": "38167:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c6164647265737329", - "id": 12116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38217:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0625b292fa5cbc865b55f61713cbbe0ce7abb244ec2df45291ea19c30ddfaf8", - "typeString": "literal_string \"log(string,bool,string,address)\"" - }, - "value": "log(string,bool,string,address)" - }, - { - "id": 12117, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12104, - "src": "38252:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12118, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12106, - "src": "38256:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12119, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12108, - "src": "38260:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12120, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12110, - "src": "38264:2:9", - "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": 12114, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38193:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38197:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38193:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38193:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12113, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "38177:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38177:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12123, - "nodeType": "ExpressionStatement", - "src": "38177:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38092:3:9", - "parameters": { - "id": 12111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12104, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38110:2:9", - "nodeType": "VariableDeclaration", - "scope": 12125, - "src": "38096:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12103, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38096:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12106, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38119:2:9", - "nodeType": "VariableDeclaration", - "scope": 12125, - "src": "38114:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12105, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38114:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12108, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38137:2:9", - "nodeType": "VariableDeclaration", - "scope": 12125, - "src": "38123:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12107, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38123:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12110, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38149:2:9", - "nodeType": "VariableDeclaration", - "scope": 12125, - "src": "38141:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12109, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38141:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "38095:57:9" - }, - "returnParameters": { - "id": 12112, - "nodeType": "ParameterList", - "parameters": [], - "src": "38167:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12148, - "nodeType": "FunctionDefinition", - "src": "38281:175:9", - "body": { - "id": 12147, - "nodeType": "Block", - "src": "38353:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c75696e7429", - "id": 12139, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38403:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_807531e8eafdd7a15a803e586dd9a01b2aa8ae2cdd52f093775c0dcb0c977edf", - "typeString": "literal_string \"log(string,bool,bool,uint)\"" - }, - "value": "log(string,bool,bool,uint)" - }, - { - "id": 12140, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12127, - "src": "38433:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12141, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12129, - "src": "38437:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12142, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12131, - "src": "38441:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12143, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12133, - "src": "38445:2:9", - "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": 12137, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38379:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38383:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38379:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38379:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12136, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "38363:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38363:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12146, - "nodeType": "ExpressionStatement", - "src": "38363:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38290:3:9", - "parameters": { - "id": 12134, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12127, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38308:2:9", - "nodeType": "VariableDeclaration", - "scope": 12148, - "src": "38294:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12126, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38294:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12129, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38317:2:9", - "nodeType": "VariableDeclaration", - "scope": 12148, - "src": "38312:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12128, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38312:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12131, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38326:2:9", - "nodeType": "VariableDeclaration", - "scope": 12148, - "src": "38321:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12130, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38321:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12133, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38335:2:9", - "nodeType": "VariableDeclaration", - "scope": 12148, - "src": "38330:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12132, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "38330:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "38293:45:9" - }, - "returnParameters": { - "id": 12135, - "nodeType": "ParameterList", - "parameters": [], - "src": "38353:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12171, - "nodeType": "FunctionDefinition", - "src": "38462:186:9", - "body": { - "id": 12170, - "nodeType": "Block", - "src": "38543:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c737472696e6729", - "id": 12162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38593:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9d22d5dd5fa6b44920526f32944af8a0b12651bcfe7d5e4d9330573146eaf058", - "typeString": "literal_string \"log(string,bool,bool,string)\"" - }, - "value": "log(string,bool,bool,string)" - }, - { - "id": 12163, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12150, - "src": "38625:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12164, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12152, - "src": "38629:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12165, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12154, - "src": "38633:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12166, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12156, - "src": "38637:2:9", - "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": 12160, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38569:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12161, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38573:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38569:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38569:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12159, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "38553:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38553:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12169, - "nodeType": "ExpressionStatement", - "src": "38553:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38471:3:9", - "parameters": { - "id": 12157, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12150, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38489:2:9", - "nodeType": "VariableDeclaration", - "scope": 12171, - "src": "38475:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12149, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38475:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12152, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38498:2:9", - "nodeType": "VariableDeclaration", - "scope": 12171, - "src": "38493:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12151, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38493:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12154, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38507:2:9", - "nodeType": "VariableDeclaration", - "scope": 12171, - "src": "38502:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12153, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38502:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12156, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38525:2:9", - "nodeType": "VariableDeclaration", - "scope": 12171, - "src": "38511:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12155, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38511:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "38474:54:9" - }, - "returnParameters": { - "id": 12158, - "nodeType": "ParameterList", - "parameters": [], - "src": "38543:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12194, - "nodeType": "FunctionDefinition", - "src": "38654:175:9", - "body": { - "id": 12193, - "nodeType": "Block", - "src": "38726:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 12185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38776:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_895af8c5b50078ceec3119054e20583155eeb3e1a8f56b8ed56efbec57456ad2", - "typeString": "literal_string \"log(string,bool,bool,bool)\"" - }, - "value": "log(string,bool,bool,bool)" - }, - { - "id": 12186, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12173, - "src": "38806:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12187, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12175, - "src": "38810:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12188, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12177, - "src": "38814:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12189, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12179, - "src": "38818:2:9", - "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": 12183, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38752:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38756:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38752:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38752:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12182, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "38736:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38736:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12192, - "nodeType": "ExpressionStatement", - "src": "38736:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38663:3:9", - "parameters": { - "id": 12180, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12173, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38681:2:9", - "nodeType": "VariableDeclaration", - "scope": 12194, - "src": "38667:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12172, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38667:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12175, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38690:2:9", - "nodeType": "VariableDeclaration", - "scope": 12194, - "src": "38685:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12174, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38685:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12177, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38699:2:9", - "nodeType": "VariableDeclaration", - "scope": 12194, - "src": "38694:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12176, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38694:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12179, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38708:2:9", - "nodeType": "VariableDeclaration", - "scope": 12194, - "src": "38703:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12178, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38703:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "38666:45:9" - }, - "returnParameters": { - "id": 12181, - "nodeType": "ParameterList", - "parameters": [], - "src": "38726:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12217, - "nodeType": "FunctionDefinition", - "src": "38835:181:9", - "body": { - "id": 12216, - "nodeType": "Block", - "src": "38910:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c6164647265737329", - "id": 12208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38960:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7190a529624f3e9168945b9053b9648f6439313f31cad0801b50f9dc38a45d4d", - "typeString": "literal_string \"log(string,bool,bool,address)\"" - }, - "value": "log(string,bool,bool,address)" - }, - { - "id": 12209, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12196, - "src": "38993:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12210, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12198, - "src": "38997:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12211, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12200, - "src": "39001:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12212, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12202, - "src": "39005:2:9", - "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": 12206, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38936:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12207, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38940:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38936:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38936:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12205, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "38920:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38920:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12215, - "nodeType": "ExpressionStatement", - "src": "38920:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38844:3:9", - "parameters": { - "id": 12203, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12196, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38862:2:9", - "nodeType": "VariableDeclaration", - "scope": 12217, - "src": "38848:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12195, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38848:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12198, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38871:2:9", - "nodeType": "VariableDeclaration", - "scope": 12217, - "src": "38866:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12197, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38866:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12200, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38880:2:9", - "nodeType": "VariableDeclaration", - "scope": 12217, - "src": "38875:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12199, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38875:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12202, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38892:2:9", - "nodeType": "VariableDeclaration", - "scope": 12217, - "src": "38884:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12201, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38884:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "38847:48:9" - }, - "returnParameters": { - "id": 12204, - "nodeType": "ParameterList", - "parameters": [], - "src": "38910:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12240, - "nodeType": "FunctionDefinition", - "src": "39022:181:9", - "body": { - "id": 12239, - "nodeType": "Block", - "src": "39097:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c75696e7429", - "id": 12231, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39147:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28df4e96d50017c69e64253ea877c992512b689fb9fed17cf6af78f104f1200b", - "typeString": "literal_string \"log(string,bool,address,uint)\"" - }, - "value": "log(string,bool,address,uint)" - }, - { - "id": 12232, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12219, - "src": "39180:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12233, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12221, - "src": "39184:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12234, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12223, - "src": "39188:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12235, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12225, - "src": "39192:2:9", - "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": 12229, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39123:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39127:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39123:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12236, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39123:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12228, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "39107:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39107:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12238, - "nodeType": "ExpressionStatement", - "src": "39107:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39031:3:9", - "parameters": { - "id": 12226, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12219, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39049:2:9", - "nodeType": "VariableDeclaration", - "scope": 12240, - "src": "39035:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12218, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39035:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12221, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39058:2:9", - "nodeType": "VariableDeclaration", - "scope": 12240, - "src": "39053:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12220, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39053:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12223, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39070:2:9", - "nodeType": "VariableDeclaration", - "scope": 12240, - "src": "39062:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12222, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39062:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12225, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39079:2:9", - "nodeType": "VariableDeclaration", - "scope": 12240, - "src": "39074:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12224, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "39074:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "39034:48:9" - }, - "returnParameters": { - "id": 12227, - "nodeType": "ParameterList", - "parameters": [], - "src": "39097:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12263, - "nodeType": "FunctionDefinition", - "src": "39209:192:9", - "body": { - "id": 12262, - "nodeType": "Block", - "src": "39293:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c737472696e6729", - "id": 12254, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39343:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8e33a4e52268aad313274a8446eec6f40466a28da2456a8f12d83b298c13ef", - "typeString": "literal_string \"log(string,bool,address,string)\"" - }, - "value": "log(string,bool,address,string)" - }, - { - "id": 12255, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12242, - "src": "39378:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12256, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12244, - "src": "39382:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12257, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12246, - "src": "39386:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12258, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12248, - "src": "39390:2:9", - "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": 12252, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39319:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12253, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39323:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39319:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12259, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39319:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12251, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "39303:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39303:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12261, - "nodeType": "ExpressionStatement", - "src": "39303:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39218:3:9", - "parameters": { - "id": 12249, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12242, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39236:2:9", - "nodeType": "VariableDeclaration", - "scope": 12263, - "src": "39222:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12241, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39222:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12244, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39245:2:9", - "nodeType": "VariableDeclaration", - "scope": 12263, - "src": "39240:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12243, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39240:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12246, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39257:2:9", - "nodeType": "VariableDeclaration", - "scope": 12263, - "src": "39249:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12245, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39249:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12248, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39275:2:9", - "nodeType": "VariableDeclaration", - "scope": 12263, - "src": "39261:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12247, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39261:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "39221:57:9" - }, - "returnParameters": { - "id": 12250, - "nodeType": "ParameterList", - "parameters": [], - "src": "39293:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12286, - "nodeType": "FunctionDefinition", - "src": "39407:181:9", - "body": { - "id": 12285, - "nodeType": "Block", - "src": "39482:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c626f6f6c29", - "id": 12277, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39532:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_958c28c6e7bd79de7ce7f6f112cbcb194d9e383764dfb947492ee1374ff5c482", - "typeString": "literal_string \"log(string,bool,address,bool)\"" - }, - "value": "log(string,bool,address,bool)" - }, - { - "id": 12278, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12265, - "src": "39565:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12279, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12267, - "src": "39569:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12280, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12269, - "src": "39573:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12281, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12271, - "src": "39577:2:9", - "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": 12275, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39508:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39512:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39508:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39508:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12274, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "39492:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39492:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12284, - "nodeType": "ExpressionStatement", - "src": "39492:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39416:3:9", - "parameters": { - "id": 12272, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12265, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39434:2:9", - "nodeType": "VariableDeclaration", - "scope": 12286, - "src": "39420:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12264, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39420:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12267, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39443:2:9", - "nodeType": "VariableDeclaration", - "scope": 12286, - "src": "39438:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12266, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39438:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12269, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39455:2:9", - "nodeType": "VariableDeclaration", - "scope": 12286, - "src": "39447:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12268, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39447:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12271, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39464:2:9", - "nodeType": "VariableDeclaration", - "scope": 12286, - "src": "39459:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12270, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39459:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "39419:48:9" - }, - "returnParameters": { - "id": 12273, - "nodeType": "ParameterList", - "parameters": [], - "src": "39482:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12309, - "nodeType": "FunctionDefinition", - "src": "39594:187:9", - "body": { - "id": 12308, - "nodeType": "Block", - "src": "39672:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c6164647265737329", - "id": 12300, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39722:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_33e9dd1deb33816160eb59d86987de501b214bedbbe3c70103eff4092834b53d", - "typeString": "literal_string \"log(string,bool,address,address)\"" - }, - "value": "log(string,bool,address,address)" - }, - { - "id": 12301, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12288, - "src": "39758:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12302, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12290, - "src": "39762:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12303, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12292, - "src": "39766:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12304, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12294, - "src": "39770:2:9", - "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": 12298, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39698:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12299, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39702:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39698:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12305, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39698:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12297, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "39682:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39682:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12307, - "nodeType": "ExpressionStatement", - "src": "39682:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39603:3:9", - "parameters": { - "id": 12295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12288, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39621:2:9", - "nodeType": "VariableDeclaration", - "scope": 12309, - "src": "39607:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12287, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39607:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12290, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39630:2:9", - "nodeType": "VariableDeclaration", - "scope": 12309, - "src": "39625:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12289, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39625:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12292, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39642:2:9", - "nodeType": "VariableDeclaration", - "scope": 12309, - "src": "39634:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12291, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39634:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12294, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39654:2:9", - "nodeType": "VariableDeclaration", - "scope": 12309, - "src": "39646:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39646:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "39606:51:9" - }, - "returnParameters": { - "id": 12296, - "nodeType": "ParameterList", - "parameters": [], - "src": "39672:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12332, - "nodeType": "FunctionDefinition", - "src": "39787:181:9", - "body": { - "id": 12331, - "nodeType": "Block", - "src": "39862:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e742c75696e7429", - "id": 12323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39912:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_daa394bd4914eaece965f4173c7699746dff411e470b03385f052bd7b13f1bd3", - "typeString": "literal_string \"log(string,address,uint,uint)\"" - }, - "value": "log(string,address,uint,uint)" - }, - { - "id": 12324, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12311, - "src": "39945:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12325, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12313, - "src": "39949:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12326, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12315, - "src": "39953:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12327, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12317, - "src": "39957:2:9", - "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": 12321, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39888:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12322, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39892:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39888:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39888:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12320, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "39872:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39872:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12330, - "nodeType": "ExpressionStatement", - "src": "39872:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39796:3:9", - "parameters": { - "id": 12318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12311, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39814:2:9", - "nodeType": "VariableDeclaration", - "scope": 12332, - "src": "39800:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39800:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12313, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39826:2:9", - "nodeType": "VariableDeclaration", - "scope": 12332, - "src": "39818:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12312, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39818:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12315, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39835:2:9", - "nodeType": "VariableDeclaration", - "scope": 12332, - "src": "39830:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12314, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "39830:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12317, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39844:2:9", - "nodeType": "VariableDeclaration", - "scope": 12332, - "src": "39839:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12316, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "39839:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "39799:48:9" - }, - "returnParameters": { - "id": 12319, - "nodeType": "ParameterList", - "parameters": [], - "src": "39862:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12355, - "nodeType": "FunctionDefinition", - "src": "39974:192:9", - "body": { - "id": 12354, - "nodeType": "Block", - "src": "40058:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e742c737472696e6729", - "id": 12346, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40108:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4c55f234d048f08e770926729ee5d8a9c70d6b9a607ce037165c7e0f36155a98", - "typeString": "literal_string \"log(string,address,uint,string)\"" - }, - "value": "log(string,address,uint,string)" - }, - { - "id": 12347, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12334, - "src": "40143:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12348, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12336, - "src": "40147:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12349, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12338, - "src": "40151:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12350, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12340, - "src": "40155:2:9", - "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": 12344, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40084:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40088:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40084:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40084:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12343, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "40068:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40068:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12353, - "nodeType": "ExpressionStatement", - "src": "40068:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39983:3:9", - "parameters": { - "id": 12341, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12334, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40001:2:9", - "nodeType": "VariableDeclaration", - "scope": 12355, - "src": "39987:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12333, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39987:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12336, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40013:2:9", - "nodeType": "VariableDeclaration", - "scope": 12355, - "src": "40005:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12335, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40005:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12338, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40022:2:9", - "nodeType": "VariableDeclaration", - "scope": 12355, - "src": "40017:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12337, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "40017:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12340, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40040:2:9", - "nodeType": "VariableDeclaration", - "scope": 12355, - "src": "40026:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12339, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40026:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "39986:57:9" - }, - "returnParameters": { - "id": 12342, - "nodeType": "ParameterList", - "parameters": [], - "src": "40058:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12378, - "nodeType": "FunctionDefinition", - "src": "40172:181:9", - "body": { - "id": 12377, - "nodeType": "Block", - "src": "40247:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e742c626f6f6c29", - "id": 12369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40297:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ac1c13c91f65a91284d9d77ba7484e75b0a3dd9b57a01fd497babb7d6ebc554", - "typeString": "literal_string \"log(string,address,uint,bool)\"" - }, - "value": "log(string,address,uint,bool)" - }, - { - "id": 12370, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12357, - "src": "40330:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12371, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12359, - "src": "40334:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12372, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12361, - "src": "40338:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12373, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12363, - "src": "40342:2:9", - "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": 12367, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40273:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40277:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40273:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40273:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12366, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "40257:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12375, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40257:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12376, - "nodeType": "ExpressionStatement", - "src": "40257:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40181:3:9", - "parameters": { - "id": 12364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12357, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40199:2:9", - "nodeType": "VariableDeclaration", - "scope": 12378, - "src": "40185:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12356, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40185:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12359, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40211:2:9", - "nodeType": "VariableDeclaration", - "scope": 12378, - "src": "40203:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12358, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40203:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12361, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40220:2:9", - "nodeType": "VariableDeclaration", - "scope": 12378, - "src": "40215:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12360, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "40215:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12363, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40229:2:9", - "nodeType": "VariableDeclaration", - "scope": 12378, - "src": "40224:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12362, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40224:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "40184:48:9" - }, - "returnParameters": { - "id": 12365, - "nodeType": "ParameterList", - "parameters": [], - "src": "40247:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12401, - "nodeType": "FunctionDefinition", - "src": "40359:187:9", - "body": { - "id": 12400, - "nodeType": "Block", - "src": "40437:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e742c6164647265737329", - "id": 12392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40487:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a366ec808c8af1aa091e8102642939a99436cf04d3dfac2ae23c299404f821b2", - "typeString": "literal_string \"log(string,address,uint,address)\"" - }, - "value": "log(string,address,uint,address)" - }, - { - "id": 12393, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12380, - "src": "40523:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12394, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12382, - "src": "40527:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12395, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12384, - "src": "40531:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12396, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12386, - "src": "40535:2:9", - "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": 12390, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40463:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40467:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40463:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12397, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40463:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12389, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "40447:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40447:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12399, - "nodeType": "ExpressionStatement", - "src": "40447:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40368:3:9", - "parameters": { - "id": 12387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12380, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40386:2:9", - "nodeType": "VariableDeclaration", - "scope": 12401, - "src": "40372:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12379, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40372:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12382, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40398:2:9", - "nodeType": "VariableDeclaration", - "scope": 12401, - "src": "40390:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12381, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40390:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12384, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40407:2:9", - "nodeType": "VariableDeclaration", - "scope": 12401, - "src": "40402:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12383, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "40402:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12386, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40419:2:9", - "nodeType": "VariableDeclaration", - "scope": 12401, - "src": "40411:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40411:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "40371:51:9" - }, - "returnParameters": { - "id": 12388, - "nodeType": "ParameterList", - "parameters": [], - "src": "40437:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12424, - "nodeType": "FunctionDefinition", - "src": "40552:192:9", - "body": { - "id": 12423, - "nodeType": "Block", - "src": "40636:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c75696e7429", - "id": 12415, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40686:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f624be9ea3983abac9c65ced8f562a492ebb84e6f74cd40f35387eff4d66349", - "typeString": "literal_string \"log(string,address,string,uint)\"" - }, - "value": "log(string,address,string,uint)" - }, - { - "id": 12416, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12403, - "src": "40721:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12417, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12405, - "src": "40725:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12418, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12407, - "src": "40729:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12419, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12409, - "src": "40733:2:9", - "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": 12413, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40662:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12414, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40666:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40662:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12420, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40662:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12412, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "40646:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40646:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12422, - "nodeType": "ExpressionStatement", - "src": "40646:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40561:3:9", - "parameters": { - "id": 12410, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12403, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40579:2:9", - "nodeType": "VariableDeclaration", - "scope": 12424, - "src": "40565:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40565:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12405, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40591:2:9", - "nodeType": "VariableDeclaration", - "scope": 12424, - "src": "40583:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12404, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40583:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12407, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40609:2:9", - "nodeType": "VariableDeclaration", - "scope": 12424, - "src": "40595:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12406, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40595:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12409, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40618:2:9", - "nodeType": "VariableDeclaration", - "scope": 12424, - "src": "40613:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12408, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "40613:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "40564:57:9" - }, - "returnParameters": { - "id": 12411, - "nodeType": "ParameterList", - "parameters": [], - "src": "40636:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12447, - "nodeType": "FunctionDefinition", - "src": "40750:203:9", - "body": { - "id": 12446, - "nodeType": "Block", - "src": "40843:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c737472696e6729", - "id": 12438, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40893:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_245986f22170901865e76245a48ee28ce0127ca357f6ad576a72190e1d358797", - "typeString": "literal_string \"log(string,address,string,string)\"" - }, - "value": "log(string,address,string,string)" - }, - { - "id": 12439, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12426, - "src": "40930:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12440, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12428, - "src": "40934:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12441, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12430, - "src": "40938:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12442, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12432, - "src": "40942:2:9", - "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": 12436, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40869:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12437, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40873:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40869:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12443, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40869:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12435, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "40853:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40853:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12445, - "nodeType": "ExpressionStatement", - "src": "40853:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40759:3:9", - "parameters": { - "id": 12433, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12426, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40777:2:9", - "nodeType": "VariableDeclaration", - "scope": 12447, - "src": "40763:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12425, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40763:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12428, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40789:2:9", - "nodeType": "VariableDeclaration", - "scope": 12447, - "src": "40781:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12427, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40781:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12430, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40807:2:9", - "nodeType": "VariableDeclaration", - "scope": 12447, - "src": "40793:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12429, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40793:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12432, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40825:2:9", - "nodeType": "VariableDeclaration", - "scope": 12447, - "src": "40811:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12431, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40811:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "40762:66:9" - }, - "returnParameters": { - "id": 12434, - "nodeType": "ParameterList", - "parameters": [], - "src": "40843:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12470, - "nodeType": "FunctionDefinition", - "src": "40959:192:9", - "body": { - "id": 12469, - "nodeType": "Block", - "src": "41043:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c626f6f6c29", - "id": 12461, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41093:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f15d28c15ddff15fba1c00f6a4975ae6af8b36c9b2a875bf59bd45049046154", - "typeString": "literal_string \"log(string,address,string,bool)\"" - }, - "value": "log(string,address,string,bool)" - }, - { - "id": 12462, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12449, - "src": "41128:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12463, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12451, - "src": "41132:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12464, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12453, - "src": "41136:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12465, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12455, - "src": "41140:2:9", - "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": 12459, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41069:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12460, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41073:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41069:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12466, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41069:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12458, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "41053:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41053:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12468, - "nodeType": "ExpressionStatement", - "src": "41053:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40968:3:9", - "parameters": { - "id": 12456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12449, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40986:2:9", - "nodeType": "VariableDeclaration", - "scope": 12470, - "src": "40972:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12448, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40972:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12451, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40998:2:9", - "nodeType": "VariableDeclaration", - "scope": 12470, - "src": "40990:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12450, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40990:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12453, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41016:2:9", - "nodeType": "VariableDeclaration", - "scope": 12470, - "src": "41002:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12452, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41002:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12455, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41025:2:9", - "nodeType": "VariableDeclaration", - "scope": 12470, - "src": "41020:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12454, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41020:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "40971:57:9" - }, - "returnParameters": { - "id": 12457, - "nodeType": "ParameterList", - "parameters": [], - "src": "41043:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12493, - "nodeType": "FunctionDefinition", - "src": "41157:198:9", - "body": { - "id": 12492, - "nodeType": "Block", - "src": "41244:111:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c6164647265737329", - "id": 12484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41294:36:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aabc9a311ab49789834b120d81155a7fee846a9f0d4f740bbeb970770190c82d", - "typeString": "literal_string \"log(string,address,string,address)\"" - }, - "value": "log(string,address,string,address)" - }, - { - "id": 12485, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12472, - "src": "41332:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12486, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12474, - "src": "41336:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12487, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12476, - "src": "41340:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12488, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12478, - "src": "41344:2:9", - "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": 12482, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41270:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41274:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41270:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41270:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12481, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "41254:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41254:94:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12491, - "nodeType": "ExpressionStatement", - "src": "41254:94:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41166:3:9", - "parameters": { - "id": 12479, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12472, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41184:2:9", - "nodeType": "VariableDeclaration", - "scope": 12493, - "src": "41170:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12471, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41170:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12474, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41196:2:9", - "nodeType": "VariableDeclaration", - "scope": 12493, - "src": "41188:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12473, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41188:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12476, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41214:2:9", - "nodeType": "VariableDeclaration", - "scope": 12493, - "src": "41200:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12475, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41200:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12478, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41226:2:9", - "nodeType": "VariableDeclaration", - "scope": 12493, - "src": "41218:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41218:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "41169:60:9" - }, - "returnParameters": { - "id": 12480, - "nodeType": "ParameterList", - "parameters": [], - "src": "41244:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12516, - "nodeType": "FunctionDefinition", - "src": "41361:181:9", - "body": { - "id": 12515, - "nodeType": "Block", - "src": "41436:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c75696e7429", - "id": 12507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41486:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d1bb8ba57e795e9925065473f653a381a99be37bdcfbeaf49f38097f35af7f", - "typeString": "literal_string \"log(string,address,bool,uint)\"" - }, - "value": "log(string,address,bool,uint)" - }, - { - "id": 12508, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12495, - "src": "41519:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12509, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12497, - "src": "41523:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12510, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12499, - "src": "41527:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12511, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12501, - "src": "41531:2:9", - "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": 12505, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41462:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41466:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41462:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12512, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41462:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12504, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "41446:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41446:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12514, - "nodeType": "ExpressionStatement", - "src": "41446:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41370:3:9", - "parameters": { - "id": 12502, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12495, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41388:2:9", - "nodeType": "VariableDeclaration", - "scope": 12516, - "src": "41374:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12494, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41374:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12497, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41400:2:9", - "nodeType": "VariableDeclaration", - "scope": 12516, - "src": "41392:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12496, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41392:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12499, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41409:2:9", - "nodeType": "VariableDeclaration", - "scope": 12516, - "src": "41404:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12498, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41404:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12501, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41418:2:9", - "nodeType": "VariableDeclaration", - "scope": 12516, - "src": "41413:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12500, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "41413:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "41373:48:9" - }, - "returnParameters": { - "id": 12503, - "nodeType": "ParameterList", - "parameters": [], - "src": "41436:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12539, - "nodeType": "FunctionDefinition", - "src": "41548:192:9", - "body": { - "id": 12538, - "nodeType": "Block", - "src": "41632:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c737472696e6729", - "id": 12530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41682:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0454c0793d4a41e5f630eb9a887926f8a67ff9e817a5feb968698354ac9d22fb", - "typeString": "literal_string \"log(string,address,bool,string)\"" - }, - "value": "log(string,address,bool,string)" - }, - { - "id": 12531, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12518, - "src": "41717:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12532, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12520, - "src": "41721:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12533, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12522, - "src": "41725:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12534, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12524, - "src": "41729:2:9", - "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": 12528, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41658:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41662:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41658:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12535, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41658:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12527, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "41642:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41642:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12537, - "nodeType": "ExpressionStatement", - "src": "41642:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41557:3:9", - "parameters": { - "id": 12525, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12518, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41575:2:9", - "nodeType": "VariableDeclaration", - "scope": 12539, - "src": "41561:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12517, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41561:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12520, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41587:2:9", - "nodeType": "VariableDeclaration", - "scope": 12539, - "src": "41579:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12519, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41579:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12522, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41596:2:9", - "nodeType": "VariableDeclaration", - "scope": 12539, - "src": "41591:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12521, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41591:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12524, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41614:2:9", - "nodeType": "VariableDeclaration", - "scope": 12539, - "src": "41600:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12523, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41600:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "41560:57:9" - }, - "returnParameters": { - "id": 12526, - "nodeType": "ParameterList", - "parameters": [], - "src": "41632:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12562, - "nodeType": "FunctionDefinition", - "src": "41746:181:9", - "body": { - "id": 12561, - "nodeType": "Block", - "src": "41821:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c626f6f6c29", - "id": 12553, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41871:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_79884c2bc85eb73c854df1610df373a05f191b834f79cd47a7ab28be2308c039", - "typeString": "literal_string \"log(string,address,bool,bool)\"" - }, - "value": "log(string,address,bool,bool)" - }, - { - "id": 12554, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12541, - "src": "41904:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12555, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12543, - "src": "41908:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12556, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12545, - "src": "41912:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12557, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12547, - "src": "41916:2:9", - "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": 12551, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41847:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12552, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41851:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41847:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12558, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41847:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12550, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "41831:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12559, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41831:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12560, - "nodeType": "ExpressionStatement", - "src": "41831:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41755:3:9", - "parameters": { - "id": 12548, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12541, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41773:2:9", - "nodeType": "VariableDeclaration", - "scope": 12562, - "src": "41759:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41759:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12543, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41785:2:9", - "nodeType": "VariableDeclaration", - "scope": 12562, - "src": "41777:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12542, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41777:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12545, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41794:2:9", - "nodeType": "VariableDeclaration", - "scope": 12562, - "src": "41789:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12544, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41789:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12547, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41803:2:9", - "nodeType": "VariableDeclaration", - "scope": 12562, - "src": "41798:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12546, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41798:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "41758:48:9" - }, - "returnParameters": { - "id": 12549, - "nodeType": "ParameterList", - "parameters": [], - "src": "41821:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12585, - "nodeType": "FunctionDefinition", - "src": "41933:187:9", - "body": { - "id": 12584, - "nodeType": "Block", - "src": "42011:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c6164647265737329", - "id": 12576, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42061:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_223603bd064d72559a7d519ad0f1c6a8da707a49f5718dfa23a5ccb01bf9ab76", - "typeString": "literal_string \"log(string,address,bool,address)\"" - }, - "value": "log(string,address,bool,address)" - }, - { - "id": 12577, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12564, - "src": "42097:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12578, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12566, - "src": "42101:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12579, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12568, - "src": "42105:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12580, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12570, - "src": "42109:2:9", - "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": 12574, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42037:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12575, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42041:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42037:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42037:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12573, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "42021:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42021:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12583, - "nodeType": "ExpressionStatement", - "src": "42021:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41942:3:9", - "parameters": { - "id": 12571, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12564, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41960:2:9", - "nodeType": "VariableDeclaration", - "scope": 12585, - "src": "41946:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12563, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41946:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12566, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41972:2:9", - "nodeType": "VariableDeclaration", - "scope": 12585, - "src": "41964:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12565, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41964:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12568, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41981:2:9", - "nodeType": "VariableDeclaration", - "scope": 12585, - "src": "41976:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12567, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41976:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12570, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41993:2:9", - "nodeType": "VariableDeclaration", - "scope": 12585, - "src": "41985:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12569, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41985:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "41945:51:9" - }, - "returnParameters": { - "id": 12572, - "nodeType": "ParameterList", - "parameters": [], - "src": "42011:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12608, - "nodeType": "FunctionDefinition", - "src": "42126:187:9", - "body": { - "id": 12607, - "nodeType": "Block", - "src": "42204:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c75696e7429", - "id": 12599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42254:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6eb7943d4272e495e7f5cdeb25ef89b9c3c1042d5c1e0e6e11a8fdc842ff5e02", - "typeString": "literal_string \"log(string,address,address,uint)\"" - }, - "value": "log(string,address,address,uint)" - }, - { - "id": 12600, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12587, - "src": "42290:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12601, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12589, - "src": "42294:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12602, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12591, - "src": "42298:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12603, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12593, - "src": "42302:2:9", - "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": 12597, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42230:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42234:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42230:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42230:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12596, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "42214:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12605, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42214:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12606, - "nodeType": "ExpressionStatement", - "src": "42214:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42135:3:9", - "parameters": { - "id": 12594, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12587, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42153:2:9", - "nodeType": "VariableDeclaration", - "scope": 12608, - "src": "42139:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12586, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42139:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12589, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42165:2:9", - "nodeType": "VariableDeclaration", - "scope": 12608, - "src": "42157:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12588, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42157:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12591, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42177:2:9", - "nodeType": "VariableDeclaration", - "scope": 12608, - "src": "42169:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12590, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42169:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12593, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42186:2:9", - "nodeType": "VariableDeclaration", - "scope": 12608, - "src": "42181:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12592, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "42181:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "42138:51:9" - }, - "returnParameters": { - "id": 12595, - "nodeType": "ParameterList", - "parameters": [], - "src": "42204:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12631, - "nodeType": "FunctionDefinition", - "src": "42319:198:9", - "body": { - "id": 12630, - "nodeType": "Block", - "src": "42406:111:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c737472696e6729", - "id": 12622, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42456:36:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_800a1c6756a402b6162ca8653fd8e87e2c52d1c019c876e92eb2980479636a76", - "typeString": "literal_string \"log(string,address,address,string)\"" - }, - "value": "log(string,address,address,string)" - }, - { - "id": 12623, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12610, - "src": "42494:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12624, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12612, - "src": "42498:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12625, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12614, - "src": "42502:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12626, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12616, - "src": "42506:2:9", - "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": 12620, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42432:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12621, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42436:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42432:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12627, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42432:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12619, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "42416:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12628, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42416:94:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12629, - "nodeType": "ExpressionStatement", - "src": "42416:94:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42328:3:9", - "parameters": { - "id": 12617, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12610, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42346:2:9", - "nodeType": "VariableDeclaration", - "scope": 12631, - "src": "42332:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12609, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42332:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12612, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42358:2:9", - "nodeType": "VariableDeclaration", - "scope": 12631, - "src": "42350:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12611, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42350:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12614, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42370:2:9", - "nodeType": "VariableDeclaration", - "scope": 12631, - "src": "42362:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12613, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42362:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12616, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42388:2:9", - "nodeType": "VariableDeclaration", - "scope": 12631, - "src": "42374:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12615, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42374:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "42331:60:9" - }, - "returnParameters": { - "id": 12618, - "nodeType": "ParameterList", - "parameters": [], - "src": "42406:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12654, - "nodeType": "FunctionDefinition", - "src": "42523:187:9", - "body": { - "id": 12653, - "nodeType": "Block", - "src": "42601:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c626f6f6c29", - "id": 12645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42651:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b59dbd60587b4eeae521d5427cbc88bff32729f88aff059e7deb0a3a4320aaf4", - "typeString": "literal_string \"log(string,address,address,bool)\"" - }, - "value": "log(string,address,address,bool)" - }, - { - "id": 12646, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12633, - "src": "42687:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12647, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12635, - "src": "42691:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12648, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12637, - "src": "42695:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12649, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12639, - "src": "42699:2:9", - "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": 12643, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42627:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12644, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42631:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42627:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42627:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12642, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "42611:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42611:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12652, - "nodeType": "ExpressionStatement", - "src": "42611:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42532:3:9", - "parameters": { - "id": 12640, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12633, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42550:2:9", - "nodeType": "VariableDeclaration", - "scope": 12654, - "src": "42536:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12632, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42536:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12635, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42562:2:9", - "nodeType": "VariableDeclaration", - "scope": 12654, - "src": "42554:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12634, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42554:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12637, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42574:2:9", - "nodeType": "VariableDeclaration", - "scope": 12654, - "src": "42566:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12636, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42566:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12639, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42583:2:9", - "nodeType": "VariableDeclaration", - "scope": 12654, - "src": "42578:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12638, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42578:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "42535:51:9" - }, - "returnParameters": { - "id": 12641, - "nodeType": "ParameterList", - "parameters": [], - "src": "42601:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12677, - "nodeType": "FunctionDefinition", - "src": "42716:193:9", - "body": { - "id": 12676, - "nodeType": "Block", - "src": "42797:112:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c6164647265737329", - "id": 12668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42847:37:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ed8f28f6f4b5d54b1d37f705e543f556805f28b9d1bb3aef0ef7e57ef4992d15", - "typeString": "literal_string \"log(string,address,address,address)\"" - }, - "value": "log(string,address,address,address)" - }, - { - "id": 12669, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12656, - "src": "42886:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12670, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12658, - "src": "42890:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12671, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12660, - "src": "42894:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12672, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12662, - "src": "42898:2:9", - "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": 12666, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42823:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12667, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42827:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42823:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42823:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12665, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "42807:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42807:95:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12675, - "nodeType": "ExpressionStatement", - "src": "42807:95:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42725:3:9", - "parameters": { - "id": 12663, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12656, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42743:2:9", - "nodeType": "VariableDeclaration", - "scope": 12677, - "src": "42729:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12655, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42729:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12658, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42755:2:9", - "nodeType": "VariableDeclaration", - "scope": 12677, - "src": "42747:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12657, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42747:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12660, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42767:2:9", - "nodeType": "VariableDeclaration", - "scope": 12677, - "src": "42759:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12659, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42759:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12662, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42779:2:9", - "nodeType": "VariableDeclaration", - "scope": 12677, - "src": "42771:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12661, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42771:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "42728:54:9" - }, - "returnParameters": { - "id": 12664, - "nodeType": "ParameterList", - "parameters": [], - "src": "42797:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12700, - "nodeType": "FunctionDefinition", - "src": "42915:164:9", - "body": { - "id": 12699, - "nodeType": "Block", - "src": "42978:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e742c75696e7429", - "id": 12691, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43028:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32dfa524f720faf836764864b46011dc5eb74e494d57e12b294a68048585d558", - "typeString": "literal_string \"log(bool,uint,uint,uint)\"" - }, - "value": "log(bool,uint,uint,uint)" - }, - { - "id": 12692, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12679, - "src": "43056:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12693, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12681, - "src": "43060:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12694, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12683, - "src": "43064:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12695, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12685, - "src": "43068:2:9", - "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": 12689, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43004:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43008:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43004:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43004:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12688, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "42988:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42988:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12698, - "nodeType": "ExpressionStatement", - "src": "42988:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42924:3:9", - "parameters": { - "id": 12686, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12679, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42933:2:9", - "nodeType": "VariableDeclaration", - "scope": 12700, - "src": "42928:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12678, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42928:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12681, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42942:2:9", - "nodeType": "VariableDeclaration", - "scope": 12700, - "src": "42937:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12680, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "42937:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12683, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42951:2:9", - "nodeType": "VariableDeclaration", - "scope": 12700, - "src": "42946:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12682, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "42946:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12685, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42960:2:9", - "nodeType": "VariableDeclaration", - "scope": 12700, - "src": "42955:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12684, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "42955:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "42927:36:9" - }, - "returnParameters": { - "id": 12687, - "nodeType": "ParameterList", - "parameters": [], - "src": "42978:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12723, - "nodeType": "FunctionDefinition", - "src": "43085:175:9", - "body": { - "id": 12722, - "nodeType": "Block", - "src": "43157:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e742c737472696e6729", - "id": 12714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43207:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da0666c89b01999f5c8980ce90fe9d0a367a350fd8d2ec7d1f94587b6281ebd3", - "typeString": "literal_string \"log(bool,uint,uint,string)\"" - }, - "value": "log(bool,uint,uint,string)" - }, - { - "id": 12715, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12702, - "src": "43237:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12716, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12704, - "src": "43241:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12717, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12706, - "src": "43245:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12718, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12708, - "src": "43249:2:9", - "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": 12712, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43183:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43187:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43183:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43183:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12711, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "43167:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43167:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12721, - "nodeType": "ExpressionStatement", - "src": "43167:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43094:3:9", - "parameters": { - "id": 12709, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12702, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43103:2:9", - "nodeType": "VariableDeclaration", - "scope": 12723, - "src": "43098:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12701, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43098:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12704, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43112:2:9", - "nodeType": "VariableDeclaration", - "scope": 12723, - "src": "43107:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12703, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43107:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12706, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43121:2:9", - "nodeType": "VariableDeclaration", - "scope": 12723, - "src": "43116:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12705, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43116:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12708, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43139:2:9", - "nodeType": "VariableDeclaration", - "scope": 12723, - "src": "43125:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12707, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43125:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "43097:45:9" - }, - "returnParameters": { - "id": 12710, - "nodeType": "ParameterList", - "parameters": [], - "src": "43157:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12746, - "nodeType": "FunctionDefinition", - "src": "43266:164:9", - "body": { - "id": 12745, - "nodeType": "Block", - "src": "43329:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e742c626f6f6c29", - "id": 12737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43379:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a41d81dec511172fa866e067fea22fe074eb6260a116ec078e2e0e79a7fd8ef2", - "typeString": "literal_string \"log(bool,uint,uint,bool)\"" - }, - "value": "log(bool,uint,uint,bool)" - }, - { - "id": 12738, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12725, - "src": "43407:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12739, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12727, - "src": "43411:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12740, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12729, - "src": "43415:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12741, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12731, - "src": "43419:2:9", - "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": 12735, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43355:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12736, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43359:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43355:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43355:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12734, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "43339:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43339:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12744, - "nodeType": "ExpressionStatement", - "src": "43339:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43275:3:9", - "parameters": { - "id": 12732, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12725, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43284:2:9", - "nodeType": "VariableDeclaration", - "scope": 12746, - "src": "43279:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12724, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43279:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12727, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43293:2:9", - "nodeType": "VariableDeclaration", - "scope": 12746, - "src": "43288:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12726, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43288:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12729, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43302:2:9", - "nodeType": "VariableDeclaration", - "scope": 12746, - "src": "43297:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12728, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43297:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12731, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43311:2:9", - "nodeType": "VariableDeclaration", - "scope": 12746, - "src": "43306:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12730, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43306:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "43278:36:9" - }, - "returnParameters": { - "id": 12733, - "nodeType": "ParameterList", - "parameters": [], - "src": "43329:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12769, - "nodeType": "FunctionDefinition", - "src": "43436:170:9", - "body": { - "id": 12768, - "nodeType": "Block", - "src": "43502:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c75696e742c6164647265737329", - "id": 12760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43552:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f161b2216765f7746c6d62a843721a4e56fa83880464de0ff958770fd9704e33", - "typeString": "literal_string \"log(bool,uint,uint,address)\"" - }, - "value": "log(bool,uint,uint,address)" - }, - { - "id": 12761, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12748, - "src": "43583:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12762, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12750, - "src": "43587:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12763, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12752, - "src": "43591:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12764, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12754, - "src": "43595:2:9", - "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": 12758, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43528:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12759, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43532:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43528:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43528:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12757, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "43512:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43512:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12767, - "nodeType": "ExpressionStatement", - "src": "43512:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43445:3:9", - "parameters": { - "id": 12755, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12748, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43454:2:9", - "nodeType": "VariableDeclaration", - "scope": 12769, - "src": "43449:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12747, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43449:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12750, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43463:2:9", - "nodeType": "VariableDeclaration", - "scope": 12769, - "src": "43458:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12749, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43458:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12752, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43472:2:9", - "nodeType": "VariableDeclaration", - "scope": 12769, - "src": "43467:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12751, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43467:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12754, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43484:2:9", - "nodeType": "VariableDeclaration", - "scope": 12769, - "src": "43476:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12753, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43476:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "43448:39:9" - }, - "returnParameters": { - "id": 12756, - "nodeType": "ParameterList", - "parameters": [], - "src": "43502:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12792, - "nodeType": "FunctionDefinition", - "src": "43612:175:9", - "body": { - "id": 12791, - "nodeType": "Block", - "src": "43684:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e672c75696e7429", - "id": 12783, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43734:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4180011b79de474cdb825b6c4cfbc6d05927b06d92ab7c90ba7ff48d251e1813", - "typeString": "literal_string \"log(bool,uint,string,uint)\"" - }, - "value": "log(bool,uint,string,uint)" - }, - { - "id": 12784, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12771, - "src": "43764:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12785, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12773, - "src": "43768:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12786, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12775, - "src": "43772:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12787, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12777, - "src": "43776:2:9", - "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": 12781, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43710:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12782, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43714:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43710:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43710:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12780, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "43694:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43694:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12790, - "nodeType": "ExpressionStatement", - "src": "43694:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43621:3:9", - "parameters": { - "id": 12778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12771, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43630:2:9", - "nodeType": "VariableDeclaration", - "scope": 12792, - "src": "43625:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12770, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43625:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12773, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43639:2:9", - "nodeType": "VariableDeclaration", - "scope": 12792, - "src": "43634:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12772, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43634:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12775, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43657:2:9", - "nodeType": "VariableDeclaration", - "scope": 12792, - "src": "43643:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12774, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43643:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12777, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43666:2:9", - "nodeType": "VariableDeclaration", - "scope": 12792, - "src": "43661:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12776, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43661:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "43624:45:9" - }, - "returnParameters": { - "id": 12779, - "nodeType": "ParameterList", - "parameters": [], - "src": "43684:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12815, - "nodeType": "FunctionDefinition", - "src": "43793:186:9", - "body": { - "id": 12814, - "nodeType": "Block", - "src": "43874:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e672c737472696e6729", - "id": 12806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43924:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d32a654812cf9bc5514c83d6adb00987a26a725c531c254b4dfe4eef4cdfc8ee", - "typeString": "literal_string \"log(bool,uint,string,string)\"" - }, - "value": "log(bool,uint,string,string)" - }, - { - "id": 12807, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12794, - "src": "43956:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12808, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12796, - "src": "43960:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12809, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12798, - "src": "43964:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12810, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12800, - "src": "43968:2:9", - "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": 12804, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43900:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12805, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43904:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43900:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12811, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43900:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12803, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "43884:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43884:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12813, - "nodeType": "ExpressionStatement", - "src": "43884:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43802:3:9", - "parameters": { - "id": 12801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12794, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43811:2:9", - "nodeType": "VariableDeclaration", - "scope": 12815, - "src": "43806:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12793, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43806:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12796, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43820:2:9", - "nodeType": "VariableDeclaration", - "scope": 12815, - "src": "43815:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12795, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "43815:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12798, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43838:2:9", - "nodeType": "VariableDeclaration", - "scope": 12815, - "src": "43824:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12797, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43824:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12800, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43856:2:9", - "nodeType": "VariableDeclaration", - "scope": 12815, - "src": "43842:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12799, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43842:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "43805:54:9" - }, - "returnParameters": { - "id": 12802, - "nodeType": "ParameterList", - "parameters": [], - "src": "43874:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12838, - "nodeType": "FunctionDefinition", - "src": "43985:175:9", - "body": { - "id": 12837, - "nodeType": "Block", - "src": "44057:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e672c626f6f6c29", - "id": 12829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44107:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91d2f813beb255a90e7ea595fb27355b60d93c3f818aac6b4c27388d34e0ea16", - "typeString": "literal_string \"log(bool,uint,string,bool)\"" - }, - "value": "log(bool,uint,string,bool)" - }, - { - "id": 12830, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12817, - "src": "44137:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12831, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12819, - "src": "44141:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12832, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12821, - "src": "44145:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12833, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12823, - "src": "44149:2:9", - "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": 12827, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44083:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44087:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44083:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44083:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12826, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "44067:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44067:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12836, - "nodeType": "ExpressionStatement", - "src": "44067:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43994:3:9", - "parameters": { - "id": 12824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12817, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44003:2:9", - "nodeType": "VariableDeclaration", - "scope": 12838, - "src": "43998:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12816, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43998:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12819, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44012:2:9", - "nodeType": "VariableDeclaration", - "scope": 12838, - "src": "44007:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12818, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44007:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12821, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44030:2:9", - "nodeType": "VariableDeclaration", - "scope": 12838, - "src": "44016:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12820, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44016:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12823, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44039:2:9", - "nodeType": "VariableDeclaration", - "scope": 12838, - "src": "44034:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12822, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44034:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "43997:45:9" - }, - "returnParameters": { - "id": 12825, - "nodeType": "ParameterList", - "parameters": [], - "src": "44057:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12861, - "nodeType": "FunctionDefinition", - "src": "44166:181:9", - "body": { - "id": 12860, - "nodeType": "Block", - "src": "44241:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c737472696e672c6164647265737329", - "id": 12852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44291:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5c70d29969a9ad21bdf8986348e5dc44eea151f64e0f90231a45219c4d0e3d5", - "typeString": "literal_string \"log(bool,uint,string,address)\"" - }, - "value": "log(bool,uint,string,address)" - }, - { - "id": 12853, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12840, - "src": "44324:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12854, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12842, - "src": "44328:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12855, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12844, - "src": "44332:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 12856, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12846, - "src": "44336:2:9", - "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": 12850, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44267:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12851, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44271:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44267:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44267:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12849, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "44251:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44251:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12859, - "nodeType": "ExpressionStatement", - "src": "44251:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44175:3:9", - "parameters": { - "id": 12847, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12840, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44184:2:9", - "nodeType": "VariableDeclaration", - "scope": 12861, - "src": "44179:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12839, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44179:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12842, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44193:2:9", - "nodeType": "VariableDeclaration", - "scope": 12861, - "src": "44188:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12841, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44188:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12844, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44211:2:9", - "nodeType": "VariableDeclaration", - "scope": 12861, - "src": "44197:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12843, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44197:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12846, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44223:2:9", - "nodeType": "VariableDeclaration", - "scope": 12861, - "src": "44215:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12845, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44215:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "44178:48:9" - }, - "returnParameters": { - "id": 12848, - "nodeType": "ParameterList", - "parameters": [], - "src": "44241:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12884, - "nodeType": "FunctionDefinition", - "src": "44353:164:9", - "body": { - "id": 12883, - "nodeType": "Block", - "src": "44416:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c2c75696e7429", - "id": 12875, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44466:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d3de5593988099d08808f80d2a972ea3da18ecd746f0a3e437c530efaad65aa0", - "typeString": "literal_string \"log(bool,uint,bool,uint)\"" - }, - "value": "log(bool,uint,bool,uint)" - }, - { - "id": 12876, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12863, - "src": "44494:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12877, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12865, - "src": "44498:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12878, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12867, - "src": "44502:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12879, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12869, - "src": "44506:2:9", - "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": 12873, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44442:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12874, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44446:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44442:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44442:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12872, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "44426:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44426:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12882, - "nodeType": "ExpressionStatement", - "src": "44426:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44362:3:9", - "parameters": { - "id": 12870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12863, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44371:2:9", - "nodeType": "VariableDeclaration", - "scope": 12884, - "src": "44366:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12862, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44366:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12865, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44380:2:9", - "nodeType": "VariableDeclaration", - "scope": 12884, - "src": "44375:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12864, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44375:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12867, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44389:2:9", - "nodeType": "VariableDeclaration", - "scope": 12884, - "src": "44384:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12866, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44384:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12869, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44398:2:9", - "nodeType": "VariableDeclaration", - "scope": 12884, - "src": "44393:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12868, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44393:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "44365:36:9" - }, - "returnParameters": { - "id": 12871, - "nodeType": "ParameterList", - "parameters": [], - "src": "44416:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12907, - "nodeType": "FunctionDefinition", - "src": "44523:175:9", - "body": { - "id": 12906, - "nodeType": "Block", - "src": "44595:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c2c737472696e6729", - "id": 12898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44645:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6d569d433e69694879a799e3777d59bc29ee89dcbaf739de9b283882fd259ad", - "typeString": "literal_string \"log(bool,uint,bool,string)\"" - }, - "value": "log(bool,uint,bool,string)" - }, - { - "id": 12899, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12886, - "src": "44675:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12900, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12888, - "src": "44679:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12901, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12890, - "src": "44683:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12902, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12892, - "src": "44687:2:9", - "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": 12896, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44621:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12897, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44625:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44621:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12903, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44621:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12895, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "44605:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12904, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44605:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12905, - "nodeType": "ExpressionStatement", - "src": "44605:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44532:3:9", - "parameters": { - "id": 12893, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12886, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44541:2:9", - "nodeType": "VariableDeclaration", - "scope": 12907, - "src": "44536:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12885, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44536:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12888, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44550:2:9", - "nodeType": "VariableDeclaration", - "scope": 12907, - "src": "44545:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12887, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44545:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12890, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44559:2:9", - "nodeType": "VariableDeclaration", - "scope": 12907, - "src": "44554:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12889, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44554:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12892, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44577:2:9", - "nodeType": "VariableDeclaration", - "scope": 12907, - "src": "44563:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12891, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44563:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "44535:45:9" - }, - "returnParameters": { - "id": 12894, - "nodeType": "ParameterList", - "parameters": [], - "src": "44595:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12930, - "nodeType": "FunctionDefinition", - "src": "44704:164:9", - "body": { - "id": 12929, - "nodeType": "Block", - "src": "44767:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c2c626f6f6c29", - "id": 12921, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44817:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9e01f7417c5ff66a2399364b03788fbf8437045d38acf377fab727a3440df7be", - "typeString": "literal_string \"log(bool,uint,bool,bool)\"" - }, - "value": "log(bool,uint,bool,bool)" - }, - { - "id": 12922, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12909, - "src": "44845:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12923, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12911, - "src": "44849:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12924, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12913, - "src": "44853:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12925, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12915, - "src": "44857:2:9", - "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": 12919, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44793:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44797:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44793:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44793:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12918, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "44777:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44777:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12928, - "nodeType": "ExpressionStatement", - "src": "44777:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44713:3:9", - "parameters": { - "id": 12916, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12909, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44722:2:9", - "nodeType": "VariableDeclaration", - "scope": 12930, - "src": "44717:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12908, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44717:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12911, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44731:2:9", - "nodeType": "VariableDeclaration", - "scope": 12930, - "src": "44726:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12910, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44726:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12913, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44740:2:9", - "nodeType": "VariableDeclaration", - "scope": 12930, - "src": "44735:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12912, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44735:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12915, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44749:2:9", - "nodeType": "VariableDeclaration", - "scope": 12930, - "src": "44744:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12914, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44744:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "44716:36:9" - }, - "returnParameters": { - "id": 12917, - "nodeType": "ParameterList", - "parameters": [], - "src": "44767:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12953, - "nodeType": "FunctionDefinition", - "src": "44874:170:9", - "body": { - "id": 12952, - "nodeType": "Block", - "src": "44940:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c626f6f6c2c6164647265737329", - "id": 12944, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44990:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4267c7f8f9987b1bc934e31e016f4d182f67ab95e55c5567fbc71b4f01a83f4b", - "typeString": "literal_string \"log(bool,uint,bool,address)\"" - }, - "value": "log(bool,uint,bool,address)" - }, - { - "id": 12945, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12932, - "src": "45021:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12946, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12934, - "src": "45025:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12947, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12936, - "src": "45029:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12948, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12938, - "src": "45033:2:9", - "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": 12942, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44966:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12943, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44970:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44966:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12949, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44966:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12941, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "44950:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44950:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12951, - "nodeType": "ExpressionStatement", - "src": "44950:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44883:3:9", - "parameters": { - "id": 12939, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12932, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44892:2:9", - "nodeType": "VariableDeclaration", - "scope": 12953, - "src": "44887:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12931, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44887:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12934, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44901:2:9", - "nodeType": "VariableDeclaration", - "scope": 12953, - "src": "44896:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12933, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "44896:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12936, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44910:2:9", - "nodeType": "VariableDeclaration", - "scope": 12953, - "src": "44905:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12935, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44905:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12938, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44922:2:9", - "nodeType": "VariableDeclaration", - "scope": 12953, - "src": "44914:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12937, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44914:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "44886:39:9" - }, - "returnParameters": { - "id": 12940, - "nodeType": "ParameterList", - "parameters": [], - "src": "44940:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12976, - "nodeType": "FunctionDefinition", - "src": "45050:170:9", - "body": { - "id": 12975, - "nodeType": "Block", - "src": "45116:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c616464726573732c75696e7429", - "id": 12967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45166:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_caa5236acb25f4f5a01ec5f570d99d895d397c7e9fd20ed31c9c33fa8a17f26d", - "typeString": "literal_string \"log(bool,uint,address,uint)\"" - }, - "value": "log(bool,uint,address,uint)" - }, - { - "id": 12968, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12955, - "src": "45197:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12969, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12957, - "src": "45201:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12970, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12959, - "src": "45205:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12971, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12961, - "src": "45209:2:9", - "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": 12965, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45142:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12966, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45146:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45142:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45142:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12964, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "45126:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45126:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12974, - "nodeType": "ExpressionStatement", - "src": "45126:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45059:3:9", - "parameters": { - "id": 12962, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12955, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45068:2:9", - "nodeType": "VariableDeclaration", - "scope": 12976, - "src": "45063:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12954, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45063:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12957, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45077:2:9", - "nodeType": "VariableDeclaration", - "scope": 12976, - "src": "45072:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12956, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45072:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12959, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45089:2:9", - "nodeType": "VariableDeclaration", - "scope": 12976, - "src": "45081:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12958, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45081:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12961, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45098:2:9", - "nodeType": "VariableDeclaration", - "scope": 12976, - "src": "45093:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12960, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45093:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "45062:39:9" - }, - "returnParameters": { - "id": 12963, - "nodeType": "ParameterList", - "parameters": [], - "src": "45116:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 12999, - "nodeType": "FunctionDefinition", - "src": "45226:181:9", - "body": { - "id": 12998, - "nodeType": "Block", - "src": "45301:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c616464726573732c737472696e6729", - "id": 12990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45351:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_180913415ccbde45e0d2184e3dd2387bed86df0066bd73fcb896bc02a6226689", - "typeString": "literal_string \"log(bool,uint,address,string)\"" - }, - "value": "log(bool,uint,address,string)" - }, - { - "id": 12991, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12978, - "src": "45384:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 12992, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12980, - "src": "45388:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 12993, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12982, - "src": "45392:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 12994, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 12984, - "src": "45396:2:9", - "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": 12988, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45327:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 12989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45331:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45327:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 12995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45327:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 12987, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "45311:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 12996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45311:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 12997, - "nodeType": "ExpressionStatement", - "src": "45311:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45235:3:9", - "parameters": { - "id": 12985, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 12978, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45244:2:9", - "nodeType": "VariableDeclaration", - "scope": 12999, - "src": "45239:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 12977, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45239:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12980, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45253:2:9", - "nodeType": "VariableDeclaration", - "scope": 12999, - "src": "45248:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12979, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45248:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12982, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45265:2:9", - "nodeType": "VariableDeclaration", - "scope": 12999, - "src": "45257:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 12981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45257:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 12984, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45283:2:9", - "nodeType": "VariableDeclaration", - "scope": 12999, - "src": "45269:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 12983, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45269:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "45238:48:9" - }, - "returnParameters": { - "id": 12986, - "nodeType": "ParameterList", - "parameters": [], - "src": "45301:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13022, - "nodeType": "FunctionDefinition", - "src": "45413:170:9", - "body": { - "id": 13021, - "nodeType": "Block", - "src": "45479:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c616464726573732c626f6f6c29", - "id": 13013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45529:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_65adf4082cd731bd1252f957eddeecdbdcf11e48975b5ac20d902fcb218153fa", - "typeString": "literal_string \"log(bool,uint,address,bool)\"" - }, - "value": "log(bool,uint,address,bool)" - }, - { - "id": 13014, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13001, - "src": "45560:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13015, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13003, - "src": "45564:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13016, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13005, - "src": "45568:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13017, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13007, - "src": "45572:2:9", - "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": 13011, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45505:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13012, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45509:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45505:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45505:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13010, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "45489:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45489:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13020, - "nodeType": "ExpressionStatement", - "src": "45489:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45422:3:9", - "parameters": { - "id": 13008, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13001, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45431:2:9", - "nodeType": "VariableDeclaration", - "scope": 13022, - "src": "45426:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13000, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45426:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13003, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45440:2:9", - "nodeType": "VariableDeclaration", - "scope": 13022, - "src": "45435:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13002, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45435:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13005, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45452:2:9", - "nodeType": "VariableDeclaration", - "scope": 13022, - "src": "45444:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13004, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45444:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13007, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45461:2:9", - "nodeType": "VariableDeclaration", - "scope": 13022, - "src": "45456:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13006, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45456:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "45425:39:9" - }, - "returnParameters": { - "id": 13009, - "nodeType": "ParameterList", - "parameters": [], - "src": "45479:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13045, - "nodeType": "FunctionDefinition", - "src": "45589:176:9", - "body": { - "id": 13044, - "nodeType": "Block", - "src": "45658:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e742c616464726573732c6164647265737329", - "id": 13036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45708:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8a2f90aa07fc9781ea213028ce9aef0a44d6a31a77e2f4d54d97a0d808348d5d", - "typeString": "literal_string \"log(bool,uint,address,address)\"" - }, - "value": "log(bool,uint,address,address)" - }, - { - "id": 13037, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13024, - "src": "45742:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13038, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13026, - "src": "45746:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13039, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13028, - "src": "45750:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13040, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13030, - "src": "45754:2:9", - "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": 13034, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45684:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45688:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45684:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13041, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45684:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13033, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "45668:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45668:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13043, - "nodeType": "ExpressionStatement", - "src": "45668:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45598:3:9", - "parameters": { - "id": 13031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13024, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45607:2:9", - "nodeType": "VariableDeclaration", - "scope": 13045, - "src": "45602:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13023, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45602:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13026, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45616:2:9", - "nodeType": "VariableDeclaration", - "scope": 13045, - "src": "45611:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13025, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45611:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13028, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45628:2:9", - "nodeType": "VariableDeclaration", - "scope": 13045, - "src": "45620:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13027, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45620:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13030, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45640:2:9", - "nodeType": "VariableDeclaration", - "scope": 13045, - "src": "45632:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13029, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45632:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "45601:42:9" - }, - "returnParameters": { - "id": 13032, - "nodeType": "ParameterList", - "parameters": [], - "src": "45658:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13068, - "nodeType": "FunctionDefinition", - "src": "45771:175:9", - "body": { - "id": 13067, - "nodeType": "Block", - "src": "45843:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e742c75696e7429", - "id": 13059, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45893:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e4ae86e71c7c77322d634e39fba7bc2a7e4fbe918bce10fe47326050a13b7c9", - "typeString": "literal_string \"log(bool,string,uint,uint)\"" - }, - "value": "log(bool,string,uint,uint)" - }, - { - "id": 13060, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13047, - "src": "45923:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13061, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13049, - "src": "45927:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13062, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13051, - "src": "45931:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13063, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13053, - "src": "45935:2:9", - "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": 13057, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45869:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13058, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45873:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45869:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13064, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45869:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13056, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "45853:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45853:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13066, - "nodeType": "ExpressionStatement", - "src": "45853:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45780:3:9", - "parameters": { - "id": 13054, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13047, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45789:2:9", - "nodeType": "VariableDeclaration", - "scope": 13068, - "src": "45784:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13046, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45784:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13049, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45807:2:9", - "nodeType": "VariableDeclaration", - "scope": 13068, - "src": "45793:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13048, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45793:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13051, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45816:2:9", - "nodeType": "VariableDeclaration", - "scope": 13068, - "src": "45811:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13050, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45811:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13053, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45825:2:9", - "nodeType": "VariableDeclaration", - "scope": 13068, - "src": "45820:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13052, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45820:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "45783:45:9" - }, - "returnParameters": { - "id": 13055, - "nodeType": "ParameterList", - "parameters": [], - "src": "45843:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13091, - "nodeType": "FunctionDefinition", - "src": "45952:186:9", - "body": { - "id": 13090, - "nodeType": "Block", - "src": "46033:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e742c737472696e6729", - "id": 13082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46083:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_77a1abed9f9fbc44023408083dd5c1cf42b0b566799470c6ab535b12d0f8f649", - "typeString": "literal_string \"log(bool,string,uint,string)\"" - }, - "value": "log(bool,string,uint,string)" - }, - { - "id": 13083, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13070, - "src": "46115:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13084, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13072, - "src": "46119:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13085, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13074, - "src": "46123:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13086, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13076, - "src": "46127:2:9", - "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": 13080, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46059:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46063:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46059:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13087, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46059:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13079, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "46043:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46043:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13089, - "nodeType": "ExpressionStatement", - "src": "46043:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45961:3:9", - "parameters": { - "id": 13077, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13070, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45970:2:9", - "nodeType": "VariableDeclaration", - "scope": 13091, - "src": "45965:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13069, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45965:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13072, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45988:2:9", - "nodeType": "VariableDeclaration", - "scope": 13091, - "src": "45974:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13071, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45974:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13074, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45997:2:9", - "nodeType": "VariableDeclaration", - "scope": 13091, - "src": "45992:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13073, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "45992:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13076, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46015:2:9", - "nodeType": "VariableDeclaration", - "scope": 13091, - "src": "46001:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13075, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46001:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "45964:54:9" - }, - "returnParameters": { - "id": 13078, - "nodeType": "ParameterList", - "parameters": [], - "src": "46033:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13114, - "nodeType": "FunctionDefinition", - "src": "46144:175:9", - "body": { - "id": 13113, - "nodeType": "Block", - "src": "46216:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e742c626f6f6c29", - "id": 13105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46266:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_20bbc9af7c6bae926ffd73678c9130310d497610a5c76e6e2ae48edff96f38a8", - "typeString": "literal_string \"log(bool,string,uint,bool)\"" - }, - "value": "log(bool,string,uint,bool)" - }, - { - "id": 13106, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13093, - "src": "46296:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13107, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13095, - "src": "46300:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13108, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13097, - "src": "46304:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13109, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13099, - "src": "46308:2:9", - "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": 13103, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46242:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46246:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46242:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46242:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13102, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "46226:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46226:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13112, - "nodeType": "ExpressionStatement", - "src": "46226:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46153:3:9", - "parameters": { - "id": 13100, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13093, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46162:2:9", - "nodeType": "VariableDeclaration", - "scope": 13114, - "src": "46157:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13092, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46157:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13095, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46180:2:9", - "nodeType": "VariableDeclaration", - "scope": 13114, - "src": "46166:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13094, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46166:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13097, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46189:2:9", - "nodeType": "VariableDeclaration", - "scope": 13114, - "src": "46184:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13096, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "46184:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13099, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46198:2:9", - "nodeType": "VariableDeclaration", - "scope": 13114, - "src": "46193:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13098, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46193:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "46156:45:9" - }, - "returnParameters": { - "id": 13101, - "nodeType": "ParameterList", - "parameters": [], - "src": "46216:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13137, - "nodeType": "FunctionDefinition", - "src": "46325:181:9", - "body": { - "id": 13136, - "nodeType": "Block", - "src": "46400:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e742c6164647265737329", - "id": 13128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46450:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5b22b938264abfc98de8ea025ac5bd87df03cbffd23b96cdfe194e0ef6fb136a", - "typeString": "literal_string \"log(bool,string,uint,address)\"" - }, - "value": "log(bool,string,uint,address)" - }, - { - "id": 13129, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13116, - "src": "46483:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13130, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13118, - "src": "46487:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13131, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13120, - "src": "46491:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13132, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13122, - "src": "46495:2:9", - "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": 13126, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46426:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13127, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46430:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46426:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46426:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13125, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "46410:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46410:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13135, - "nodeType": "ExpressionStatement", - "src": "46410:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46334:3:9", - "parameters": { - "id": 13123, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13116, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46343:2:9", - "nodeType": "VariableDeclaration", - "scope": 13137, - "src": "46338:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13115, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46338:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13118, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46361:2:9", - "nodeType": "VariableDeclaration", - "scope": 13137, - "src": "46347:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13117, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46347:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13120, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46370:2:9", - "nodeType": "VariableDeclaration", - "scope": 13137, - "src": "46365:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13119, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "46365:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13122, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46382:2:9", - "nodeType": "VariableDeclaration", - "scope": 13137, - "src": "46374:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13121, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46374:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "46337:48:9" - }, - "returnParameters": { - "id": 13124, - "nodeType": "ParameterList", - "parameters": [], - "src": "46400:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13160, - "nodeType": "FunctionDefinition", - "src": "46512:186:9", - "body": { - "id": 13159, - "nodeType": "Block", - "src": "46593:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c75696e7429", - "id": 13151, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46643:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ddb259214a75c0fc75757e8e19b1cf1c4ec17a5eef635b4715f04b86884d5df", - "typeString": "literal_string \"log(bool,string,string,uint)\"" - }, - "value": "log(bool,string,string,uint)" - }, - { - "id": 13152, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13139, - "src": "46675:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13153, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13141, - "src": "46679:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13154, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13143, - "src": "46683:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13155, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13145, - "src": "46687:2:9", - "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": 13149, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46619:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13150, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46623:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46619:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46619:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13148, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "46603:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46603:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13158, - "nodeType": "ExpressionStatement", - "src": "46603:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46521:3:9", - "parameters": { - "id": 13146, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13139, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46530:2:9", - "nodeType": "VariableDeclaration", - "scope": 13160, - "src": "46525:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13138, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46525:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13141, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46548:2:9", - "nodeType": "VariableDeclaration", - "scope": 13160, - "src": "46534:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13140, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46534:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13143, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46566:2:9", - "nodeType": "VariableDeclaration", - "scope": 13160, - "src": "46552:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13142, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46552:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13145, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46575:2:9", - "nodeType": "VariableDeclaration", - "scope": 13160, - "src": "46570:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13144, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "46570:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "46524:54:9" - }, - "returnParameters": { - "id": 13147, - "nodeType": "ParameterList", - "parameters": [], - "src": "46593:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13183, - "nodeType": "FunctionDefinition", - "src": "46704:197:9", - "body": { - "id": 13182, - "nodeType": "Block", - "src": "46794:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c737472696e6729", - "id": 13174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46844:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1762e32af9fa924f818d8f4a6c92011d30129df73749081e0b95feea819a17c9", - "typeString": "literal_string \"log(bool,string,string,string)\"" - }, - "value": "log(bool,string,string,string)" - }, - { - "id": 13175, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13162, - "src": "46878:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13176, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13164, - "src": "46882:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13177, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13166, - "src": "46886:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13178, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13168, - "src": "46890:2:9", - "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": 13172, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46820:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13173, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46824:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46820:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46820:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13171, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "46804:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46804:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13181, - "nodeType": "ExpressionStatement", - "src": "46804:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46713:3:9", - "parameters": { - "id": 13169, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13162, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46722:2:9", - "nodeType": "VariableDeclaration", - "scope": 13183, - "src": "46717:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13161, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46717:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13164, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46740:2:9", - "nodeType": "VariableDeclaration", - "scope": 13183, - "src": "46726:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13163, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46726:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13166, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46758:2:9", - "nodeType": "VariableDeclaration", - "scope": 13183, - "src": "46744:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13165, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46744:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13168, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46776:2:9", - "nodeType": "VariableDeclaration", - "scope": 13183, - "src": "46762:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13167, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46762:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "46716:63:9" - }, - "returnParameters": { - "id": 13170, - "nodeType": "ParameterList", - "parameters": [], - "src": "46794:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13206, - "nodeType": "FunctionDefinition", - "src": "46907:186:9", - "body": { - "id": 13205, - "nodeType": "Block", - "src": "46988:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c626f6f6c29", - "id": 13197, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47038:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e4b87e52d13efc5b368defba0463e423637ec55125c6230945d005f817198d1", - "typeString": "literal_string \"log(bool,string,string,bool)\"" - }, - "value": "log(bool,string,string,bool)" - }, - { - "id": 13198, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13185, - "src": "47070:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13199, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13187, - "src": "47074:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13200, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13189, - "src": "47078:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13201, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13191, - "src": "47082:2:9", - "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": 13195, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47014:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13196, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47018:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47014:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47014:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13194, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "46998:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46998:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13204, - "nodeType": "ExpressionStatement", - "src": "46998:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46916:3:9", - "parameters": { - "id": 13192, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13185, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46925:2:9", - "nodeType": "VariableDeclaration", - "scope": 13206, - "src": "46920:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13184, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46920:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13187, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46943:2:9", - "nodeType": "VariableDeclaration", - "scope": 13206, - "src": "46929:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13186, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46929:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13189, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46961:2:9", - "nodeType": "VariableDeclaration", - "scope": 13206, - "src": "46947:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13188, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46947:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13191, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46970:2:9", - "nodeType": "VariableDeclaration", - "scope": 13206, - "src": "46965:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13190, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46965:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "46919:54:9" - }, - "returnParameters": { - "id": 13193, - "nodeType": "ParameterList", - "parameters": [], - "src": "46988:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13229, - "nodeType": "FunctionDefinition", - "src": "47099:192:9", - "body": { - "id": 13228, - "nodeType": "Block", - "src": "47183:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c6164647265737329", - "id": 13220, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47233:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_97d394d89551bd441d1340d1c3dcc3b6160871bf042c6884bcb4049b2fa2bdb5", - "typeString": "literal_string \"log(bool,string,string,address)\"" - }, - "value": "log(bool,string,string,address)" - }, - { - "id": 13221, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13208, - "src": "47268:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13222, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13210, - "src": "47272:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13223, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13212, - "src": "47276:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13224, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13214, - "src": "47280:2:9", - "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": 13218, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47209:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13219, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47213:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47209:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47209:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13217, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "47193:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47193:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13227, - "nodeType": "ExpressionStatement", - "src": "47193:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47108:3:9", - "parameters": { - "id": 13215, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13208, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47117:2:9", - "nodeType": "VariableDeclaration", - "scope": 13229, - "src": "47112:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13207, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47112:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13210, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47135:2:9", - "nodeType": "VariableDeclaration", - "scope": 13229, - "src": "47121:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13209, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47121:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13212, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47153:2:9", - "nodeType": "VariableDeclaration", - "scope": 13229, - "src": "47139:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13211, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47139:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13214, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47165:2:9", - "nodeType": "VariableDeclaration", - "scope": 13229, - "src": "47157:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13213, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47157:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "47111:57:9" - }, - "returnParameters": { - "id": 13216, - "nodeType": "ParameterList", - "parameters": [], - "src": "47183:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13252, - "nodeType": "FunctionDefinition", - "src": "47297:175:9", - "body": { - "id": 13251, - "nodeType": "Block", - "src": "47369:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c75696e7429", - "id": 13243, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47419:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8d6f9ca539d16169f184b68d5f2cbc34ada538d6737083559aa5a96068582055", - "typeString": "literal_string \"log(bool,string,bool,uint)\"" - }, - "value": "log(bool,string,bool,uint)" - }, - { - "id": 13244, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13231, - "src": "47449:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13245, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13233, - "src": "47453:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13246, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13235, - "src": "47457:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13247, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13237, - "src": "47461:2:9", - "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": 13241, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47395:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13242, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47399:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47395:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47395:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13240, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "47379:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47379:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13250, - "nodeType": "ExpressionStatement", - "src": "47379:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47306:3:9", - "parameters": { - "id": 13238, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13231, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47315:2:9", - "nodeType": "VariableDeclaration", - "scope": 13252, - "src": "47310:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13230, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47310:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13233, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47333:2:9", - "nodeType": "VariableDeclaration", - "scope": 13252, - "src": "47319:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13232, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47319:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13235, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47342:2:9", - "nodeType": "VariableDeclaration", - "scope": 13252, - "src": "47337:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13234, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47337:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13237, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47351:2:9", - "nodeType": "VariableDeclaration", - "scope": 13252, - "src": "47346:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13236, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "47346:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "47309:45:9" - }, - "returnParameters": { - "id": 13239, - "nodeType": "ParameterList", - "parameters": [], - "src": "47369:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13275, - "nodeType": "FunctionDefinition", - "src": "47478:186:9", - "body": { - "id": 13274, - "nodeType": "Block", - "src": "47559:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c737472696e6729", - "id": 13266, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47609:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_483d0416329d0c81c68975a0cac822497c590c00f8ae8be66af490d0f9215468", - "typeString": "literal_string \"log(bool,string,bool,string)\"" - }, - "value": "log(bool,string,bool,string)" - }, - { - "id": 13267, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13254, - "src": "47641:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13268, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13256, - "src": "47645:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13269, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13258, - "src": "47649:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13270, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13260, - "src": "47653:2:9", - "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": 13264, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47585:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13265, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47589:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47585:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13271, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47585:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13263, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "47569:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13272, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47569:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13273, - "nodeType": "ExpressionStatement", - "src": "47569:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47487:3:9", - "parameters": { - "id": 13261, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13254, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47496:2:9", - "nodeType": "VariableDeclaration", - "scope": 13275, - "src": "47491:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13253, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47491:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13256, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47514:2:9", - "nodeType": "VariableDeclaration", - "scope": 13275, - "src": "47500:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13255, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47500:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13258, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47523:2:9", - "nodeType": "VariableDeclaration", - "scope": 13275, - "src": "47518:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13257, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47518:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13260, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47541:2:9", - "nodeType": "VariableDeclaration", - "scope": 13275, - "src": "47527:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13259, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47527:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "47490:54:9" - }, - "returnParameters": { - "id": 13262, - "nodeType": "ParameterList", - "parameters": [], - "src": "47559:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13298, - "nodeType": "FunctionDefinition", - "src": "47670:175:9", - "body": { - "id": 13297, - "nodeType": "Block", - "src": "47742:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c626f6f6c29", - "id": 13289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47792:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc5e935b9ccf45ff13b5900aeaf3a593df3e9479fc07e9c213f5fcaa0951e91f", - "typeString": "literal_string \"log(bool,string,bool,bool)\"" - }, - "value": "log(bool,string,bool,bool)" - }, - { - "id": 13290, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13277, - "src": "47822:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13291, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13279, - "src": "47826:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13292, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13281, - "src": "47830:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13293, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13283, - "src": "47834:2:9", - "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": 13287, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47768:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47772:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47768:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47768:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13286, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "47752:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47752:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13296, - "nodeType": "ExpressionStatement", - "src": "47752:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47679:3:9", - "parameters": { - "id": 13284, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13277, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47688:2:9", - "nodeType": "VariableDeclaration", - "scope": 13298, - "src": "47683:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13276, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47683:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13279, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47706:2:9", - "nodeType": "VariableDeclaration", - "scope": 13298, - "src": "47692:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13278, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47692:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13281, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47715:2:9", - "nodeType": "VariableDeclaration", - "scope": 13298, - "src": "47710:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13280, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47710:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13283, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47724:2:9", - "nodeType": "VariableDeclaration", - "scope": 13298, - "src": "47719:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13282, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47719:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "47682:45:9" - }, - "returnParameters": { - "id": 13285, - "nodeType": "ParameterList", - "parameters": [], - "src": "47742:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13321, - "nodeType": "FunctionDefinition", - "src": "47851:181:9", - "body": { - "id": 13320, - "nodeType": "Block", - "src": "47926:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c6164647265737329", - "id": 13312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47976:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_538e06ab06366b189ea53da7c11628ee5730bc373b0bc64719bea1a2afab03c5", - "typeString": "literal_string \"log(bool,string,bool,address)\"" - }, - "value": "log(bool,string,bool,address)" - }, - { - "id": 13313, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13300, - "src": "48009:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13314, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13302, - "src": "48013:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13315, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13304, - "src": "48017:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13316, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13306, - "src": "48021:2:9", - "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": 13310, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47952:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47956:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47952:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47952:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13309, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "47936:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47936:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13319, - "nodeType": "ExpressionStatement", - "src": "47936:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47860:3:9", - "parameters": { - "id": 13307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13300, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47869:2:9", - "nodeType": "VariableDeclaration", - "scope": 13321, - "src": "47864:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13299, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47864:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13302, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47887:2:9", - "nodeType": "VariableDeclaration", - "scope": 13321, - "src": "47873:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13301, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47873:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13304, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47896:2:9", - "nodeType": "VariableDeclaration", - "scope": 13321, - "src": "47891:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13303, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47891:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13306, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47908:2:9", - "nodeType": "VariableDeclaration", - "scope": 13321, - "src": "47900:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13305, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47900:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "47863:48:9" - }, - "returnParameters": { - "id": 13308, - "nodeType": "ParameterList", - "parameters": [], - "src": "47926:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13344, - "nodeType": "FunctionDefinition", - "src": "48038:181:9", - "body": { - "id": 13343, - "nodeType": "Block", - "src": "48113:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c75696e7429", - "id": 13335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48163:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b0b955b558cd224468bb20ba92b23519cb59fe363a105b00d7a815c1673c4ca", - "typeString": "literal_string \"log(bool,string,address,uint)\"" - }, - "value": "log(bool,string,address,uint)" - }, - { - "id": 13336, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13323, - "src": "48196:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13337, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13325, - "src": "48200:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13338, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13327, - "src": "48204:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13339, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13329, - "src": "48208:2:9", - "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": 13333, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48139:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48143:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48139:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48139:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13332, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "48123:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48123:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13342, - "nodeType": "ExpressionStatement", - "src": "48123:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48047:3:9", - "parameters": { - "id": 13330, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13323, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48056:2:9", - "nodeType": "VariableDeclaration", - "scope": 13344, - "src": "48051:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13322, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48051:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13325, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48074:2:9", - "nodeType": "VariableDeclaration", - "scope": 13344, - "src": "48060:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13324, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48060:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13327, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48086:2:9", - "nodeType": "VariableDeclaration", - "scope": 13344, - "src": "48078:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13326, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48078:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13329, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48095:2:9", - "nodeType": "VariableDeclaration", - "scope": 13344, - "src": "48090:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13328, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "48090:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "48050:48:9" - }, - "returnParameters": { - "id": 13331, - "nodeType": "ParameterList", - "parameters": [], - "src": "48113:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13367, - "nodeType": "FunctionDefinition", - "src": "48225:192:9", - "body": { - "id": 13366, - "nodeType": "Block", - "src": "48309:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c737472696e6729", - "id": 13358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48359:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12d6c788fea4d6144f2607e1e8821bec55a5c2dfdc4cece41a536f7b7831e7a7", - "typeString": "literal_string \"log(bool,string,address,string)\"" - }, - "value": "log(bool,string,address,string)" - }, - { - "id": 13359, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13346, - "src": "48394:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13360, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13348, - "src": "48398:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13361, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13350, - "src": "48402:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13362, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13352, - "src": "48406:2:9", - "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": 13356, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48335:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48339:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48335:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48335:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13355, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "48319:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48319:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13365, - "nodeType": "ExpressionStatement", - "src": "48319:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48234:3:9", - "parameters": { - "id": 13353, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13346, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48243:2:9", - "nodeType": "VariableDeclaration", - "scope": 13367, - "src": "48238:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13345, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48238:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13348, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48261:2:9", - "nodeType": "VariableDeclaration", - "scope": 13367, - "src": "48247:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13347, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48247:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13350, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48273:2:9", - "nodeType": "VariableDeclaration", - "scope": 13367, - "src": "48265:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13349, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48265:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13352, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48291:2:9", - "nodeType": "VariableDeclaration", - "scope": 13367, - "src": "48277:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13351, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48277:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "48237:57:9" - }, - "returnParameters": { - "id": 13354, - "nodeType": "ParameterList", - "parameters": [], - "src": "48309:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13390, - "nodeType": "FunctionDefinition", - "src": "48423:181:9", - "body": { - "id": 13389, - "nodeType": "Block", - "src": "48498:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c626f6f6c29", - "id": 13381, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48548:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6dd434ca1fa26d491bcd72b7fe69eb72d41cae8eadbda5a7f985734e1b80c67d", - "typeString": "literal_string \"log(bool,string,address,bool)\"" - }, - "value": "log(bool,string,address,bool)" - }, - { - "id": 13382, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13369, - "src": "48581:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13383, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13371, - "src": "48585:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13384, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13373, - "src": "48589:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13385, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13375, - "src": "48593:2:9", - "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": 13379, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48524:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13380, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48528:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48524:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13386, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48524:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13378, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "48508:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48508:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13388, - "nodeType": "ExpressionStatement", - "src": "48508:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48432:3:9", - "parameters": { - "id": 13376, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13369, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48441:2:9", - "nodeType": "VariableDeclaration", - "scope": 13390, - "src": "48436:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13368, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48436:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13371, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48459:2:9", - "nodeType": "VariableDeclaration", - "scope": 13390, - "src": "48445:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13370, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48445:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13373, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48471:2:9", - "nodeType": "VariableDeclaration", - "scope": 13390, - "src": "48463:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48463:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13375, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48480:2:9", - "nodeType": "VariableDeclaration", - "scope": 13390, - "src": "48475:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13374, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48475:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "48435:48:9" - }, - "returnParameters": { - "id": 13377, - "nodeType": "ParameterList", - "parameters": [], - "src": "48498:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13413, - "nodeType": "FunctionDefinition", - "src": "48610:187:9", - "body": { - "id": 13412, - "nodeType": "Block", - "src": "48688:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c6164647265737329", - "id": 13404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48738:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2b2b18dc50ecc75180f201de41eca533fbda0c7bf525c06b5b8e87bc1d010822", - "typeString": "literal_string \"log(bool,string,address,address)\"" - }, - "value": "log(bool,string,address,address)" - }, - { - "id": 13405, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13392, - "src": "48774:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13406, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13394, - "src": "48778:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13407, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13396, - "src": "48782:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13408, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13398, - "src": "48786:2:9", - "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": 13402, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48714:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13403, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48718:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48714:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48714:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13401, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "48698:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48698:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13411, - "nodeType": "ExpressionStatement", - "src": "48698:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48619:3:9", - "parameters": { - "id": 13399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13392, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48628:2:9", - "nodeType": "VariableDeclaration", - "scope": 13413, - "src": "48623:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13391, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48623:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13394, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48646:2:9", - "nodeType": "VariableDeclaration", - "scope": 13413, - "src": "48632:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13393, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48632:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13396, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48658:2:9", - "nodeType": "VariableDeclaration", - "scope": 13413, - "src": "48650:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13395, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48650:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13398, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48670:2:9", - "nodeType": "VariableDeclaration", - "scope": 13413, - "src": "48662:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13397, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48662:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "48622:51:9" - }, - "returnParameters": { - "id": 13400, - "nodeType": "ParameterList", - "parameters": [], - "src": "48688:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13436, - "nodeType": "FunctionDefinition", - "src": "48803:164:9", - "body": { - "id": 13435, - "nodeType": "Block", - "src": "48866:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e742c75696e7429", - "id": 13427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48916:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4667de8ece32e91ade336fb6d8a14a500512d40e1162a34636a5bca908b16e6a", - "typeString": "literal_string \"log(bool,bool,uint,uint)\"" - }, - "value": "log(bool,bool,uint,uint)" - }, - { - "id": 13428, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13415, - "src": "48944:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13429, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13417, - "src": "48948:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13430, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13419, - "src": "48952:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13431, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13421, - "src": "48956:2:9", - "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": 13425, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48892:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13426, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48896:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48892:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48892:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13424, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "48876:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48876:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13434, - "nodeType": "ExpressionStatement", - "src": "48876:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48812:3:9", - "parameters": { - "id": 13422, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13415, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48821:2:9", - "nodeType": "VariableDeclaration", - "scope": 13436, - "src": "48816:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13414, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48816:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13417, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48830:2:9", - "nodeType": "VariableDeclaration", - "scope": 13436, - "src": "48825:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13416, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48825:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13419, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48839:2:9", - "nodeType": "VariableDeclaration", - "scope": 13436, - "src": "48834:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13418, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "48834:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13421, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48848:2:9", - "nodeType": "VariableDeclaration", - "scope": 13436, - "src": "48843:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13420, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "48843:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "48815:36:9" - }, - "returnParameters": { - "id": 13423, - "nodeType": "ParameterList", - "parameters": [], - "src": "48866:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13459, - "nodeType": "FunctionDefinition", - "src": "48973:175:9", - "body": { - "id": 13458, - "nodeType": "Block", - "src": "49045:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e742c737472696e6729", - "id": 13450, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49095:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50618937639b3b1cb3bbe247efb1fae4eb9a85d1e66ac66dfc77c62561966adc", - "typeString": "literal_string \"log(bool,bool,uint,string)\"" - }, - "value": "log(bool,bool,uint,string)" - }, - { - "id": 13451, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13438, - "src": "49125:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13452, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13440, - "src": "49129:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13453, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13442, - "src": "49133:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13454, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13444, - "src": "49137:2:9", - "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": 13448, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49071:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49075:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49071:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49071:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13447, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "49055:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49055:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13457, - "nodeType": "ExpressionStatement", - "src": "49055:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48982:3:9", - "parameters": { - "id": 13445, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13438, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48991:2:9", - "nodeType": "VariableDeclaration", - "scope": 13459, - "src": "48986:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13437, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48986:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13440, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49000:2:9", - "nodeType": "VariableDeclaration", - "scope": 13459, - "src": "48995:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13439, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48995:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13442, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49009:2:9", - "nodeType": "VariableDeclaration", - "scope": 13459, - "src": "49004:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13441, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "49004:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13444, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49027:2:9", - "nodeType": "VariableDeclaration", - "scope": 13459, - "src": "49013:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13443, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49013:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "48985:45:9" - }, - "returnParameters": { - "id": 13446, - "nodeType": "ParameterList", - "parameters": [], - "src": "49045:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13482, - "nodeType": "FunctionDefinition", - "src": "49154:164:9", - "body": { - "id": 13481, - "nodeType": "Block", - "src": "49217:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e742c626f6f6c29", - "id": 13473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49267:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ab5cc1c47d926d79461c86216768f32b6ec0ac12d51c1eb543ea3bd1cfec0110", - "typeString": "literal_string \"log(bool,bool,uint,bool)\"" - }, - "value": "log(bool,bool,uint,bool)" - }, - { - "id": 13474, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13461, - "src": "49295:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13475, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13463, - "src": "49299:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13476, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13465, - "src": "49303:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13477, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13467, - "src": "49307:2:9", - "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": 13471, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49243:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13472, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49247:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49243:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49243:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13470, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "49227:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49227:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13480, - "nodeType": "ExpressionStatement", - "src": "49227:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49163:3:9", - "parameters": { - "id": 13468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13461, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49172:2:9", - "nodeType": "VariableDeclaration", - "scope": 13482, - "src": "49167:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13460, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49167:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13463, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49181:2:9", - "nodeType": "VariableDeclaration", - "scope": 13482, - "src": "49176:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13462, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49176:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13465, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49190:2:9", - "nodeType": "VariableDeclaration", - "scope": 13482, - "src": "49185:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13464, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "49185:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13467, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49199:2:9", - "nodeType": "VariableDeclaration", - "scope": 13482, - "src": "49194:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13466, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49194:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "49166:36:9" - }, - "returnParameters": { - "id": 13469, - "nodeType": "ParameterList", - "parameters": [], - "src": "49217:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13505, - "nodeType": "FunctionDefinition", - "src": "49324:170:9", - "body": { - "id": 13504, - "nodeType": "Block", - "src": "49390:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e742c6164647265737329", - "id": 13496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49440:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0bff950dc175e3e278946e4adb75fffc4ee67cda33555121dd293b95b27a39a7", - "typeString": "literal_string \"log(bool,bool,uint,address)\"" - }, - "value": "log(bool,bool,uint,address)" - }, - { - "id": 13497, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13484, - "src": "49471:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13498, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13486, - "src": "49475:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13499, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13488, - "src": "49479:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13500, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13490, - "src": "49483:2:9", - "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": 13494, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49416:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13495, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49420:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49416:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49416:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13493, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "49400:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13502, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49400:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13503, - "nodeType": "ExpressionStatement", - "src": "49400:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49333:3:9", - "parameters": { - "id": 13491, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13484, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49342:2:9", - "nodeType": "VariableDeclaration", - "scope": 13505, - "src": "49337:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13483, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49337:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13486, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49351:2:9", - "nodeType": "VariableDeclaration", - "scope": 13505, - "src": "49346:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13485, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49346:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13488, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49360:2:9", - "nodeType": "VariableDeclaration", - "scope": 13505, - "src": "49355:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13487, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "49355:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13490, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49372:2:9", - "nodeType": "VariableDeclaration", - "scope": 13505, - "src": "49364:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13489, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49364:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "49336:39:9" - }, - "returnParameters": { - "id": 13492, - "nodeType": "ParameterList", - "parameters": [], - "src": "49390:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13528, - "nodeType": "FunctionDefinition", - "src": "49500:175:9", - "body": { - "id": 13527, - "nodeType": "Block", - "src": "49572:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c75696e7429", - "id": 13519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49622:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_178b4685db1dff62c4ee472c2e6bf50abba0dc230768235e43c6259152d1244e", - "typeString": "literal_string \"log(bool,bool,string,uint)\"" - }, - "value": "log(bool,bool,string,uint)" - }, - { - "id": 13520, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13507, - "src": "49652:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13521, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13509, - "src": "49656:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13522, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13511, - "src": "49660:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13523, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13513, - "src": "49664:2:9", - "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": 13517, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49598:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13518, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49602:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49598:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49598:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13516, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "49582:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49582:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13526, - "nodeType": "ExpressionStatement", - "src": "49582:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49509:3:9", - "parameters": { - "id": 13514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13507, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49518:2:9", - "nodeType": "VariableDeclaration", - "scope": 13528, - "src": "49513:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13506, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49513:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13509, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49527:2:9", - "nodeType": "VariableDeclaration", - "scope": 13528, - "src": "49522:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13508, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49522:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13511, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49545:2:9", - "nodeType": "VariableDeclaration", - "scope": 13528, - "src": "49531:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13510, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49531:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13513, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49554:2:9", - "nodeType": "VariableDeclaration", - "scope": 13528, - "src": "49549:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13512, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "49549:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "49512:45:9" - }, - "returnParameters": { - "id": 13515, - "nodeType": "ParameterList", - "parameters": [], - "src": "49572:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13551, - "nodeType": "FunctionDefinition", - "src": "49681:186:9", - "body": { - "id": 13550, - "nodeType": "Block", - "src": "49762:105:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c737472696e6729", - "id": 13542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49812:30:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d1e87518c98344bc3efd52648f61de340bda51607aec409d641f3467caafaaf", - "typeString": "literal_string \"log(bool,bool,string,string)\"" - }, - "value": "log(bool,bool,string,string)" - }, - { - "id": 13543, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13530, - "src": "49844:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13544, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13532, - "src": "49848:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13545, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13534, - "src": "49852:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13546, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13536, - "src": "49856:2:9", - "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": 13540, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49788:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13541, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49792:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49788:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49788:71:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13539, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "49772:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49772:88:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13549, - "nodeType": "ExpressionStatement", - "src": "49772:88:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49690:3:9", - "parameters": { - "id": 13537, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13530, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49699:2:9", - "nodeType": "VariableDeclaration", - "scope": 13551, - "src": "49694:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13529, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49694:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13532, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49708:2:9", - "nodeType": "VariableDeclaration", - "scope": 13551, - "src": "49703:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13531, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49703:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13534, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49726:2:9", - "nodeType": "VariableDeclaration", - "scope": 13551, - "src": "49712:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13533, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49712:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13536, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49744:2:9", - "nodeType": "VariableDeclaration", - "scope": 13551, - "src": "49730:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49730:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "49693:54:9" - }, - "returnParameters": { - "id": 13538, - "nodeType": "ParameterList", - "parameters": [], - "src": "49762:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13574, - "nodeType": "FunctionDefinition", - "src": "49873:175:9", - "body": { - "id": 13573, - "nodeType": "Block", - "src": "49945:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c626f6f6c29", - "id": 13565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49995:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b857163a2b7b8273ed53cefa410aa148f1833bdfc22da11e1e2fb89c6e625d02", - "typeString": "literal_string \"log(bool,bool,string,bool)\"" - }, - "value": "log(bool,bool,string,bool)" - }, - { - "id": 13566, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13553, - "src": "50025:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13567, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13555, - "src": "50029:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13568, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13557, - "src": "50033:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13569, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13559, - "src": "50037:2:9", - "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": 13563, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49971:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49975:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49971:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13570, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49971:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13562, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "49955:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49955:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13572, - "nodeType": "ExpressionStatement", - "src": "49955:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49882:3:9", - "parameters": { - "id": 13560, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13553, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49891:2:9", - "nodeType": "VariableDeclaration", - "scope": 13574, - "src": "49886:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13552, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49886:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13555, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49900:2:9", - "nodeType": "VariableDeclaration", - "scope": 13574, - "src": "49895:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13554, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49895:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13557, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49918:2:9", - "nodeType": "VariableDeclaration", - "scope": 13574, - "src": "49904:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13556, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49904:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13559, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49927:2:9", - "nodeType": "VariableDeclaration", - "scope": 13574, - "src": "49922:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13558, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49922:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "49885:45:9" - }, - "returnParameters": { - "id": 13561, - "nodeType": "ParameterList", - "parameters": [], - "src": "49945:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13597, - "nodeType": "FunctionDefinition", - "src": "50054:181:9", - "body": { - "id": 13596, - "nodeType": "Block", - "src": "50129:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c6164647265737329", - "id": 13588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50179:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f9ad2b893873fa31c02b102aa30743b2e44c102daa588ea9d1eb1f2baf23d202", - "typeString": "literal_string \"log(bool,bool,string,address)\"" - }, - "value": "log(bool,bool,string,address)" - }, - { - "id": 13589, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13576, - "src": "50212:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13590, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13578, - "src": "50216:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13591, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13580, - "src": "50220:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13592, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13582, - "src": "50224:2:9", - "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": 13586, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50155:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50159:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50155:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50155:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13585, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "50139:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50139:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13595, - "nodeType": "ExpressionStatement", - "src": "50139:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50063:3:9", - "parameters": { - "id": 13583, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13576, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50072:2:9", - "nodeType": "VariableDeclaration", - "scope": 13597, - "src": "50067:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13575, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50067:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13578, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50081:2:9", - "nodeType": "VariableDeclaration", - "scope": 13597, - "src": "50076:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13577, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50076:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13580, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50099:2:9", - "nodeType": "VariableDeclaration", - "scope": 13597, - "src": "50085:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13579, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50085:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13582, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50111:2:9", - "nodeType": "VariableDeclaration", - "scope": 13597, - "src": "50103:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13581, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50103:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "50066:48:9" - }, - "returnParameters": { - "id": 13584, - "nodeType": "ParameterList", - "parameters": [], - "src": "50129:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13620, - "nodeType": "FunctionDefinition", - "src": "50241:164:9", - "body": { - "id": 13619, - "nodeType": "Block", - "src": "50304:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c75696e7429", - "id": 13611, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50354:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c248834dff84ca4bcbda9cf249a0d5da3bd0a58b4562085082654d4d9851b501", - "typeString": "literal_string \"log(bool,bool,bool,uint)\"" - }, - "value": "log(bool,bool,bool,uint)" - }, - { - "id": 13612, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13599, - "src": "50382:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13613, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13601, - "src": "50386:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13614, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13603, - "src": "50390:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13615, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13605, - "src": "50394:2:9", - "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": 13609, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50330:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13610, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50334:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50330:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50330:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13608, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "50314:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50314:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13618, - "nodeType": "ExpressionStatement", - "src": "50314:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50250:3:9", - "parameters": { - "id": 13606, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13599, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50259:2:9", - "nodeType": "VariableDeclaration", - "scope": 13620, - "src": "50254:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13598, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50254:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13601, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50268:2:9", - "nodeType": "VariableDeclaration", - "scope": 13620, - "src": "50263:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13600, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50263:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13603, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50277:2:9", - "nodeType": "VariableDeclaration", - "scope": 13620, - "src": "50272:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13602, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50272:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13605, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50286:2:9", - "nodeType": "VariableDeclaration", - "scope": 13620, - "src": "50281:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13604, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "50281:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50253:36:9" - }, - "returnParameters": { - "id": 13607, - "nodeType": "ParameterList", - "parameters": [], - "src": "50304:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13643, - "nodeType": "FunctionDefinition", - "src": "50411:175:9", - "body": { - "id": 13642, - "nodeType": "Block", - "src": "50483:103:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c737472696e6729", - "id": 13634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50533:28:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ae408d4d030305a0361ad07c397f2b9653613b220d82459c7aeb9a6bab96c15", - "typeString": "literal_string \"log(bool,bool,bool,string)\"" - }, - "value": "log(bool,bool,bool,string)" - }, - { - "id": 13635, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13622, - "src": "50563:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13636, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13624, - "src": "50567:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13637, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13626, - "src": "50571:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13638, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13628, - "src": "50575:2:9", - "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": 13632, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50509:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13633, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50513:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50509:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50509:69:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13631, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "50493:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50493:86:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13641, - "nodeType": "ExpressionStatement", - "src": "50493:86:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50420:3:9", - "parameters": { - "id": 13629, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13622, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50429:2:9", - "nodeType": "VariableDeclaration", - "scope": 13643, - "src": "50424:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13621, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50424:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13624, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50438:2:9", - "nodeType": "VariableDeclaration", - "scope": 13643, - "src": "50433:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13623, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50433:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13626, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50447:2:9", - "nodeType": "VariableDeclaration", - "scope": 13643, - "src": "50442:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13625, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50442:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13628, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50465:2:9", - "nodeType": "VariableDeclaration", - "scope": 13643, - "src": "50451:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13627, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50451:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "50423:45:9" - }, - "returnParameters": { - "id": 13630, - "nodeType": "ParameterList", - "parameters": [], - "src": "50483:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13666, - "nodeType": "FunctionDefinition", - "src": "50592:164:9", - "body": { - "id": 13665, - "nodeType": "Block", - "src": "50655:101:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 13657, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50705:26:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b2a5ce0ddf7b166153a4354c81efba12a817983a38c6bc3b58fd91ce816d99f", - "typeString": "literal_string \"log(bool,bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool,bool)" - }, - { - "id": 13658, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13645, - "src": "50733:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13659, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13647, - "src": "50737:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13660, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13649, - "src": "50741:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13661, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13651, - "src": "50745:2:9", - "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": 13655, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50681:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50685:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50681:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50681:67:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13654, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "50665:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13663, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50665:84:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13664, - "nodeType": "ExpressionStatement", - "src": "50665:84:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50601:3:9", - "parameters": { - "id": 13652, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13645, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50610:2:9", - "nodeType": "VariableDeclaration", - "scope": 13666, - "src": "50605:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13644, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50605:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13647, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50619:2:9", - "nodeType": "VariableDeclaration", - "scope": 13666, - "src": "50614:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13646, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50614:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13649, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50628:2:9", - "nodeType": "VariableDeclaration", - "scope": 13666, - "src": "50623:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13648, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50623:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13651, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50637:2:9", - "nodeType": "VariableDeclaration", - "scope": 13666, - "src": "50632:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13650, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50632:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "50604:36:9" - }, - "returnParameters": { - "id": 13653, - "nodeType": "ParameterList", - "parameters": [], - "src": "50655:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13689, - "nodeType": "FunctionDefinition", - "src": "50762:170:9", - "body": { - "id": 13688, - "nodeType": "Block", - "src": "50828:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c6164647265737329", - "id": 13680, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50878:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c329b1a1752dedfc6b781d23096b49b7f905d62405e6e3f0ab0344786ff69f4", - "typeString": "literal_string \"log(bool,bool,bool,address)\"" - }, - "value": "log(bool,bool,bool,address)" - }, - { - "id": 13681, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13668, - "src": "50909:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13682, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13670, - "src": "50913:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13683, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13672, - "src": "50917:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13684, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13674, - "src": "50921:2:9", - "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": 13678, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50854:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50858:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50854:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13685, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50854:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13677, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "50838:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50838:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13687, - "nodeType": "ExpressionStatement", - "src": "50838:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50771:3:9", - "parameters": { - "id": 13675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13668, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50780:2:9", - "nodeType": "VariableDeclaration", - "scope": 13689, - "src": "50775:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13667, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50775:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13670, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50789:2:9", - "nodeType": "VariableDeclaration", - "scope": 13689, - "src": "50784:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13669, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50784:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13672, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50798:2:9", - "nodeType": "VariableDeclaration", - "scope": 13689, - "src": "50793:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13671, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50793:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13674, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50810:2:9", - "nodeType": "VariableDeclaration", - "scope": 13689, - "src": "50802:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13673, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50802:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "50774:39:9" - }, - "returnParameters": { - "id": 13676, - "nodeType": "ParameterList", - "parameters": [], - "src": "50828:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13712, - "nodeType": "FunctionDefinition", - "src": "50938:170:9", - "body": { - "id": 13711, - "nodeType": "Block", - "src": "51004:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c75696e7429", - "id": 13703, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51054:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_609386e78fd5b0eaf4b919077203f18b1606ddf72247d9e5eef9238918f7cf5e", - "typeString": "literal_string \"log(bool,bool,address,uint)\"" - }, - "value": "log(bool,bool,address,uint)" - }, - { - "id": 13704, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13691, - "src": "51085:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13705, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13693, - "src": "51089:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13706, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13695, - "src": "51093:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13707, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13697, - "src": "51097:2:9", - "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": 13701, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51030:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13702, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51034:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51030:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51030:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13700, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "51014:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51014:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13710, - "nodeType": "ExpressionStatement", - "src": "51014:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50947:3:9", - "parameters": { - "id": 13698, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13691, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50956:2:9", - "nodeType": "VariableDeclaration", - "scope": 13712, - "src": "50951:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13690, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50951:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13693, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50965:2:9", - "nodeType": "VariableDeclaration", - "scope": 13712, - "src": "50960:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13692, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50960:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13695, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50977:2:9", - "nodeType": "VariableDeclaration", - "scope": 13712, - "src": "50969:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13694, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50969:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13697, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50986:2:9", - "nodeType": "VariableDeclaration", - "scope": 13712, - "src": "50981:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13696, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "50981:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50950:39:9" - }, - "returnParameters": { - "id": 13699, - "nodeType": "ParameterList", - "parameters": [], - "src": "51004:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13735, - "nodeType": "FunctionDefinition", - "src": "51114:181:9", - "body": { - "id": 13734, - "nodeType": "Block", - "src": "51189:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c737472696e6729", - "id": 13726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51239:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0a479635c05dee438b610769de0f667f2e93ee267e4cd4badf3dd44eb6271d2", - "typeString": "literal_string \"log(bool,bool,address,string)\"" - }, - "value": "log(bool,bool,address,string)" - }, - { - "id": 13727, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13714, - "src": "51272:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13728, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13716, - "src": "51276:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13729, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13718, - "src": "51280:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13730, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13720, - "src": "51284:2:9", - "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": 13724, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51215:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13725, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51219:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51215:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51215:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13723, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "51199:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51199:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13733, - "nodeType": "ExpressionStatement", - "src": "51199:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51123:3:9", - "parameters": { - "id": 13721, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13714, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51132:2:9", - "nodeType": "VariableDeclaration", - "scope": 13735, - "src": "51127:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13713, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51127:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13716, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51141:2:9", - "nodeType": "VariableDeclaration", - "scope": 13735, - "src": "51136:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13715, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51136:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13718, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51153:2:9", - "nodeType": "VariableDeclaration", - "scope": 13735, - "src": "51145:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51145:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13720, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51171:2:9", - "nodeType": "VariableDeclaration", - "scope": 13735, - "src": "51157:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13719, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51157:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "51126:48:9" - }, - "returnParameters": { - "id": 13722, - "nodeType": "ParameterList", - "parameters": [], - "src": "51189:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13758, - "nodeType": "FunctionDefinition", - "src": "51301:170:9", - "body": { - "id": 13757, - "nodeType": "Block", - "src": "51367:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c626f6f6c29", - "id": 13749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51417:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0a302d8f11e8919127c20f396068f7014b94967efb042778db9b27b68ee1eaf", - "typeString": "literal_string \"log(bool,bool,address,bool)\"" - }, - "value": "log(bool,bool,address,bool)" - }, - { - "id": 13750, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13737, - "src": "51448:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13751, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13739, - "src": "51452:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13752, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13741, - "src": "51456:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13753, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13743, - "src": "51460:2:9", - "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": 13747, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51393:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51397:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51393:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51393:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13746, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "51377:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51377:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13756, - "nodeType": "ExpressionStatement", - "src": "51377:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51310:3:9", - "parameters": { - "id": 13744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13737, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51319:2:9", - "nodeType": "VariableDeclaration", - "scope": 13758, - "src": "51314:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13736, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51314:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13739, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51328:2:9", - "nodeType": "VariableDeclaration", - "scope": 13758, - "src": "51323:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13738, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51323:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13741, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51340:2:9", - "nodeType": "VariableDeclaration", - "scope": 13758, - "src": "51332:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13740, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51332:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13743, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51349:2:9", - "nodeType": "VariableDeclaration", - "scope": 13758, - "src": "51344:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13742, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51344:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "51313:39:9" - }, - "returnParameters": { - "id": 13745, - "nodeType": "ParameterList", - "parameters": [], - "src": "51367:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13781, - "nodeType": "FunctionDefinition", - "src": "51477:176:9", - "body": { - "id": 13780, - "nodeType": "Block", - "src": "51546:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c6164647265737329", - "id": 13772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51596:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f4880ea4063b4f7e3c68468bb4a7a3f1502aa7497bce4fb0ba02ec0450f047f4", - "typeString": "literal_string \"log(bool,bool,address,address)\"" - }, - "value": "log(bool,bool,address,address)" - }, - { - "id": 13773, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13760, - "src": "51630:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13774, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13762, - "src": "51634:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13775, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13764, - "src": "51638:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13776, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13766, - "src": "51642:2:9", - "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": 13770, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51572:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13771, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51576:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51572:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51572:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13769, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "51556:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51556:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13779, - "nodeType": "ExpressionStatement", - "src": "51556:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51486:3:9", - "parameters": { - "id": 13767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13760, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51495:2:9", - "nodeType": "VariableDeclaration", - "scope": 13781, - "src": "51490:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13759, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51490:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13762, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51504:2:9", - "nodeType": "VariableDeclaration", - "scope": 13781, - "src": "51499:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13761, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51499:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13764, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51516:2:9", - "nodeType": "VariableDeclaration", - "scope": 13781, - "src": "51508:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13763, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51508:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13766, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51528:2:9", - "nodeType": "VariableDeclaration", - "scope": 13781, - "src": "51520:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13765, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51520:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "51489:42:9" - }, - "returnParameters": { - "id": 13768, - "nodeType": "ParameterList", - "parameters": [], - "src": "51546:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13804, - "nodeType": "FunctionDefinition", - "src": "51659:170:9", - "body": { - "id": 13803, - "nodeType": "Block", - "src": "51725:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e742c75696e7429", - "id": 13795, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51775:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9bfe72bcae17311bf78638487cb2635e8b5b6f81761042494681e890b65ae4df", - "typeString": "literal_string \"log(bool,address,uint,uint)\"" - }, - "value": "log(bool,address,uint,uint)" - }, - { - "id": 13796, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13783, - "src": "51806:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13797, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13785, - "src": "51810:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13798, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13787, - "src": "51814:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13799, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13789, - "src": "51818:2:9", - "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": 13793, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51751:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13794, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51755:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51751:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51751:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13792, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "51735:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51735:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13802, - "nodeType": "ExpressionStatement", - "src": "51735:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51668:3:9", - "parameters": { - "id": 13790, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13783, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51677:2:9", - "nodeType": "VariableDeclaration", - "scope": 13804, - "src": "51672:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13782, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51672:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13785, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51689:2:9", - "nodeType": "VariableDeclaration", - "scope": 13804, - "src": "51681:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13784, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51681:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13787, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51698:2:9", - "nodeType": "VariableDeclaration", - "scope": 13804, - "src": "51693:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13786, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "51693:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13789, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51707:2:9", - "nodeType": "VariableDeclaration", - "scope": 13804, - "src": "51702:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13788, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "51702:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "51671:39:9" - }, - "returnParameters": { - "id": 13791, - "nodeType": "ParameterList", - "parameters": [], - "src": "51725:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13827, - "nodeType": "FunctionDefinition", - "src": "51835:181:9", - "body": { - "id": 13826, - "nodeType": "Block", - "src": "51910:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e742c737472696e6729", - "id": 13818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51960:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0685833a55270d98fa68e8c0a0f64fe3e03f6cdaeaebd8f87342de905392f45", - "typeString": "literal_string \"log(bool,address,uint,string)\"" - }, - "value": "log(bool,address,uint,string)" - }, - { - "id": 13819, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13806, - "src": "51993:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13820, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13808, - "src": "51997:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13821, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13810, - "src": "52001:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13822, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13812, - "src": "52005:2:9", - "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": 13816, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51936:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51940:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51936:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51936:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13815, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "51920:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51920:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13825, - "nodeType": "ExpressionStatement", - "src": "51920:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51844:3:9", - "parameters": { - "id": 13813, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13806, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51853:2:9", - "nodeType": "VariableDeclaration", - "scope": 13827, - "src": "51848:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13805, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51848:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13808, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51865:2:9", - "nodeType": "VariableDeclaration", - "scope": 13827, - "src": "51857:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13807, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51857:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13810, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51874:2:9", - "nodeType": "VariableDeclaration", - "scope": 13827, - "src": "51869:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13809, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "51869:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13812, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51892:2:9", - "nodeType": "VariableDeclaration", - "scope": 13827, - "src": "51878:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13811, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51878:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "51847:48:9" - }, - "returnParameters": { - "id": 13814, - "nodeType": "ParameterList", - "parameters": [], - "src": "51910:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13850, - "nodeType": "FunctionDefinition", - "src": "52022:170:9", - "body": { - "id": 13849, - "nodeType": "Block", - "src": "52088:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e742c626f6f6c29", - "id": 13841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52138:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ee8d8672273fdba9089296874ea62335af7f94273edab558dd69c0c81ad5275f", - "typeString": "literal_string \"log(bool,address,uint,bool)\"" - }, - "value": "log(bool,address,uint,bool)" - }, - { - "id": 13842, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13829, - "src": "52169:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13843, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13831, - "src": "52173:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13844, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13833, - "src": "52177:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13845, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13835, - "src": "52181:2:9", - "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": 13839, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52114:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52118:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52114:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52114:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13838, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "52098:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13847, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52098:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13848, - "nodeType": "ExpressionStatement", - "src": "52098:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52031:3:9", - "parameters": { - "id": 13836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13829, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52040:2:9", - "nodeType": "VariableDeclaration", - "scope": 13850, - "src": "52035:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13828, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52035:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13831, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52052:2:9", - "nodeType": "VariableDeclaration", - "scope": 13850, - "src": "52044:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13830, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52044:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13833, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52061:2:9", - "nodeType": "VariableDeclaration", - "scope": 13850, - "src": "52056:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13832, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "52056:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13835, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52070:2:9", - "nodeType": "VariableDeclaration", - "scope": 13850, - "src": "52065:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13834, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52065:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "52034:39:9" - }, - "returnParameters": { - "id": 13837, - "nodeType": "ParameterList", - "parameters": [], - "src": "52088:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13873, - "nodeType": "FunctionDefinition", - "src": "52198:176:9", - "body": { - "id": 13872, - "nodeType": "Block", - "src": "52267:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e742c6164647265737329", - "id": 13864, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52317:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68f158b5f9bd826807d19c20c2d71bd298a10503195154a299bf8d64baa18687", - "typeString": "literal_string \"log(bool,address,uint,address)\"" - }, - "value": "log(bool,address,uint,address)" - }, - { - "id": 13865, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13852, - "src": "52351:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13866, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13854, - "src": "52355:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13867, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13856, - "src": "52359:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 13868, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13858, - "src": "52363:2:9", - "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": 13862, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52293:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52297:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52293:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13869, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52293:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13861, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "52277:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52277:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13871, - "nodeType": "ExpressionStatement", - "src": "52277:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52207:3:9", - "parameters": { - "id": 13859, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13852, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52216:2:9", - "nodeType": "VariableDeclaration", - "scope": 13873, - "src": "52211:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13851, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52211:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13854, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52228:2:9", - "nodeType": "VariableDeclaration", - "scope": 13873, - "src": "52220:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13853, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52220:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13856, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52237:2:9", - "nodeType": "VariableDeclaration", - "scope": 13873, - "src": "52232:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13855, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "52232:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13858, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52249:2:9", - "nodeType": "VariableDeclaration", - "scope": 13873, - "src": "52241:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13857, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52241:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52210:42:9" - }, - "returnParameters": { - "id": 13860, - "nodeType": "ParameterList", - "parameters": [], - "src": "52267:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13896, - "nodeType": "FunctionDefinition", - "src": "52380:181:9", - "body": { - "id": 13895, - "nodeType": "Block", - "src": "52455:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c75696e7429", - "id": 13887, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52505:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b99fc2207222410afd35c7faf7feba54ff2367ba89f893584c27ce75693de6e", - "typeString": "literal_string \"log(bool,address,string,uint)\"" - }, - "value": "log(bool,address,string,uint)" - }, - { - "id": 13888, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13875, - "src": "52538:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13889, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13877, - "src": "52542:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13890, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13879, - "src": "52546:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13891, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13881, - "src": "52550:2:9", - "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": 13885, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52481:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13886, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52485:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52481:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52481:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13884, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "52465:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52465:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13894, - "nodeType": "ExpressionStatement", - "src": "52465:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52389:3:9", - "parameters": { - "id": 13882, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13875, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52398:2:9", - "nodeType": "VariableDeclaration", - "scope": 13896, - "src": "52393:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13874, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52393:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13877, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52410:2:9", - "nodeType": "VariableDeclaration", - "scope": 13896, - "src": "52402:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13876, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52402:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13879, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52428:2:9", - "nodeType": "VariableDeclaration", - "scope": 13896, - "src": "52414:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13878, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52414:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13881, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52437:2:9", - "nodeType": "VariableDeclaration", - "scope": 13896, - "src": "52432:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13880, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "52432:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "52392:48:9" - }, - "returnParameters": { - "id": 13883, - "nodeType": "ParameterList", - "parameters": [], - "src": "52455:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13919, - "nodeType": "FunctionDefinition", - "src": "52567:192:9", - "body": { - "id": 13918, - "nodeType": "Block", - "src": "52651:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c737472696e6729", - "id": 13910, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52701:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a73c1db639dbf1382c9113eacdf5b14a7ccd81fc001ac60393623936011bf49d", - "typeString": "literal_string \"log(bool,address,string,string)\"" - }, - "value": "log(bool,address,string,string)" - }, - { - "id": 13911, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13898, - "src": "52736:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13912, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13900, - "src": "52740:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13913, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13902, - "src": "52744:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13914, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13904, - "src": "52748:2:9", - "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": 13908, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52677:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52681:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52677:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52677:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13907, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "52661:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52661:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13917, - "nodeType": "ExpressionStatement", - "src": "52661:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52576:3:9", - "parameters": { - "id": 13905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13898, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52585:2:9", - "nodeType": "VariableDeclaration", - "scope": 13919, - "src": "52580:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13897, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52580:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13900, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52597:2:9", - "nodeType": "VariableDeclaration", - "scope": 13919, - "src": "52589:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52589:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13902, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52615:2:9", - "nodeType": "VariableDeclaration", - "scope": 13919, - "src": "52601:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13901, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52601:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13904, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52633:2:9", - "nodeType": "VariableDeclaration", - "scope": 13919, - "src": "52619:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13903, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52619:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "52579:57:9" - }, - "returnParameters": { - "id": 13906, - "nodeType": "ParameterList", - "parameters": [], - "src": "52651:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13942, - "nodeType": "FunctionDefinition", - "src": "52765:181:9", - "body": { - "id": 13941, - "nodeType": "Block", - "src": "52840:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c626f6f6c29", - "id": 13933, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52890:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e2bfd60b4f6acdab0603dda631b69bf37ab7cbf71bc5953f9ed72c1f2a76f7dc", - "typeString": "literal_string \"log(bool,address,string,bool)\"" - }, - "value": "log(bool,address,string,bool)" - }, - { - "id": 13934, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13921, - "src": "52923:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13935, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13923, - "src": "52927:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13936, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13925, - "src": "52931:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13937, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13927, - "src": "52935:2:9", - "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": 13931, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52866:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13932, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52870:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52866:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52866:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13930, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "52850:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52850:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13940, - "nodeType": "ExpressionStatement", - "src": "52850:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52774:3:9", - "parameters": { - "id": 13928, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13921, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52783:2:9", - "nodeType": "VariableDeclaration", - "scope": 13942, - "src": "52778:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13920, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52778:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13923, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52795:2:9", - "nodeType": "VariableDeclaration", - "scope": 13942, - "src": "52787:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13922, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52787:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13925, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52813:2:9", - "nodeType": "VariableDeclaration", - "scope": 13942, - "src": "52799:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13924, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52799:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13927, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52822:2:9", - "nodeType": "VariableDeclaration", - "scope": 13942, - "src": "52817:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13926, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52817:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "52777:48:9" - }, - "returnParameters": { - "id": 13929, - "nodeType": "ParameterList", - "parameters": [], - "src": "52840:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13965, - "nodeType": "FunctionDefinition", - "src": "52952:187:9", - "body": { - "id": 13964, - "nodeType": "Block", - "src": "53030:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c6164647265737329", - "id": 13956, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53080:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f7c603e9035cbc7959bb3d44ec862ddc6711eecebd67d54ceb0010f42f85654", - "typeString": "literal_string \"log(bool,address,string,address)\"" - }, - "value": "log(bool,address,string,address)" - }, - { - "id": 13957, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13944, - "src": "53116:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13958, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13946, - "src": "53120:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13959, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13948, - "src": "53124:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 13960, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13950, - "src": "53128:2:9", - "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": 13954, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53056:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13955, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53060:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53056:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53056:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13953, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "53040:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53040:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13963, - "nodeType": "ExpressionStatement", - "src": "53040:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52961:3:9", - "parameters": { - "id": 13951, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13944, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52970:2:9", - "nodeType": "VariableDeclaration", - "scope": 13965, - "src": "52965:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13943, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52965:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13946, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52982:2:9", - "nodeType": "VariableDeclaration", - "scope": 13965, - "src": "52974:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13945, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52974:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13948, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53000:2:9", - "nodeType": "VariableDeclaration", - "scope": 13965, - "src": "52986:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13947, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52986:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13950, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53012:2:9", - "nodeType": "VariableDeclaration", - "scope": 13965, - "src": "53004:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13949, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53004:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52964:51:9" - }, - "returnParameters": { - "id": 13952, - "nodeType": "ParameterList", - "parameters": [], - "src": "53030:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 13988, - "nodeType": "FunctionDefinition", - "src": "53145:170:9", - "body": { - "id": 13987, - "nodeType": "Block", - "src": "53211:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c75696e7429", - "id": 13979, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53261:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4cb60fd1171fb665e1565124463601e5c451a362c8efbc6e1fcfbffbbb9850d9", - "typeString": "literal_string \"log(bool,address,bool,uint)\"" - }, - "value": "log(bool,address,bool,uint)" - }, - { - "id": 13980, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13967, - "src": "53292:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13981, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13969, - "src": "53296:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 13982, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13971, - "src": "53300:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 13983, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13973, - "src": "53304:2:9", - "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": 13977, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53237:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 13978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53241:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53237:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 13984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53237:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13976, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "53221:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 13985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53221:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 13986, - "nodeType": "ExpressionStatement", - "src": "53221:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53154:3:9", - "parameters": { - "id": 13974, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13967, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53163:2:9", - "nodeType": "VariableDeclaration", - "scope": 13988, - "src": "53158:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13966, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53158:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13969, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53175:2:9", - "nodeType": "VariableDeclaration", - "scope": 13988, - "src": "53167:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13968, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53167:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13971, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53184:2:9", - "nodeType": "VariableDeclaration", - "scope": 13988, - "src": "53179:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13970, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53179:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13973, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53193:2:9", - "nodeType": "VariableDeclaration", - "scope": 13988, - "src": "53188:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 13972, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "53188:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "53157:39:9" - }, - "returnParameters": { - "id": 13975, - "nodeType": "ParameterList", - "parameters": [], - "src": "53211:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14011, - "nodeType": "FunctionDefinition", - "src": "53321:181:9", - "body": { - "id": 14010, - "nodeType": "Block", - "src": "53396:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c737472696e6729", - "id": 14002, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53446:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a66cb34796065525d301a5b87b440b55f1936e34dd66e2f2039307bc4e3ea59", - "typeString": "literal_string \"log(bool,address,bool,string)\"" - }, - "value": "log(bool,address,bool,string)" - }, - { - "id": 14003, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13990, - "src": "53479:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14004, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13992, - "src": "53483:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14005, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13994, - "src": "53487:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14006, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13996, - "src": "53491:2:9", - "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": 14000, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53422:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14001, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53426:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53422:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53422:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 13999, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "53406:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53406:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14009, - "nodeType": "ExpressionStatement", - "src": "53406:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53330:3:9", - "parameters": { - "id": 13997, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13990, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53339:2:9", - "nodeType": "VariableDeclaration", - "scope": 14011, - "src": "53334:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13989, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53334:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13992, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53351:2:9", - "nodeType": "VariableDeclaration", - "scope": 14011, - "src": "53343:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 13991, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53343:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13994, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53360:2:9", - "nodeType": "VariableDeclaration", - "scope": 14011, - "src": "53355:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 13993, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53355:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 13996, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53378:2:9", - "nodeType": "VariableDeclaration", - "scope": 14011, - "src": "53364:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 13995, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53364:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "53333:48:9" - }, - "returnParameters": { - "id": 13998, - "nodeType": "ParameterList", - "parameters": [], - "src": "53396:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14034, - "nodeType": "FunctionDefinition", - "src": "53508:170:9", - "body": { - "id": 14033, - "nodeType": "Block", - "src": "53574:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c626f6f6c29", - "id": 14025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53624:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6a9c478bc98300d44308882e2e0b5864f2536a2939cb77105f503738b5832577", - "typeString": "literal_string \"log(bool,address,bool,bool)\"" - }, - "value": "log(bool,address,bool,bool)" - }, - { - "id": 14026, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14013, - "src": "53655:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14027, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14015, - "src": "53659:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14028, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14017, - "src": "53663:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14029, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14019, - "src": "53667:2:9", - "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": 14023, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53600:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14024, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53604:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53600:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14030, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53600:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14022, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "53584:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53584:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14032, - "nodeType": "ExpressionStatement", - "src": "53584:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53517:3:9", - "parameters": { - "id": 14020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14013, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53526:2:9", - "nodeType": "VariableDeclaration", - "scope": 14034, - "src": "53521:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14012, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53521:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14015, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53538:2:9", - "nodeType": "VariableDeclaration", - "scope": 14034, - "src": "53530:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14014, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53530:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14017, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53547:2:9", - "nodeType": "VariableDeclaration", - "scope": 14034, - "src": "53542:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14016, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53542:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14019, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53556:2:9", - "nodeType": "VariableDeclaration", - "scope": 14034, - "src": "53551:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14018, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53551:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "53520:39:9" - }, - "returnParameters": { - "id": 14021, - "nodeType": "ParameterList", - "parameters": [], - "src": "53574:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14057, - "nodeType": "FunctionDefinition", - "src": "53684:176:9", - "body": { - "id": 14056, - "nodeType": "Block", - "src": "53753:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c6164647265737329", - "id": 14048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53803:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c41a336759f1c2fe1d8b137296b2dfbdcfe7114fc53f203852c2835c09f8870", - "typeString": "literal_string \"log(bool,address,bool,address)\"" - }, - "value": "log(bool,address,bool,address)" - }, - { - "id": 14049, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14036, - "src": "53837:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14050, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14038, - "src": "53841:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14051, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14040, - "src": "53845:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14052, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14042, - "src": "53849:2:9", - "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": 14046, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53779:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14047, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53783:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53779:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53779:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14045, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "53763:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53763:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14055, - "nodeType": "ExpressionStatement", - "src": "53763:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53693:3:9", - "parameters": { - "id": 14043, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14036, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53702:2:9", - "nodeType": "VariableDeclaration", - "scope": 14057, - "src": "53697:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14035, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53697:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14038, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53714:2:9", - "nodeType": "VariableDeclaration", - "scope": 14057, - "src": "53706:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14037, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53706:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14040, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53723:2:9", - "nodeType": "VariableDeclaration", - "scope": 14057, - "src": "53718:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14039, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53718:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14042, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53735:2:9", - "nodeType": "VariableDeclaration", - "scope": 14057, - "src": "53727:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14041, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53727:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "53696:42:9" - }, - "returnParameters": { - "id": 14044, - "nodeType": "ParameterList", - "parameters": [], - "src": "53753:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14080, - "nodeType": "FunctionDefinition", - "src": "53866:176:9", - "body": { - "id": 14079, - "nodeType": "Block", - "src": "53935:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c75696e7429", - "id": 14071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53985:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5284bd6c2d02d32d79d43dcd0793be5ced63bf4e51bea38208974f6d8ca5def7", - "typeString": "literal_string \"log(bool,address,address,uint)\"" - }, - "value": "log(bool,address,address,uint)" - }, - { - "id": 14072, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14059, - "src": "54019:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14073, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14061, - "src": "54023:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14074, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14063, - "src": "54027:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14075, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14065, - "src": "54031:2:9", - "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": 14069, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53961:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53965:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53961:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53961:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14068, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "53945:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53945:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14078, - "nodeType": "ExpressionStatement", - "src": "53945:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53875:3:9", - "parameters": { - "id": 14066, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14059, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53884:2:9", - "nodeType": "VariableDeclaration", - "scope": 14080, - "src": "53879:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14058, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53879:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14061, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53896:2:9", - "nodeType": "VariableDeclaration", - "scope": 14080, - "src": "53888:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14060, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53888:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14063, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53908:2:9", - "nodeType": "VariableDeclaration", - "scope": 14080, - "src": "53900:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14062, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53900:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14065, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53917:2:9", - "nodeType": "VariableDeclaration", - "scope": 14080, - "src": "53912:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14064, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "53912:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "53878:42:9" - }, - "returnParameters": { - "id": 14067, - "nodeType": "ParameterList", - "parameters": [], - "src": "53935:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14103, - "nodeType": "FunctionDefinition", - "src": "54048:187:9", - "body": { - "id": 14102, - "nodeType": "Block", - "src": "54126:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c737472696e6729", - "id": 14094, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54176:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d812a167fb7ec8cf55a11f06ff411238f0a431de331592d8a735c8c8481f7432", - "typeString": "literal_string \"log(bool,address,address,string)\"" - }, - "value": "log(bool,address,address,string)" - }, - { - "id": 14095, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14082, - "src": "54212:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14096, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14084, - "src": "54216:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14097, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14086, - "src": "54220:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14098, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14088, - "src": "54224:2:9", - "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": 14092, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54152:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14093, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54156:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54152:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14099, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54152:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14091, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "54136:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54136:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14101, - "nodeType": "ExpressionStatement", - "src": "54136:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54057:3:9", - "parameters": { - "id": 14089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14082, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54066:2:9", - "nodeType": "VariableDeclaration", - "scope": 14103, - "src": "54061:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14081, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54061:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14084, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54078:2:9", - "nodeType": "VariableDeclaration", - "scope": 14103, - "src": "54070:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14083, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54070:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14086, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54090:2:9", - "nodeType": "VariableDeclaration", - "scope": 14103, - "src": "54082:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14085, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54082:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14088, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54108:2:9", - "nodeType": "VariableDeclaration", - "scope": 14103, - "src": "54094:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14087, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54094:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "54060:51:9" - }, - "returnParameters": { - "id": 14090, - "nodeType": "ParameterList", - "parameters": [], - "src": "54126:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14126, - "nodeType": "FunctionDefinition", - "src": "54241:176:9", - "body": { - "id": 14125, - "nodeType": "Block", - "src": "54310:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c626f6f6c29", - "id": 14117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54360:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46600be071bbf2a7e3a3cb4fd0e6efe39e86453e4c4a27c400470867be7afd9e", - "typeString": "literal_string \"log(bool,address,address,bool)\"" - }, - "value": "log(bool,address,address,bool)" - }, - { - "id": 14118, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14105, - "src": "54394:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14119, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14107, - "src": "54398:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14120, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14109, - "src": "54402:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14121, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14111, - "src": "54406:2:9", - "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": 14115, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54336:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54340:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54336:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14122, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54336:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14114, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "54320:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54320:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14124, - "nodeType": "ExpressionStatement", - "src": "54320:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54250:3:9", - "parameters": { - "id": 14112, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14105, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54259:2:9", - "nodeType": "VariableDeclaration", - "scope": 14126, - "src": "54254:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14104, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54254:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14107, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54271:2:9", - "nodeType": "VariableDeclaration", - "scope": 14126, - "src": "54263:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14106, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54263:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14109, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54283:2:9", - "nodeType": "VariableDeclaration", - "scope": 14126, - "src": "54275:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14108, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54275:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14111, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54292:2:9", - "nodeType": "VariableDeclaration", - "scope": 14126, - "src": "54287:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14110, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54287:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54253:42:9" - }, - "returnParameters": { - "id": 14113, - "nodeType": "ParameterList", - "parameters": [], - "src": "54310:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14149, - "nodeType": "FunctionDefinition", - "src": "54423:182:9", - "body": { - "id": 14148, - "nodeType": "Block", - "src": "54495:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c6164647265737329", - "id": 14140, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54545:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1d14d00189540d88098b9fe614aa8c0efbe231c1a0fee05e7d705c0342377123", - "typeString": "literal_string \"log(bool,address,address,address)\"" - }, - "value": "log(bool,address,address,address)" - }, - { - "id": 14141, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14128, - "src": "54582:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14142, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14130, - "src": "54586:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14143, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14132, - "src": "54590:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14144, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14134, - "src": "54594:2:9", - "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": 14138, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54521:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14139, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54525:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54521:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54521:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14137, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "54505:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54505:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14147, - "nodeType": "ExpressionStatement", - "src": "54505:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54432:3:9", - "parameters": { - "id": 14135, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14128, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54441:2:9", - "nodeType": "VariableDeclaration", - "scope": 14149, - "src": "54436:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14127, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54436:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14130, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54453:2:9", - "nodeType": "VariableDeclaration", - "scope": 14149, - "src": "54445:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14129, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54445:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14132, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54465:2:9", - "nodeType": "VariableDeclaration", - "scope": 14149, - "src": "54457:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14131, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54457:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14134, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54477:2:9", - "nodeType": "VariableDeclaration", - "scope": 14149, - "src": "54469:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14133, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54469:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "54435:45:9" - }, - "returnParameters": { - "id": 14136, - "nodeType": "ParameterList", - "parameters": [], - "src": "54495:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14172, - "nodeType": "FunctionDefinition", - "src": "54611:170:9", - "body": { - "id": 14171, - "nodeType": "Block", - "src": "54677:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e742c75696e7429", - "id": 14163, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54727:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3d0e9de46a80fe11d0044e9599dfddd0e8b842cabe189638f7090f19867918c1", - "typeString": "literal_string \"log(address,uint,uint,uint)\"" - }, - "value": "log(address,uint,uint,uint)" - }, - { - "id": 14164, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14151, - "src": "54758:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14165, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14153, - "src": "54762:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14166, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14155, - "src": "54766:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14167, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14157, - "src": "54770:2:9", - "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": 14161, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54703:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54707:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54703:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54703:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14160, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "54687:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54687:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14170, - "nodeType": "ExpressionStatement", - "src": "54687:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54620:3:9", - "parameters": { - "id": 14158, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14151, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54632:2:9", - "nodeType": "VariableDeclaration", - "scope": 14172, - "src": "54624:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14150, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54624:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14153, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54641:2:9", - "nodeType": "VariableDeclaration", - "scope": 14172, - "src": "54636:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14152, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54636:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14155, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54650:2:9", - "nodeType": "VariableDeclaration", - "scope": 14172, - "src": "54645:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14154, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54645:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14157, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54659:2:9", - "nodeType": "VariableDeclaration", - "scope": 14172, - "src": "54654:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14156, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54654:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "54623:39:9" - }, - "returnParameters": { - "id": 14159, - "nodeType": "ParameterList", - "parameters": [], - "src": "54677:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14195, - "nodeType": "FunctionDefinition", - "src": "54787:181:9", - "body": { - "id": 14194, - "nodeType": "Block", - "src": "54862:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e742c737472696e6729", - "id": 14186, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54912:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_89340dab4d23e956541beb32775ccfee8376ba263886dd811a646420a3a403a3", - "typeString": "literal_string \"log(address,uint,uint,string)\"" - }, - "value": "log(address,uint,uint,string)" - }, - { - "id": 14187, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14174, - "src": "54945:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14188, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14176, - "src": "54949:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14189, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14178, - "src": "54953:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14190, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14180, - "src": "54957:2:9", - "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": 14184, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54888:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54892:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54888:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54888:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14183, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "54872:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54872:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14193, - "nodeType": "ExpressionStatement", - "src": "54872:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54796:3:9", - "parameters": { - "id": 14181, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14174, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54808:2:9", - "nodeType": "VariableDeclaration", - "scope": 14195, - "src": "54800:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54800:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14176, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54817:2:9", - "nodeType": "VariableDeclaration", - "scope": 14195, - "src": "54812:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14175, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54812:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14178, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54826:2:9", - "nodeType": "VariableDeclaration", - "scope": 14195, - "src": "54821:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14177, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54821:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14180, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54844:2:9", - "nodeType": "VariableDeclaration", - "scope": 14195, - "src": "54830:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14179, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54830:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "54799:48:9" - }, - "returnParameters": { - "id": 14182, - "nodeType": "ParameterList", - "parameters": [], - "src": "54862:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14218, - "nodeType": "FunctionDefinition", - "src": "54974:170:9", - "body": { - "id": 14217, - "nodeType": "Block", - "src": "55040:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e742c626f6f6c29", - "id": 14209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55090:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ec4ba8a24543362f628480c68bc2d6749e97ab33d46530db336a528c77e48393", - "typeString": "literal_string \"log(address,uint,uint,bool)\"" - }, - "value": "log(address,uint,uint,bool)" - }, - { - "id": 14210, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14197, - "src": "55121:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14211, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14199, - "src": "55125:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14212, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14201, - "src": "55129:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14213, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14203, - "src": "55133:2:9", - "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": 14207, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55066:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55070:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55066:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55066:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14206, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "55050:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14215, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55050:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14216, - "nodeType": "ExpressionStatement", - "src": "55050:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54983:3:9", - "parameters": { - "id": 14204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14197, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54995:2:9", - "nodeType": "VariableDeclaration", - "scope": 14218, - "src": "54987:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14196, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54987:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14199, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55004:2:9", - "nodeType": "VariableDeclaration", - "scope": 14218, - "src": "54999:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14198, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "54999:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14201, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55013:2:9", - "nodeType": "VariableDeclaration", - "scope": 14218, - "src": "55008:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14200, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55008:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14203, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55022:2:9", - "nodeType": "VariableDeclaration", - "scope": 14218, - "src": "55017:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14202, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55017:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54986:39:9" - }, - "returnParameters": { - "id": 14205, - "nodeType": "ParameterList", - "parameters": [], - "src": "55040:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14241, - "nodeType": "FunctionDefinition", - "src": "55150:176:9", - "body": { - "id": 14240, - "nodeType": "Block", - "src": "55219:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c75696e742c6164647265737329", - "id": 14232, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55269:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1ef634347c2e4a2aa1a4e4e13d33bf0169f02bc4d10ff6168ca604cf3134d957", - "typeString": "literal_string \"log(address,uint,uint,address)\"" - }, - "value": "log(address,uint,uint,address)" - }, - { - "id": 14233, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14220, - "src": "55303:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14234, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14222, - "src": "55307:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14235, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14224, - "src": "55311:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14236, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14226, - "src": "55315:2:9", - "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": 14230, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55245:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14231, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55249:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55245:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55245:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14229, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "55229:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14238, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55229:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14239, - "nodeType": "ExpressionStatement", - "src": "55229:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55159:3:9", - "parameters": { - "id": 14227, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14220, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55171:2:9", - "nodeType": "VariableDeclaration", - "scope": 14241, - "src": "55163:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14219, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55163:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14222, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55180:2:9", - "nodeType": "VariableDeclaration", - "scope": 14241, - "src": "55175:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14221, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55175:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14224, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55189:2:9", - "nodeType": "VariableDeclaration", - "scope": 14241, - "src": "55184:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14223, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55184:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14226, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55201:2:9", - "nodeType": "VariableDeclaration", - "scope": 14241, - "src": "55193:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14225, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55193:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55162:42:9" - }, - "returnParameters": { - "id": 14228, - "nodeType": "ParameterList", - "parameters": [], - "src": "55219:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14264, - "nodeType": "FunctionDefinition", - "src": "55332:181:9", - "body": { - "id": 14263, - "nodeType": "Block", - "src": "55407:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e672c75696e7429", - "id": 14255, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55457:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f512cf9b6f6b16313e82164dab4a017b25c36dde729112fd1b69de438557701b", - "typeString": "literal_string \"log(address,uint,string,uint)\"" - }, - "value": "log(address,uint,string,uint)" - }, - { - "id": 14256, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14243, - "src": "55490:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14257, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14245, - "src": "55494:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14258, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14247, - "src": "55498:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14259, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14249, - "src": "55502:2:9", - "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": 14253, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55433:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14254, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55437:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55433:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55433:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14252, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "55417:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55417:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14262, - "nodeType": "ExpressionStatement", - "src": "55417:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55341:3:9", - "parameters": { - "id": 14250, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14243, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55353:2:9", - "nodeType": "VariableDeclaration", - "scope": 14264, - "src": "55345:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14242, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55345:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14245, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55362:2:9", - "nodeType": "VariableDeclaration", - "scope": 14264, - "src": "55357:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14244, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55357:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14247, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55380:2:9", - "nodeType": "VariableDeclaration", - "scope": 14264, - "src": "55366:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14246, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55366:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14249, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55389:2:9", - "nodeType": "VariableDeclaration", - "scope": 14264, - "src": "55384:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14248, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55384:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "55344:48:9" - }, - "returnParameters": { - "id": 14251, - "nodeType": "ParameterList", - "parameters": [], - "src": "55407:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14287, - "nodeType": "FunctionDefinition", - "src": "55519:192:9", - "body": { - "id": 14286, - "nodeType": "Block", - "src": "55603:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e672c737472696e6729", - "id": 14278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55653:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7e56c693294848e354fd0e0f30db9c459984681d518306ec606cfd6f328a5ba0", - "typeString": "literal_string \"log(address,uint,string,string)\"" - }, - "value": "log(address,uint,string,string)" - }, - { - "id": 14279, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14266, - "src": "55688:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14280, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14268, - "src": "55692:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14281, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14270, - "src": "55696:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14282, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14272, - "src": "55700:2:9", - "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": 14276, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55629:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14277, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55633:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55629:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55629:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14275, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "55613:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55613:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14285, - "nodeType": "ExpressionStatement", - "src": "55613:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55528:3:9", - "parameters": { - "id": 14273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14266, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55540:2:9", - "nodeType": "VariableDeclaration", - "scope": 14287, - "src": "55532:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14265, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55532:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14268, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55549:2:9", - "nodeType": "VariableDeclaration", - "scope": 14287, - "src": "55544:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14267, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55544:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14270, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55567:2:9", - "nodeType": "VariableDeclaration", - "scope": 14287, - "src": "55553:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14269, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55553:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14272, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55585:2:9", - "nodeType": "VariableDeclaration", - "scope": 14287, - "src": "55571:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14271, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55571:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "55531:57:9" - }, - "returnParameters": { - "id": 14274, - "nodeType": "ParameterList", - "parameters": [], - "src": "55603:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14310, - "nodeType": "FunctionDefinition", - "src": "55717:181:9", - "body": { - "id": 14309, - "nodeType": "Block", - "src": "55792:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e672c626f6f6c29", - "id": 14301, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55842:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a4024f1195637e9b9bd0fa746905cf1693b1e0cd3e1c717a1cbc5279763b256a", - "typeString": "literal_string \"log(address,uint,string,bool)\"" - }, - "value": "log(address,uint,string,bool)" - }, - { - "id": 14302, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14289, - "src": "55875:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14303, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14291, - "src": "55879:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14304, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14293, - "src": "55883:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14305, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14295, - "src": "55887:2:9", - "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": 14299, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55818:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14300, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55822:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55818:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55818:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14298, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "55802:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14307, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55802:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14308, - "nodeType": "ExpressionStatement", - "src": "55802:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55726:3:9", - "parameters": { - "id": 14296, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14289, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55738:2:9", - "nodeType": "VariableDeclaration", - "scope": 14310, - "src": "55730:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14288, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55730:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14291, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55747:2:9", - "nodeType": "VariableDeclaration", - "scope": 14310, - "src": "55742:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14290, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55742:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14293, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55765:2:9", - "nodeType": "VariableDeclaration", - "scope": 14310, - "src": "55751:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14292, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55751:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14295, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55774:2:9", - "nodeType": "VariableDeclaration", - "scope": 14310, - "src": "55769:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14294, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55769:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "55729:48:9" - }, - "returnParameters": { - "id": 14297, - "nodeType": "ParameterList", - "parameters": [], - "src": "55792:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14333, - "nodeType": "FunctionDefinition", - "src": "55904:187:9", - "body": { - "id": 14332, - "nodeType": "Block", - "src": "55982:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c737472696e672c6164647265737329", - "id": 14324, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56032:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc792604099307de53721f0c554f3059214ac3d8d1f6cd01cd16cf188835e809", - "typeString": "literal_string \"log(address,uint,string,address)\"" - }, - "value": "log(address,uint,string,address)" - }, - { - "id": 14325, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14312, - "src": "56068:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14326, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14314, - "src": "56072:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14327, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14316, - "src": "56076:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14328, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14318, - "src": "56080:2:9", - "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": 14322, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56008:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56012:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56008:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56008:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14321, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "55992:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55992:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14331, - "nodeType": "ExpressionStatement", - "src": "55992:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55913:3:9", - "parameters": { - "id": 14319, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14312, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55925:2:9", - "nodeType": "VariableDeclaration", - "scope": 14333, - "src": "55917:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14311, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55917:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14314, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55934:2:9", - "nodeType": "VariableDeclaration", - "scope": 14333, - "src": "55929:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14313, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "55929:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14316, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55952:2:9", - "nodeType": "VariableDeclaration", - "scope": 14333, - "src": "55938:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14315, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55938:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14318, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55964:2:9", - "nodeType": "VariableDeclaration", - "scope": 14333, - "src": "55956:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14317, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55956:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55916:51:9" - }, - "returnParameters": { - "id": 14320, - "nodeType": "ParameterList", - "parameters": [], - "src": "55982:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14356, - "nodeType": "FunctionDefinition", - "src": "56097:170:9", - "body": { - "id": 14355, - "nodeType": "Block", - "src": "56163:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c2c75696e7429", - "id": 14347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56213:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_698f43923a9354f67c861ae1c111970990b11c7f948743e5f44d6ea901e7f1a2", - "typeString": "literal_string \"log(address,uint,bool,uint)\"" - }, - "value": "log(address,uint,bool,uint)" - }, - { - "id": 14348, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14335, - "src": "56244:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14349, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14337, - "src": "56248:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14350, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14339, - "src": "56252:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14351, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14341, - "src": "56256:2:9", - "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": 14345, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56189:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14346, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56193:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56189:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56189:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14344, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "56173:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56173:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14354, - "nodeType": "ExpressionStatement", - "src": "56173:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56106:3:9", - "parameters": { - "id": 14342, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14335, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56118:2:9", - "nodeType": "VariableDeclaration", - "scope": 14356, - "src": "56110:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14334, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56110:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14337, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56127:2:9", - "nodeType": "VariableDeclaration", - "scope": 14356, - "src": "56122:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14336, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56122:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14339, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56136:2:9", - "nodeType": "VariableDeclaration", - "scope": 14356, - "src": "56131:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14338, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56131:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14341, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56145:2:9", - "nodeType": "VariableDeclaration", - "scope": 14356, - "src": "56140:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14340, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56140:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "56109:39:9" - }, - "returnParameters": { - "id": 14343, - "nodeType": "ParameterList", - "parameters": [], - "src": "56163:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14379, - "nodeType": "FunctionDefinition", - "src": "56273:181:9", - "body": { - "id": 14378, - "nodeType": "Block", - "src": "56348:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c2c737472696e6729", - "id": 14370, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56398:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e8e4e75a8ccb3f0e11ad74335eebf7a17a78463e99c3b077ff34193a8918f3f", - "typeString": "literal_string \"log(address,uint,bool,string)\"" - }, - "value": "log(address,uint,bool,string)" - }, - { - "id": 14371, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14358, - "src": "56431:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14372, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14360, - "src": "56435:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14373, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14362, - "src": "56439:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14374, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14364, - "src": "56443:2:9", - "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": 14368, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56374:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56378:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56374:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14375, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56374:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14367, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "56358:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56358:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14377, - "nodeType": "ExpressionStatement", - "src": "56358:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56282:3:9", - "parameters": { - "id": 14365, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14358, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56294:2:9", - "nodeType": "VariableDeclaration", - "scope": 14379, - "src": "56286:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14357, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56286:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14360, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56303:2:9", - "nodeType": "VariableDeclaration", - "scope": 14379, - "src": "56298:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14359, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56298:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14362, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56312:2:9", - "nodeType": "VariableDeclaration", - "scope": 14379, - "src": "56307:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14361, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56307:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14364, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56330:2:9", - "nodeType": "VariableDeclaration", - "scope": 14379, - "src": "56316:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14363, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56316:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "56285:48:9" - }, - "returnParameters": { - "id": 14366, - "nodeType": "ParameterList", - "parameters": [], - "src": "56348:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14402, - "nodeType": "FunctionDefinition", - "src": "56460:170:9", - "body": { - "id": 14401, - "nodeType": "Block", - "src": "56526:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c2c626f6f6c29", - "id": 14393, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56576:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fea1d55aec42c422504acea77de45574d2fa3abd9dc9c6288741e19c3bd9849b", - "typeString": "literal_string \"log(address,uint,bool,bool)\"" - }, - "value": "log(address,uint,bool,bool)" - }, - { - "id": 14394, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14381, - "src": "56607:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14395, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14383, - "src": "56611:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14396, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14385, - "src": "56615:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14397, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14387, - "src": "56619:2:9", - "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": 14391, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56552:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14392, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56556:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56552:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14398, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56552:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14390, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "56536:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14399, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56536:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14400, - "nodeType": "ExpressionStatement", - "src": "56536:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56469:3:9", - "parameters": { - "id": 14388, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14381, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56481:2:9", - "nodeType": "VariableDeclaration", - "scope": 14402, - "src": "56473:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14380, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56473:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14383, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56490:2:9", - "nodeType": "VariableDeclaration", - "scope": 14402, - "src": "56485:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14382, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56485:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14385, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56499:2:9", - "nodeType": "VariableDeclaration", - "scope": 14402, - "src": "56494:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14384, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56494:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14387, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56508:2:9", - "nodeType": "VariableDeclaration", - "scope": 14402, - "src": "56503:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14386, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56503:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "56472:39:9" - }, - "returnParameters": { - "id": 14389, - "nodeType": "ParameterList", - "parameters": [], - "src": "56526:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14425, - "nodeType": "FunctionDefinition", - "src": "56636:176:9", - "body": { - "id": 14424, - "nodeType": "Block", - "src": "56705:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c626f6f6c2c6164647265737329", - "id": 14416, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56755:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_23e5497254e625e6c33a3fa3eb47ff18f6bac3345da52f847bd5571820febf2d", - "typeString": "literal_string \"log(address,uint,bool,address)\"" - }, - "value": "log(address,uint,bool,address)" - }, - { - "id": 14417, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14404, - "src": "56789:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14418, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14406, - "src": "56793:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14419, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14408, - "src": "56797:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14420, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14410, - "src": "56801:2:9", - "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": 14414, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56731:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14415, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56735:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56731:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56731:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14413, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "56715:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56715:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14423, - "nodeType": "ExpressionStatement", - "src": "56715:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56645:3:9", - "parameters": { - "id": 14411, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14404, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56657:2:9", - "nodeType": "VariableDeclaration", - "scope": 14425, - "src": "56649:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14403, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56649:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14406, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56666:2:9", - "nodeType": "VariableDeclaration", - "scope": 14425, - "src": "56661:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14405, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56661:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14408, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56675:2:9", - "nodeType": "VariableDeclaration", - "scope": 14425, - "src": "56670:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14407, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56670:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14410, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56687:2:9", - "nodeType": "VariableDeclaration", - "scope": 14425, - "src": "56679:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14409, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56679:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "56648:42:9" - }, - "returnParameters": { - "id": 14412, - "nodeType": "ParameterList", - "parameters": [], - "src": "56705:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14448, - "nodeType": "FunctionDefinition", - "src": "56818:176:9", - "body": { - "id": 14447, - "nodeType": "Block", - "src": "56887:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c616464726573732c75696e7429", - "id": 14439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56937:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5d98768f8145ad77f2cf1b1f44790c3edb28c68feadee43b01883b75311ac0e", - "typeString": "literal_string \"log(address,uint,address,uint)\"" - }, - "value": "log(address,uint,address,uint)" - }, - { - "id": 14440, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14427, - "src": "56971:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14441, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14429, - "src": "56975:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14442, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14431, - "src": "56979:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14443, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14433, - "src": "56983:2:9", - "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": 14437, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56913:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14438, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56917:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56913:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56913:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14436, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "56897:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56897:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14446, - "nodeType": "ExpressionStatement", - "src": "56897:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56827:3:9", - "parameters": { - "id": 14434, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14427, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56839:2:9", - "nodeType": "VariableDeclaration", - "scope": 14448, - "src": "56831:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14426, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56831:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14429, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56848:2:9", - "nodeType": "VariableDeclaration", - "scope": 14448, - "src": "56843:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14428, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56843:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14431, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56860:2:9", - "nodeType": "VariableDeclaration", - "scope": 14448, - "src": "56852:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14430, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56852:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14433, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56869:2:9", - "nodeType": "VariableDeclaration", - "scope": 14448, - "src": "56864:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14432, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "56864:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "56830:42:9" - }, - "returnParameters": { - "id": 14435, - "nodeType": "ParameterList", - "parameters": [], - "src": "56887:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14471, - "nodeType": "FunctionDefinition", - "src": "57000:187:9", - "body": { - "id": 14470, - "nodeType": "Block", - "src": "57078:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c616464726573732c737472696e6729", - "id": 14462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57128:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d71f39ef468709ab1c82c125aa1311ff96f65f56794c27c7babe5651379e4b4", - "typeString": "literal_string \"log(address,uint,address,string)\"" - }, - "value": "log(address,uint,address,string)" - }, - { - "id": 14463, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14450, - "src": "57164:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14464, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14452, - "src": "57168:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14465, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14454, - "src": "57172:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14466, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14456, - "src": "57176:2:9", - "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": 14460, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57104:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14461, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57108:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57104:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14467, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57104:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14459, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "57088:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57088:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14469, - "nodeType": "ExpressionStatement", - "src": "57088:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57009:3:9", - "parameters": { - "id": 14457, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14450, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57021:2:9", - "nodeType": "VariableDeclaration", - "scope": 14471, - "src": "57013:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14449, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57013:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14452, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57030:2:9", - "nodeType": "VariableDeclaration", - "scope": 14471, - "src": "57025:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14451, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57025:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14454, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57042:2:9", - "nodeType": "VariableDeclaration", - "scope": 14471, - "src": "57034:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14453, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57034:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14456, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57060:2:9", - "nodeType": "VariableDeclaration", - "scope": 14471, - "src": "57046:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14455, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57046:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "57012:51:9" - }, - "returnParameters": { - "id": 14458, - "nodeType": "ParameterList", - "parameters": [], - "src": "57078:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14494, - "nodeType": "FunctionDefinition", - "src": "57193:176:9", - "body": { - "id": 14493, - "nodeType": "Block", - "src": "57262:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c616464726573732c626f6f6c29", - "id": 14485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57312:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f181a1e98aefbb6e5d63ca72f24da9aa3686f47d72314c12e70fa7843b309ee6", - "typeString": "literal_string \"log(address,uint,address,bool)\"" - }, - "value": "log(address,uint,address,bool)" - }, - { - "id": 14486, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14473, - "src": "57346:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14487, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14475, - "src": "57350:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14488, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14477, - "src": "57354:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14489, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14479, - "src": "57358:2:9", - "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": 14483, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57288:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57292:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57288:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57288:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14482, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "57272:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57272:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14492, - "nodeType": "ExpressionStatement", - "src": "57272:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57202:3:9", - "parameters": { - "id": 14480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14473, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57214:2:9", - "nodeType": "VariableDeclaration", - "scope": 14494, - "src": "57206:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14472, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57206:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14475, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57223:2:9", - "nodeType": "VariableDeclaration", - "scope": 14494, - "src": "57218:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14474, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57218:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14477, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57235:2:9", - "nodeType": "VariableDeclaration", - "scope": 14494, - "src": "57227:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14476, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57227:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14479, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57244:2:9", - "nodeType": "VariableDeclaration", - "scope": 14494, - "src": "57239:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14478, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57239:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57205:42:9" - }, - "returnParameters": { - "id": 14481, - "nodeType": "ParameterList", - "parameters": [], - "src": "57262:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14517, - "nodeType": "FunctionDefinition", - "src": "57375:182:9", - "body": { - "id": 14516, - "nodeType": "Block", - "src": "57447:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e742c616464726573732c6164647265737329", - "id": 14508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57497:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ec24846f1ed52bfa5dc64139c1bf8b03f991fdd5156eccb50dfe44ca5a2ca40e", - "typeString": "literal_string \"log(address,uint,address,address)\"" - }, - "value": "log(address,uint,address,address)" - }, - { - "id": 14509, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14496, - "src": "57534:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14510, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14498, - "src": "57538:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14511, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14500, - "src": "57542:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14512, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14502, - "src": "57546:2:9", - "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": 14506, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57473:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14507, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57477:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57473:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57473:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14505, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "57457:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57457:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14515, - "nodeType": "ExpressionStatement", - "src": "57457:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57384:3:9", - "parameters": { - "id": 14503, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14496, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57396:2:9", - "nodeType": "VariableDeclaration", - "scope": 14517, - "src": "57388:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14495, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57388:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14498, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57405:2:9", - "nodeType": "VariableDeclaration", - "scope": 14517, - "src": "57400:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14497, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57400:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14500, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57417:2:9", - "nodeType": "VariableDeclaration", - "scope": 14517, - "src": "57409:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14499, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57409:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14502, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57429:2:9", - "nodeType": "VariableDeclaration", - "scope": 14517, - "src": "57421:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14501, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57421:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "57387:45:9" - }, - "returnParameters": { - "id": 14504, - "nodeType": "ParameterList", - "parameters": [], - "src": "57447:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14540, - "nodeType": "FunctionDefinition", - "src": "57563:181:9", - "body": { - "id": 14539, - "nodeType": "Block", - "src": "57638:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e742c75696e7429", - "id": 14531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57688:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a4c92a60ad8c7136a44d442238a838fba251b421248205a77f1a522d55c988af", - "typeString": "literal_string \"log(address,string,uint,uint)\"" - }, - "value": "log(address,string,uint,uint)" - }, - { - "id": 14532, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14519, - "src": "57721:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14533, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14521, - "src": "57725:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14534, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14523, - "src": "57729:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14535, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14525, - "src": "57733:2:9", - "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": 14529, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57664:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57668:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57664:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57664:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14528, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "57648:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57648:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14538, - "nodeType": "ExpressionStatement", - "src": "57648:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57572:3:9", - "parameters": { - "id": 14526, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14519, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57584:2:9", - "nodeType": "VariableDeclaration", - "scope": 14540, - "src": "57576:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14518, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57576:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14521, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57602:2:9", - "nodeType": "VariableDeclaration", - "scope": 14540, - "src": "57588:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14520, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57588:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14523, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57611:2:9", - "nodeType": "VariableDeclaration", - "scope": 14540, - "src": "57606:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14522, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57606:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14525, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57620:2:9", - "nodeType": "VariableDeclaration", - "scope": 14540, - "src": "57615:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57615:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "57575:48:9" - }, - "returnParameters": { - "id": 14527, - "nodeType": "ParameterList", - "parameters": [], - "src": "57638:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14563, - "nodeType": "FunctionDefinition", - "src": "57750:192:9", - "body": { - "id": 14562, - "nodeType": "Block", - "src": "57834:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e742c737472696e6729", - "id": 14554, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57884:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d1365c94e45374e792b786edc547d0277c401db24a4303b5dd1e8a93df0829e", - "typeString": "literal_string \"log(address,string,uint,string)\"" - }, - "value": "log(address,string,uint,string)" - }, - { - "id": 14555, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14542, - "src": "57919:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14556, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14544, - "src": "57923:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14557, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14546, - "src": "57927:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14558, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14548, - "src": "57931:2:9", - "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": 14552, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57860:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14553, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57864:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57860:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14559, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57860:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14551, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "57844:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57844:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14561, - "nodeType": "ExpressionStatement", - "src": "57844:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57759:3:9", - "parameters": { - "id": 14549, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14542, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57771:2:9", - "nodeType": "VariableDeclaration", - "scope": 14563, - "src": "57763:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14541, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57763:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14544, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57789:2:9", - "nodeType": "VariableDeclaration", - "scope": 14563, - "src": "57775:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14543, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57775:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14546, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57798:2:9", - "nodeType": "VariableDeclaration", - "scope": 14563, - "src": "57793:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14545, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57793:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14548, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57816:2:9", - "nodeType": "VariableDeclaration", - "scope": 14563, - "src": "57802:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14547, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57802:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "57762:57:9" - }, - "returnParameters": { - "id": 14550, - "nodeType": "ParameterList", - "parameters": [], - "src": "57834:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14586, - "nodeType": "FunctionDefinition", - "src": "57948:181:9", - "body": { - "id": 14585, - "nodeType": "Block", - "src": "58023:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e742c626f6f6c29", - "id": 14577, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58073:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7e250d5bf3975165268961c2b6dbe143f053bed03d903630f547f1fbab28b895", - "typeString": "literal_string \"log(address,string,uint,bool)\"" - }, - "value": "log(address,string,uint,bool)" - }, - { - "id": 14578, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14565, - "src": "58106:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14579, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14567, - "src": "58110:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14580, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14569, - "src": "58114:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14581, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14571, - "src": "58118:2:9", - "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": 14575, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58049:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14576, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58053:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58049:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58049:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14574, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "58033:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58033:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14584, - "nodeType": "ExpressionStatement", - "src": "58033:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57957:3:9", - "parameters": { - "id": 14572, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14565, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57969:2:9", - "nodeType": "VariableDeclaration", - "scope": 14586, - "src": "57961:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14564, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57961:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14567, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57987:2:9", - "nodeType": "VariableDeclaration", - "scope": 14586, - "src": "57973:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14566, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57973:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14569, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57996:2:9", - "nodeType": "VariableDeclaration", - "scope": 14586, - "src": "57991:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14568, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "57991:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14571, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58005:2:9", - "nodeType": "VariableDeclaration", - "scope": 14586, - "src": "58000:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14570, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58000:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57960:48:9" - }, - "returnParameters": { - "id": 14573, - "nodeType": "ParameterList", - "parameters": [], - "src": "58023:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14609, - "nodeType": "FunctionDefinition", - "src": "58135:187:9", - "body": { - "id": 14608, - "nodeType": "Block", - "src": "58213:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e742c6164647265737329", - "id": 14600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58263:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dfd7d80b4150ea6b0b2772758d6e66d8c7f141bfd7de11119a8fee2a703664e4", - "typeString": "literal_string \"log(address,string,uint,address)\"" - }, - "value": "log(address,string,uint,address)" - }, - { - "id": 14601, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14588, - "src": "58299:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14602, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14590, - "src": "58303:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14603, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14592, - "src": "58307:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14604, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14594, - "src": "58311:2:9", - "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": 14598, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58239:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58243:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58239:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14605, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58239:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14597, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "58223:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58223:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14607, - "nodeType": "ExpressionStatement", - "src": "58223:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58144:3:9", - "parameters": { - "id": 14595, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14588, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58156:2:9", - "nodeType": "VariableDeclaration", - "scope": 14609, - "src": "58148:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14587, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58148:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14590, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58174:2:9", - "nodeType": "VariableDeclaration", - "scope": 14609, - "src": "58160:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14589, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58160:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14592, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58183:2:9", - "nodeType": "VariableDeclaration", - "scope": 14609, - "src": "58178:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14591, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "58178:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14594, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58195:2:9", - "nodeType": "VariableDeclaration", - "scope": 14609, - "src": "58187:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14593, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58187:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58147:51:9" - }, - "returnParameters": { - "id": 14596, - "nodeType": "ParameterList", - "parameters": [], - "src": "58213:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14632, - "nodeType": "FunctionDefinition", - "src": "58328:192:9", - "body": { - "id": 14631, - "nodeType": "Block", - "src": "58412:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c75696e7429", - "id": 14623, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58462:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a14fd039ae37435afa9d1674d6d48b37ffbd5da4cd9166a3f673f5f0db01a4c5", - "typeString": "literal_string \"log(address,string,string,uint)\"" - }, - "value": "log(address,string,string,uint)" - }, - { - "id": 14624, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14611, - "src": "58497:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14625, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14613, - "src": "58501:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14626, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14615, - "src": "58505:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14627, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14617, - "src": "58509:2:9", - "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": 14621, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58438:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14622, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58442:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58438:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14628, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58438:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14620, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "58422:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58422:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14630, - "nodeType": "ExpressionStatement", - "src": "58422:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58337:3:9", - "parameters": { - "id": 14618, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14611, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58349:2:9", - "nodeType": "VariableDeclaration", - "scope": 14632, - "src": "58341:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14610, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58341:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14613, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58367:2:9", - "nodeType": "VariableDeclaration", - "scope": 14632, - "src": "58353:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14612, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58353:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14615, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58385:2:9", - "nodeType": "VariableDeclaration", - "scope": 14632, - "src": "58371:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14614, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58371:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14617, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58394:2:9", - "nodeType": "VariableDeclaration", - "scope": 14632, - "src": "58389:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14616, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "58389:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "58340:57:9" - }, - "returnParameters": { - "id": 14619, - "nodeType": "ParameterList", - "parameters": [], - "src": "58412:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14655, - "nodeType": "FunctionDefinition", - "src": "58526:203:9", - "body": { - "id": 14654, - "nodeType": "Block", - "src": "58619:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c737472696e6729", - "id": 14646, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58669:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d02c50b371ad9a1f5c638dc99b5e9b545011f148f0be5233c530a4b2a12665c", - "typeString": "literal_string \"log(address,string,string,string)\"" - }, - "value": "log(address,string,string,string)" - }, - { - "id": 14647, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14634, - "src": "58706:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14648, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14636, - "src": "58710:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14649, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14638, - "src": "58714:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14650, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14640, - "src": "58718:2:9", - "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": 14644, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58645:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58649:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58645:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14651, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58645:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14643, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "58629:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14652, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58629:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14653, - "nodeType": "ExpressionStatement", - "src": "58629:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58535:3:9", - "parameters": { - "id": 14641, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14634, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58547:2:9", - "nodeType": "VariableDeclaration", - "scope": 14655, - "src": "58539:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14633, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58539:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14636, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58565:2:9", - "nodeType": "VariableDeclaration", - "scope": 14655, - "src": "58551:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14635, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58551:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14638, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58583:2:9", - "nodeType": "VariableDeclaration", - "scope": 14655, - "src": "58569:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14637, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58569:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14640, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58601:2:9", - "nodeType": "VariableDeclaration", - "scope": 14655, - "src": "58587:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14639, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58587:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "58538:66:9" - }, - "returnParameters": { - "id": 14642, - "nodeType": "ParameterList", - "parameters": [], - "src": "58619:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14678, - "nodeType": "FunctionDefinition", - "src": "58735:192:9", - "body": { - "id": 14677, - "nodeType": "Block", - "src": "58819:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c626f6f6c29", - "id": 14669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58869:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35a5071fa9f4610e50772083182f21e949e7a02301a3936e315dd1c4fc39a9ed", - "typeString": "literal_string \"log(address,string,string,bool)\"" - }, - "value": "log(address,string,string,bool)" - }, - { - "id": 14670, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14657, - "src": "58904:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14671, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14659, - "src": "58908:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14672, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14661, - "src": "58912:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14673, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14663, - "src": "58916:2:9", - "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": 14667, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58845:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58849:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58845:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58845:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14666, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "58829:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58829:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14676, - "nodeType": "ExpressionStatement", - "src": "58829:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58744:3:9", - "parameters": { - "id": 14664, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14657, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58756:2:9", - "nodeType": "VariableDeclaration", - "scope": 14678, - "src": "58748:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14656, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58748:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14659, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58774:2:9", - "nodeType": "VariableDeclaration", - "scope": 14678, - "src": "58760:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14658, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58760:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14661, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58792:2:9", - "nodeType": "VariableDeclaration", - "scope": 14678, - "src": "58778:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14660, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58778:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14663, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58801:2:9", - "nodeType": "VariableDeclaration", - "scope": 14678, - "src": "58796:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14662, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58796:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "58747:57:9" - }, - "returnParameters": { - "id": 14665, - "nodeType": "ParameterList", - "parameters": [], - "src": "58819:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14701, - "nodeType": "FunctionDefinition", - "src": "58933:198:9", - "body": { - "id": 14700, - "nodeType": "Block", - "src": "59020:111:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c6164647265737329", - "id": 14692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59070:36:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a04e2f87a739673cc9223810c24b00b35c6b2c9f3ef123cc82866752e1fa816f", - "typeString": "literal_string \"log(address,string,string,address)\"" - }, - "value": "log(address,string,string,address)" - }, - { - "id": 14693, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14680, - "src": "59108:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14694, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14682, - "src": "59112:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14695, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14684, - "src": "59116:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14696, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14686, - "src": "59120:2:9", - "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": 14690, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59046:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14691, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59050:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59046:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59046:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14689, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "59030:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14698, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59030:94:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14699, - "nodeType": "ExpressionStatement", - "src": "59030:94:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58942:3:9", - "parameters": { - "id": 14687, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14680, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58954:2:9", - "nodeType": "VariableDeclaration", - "scope": 14701, - "src": "58946:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14679, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58946:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14682, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58972:2:9", - "nodeType": "VariableDeclaration", - "scope": 14701, - "src": "58958:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14681, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58958:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14684, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58990:2:9", - "nodeType": "VariableDeclaration", - "scope": 14701, - "src": "58976:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14683, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58976:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14686, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59002:2:9", - "nodeType": "VariableDeclaration", - "scope": 14701, - "src": "58994:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14685, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58994:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58945:60:9" - }, - "returnParameters": { - "id": 14688, - "nodeType": "ParameterList", - "parameters": [], - "src": "59020:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14724, - "nodeType": "FunctionDefinition", - "src": "59137:181:9", - "body": { - "id": 14723, - "nodeType": "Block", - "src": "59212:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c75696e7429", - "id": 14715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59262:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e720521cc58e36659b0c45689a38054bd7300ff30d5ec0cfec7bae3dc2e9689a", - "typeString": "literal_string \"log(address,string,bool,uint)\"" - }, - "value": "log(address,string,bool,uint)" - }, - { - "id": 14716, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14703, - "src": "59295:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14717, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14705, - "src": "59299:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14718, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14707, - "src": "59303:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14719, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14709, - "src": "59307:2:9", - "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": 14713, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59238:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59242:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59238:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59238:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14712, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "59222:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14721, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59222:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14722, - "nodeType": "ExpressionStatement", - "src": "59222:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59146:3:9", - "parameters": { - "id": 14710, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14703, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59158:2:9", - "nodeType": "VariableDeclaration", - "scope": 14724, - "src": "59150:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14702, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59150:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14705, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59176:2:9", - "nodeType": "VariableDeclaration", - "scope": 14724, - "src": "59162:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14704, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59162:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14707, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59185:2:9", - "nodeType": "VariableDeclaration", - "scope": 14724, - "src": "59180:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14706, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59180:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14709, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59194:2:9", - "nodeType": "VariableDeclaration", - "scope": 14724, - "src": "59189:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14708, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "59189:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "59149:48:9" - }, - "returnParameters": { - "id": 14711, - "nodeType": "ParameterList", - "parameters": [], - "src": "59212:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14747, - "nodeType": "FunctionDefinition", - "src": "59324:192:9", - "body": { - "id": 14746, - "nodeType": "Block", - "src": "59408:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c737472696e6729", - "id": 14738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59458:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bc0b61fe9497b47eb6a51a5a6a4bf26b32ddcbc9407ccae8cc7de64b3e3d84cc", - "typeString": "literal_string \"log(address,string,bool,string)\"" - }, - "value": "log(address,string,bool,string)" - }, - { - "id": 14739, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14726, - "src": "59493:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14740, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14728, - "src": "59497:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14741, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14730, - "src": "59501:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14742, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14732, - "src": "59505:2:9", - "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": 14736, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59434:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14737, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59438:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59434:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59434:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14735, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "59418:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59418:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14745, - "nodeType": "ExpressionStatement", - "src": "59418:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59333:3:9", - "parameters": { - "id": 14733, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14726, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59345:2:9", - "nodeType": "VariableDeclaration", - "scope": 14747, - "src": "59337:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59337:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14728, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59363:2:9", - "nodeType": "VariableDeclaration", - "scope": 14747, - "src": "59349:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14727, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59349:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14730, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59372:2:9", - "nodeType": "VariableDeclaration", - "scope": 14747, - "src": "59367:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14729, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59367:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14732, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59390:2:9", - "nodeType": "VariableDeclaration", - "scope": 14747, - "src": "59376:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14731, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59376:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "59336:57:9" - }, - "returnParameters": { - "id": 14734, - "nodeType": "ParameterList", - "parameters": [], - "src": "59408:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14770, - "nodeType": "FunctionDefinition", - "src": "59522:181:9", - "body": { - "id": 14769, - "nodeType": "Block", - "src": "59597:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c626f6f6c29", - "id": 14761, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59647:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f1d5c9f0de8c048364058d1d6842804ada33dbc34bf9eaff8f2be978f384e08", - "typeString": "literal_string \"log(address,string,bool,bool)\"" - }, - "value": "log(address,string,bool,bool)" - }, - { - "id": 14762, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14749, - "src": "59680:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14763, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14751, - "src": "59684:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14764, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14753, - "src": "59688:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14765, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14755, - "src": "59692:2:9", - "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": 14759, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59623:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14760, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59627:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59623:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59623:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14758, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "59607:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59607:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14768, - "nodeType": "ExpressionStatement", - "src": "59607:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59531:3:9", - "parameters": { - "id": 14756, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14749, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59543:2:9", - "nodeType": "VariableDeclaration", - "scope": 14770, - "src": "59535:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14748, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59535:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14751, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59561:2:9", - "nodeType": "VariableDeclaration", - "scope": 14770, - "src": "59547:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14750, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59547:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14753, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59570:2:9", - "nodeType": "VariableDeclaration", - "scope": 14770, - "src": "59565:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14752, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59565:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14755, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59579:2:9", - "nodeType": "VariableDeclaration", - "scope": 14770, - "src": "59574:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14754, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59574:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "59534:48:9" - }, - "returnParameters": { - "id": 14757, - "nodeType": "ParameterList", - "parameters": [], - "src": "59597:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14793, - "nodeType": "FunctionDefinition", - "src": "59709:187:9", - "body": { - "id": 14792, - "nodeType": "Block", - "src": "59787:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c6164647265737329", - "id": 14784, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59837:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_205871c2f2d320acdd350939b5fc035cc20b1a9cc058fb26f1c9fb3d2ba59970", - "typeString": "literal_string \"log(address,string,bool,address)\"" - }, - "value": "log(address,string,bool,address)" - }, - { - "id": 14785, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14772, - "src": "59873:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14786, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14774, - "src": "59877:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14787, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14776, - "src": "59881:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14788, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14778, - "src": "59885:2:9", - "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": 14782, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59813:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14783, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59817:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59813:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14789, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59813:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14781, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "59797:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59797:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14791, - "nodeType": "ExpressionStatement", - "src": "59797:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59718:3:9", - "parameters": { - "id": 14779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14772, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59730:2:9", - "nodeType": "VariableDeclaration", - "scope": 14793, - "src": "59722:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14771, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59722:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14774, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59748:2:9", - "nodeType": "VariableDeclaration", - "scope": 14793, - "src": "59734:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14773, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59734:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14776, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59757:2:9", - "nodeType": "VariableDeclaration", - "scope": 14793, - "src": "59752:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14775, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59752:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14778, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59769:2:9", - "nodeType": "VariableDeclaration", - "scope": 14793, - "src": "59761:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14777, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59761:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "59721:51:9" - }, - "returnParameters": { - "id": 14780, - "nodeType": "ParameterList", - "parameters": [], - "src": "59787:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14816, - "nodeType": "FunctionDefinition", - "src": "59902:187:9", - "body": { - "id": 14815, - "nodeType": "Block", - "src": "59980:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c75696e7429", - "id": 14807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60030:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c1933a9a9c61e3dc8d3ebdfa929712b21dab3dcf7188e7d35cbf8aaaf476582", - "typeString": "literal_string \"log(address,string,address,uint)\"" - }, - "value": "log(address,string,address,uint)" - }, - { - "id": 14808, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14795, - "src": "60066:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14809, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14797, - "src": "60070:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14810, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14799, - "src": "60074:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14811, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14801, - "src": "60078:2:9", - "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": 14805, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60006:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60010:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60006:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60006:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14804, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "59990:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59990:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14814, - "nodeType": "ExpressionStatement", - "src": "59990:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59911:3:9", - "parameters": { - "id": 14802, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14795, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59923:2:9", - "nodeType": "VariableDeclaration", - "scope": 14816, - "src": "59915:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14794, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59915:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14797, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59941:2:9", - "nodeType": "VariableDeclaration", - "scope": 14816, - "src": "59927:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14796, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59927:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14799, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59953:2:9", - "nodeType": "VariableDeclaration", - "scope": 14816, - "src": "59945:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14798, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59945:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14801, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59962:2:9", - "nodeType": "VariableDeclaration", - "scope": 14816, - "src": "59957:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14800, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "59957:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "59914:51:9" - }, - "returnParameters": { - "id": 14803, - "nodeType": "ParameterList", - "parameters": [], - "src": "59980:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14839, - "nodeType": "FunctionDefinition", - "src": "60095:198:9", - "body": { - "id": 14838, - "nodeType": "Block", - "src": "60182:111:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c737472696e6729", - "id": 14830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60232:36:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f7e3624510fc5618feb98a49f5d4404e3749dacbdc916c267fea7b2051a08dea", - "typeString": "literal_string \"log(address,string,address,string)\"" - }, - "value": "log(address,string,address,string)" - }, - { - "id": 14831, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14818, - "src": "60270:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14832, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14820, - "src": "60274:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14833, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14822, - "src": "60278:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14834, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14824, - "src": "60282:2:9", - "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": 14828, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60208:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60212:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60208:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60208:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14827, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "60192:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60192:94:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14837, - "nodeType": "ExpressionStatement", - "src": "60192:94:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60104:3:9", - "parameters": { - "id": 14825, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14818, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60116:2:9", - "nodeType": "VariableDeclaration", - "scope": 14839, - "src": "60108:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14817, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60108:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14820, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60134:2:9", - "nodeType": "VariableDeclaration", - "scope": 14839, - "src": "60120:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14819, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60120:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14822, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60146:2:9", - "nodeType": "VariableDeclaration", - "scope": 14839, - "src": "60138:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14821, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60138:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14824, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60164:2:9", - "nodeType": "VariableDeclaration", - "scope": 14839, - "src": "60150:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14823, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60150:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "60107:60:9" - }, - "returnParameters": { - "id": 14826, - "nodeType": "ParameterList", - "parameters": [], - "src": "60182:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14862, - "nodeType": "FunctionDefinition", - "src": "60299:187:9", - "body": { - "id": 14861, - "nodeType": "Block", - "src": "60377:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c626f6f6c29", - "id": 14853, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60427:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0df12b7620e0bad204ac79fe9930fef9b9a40702161764a681594d50d657b081", - "typeString": "literal_string \"log(address,string,address,bool)\"" - }, - "value": "log(address,string,address,bool)" - }, - { - "id": 14854, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14841, - "src": "60463:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14855, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14843, - "src": "60467:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14856, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14845, - "src": "60471:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14857, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14847, - "src": "60475:2:9", - "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": 14851, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60403:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14852, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60407:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60403:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60403:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14850, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "60387:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60387:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14860, - "nodeType": "ExpressionStatement", - "src": "60387:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60308:3:9", - "parameters": { - "id": 14848, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14841, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60320:2:9", - "nodeType": "VariableDeclaration", - "scope": 14862, - "src": "60312:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14840, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60312:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14843, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60338:2:9", - "nodeType": "VariableDeclaration", - "scope": 14862, - "src": "60324:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14842, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60324:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14845, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60350:2:9", - "nodeType": "VariableDeclaration", - "scope": 14862, - "src": "60342:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14844, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60342:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14847, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60359:2:9", - "nodeType": "VariableDeclaration", - "scope": 14862, - "src": "60354:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14846, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60354:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "60311:51:9" - }, - "returnParameters": { - "id": 14849, - "nodeType": "ParameterList", - "parameters": [], - "src": "60377:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14885, - "nodeType": "FunctionDefinition", - "src": "60492:193:9", - "body": { - "id": 14884, - "nodeType": "Block", - "src": "60573:112:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c6164647265737329", - "id": 14876, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60623:37:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d36fa2022fafb45586a59914be3ad4c57b76e89535385dcff89c28c80605121", - "typeString": "literal_string \"log(address,string,address,address)\"" - }, - "value": "log(address,string,address,address)" - }, - { - "id": 14877, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14864, - "src": "60662:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14878, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14866, - "src": "60666:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14879, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14868, - "src": "60670:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14880, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14870, - "src": "60674:2:9", - "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": 14874, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60599:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14875, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60603:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60599:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60599:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14873, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "60583:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14882, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60583:95:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14883, - "nodeType": "ExpressionStatement", - "src": "60583:95:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60501:3:9", - "parameters": { - "id": 14871, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14864, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60513:2:9", - "nodeType": "VariableDeclaration", - "scope": 14885, - "src": "60505:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14863, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60505:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14866, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60531:2:9", - "nodeType": "VariableDeclaration", - "scope": 14885, - "src": "60517:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14865, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60517:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14868, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60543:2:9", - "nodeType": "VariableDeclaration", - "scope": 14885, - "src": "60535:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14867, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60535:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14870, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60555:2:9", - "nodeType": "VariableDeclaration", - "scope": 14885, - "src": "60547:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14869, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60547:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "60504:54:9" - }, - "returnParameters": { - "id": 14872, - "nodeType": "ParameterList", - "parameters": [], - "src": "60573:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14908, - "nodeType": "FunctionDefinition", - "src": "60691:170:9", - "body": { - "id": 14907, - "nodeType": "Block", - "src": "60757:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e742c75696e7429", - "id": 14899, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60807:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c210a01e60a7d88137859e75abc2d14430087408747ac6787f0acb2f0f8bfd59", - "typeString": "literal_string \"log(address,bool,uint,uint)\"" - }, - "value": "log(address,bool,uint,uint)" - }, - { - "id": 14900, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14887, - "src": "60838:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14901, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14889, - "src": "60842:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14902, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14891, - "src": "60846:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14903, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14893, - "src": "60850:2:9", - "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": 14897, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60783:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60787:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60783:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14904, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60783:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14896, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "60767:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60767:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14906, - "nodeType": "ExpressionStatement", - "src": "60767:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60700:3:9", - "parameters": { - "id": 14894, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14887, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60712:2:9", - "nodeType": "VariableDeclaration", - "scope": 14908, - "src": "60704:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14886, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60704:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14889, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60721:2:9", - "nodeType": "VariableDeclaration", - "scope": 14908, - "src": "60716:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14888, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60716:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14891, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60730:2:9", - "nodeType": "VariableDeclaration", - "scope": 14908, - "src": "60725:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14890, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "60725:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14893, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60739:2:9", - "nodeType": "VariableDeclaration", - "scope": 14908, - "src": "60734:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14892, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "60734:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "60703:39:9" - }, - "returnParameters": { - "id": 14895, - "nodeType": "ParameterList", - "parameters": [], - "src": "60757:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14931, - "nodeType": "FunctionDefinition", - "src": "60867:181:9", - "body": { - "id": 14930, - "nodeType": "Block", - "src": "60942:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e742c737472696e6729", - "id": 14922, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60992:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b588eccef132ec49572951d33e9b0d1b814d54c82133831f78cdc5d923bc6e6", - "typeString": "literal_string \"log(address,bool,uint,string)\"" - }, - "value": "log(address,bool,uint,string)" - }, - { - "id": 14923, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14910, - "src": "61025:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14924, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14912, - "src": "61029:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14925, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14914, - "src": "61033:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14926, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14916, - "src": "61037:2:9", - "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": 14920, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60968:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14921, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60972:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60968:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60968:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14919, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "60952:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60952:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14929, - "nodeType": "ExpressionStatement", - "src": "60952:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60876:3:9", - "parameters": { - "id": 14917, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14910, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60888:2:9", - "nodeType": "VariableDeclaration", - "scope": 14931, - "src": "60880:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60880:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14912, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60897:2:9", - "nodeType": "VariableDeclaration", - "scope": 14931, - "src": "60892:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14911, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60892:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14914, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60906:2:9", - "nodeType": "VariableDeclaration", - "scope": 14931, - "src": "60901:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14913, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "60901:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14916, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60924:2:9", - "nodeType": "VariableDeclaration", - "scope": 14931, - "src": "60910:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14915, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60910:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "60879:48:9" - }, - "returnParameters": { - "id": 14918, - "nodeType": "ParameterList", - "parameters": [], - "src": "60942:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14954, - "nodeType": "FunctionDefinition", - "src": "61054:170:9", - "body": { - "id": 14953, - "nodeType": "Block", - "src": "61120:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e742c626f6f6c29", - "id": 14945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61170:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_85cdc5af22f2a2b52749c228b5bc379bac815d0d3575c2899b6657bce00fab33", - "typeString": "literal_string \"log(address,bool,uint,bool)\"" - }, - "value": "log(address,bool,uint,bool)" - }, - { - "id": 14946, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14933, - "src": "61201:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14947, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14935, - "src": "61205:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14948, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14937, - "src": "61209:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14949, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14939, - "src": "61213:2:9", - "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": 14943, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61146:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14944, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61150:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61146:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61146:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14942, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "61130:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61130:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14952, - "nodeType": "ExpressionStatement", - "src": "61130:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61063:3:9", - "parameters": { - "id": 14940, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14933, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61075:2:9", - "nodeType": "VariableDeclaration", - "scope": 14954, - "src": "61067:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61067:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14935, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61084:2:9", - "nodeType": "VariableDeclaration", - "scope": 14954, - "src": "61079:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14934, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61079:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14937, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61093:2:9", - "nodeType": "VariableDeclaration", - "scope": 14954, - "src": "61088:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14936, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "61088:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14939, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61102:2:9", - "nodeType": "VariableDeclaration", - "scope": 14954, - "src": "61097:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14938, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61097:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "61066:39:9" - }, - "returnParameters": { - "id": 14941, - "nodeType": "ParameterList", - "parameters": [], - "src": "61120:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 14977, - "nodeType": "FunctionDefinition", - "src": "61230:176:9", - "body": { - "id": 14976, - "nodeType": "Block", - "src": "61299:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e742c6164647265737329", - "id": 14968, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61349:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d8ce61ee7d058fd1e588343a35fb1aff71b8e7f74d553220d0e20088cb908bf", - "typeString": "literal_string \"log(address,bool,uint,address)\"" - }, - "value": "log(address,bool,uint,address)" - }, - { - "id": 14969, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14956, - "src": "61383:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14970, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14958, - "src": "61387:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14971, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14960, - "src": "61391:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 14972, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14962, - "src": "61395:2:9", - "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": 14966, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61325:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61329:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61325:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61325:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14965, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "61309:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61309:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14975, - "nodeType": "ExpressionStatement", - "src": "61309:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61239:3:9", - "parameters": { - "id": 14963, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14956, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61251:2:9", - "nodeType": "VariableDeclaration", - "scope": 14977, - "src": "61243:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14955, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61243:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14958, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61260:2:9", - "nodeType": "VariableDeclaration", - "scope": 14977, - "src": "61255:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14957, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61255:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14960, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61269:2:9", - "nodeType": "VariableDeclaration", - "scope": 14977, - "src": "61264:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14959, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "61264:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14962, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61281:2:9", - "nodeType": "VariableDeclaration", - "scope": 14977, - "src": "61273:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14961, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61273:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61242:42:9" - }, - "returnParameters": { - "id": 14964, - "nodeType": "ParameterList", - "parameters": [], - "src": "61299:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15000, - "nodeType": "FunctionDefinition", - "src": "61412:181:9", - "body": { - "id": 14999, - "nodeType": "Block", - "src": "61487:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c75696e7429", - "id": 14991, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61537:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9e127b6e4348bc33b3ea7f05f6479d3e1b1fe2b3727e1f4ba94b6a36e7abac9b", - "typeString": "literal_string \"log(address,bool,string,uint)\"" - }, - "value": "log(address,bool,string,uint)" - }, - { - "id": 14992, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14979, - "src": "61570:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 14993, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14981, - "src": "61574:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 14994, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14983, - "src": "61578:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 14995, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 14985, - "src": "61582:2:9", - "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": 14989, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61513:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 14990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61517:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61513:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 14996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61513:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 14988, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "61497:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 14997, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61497:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 14998, - "nodeType": "ExpressionStatement", - "src": "61497:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61421:3:9", - "parameters": { - "id": 14986, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 14979, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61433:2:9", - "nodeType": "VariableDeclaration", - "scope": 15000, - "src": "61425:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 14978, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61425:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14981, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61442:2:9", - "nodeType": "VariableDeclaration", - "scope": 15000, - "src": "61437:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 14980, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61437:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14983, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61460:2:9", - "nodeType": "VariableDeclaration", - "scope": 15000, - "src": "61446:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 14982, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61446:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 14985, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61469:2:9", - "nodeType": "VariableDeclaration", - "scope": 15000, - "src": "61464:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 14984, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "61464:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "61424:48:9" - }, - "returnParameters": { - "id": 14987, - "nodeType": "ParameterList", - "parameters": [], - "src": "61487:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15023, - "nodeType": "FunctionDefinition", - "src": "61599:192:9", - "body": { - "id": 15022, - "nodeType": "Block", - "src": "61683:108:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c737472696e6729", - "id": 15014, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61733:33:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_475c5c33f91155b7a0e86c9fac7985c60ab58f4bfb411ee9b31d994a7fc95d1f", - "typeString": "literal_string \"log(address,bool,string,string)\"" - }, - "value": "log(address,bool,string,string)" - }, - { - "id": 15015, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15002, - "src": "61768:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15016, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15004, - "src": "61772:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15017, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15006, - "src": "61776:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15018, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15008, - "src": "61780:2:9", - "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": 15012, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61709:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61713:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61709:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61709:74:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15011, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "61693:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61693:91:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15021, - "nodeType": "ExpressionStatement", - "src": "61693:91:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61608:3:9", - "parameters": { - "id": 15009, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15002, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61620:2:9", - "nodeType": "VariableDeclaration", - "scope": 15023, - "src": "61612:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15001, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61612:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15004, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61629:2:9", - "nodeType": "VariableDeclaration", - "scope": 15023, - "src": "61624:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15003, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61624:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15006, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61647:2:9", - "nodeType": "VariableDeclaration", - "scope": 15023, - "src": "61633:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15005, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61633:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15008, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61665:2:9", - "nodeType": "VariableDeclaration", - "scope": 15023, - "src": "61651:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15007, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61651:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "61611:57:9" - }, - "returnParameters": { - "id": 15010, - "nodeType": "ParameterList", - "parameters": [], - "src": "61683:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15046, - "nodeType": "FunctionDefinition", - "src": "61797:181:9", - "body": { - "id": 15045, - "nodeType": "Block", - "src": "61872:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c626f6f6c29", - "id": 15037, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61922:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50ad461db24803fc9b2ba76f072192e0a4d8fbb3667a50c400f504443380890f", - "typeString": "literal_string \"log(address,bool,string,bool)\"" - }, - "value": "log(address,bool,string,bool)" - }, - { - "id": 15038, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15025, - "src": "61955:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15039, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15027, - "src": "61959:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15040, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15029, - "src": "61963:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15041, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15031, - "src": "61967:2:9", - "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": 15035, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61898:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61902:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61898:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61898:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15034, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "61882:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61882:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15044, - "nodeType": "ExpressionStatement", - "src": "61882:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61806:3:9", - "parameters": { - "id": 15032, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15025, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61818:2:9", - "nodeType": "VariableDeclaration", - "scope": 15046, - "src": "61810:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15024, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61810:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15027, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61827:2:9", - "nodeType": "VariableDeclaration", - "scope": 15046, - "src": "61822:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15026, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61822:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15029, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61845:2:9", - "nodeType": "VariableDeclaration", - "scope": 15046, - "src": "61831:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15028, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61831:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15031, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61854:2:9", - "nodeType": "VariableDeclaration", - "scope": 15046, - "src": "61849:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15030, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61849:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "61809:48:9" - }, - "returnParameters": { - "id": 15033, - "nodeType": "ParameterList", - "parameters": [], - "src": "61872:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15069, - "nodeType": "FunctionDefinition", - "src": "61984:187:9", - "body": { - "id": 15068, - "nodeType": "Block", - "src": "62062:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c6164647265737329", - "id": 15060, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62112:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_19fd495659df511498cf8dde03672830bd109ef2d9b9bec18e72190917c328bc", - "typeString": "literal_string \"log(address,bool,string,address)\"" - }, - "value": "log(address,bool,string,address)" - }, - { - "id": 15061, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15048, - "src": "62148:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15062, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15050, - "src": "62152:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15063, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15052, - "src": "62156:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15064, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15054, - "src": "62160:2:9", - "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": 15058, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62088:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15059, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62092:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62088:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62088:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15057, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "62072:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15066, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62072:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15067, - "nodeType": "ExpressionStatement", - "src": "62072:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61993:3:9", - "parameters": { - "id": 15055, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15048, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62005:2:9", - "nodeType": "VariableDeclaration", - "scope": 15069, - "src": "61997:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15047, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61997:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15050, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62014:2:9", - "nodeType": "VariableDeclaration", - "scope": 15069, - "src": "62009:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15049, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62009:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15052, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62032:2:9", - "nodeType": "VariableDeclaration", - "scope": 15069, - "src": "62018:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15051, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62018:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15054, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62044:2:9", - "nodeType": "VariableDeclaration", - "scope": 15069, - "src": "62036:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15053, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62036:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61996:51:9" - }, - "returnParameters": { - "id": 15056, - "nodeType": "ParameterList", - "parameters": [], - "src": "62062:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15092, - "nodeType": "FunctionDefinition", - "src": "62177:170:9", - "body": { - "id": 15091, - "nodeType": "Block", - "src": "62243:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c75696e7429", - "id": 15083, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62293:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cfb587569c9e063cd7daed07e27d9193980aad24c48787cb6531c47fa694e463", - "typeString": "literal_string \"log(address,bool,bool,uint)\"" - }, - "value": "log(address,bool,bool,uint)" - }, - { - "id": 15084, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15071, - "src": "62324:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15085, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15073, - "src": "62328:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15086, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15075, - "src": "62332:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15087, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15077, - "src": "62336:2:9", - "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": 15081, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62269:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62273:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62269:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62269:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15080, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "62253:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15089, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62253:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15090, - "nodeType": "ExpressionStatement", - "src": "62253:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62186:3:9", - "parameters": { - "id": 15078, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15071, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62198:2:9", - "nodeType": "VariableDeclaration", - "scope": 15092, - "src": "62190:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15070, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62190:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15073, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62207:2:9", - "nodeType": "VariableDeclaration", - "scope": 15092, - "src": "62202:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15072, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62202:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15075, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62216:2:9", - "nodeType": "VariableDeclaration", - "scope": 15092, - "src": "62211:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15074, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62211:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15077, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62225:2:9", - "nodeType": "VariableDeclaration", - "scope": 15092, - "src": "62220:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15076, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "62220:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62189:39:9" - }, - "returnParameters": { - "id": 15079, - "nodeType": "ParameterList", - "parameters": [], - "src": "62243:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15115, - "nodeType": "FunctionDefinition", - "src": "62353:181:9", - "body": { - "id": 15114, - "nodeType": "Block", - "src": "62428:106:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c737472696e6729", - "id": 15106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62478:31:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dfc4a2e8c56809b44edbbc6d92d0a8441e551ad5387596bf8b629c56d9a91300", - "typeString": "literal_string \"log(address,bool,bool,string)\"" - }, - "value": "log(address,bool,bool,string)" - }, - { - "id": 15107, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15094, - "src": "62511:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15108, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15096, - "src": "62515:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15109, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15098, - "src": "62519:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15110, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15100, - "src": "62523:2:9", - "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": 15104, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62454:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62458:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62454:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62454:72:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15103, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "62438:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62438:89:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15113, - "nodeType": "ExpressionStatement", - "src": "62438:89:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62362:3:9", - "parameters": { - "id": 15101, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15094, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62374:2:9", - "nodeType": "VariableDeclaration", - "scope": 15115, - "src": "62366:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15093, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62366:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15096, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62383:2:9", - "nodeType": "VariableDeclaration", - "scope": 15115, - "src": "62378:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15095, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62378:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15098, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62392:2:9", - "nodeType": "VariableDeclaration", - "scope": 15115, - "src": "62387:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15097, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62387:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15100, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62410:2:9", - "nodeType": "VariableDeclaration", - "scope": 15115, - "src": "62396:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15099, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62396:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "62365:48:9" - }, - "returnParameters": { - "id": 15102, - "nodeType": "ParameterList", - "parameters": [], - "src": "62428:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15138, - "nodeType": "FunctionDefinition", - "src": "62540:170:9", - "body": { - "id": 15137, - "nodeType": "Block", - "src": "62606:104:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 15129, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62656:29:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cac434792b973db16714db96d2aeda353b2253f27255abe42b9960b2dc550634", - "typeString": "literal_string \"log(address,bool,bool,bool)\"" - }, - "value": "log(address,bool,bool,bool)" - }, - { - "id": 15130, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15117, - "src": "62687:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15131, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15119, - "src": "62691:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15132, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15121, - "src": "62695:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15133, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15123, - "src": "62699:2:9", - "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": 15127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62632:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62636:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62632:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62632:70:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15126, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "62616:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62616:87:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15136, - "nodeType": "ExpressionStatement", - "src": "62616:87:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62549:3:9", - "parameters": { - "id": 15124, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15117, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62561:2:9", - "nodeType": "VariableDeclaration", - "scope": 15138, - "src": "62553:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15116, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62553:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15119, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62570:2:9", - "nodeType": "VariableDeclaration", - "scope": 15138, - "src": "62565:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15118, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62565:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15121, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62579:2:9", - "nodeType": "VariableDeclaration", - "scope": 15138, - "src": "62574:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15120, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62574:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15123, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62588:2:9", - "nodeType": "VariableDeclaration", - "scope": 15138, - "src": "62583:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15122, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62583:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "62552:39:9" - }, - "returnParameters": { - "id": 15125, - "nodeType": "ParameterList", - "parameters": [], - "src": "62606:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15161, - "nodeType": "FunctionDefinition", - "src": "62716:176:9", - "body": { - "id": 15160, - "nodeType": "Block", - "src": "62785:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c6164647265737329", - "id": 15152, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62835:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf394485abbd1f04b85b0f2c1a2cfc07e3d51c1c6f28386bf16d9e45161e8953", - "typeString": "literal_string \"log(address,bool,bool,address)\"" - }, - "value": "log(address,bool,bool,address)" - }, - { - "id": 15153, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15140, - "src": "62869:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15154, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15142, - "src": "62873:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15155, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15144, - "src": "62877:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15156, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15146, - "src": "62881:2:9", - "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": 15150, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62811:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15151, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62815:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62811:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62811:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15149, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "62795:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62795:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15159, - "nodeType": "ExpressionStatement", - "src": "62795:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62725:3:9", - "parameters": { - "id": 15147, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15140, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62737:2:9", - "nodeType": "VariableDeclaration", - "scope": 15161, - "src": "62729:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15139, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62729:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15142, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62746:2:9", - "nodeType": "VariableDeclaration", - "scope": 15161, - "src": "62741:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15141, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62741:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15144, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62755:2:9", - "nodeType": "VariableDeclaration", - "scope": 15161, - "src": "62750:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15143, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62750:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15146, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62767:2:9", - "nodeType": "VariableDeclaration", - "scope": 15161, - "src": "62759:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15145, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62759:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "62728:42:9" - }, - "returnParameters": { - "id": 15148, - "nodeType": "ParameterList", - "parameters": [], - "src": "62785:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15184, - "nodeType": "FunctionDefinition", - "src": "62898:176:9", - "body": { - "id": 15183, - "nodeType": "Block", - "src": "62967:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c75696e7429", - "id": 15175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63017:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc7116d2e67ccd625262e6814a6f82f2367beea9919409c81fcbb94bea1b6b84", - "typeString": "literal_string \"log(address,bool,address,uint)\"" - }, - "value": "log(address,bool,address,uint)" - }, - { - "id": 15176, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15163, - "src": "63051:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15177, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15165, - "src": "63055:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15178, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15167, - "src": "63059:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15179, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15169, - "src": "63063:2:9", - "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": 15173, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62993:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15174, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62997:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62993:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62993:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15172, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "62977:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15181, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62977:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15182, - "nodeType": "ExpressionStatement", - "src": "62977:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62907:3:9", - "parameters": { - "id": 15170, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15163, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62919:2:9", - "nodeType": "VariableDeclaration", - "scope": 15184, - "src": "62911:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62911:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15165, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62928:2:9", - "nodeType": "VariableDeclaration", - "scope": 15184, - "src": "62923:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15164, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62923:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15167, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62940:2:9", - "nodeType": "VariableDeclaration", - "scope": 15184, - "src": "62932:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15166, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62932:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15169, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62949:2:9", - "nodeType": "VariableDeclaration", - "scope": 15184, - "src": "62944:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15168, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "62944:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62910:42:9" - }, - "returnParameters": { - "id": 15171, - "nodeType": "ParameterList", - "parameters": [], - "src": "62967:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15207, - "nodeType": "FunctionDefinition", - "src": "63080:187:9", - "body": { - "id": 15206, - "nodeType": "Block", - "src": "63158:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c737472696e6729", - "id": 15198, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63208:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2dd778e616be9386b5911da1a074bbaf979640681783fca6396ea75c8caf6453", - "typeString": "literal_string \"log(address,bool,address,string)\"" - }, - "value": "log(address,bool,address,string)" - }, - { - "id": 15199, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15186, - "src": "63244:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15200, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15188, - "src": "63248:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15201, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15190, - "src": "63252:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15202, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15192, - "src": "63256:2:9", - "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": 15196, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63184:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15197, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63188:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63184:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15203, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63184:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15195, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "63168:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63168:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15205, - "nodeType": "ExpressionStatement", - "src": "63168:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63089:3:9", - "parameters": { - "id": 15193, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15186, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63101:2:9", - "nodeType": "VariableDeclaration", - "scope": 15207, - "src": "63093:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15185, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63093:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15188, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63110:2:9", - "nodeType": "VariableDeclaration", - "scope": 15207, - "src": "63105:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15187, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63105:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15190, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63122:2:9", - "nodeType": "VariableDeclaration", - "scope": 15207, - "src": "63114:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15189, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63114:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15192, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63140:2:9", - "nodeType": "VariableDeclaration", - "scope": 15207, - "src": "63126:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15191, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63126:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63092:51:9" - }, - "returnParameters": { - "id": 15194, - "nodeType": "ParameterList", - "parameters": [], - "src": "63158:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15230, - "nodeType": "FunctionDefinition", - "src": "63273:176:9", - "body": { - "id": 15229, - "nodeType": "Block", - "src": "63342:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c626f6f6c29", - "id": 15221, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63392:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a6f50b0f122c916fe81861751b94bdddb5e453947768e8af206397bb510790b1", - "typeString": "literal_string \"log(address,bool,address,bool)\"" - }, - "value": "log(address,bool,address,bool)" - }, - { - "id": 15222, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15209, - "src": "63426:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15223, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15211, - "src": "63430:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15224, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15213, - "src": "63434:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15225, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15215, - "src": "63438:2:9", - "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": 15219, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63368:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15220, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63372:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63368:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63368:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15218, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "63352:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63352:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15228, - "nodeType": "ExpressionStatement", - "src": "63352:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63282:3:9", - "parameters": { - "id": 15216, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15209, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63294:2:9", - "nodeType": "VariableDeclaration", - "scope": 15230, - "src": "63286:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15208, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63286:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15211, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63303:2:9", - "nodeType": "VariableDeclaration", - "scope": 15230, - "src": "63298:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15210, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63298:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15213, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63315:2:9", - "nodeType": "VariableDeclaration", - "scope": 15230, - "src": "63307:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15212, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63307:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15215, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63324:2:9", - "nodeType": "VariableDeclaration", - "scope": 15230, - "src": "63319:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15214, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63319:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "63285:42:9" - }, - "returnParameters": { - "id": 15217, - "nodeType": "ParameterList", - "parameters": [], - "src": "63342:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15253, - "nodeType": "FunctionDefinition", - "src": "63455:182:9", - "body": { - "id": 15252, - "nodeType": "Block", - "src": "63527:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c6164647265737329", - "id": 15244, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63577:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_660375ddb58761b4ce952ec7e1ae63efe9f8e9e69831fd72875968fec9046e35", - "typeString": "literal_string \"log(address,bool,address,address)\"" - }, - "value": "log(address,bool,address,address)" - }, - { - "id": 15245, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15232, - "src": "63614:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15246, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15234, - "src": "63618:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15247, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15236, - "src": "63622:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15248, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15238, - "src": "63626:2:9", - "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": 15242, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63553:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15243, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63557:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63553:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63553:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15241, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "63537:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63537:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15251, - "nodeType": "ExpressionStatement", - "src": "63537:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63464:3:9", - "parameters": { - "id": 15239, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15232, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63476:2:9", - "nodeType": "VariableDeclaration", - "scope": 15253, - "src": "63468:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15231, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63468:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15234, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63485:2:9", - "nodeType": "VariableDeclaration", - "scope": 15253, - "src": "63480:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15233, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63480:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15236, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63497:2:9", - "nodeType": "VariableDeclaration", - "scope": 15253, - "src": "63489:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15235, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63489:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15238, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63509:2:9", - "nodeType": "VariableDeclaration", - "scope": 15253, - "src": "63501:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15237, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63501:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "63467:45:9" - }, - "returnParameters": { - "id": 15240, - "nodeType": "ParameterList", - "parameters": [], - "src": "63527:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15276, - "nodeType": "FunctionDefinition", - "src": "63643:176:9", - "body": { - "id": 15275, - "nodeType": "Block", - "src": "63712:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e742c75696e7429", - "id": 15267, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63762:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_54fdf3e4fb94f9bebc9a1c60d5b71090f9817e68730b5af20b69dff283044ed6", - "typeString": "literal_string \"log(address,address,uint,uint)\"" - }, - "value": "log(address,address,uint,uint)" - }, - { - "id": 15268, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15255, - "src": "63796:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15269, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15257, - "src": "63800:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15270, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15259, - "src": "63804:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15271, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15261, - "src": "63808:2:9", - "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": 15265, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63738:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15266, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63742:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63738:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15272, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63738:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15264, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "63722:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63722:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15274, - "nodeType": "ExpressionStatement", - "src": "63722:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63652:3:9", - "parameters": { - "id": 15262, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15255, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63664:2:9", - "nodeType": "VariableDeclaration", - "scope": 15276, - "src": "63656:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15254, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63656:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15257, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63676:2:9", - "nodeType": "VariableDeclaration", - "scope": 15276, - "src": "63668:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15256, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63668:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15259, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63685:2:9", - "nodeType": "VariableDeclaration", - "scope": 15276, - "src": "63680:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15258, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "63680:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15261, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63694:2:9", - "nodeType": "VariableDeclaration", - "scope": 15276, - "src": "63689:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15260, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "63689:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "63655:42:9" - }, - "returnParameters": { - "id": 15263, - "nodeType": "ParameterList", - "parameters": [], - "src": "63712:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15299, - "nodeType": "FunctionDefinition", - "src": "63825:187:9", - "body": { - "id": 15298, - "nodeType": "Block", - "src": "63903:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e742c737472696e6729", - "id": 15290, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63953:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9dd12eadc51edb79b050f95e9310706b305e500a52025b74b024df3cbcb53815", - "typeString": "literal_string \"log(address,address,uint,string)\"" - }, - "value": "log(address,address,uint,string)" - }, - { - "id": 15291, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15278, - "src": "63989:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15292, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15280, - "src": "63993:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15293, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15282, - "src": "63997:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15294, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15284, - "src": "64001:2:9", - "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": 15288, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63929:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63933:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63929:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63929:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15287, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "63913:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63913:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15297, - "nodeType": "ExpressionStatement", - "src": "63913:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63834:3:9", - "parameters": { - "id": 15285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15278, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63846:2:9", - "nodeType": "VariableDeclaration", - "scope": 15299, - "src": "63838:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15277, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63838:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15280, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63858:2:9", - "nodeType": "VariableDeclaration", - "scope": 15299, - "src": "63850:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15279, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63850:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15282, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63867:2:9", - "nodeType": "VariableDeclaration", - "scope": 15299, - "src": "63862:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15281, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "63862:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15284, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63885:2:9", - "nodeType": "VariableDeclaration", - "scope": 15299, - "src": "63871:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15283, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63871:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63837:51:9" - }, - "returnParameters": { - "id": 15286, - "nodeType": "ParameterList", - "parameters": [], - "src": "63903:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15322, - "nodeType": "FunctionDefinition", - "src": "64018:176:9", - "body": { - "id": 15321, - "nodeType": "Block", - "src": "64087:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e742c626f6f6c29", - "id": 15313, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64137:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c2f688eccc5824e4375e54ae0df7ae9f757b0758319e26fa7dcc6a4450e1d411", - "typeString": "literal_string \"log(address,address,uint,bool)\"" - }, - "value": "log(address,address,uint,bool)" - }, - { - "id": 15314, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15301, - "src": "64171:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15315, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15303, - "src": "64175:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15316, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15305, - "src": "64179:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15317, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15307, - "src": "64183:2:9", - "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": 15311, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64113:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64117:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64113:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64113:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15310, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "64097:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64097:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15320, - "nodeType": "ExpressionStatement", - "src": "64097:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64027:3:9", - "parameters": { - "id": 15308, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15301, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64039:2:9", - "nodeType": "VariableDeclaration", - "scope": 15322, - "src": "64031:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15300, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64031:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15303, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64051:2:9", - "nodeType": "VariableDeclaration", - "scope": 15322, - "src": "64043:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15302, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64043:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15305, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64060:2:9", - "nodeType": "VariableDeclaration", - "scope": 15322, - "src": "64055:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15304, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "64055:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15307, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64069:2:9", - "nodeType": "VariableDeclaration", - "scope": 15322, - "src": "64064:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15306, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64064:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "64030:42:9" - }, - "returnParameters": { - "id": 15309, - "nodeType": "ParameterList", - "parameters": [], - "src": "64087:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15345, - "nodeType": "FunctionDefinition", - "src": "64200:182:9", - "body": { - "id": 15344, - "nodeType": "Block", - "src": "64272:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e742c6164647265737329", - "id": 15336, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64322:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6c65276d9b81968c5dbc7d91412af8260979b88b9036d81153645629a214556", - "typeString": "literal_string \"log(address,address,uint,address)\"" - }, - "value": "log(address,address,uint,address)" - }, - { - "id": 15337, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15324, - "src": "64359:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15338, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15326, - "src": "64363:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15339, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15328, - "src": "64367:2:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 15340, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15330, - "src": "64371:2:9", - "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": 15334, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64298:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64302:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64298:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64298:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15333, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "64282:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15342, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64282:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15343, - "nodeType": "ExpressionStatement", - "src": "64282:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64209:3:9", - "parameters": { - "id": 15331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15324, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64221:2:9", - "nodeType": "VariableDeclaration", - "scope": 15345, - "src": "64213:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15323, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64213:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15326, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64233:2:9", - "nodeType": "VariableDeclaration", - "scope": 15345, - "src": "64225:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15325, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64225:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15328, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64242:2:9", - "nodeType": "VariableDeclaration", - "scope": 15345, - "src": "64237:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15327, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "64237:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15330, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64254:2:9", - "nodeType": "VariableDeclaration", - "scope": 15345, - "src": "64246:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15329, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64246:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "64212:45:9" - }, - "returnParameters": { - "id": 15332, - "nodeType": "ParameterList", - "parameters": [], - "src": "64272:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15368, - "nodeType": "FunctionDefinition", - "src": "64388:187:9", - "body": { - "id": 15367, - "nodeType": "Block", - "src": "64466:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c75696e7429", - "id": 15359, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64516:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_04289300eaed00bb9d0d7894f7439ff06a8c4040945c0625e94f6f0c87fb11ba", - "typeString": "literal_string \"log(address,address,string,uint)\"" - }, - "value": "log(address,address,string,uint)" - }, - { - "id": 15360, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15347, - "src": "64552:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15361, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15349, - "src": "64556:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15362, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15351, - "src": "64560:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15363, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15353, - "src": "64564:2:9", - "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": 15357, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64492:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64496:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64492:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64492:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15356, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "64476:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15365, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64476:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15366, - "nodeType": "ExpressionStatement", - "src": "64476:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64397:3:9", - "parameters": { - "id": 15354, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15347, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64409:2:9", - "nodeType": "VariableDeclaration", - "scope": 15368, - "src": "64401:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15346, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64401:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15349, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64421:2:9", - "nodeType": "VariableDeclaration", - "scope": 15368, - "src": "64413:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15348, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64413:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15351, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64439:2:9", - "nodeType": "VariableDeclaration", - "scope": 15368, - "src": "64425:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15350, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64425:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15353, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64448:2:9", - "nodeType": "VariableDeclaration", - "scope": 15368, - "src": "64443:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15352, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "64443:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "64400:51:9" - }, - "returnParameters": { - "id": 15355, - "nodeType": "ParameterList", - "parameters": [], - "src": "64466:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15391, - "nodeType": "FunctionDefinition", - "src": "64581:198:9", - "body": { - "id": 15390, - "nodeType": "Block", - "src": "64668:111:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c737472696e6729", - "id": 15382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64718:36:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_21bdaf25c85279ffda21e4e2b9f685ff585c62a37c0ebe7ae25670fd06df3aa1", - "typeString": "literal_string \"log(address,address,string,string)\"" - }, - "value": "log(address,address,string,string)" - }, - { - "id": 15383, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15370, - "src": "64756:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15384, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15372, - "src": "64760:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15385, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15374, - "src": "64764:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15386, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15376, - "src": "64768:2:9", - "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": 15380, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64694:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15381, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64698:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64694:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15387, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64694:77:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15379, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "64678:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64678:94:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15389, - "nodeType": "ExpressionStatement", - "src": "64678:94:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64590:3:9", - "parameters": { - "id": 15377, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15370, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64602:2:9", - "nodeType": "VariableDeclaration", - "scope": 15391, - "src": "64594:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15369, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64594:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15372, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64614:2:9", - "nodeType": "VariableDeclaration", - "scope": 15391, - "src": "64606:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15371, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64606:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15374, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64632:2:9", - "nodeType": "VariableDeclaration", - "scope": 15391, - "src": "64618:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15373, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64618:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15376, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64650:2:9", - "nodeType": "VariableDeclaration", - "scope": 15391, - "src": "64636:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15375, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64636:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "64593:60:9" - }, - "returnParameters": { - "id": 15378, - "nodeType": "ParameterList", - "parameters": [], - "src": "64668:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15414, - "nodeType": "FunctionDefinition", - "src": "64785:187:9", - "body": { - "id": 15413, - "nodeType": "Block", - "src": "64863:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c626f6f6c29", - "id": 15405, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64913:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f1a594e70810560eaae5bbc82bc991f1120ac326ec142f6fb212682169447fd", - "typeString": "literal_string \"log(address,address,string,bool)\"" - }, - "value": "log(address,address,string,bool)" - }, - { - "id": 15406, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15393, - "src": "64949:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15407, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15395, - "src": "64953:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15408, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15397, - "src": "64957:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15409, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15399, - "src": "64961:2:9", - "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": 15403, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64889:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64893:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64889:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64889:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15402, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "64873:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64873:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15412, - "nodeType": "ExpressionStatement", - "src": "64873:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64794:3:9", - "parameters": { - "id": 15400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15393, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64806:2:9", - "nodeType": "VariableDeclaration", - "scope": 15414, - "src": "64798:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15392, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64798:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15395, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64818:2:9", - "nodeType": "VariableDeclaration", - "scope": 15414, - "src": "64810:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15394, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64810:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15397, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64836:2:9", - "nodeType": "VariableDeclaration", - "scope": 15414, - "src": "64822:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15396, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64822:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15399, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64845:2:9", - "nodeType": "VariableDeclaration", - "scope": 15414, - "src": "64840:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15398, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64840:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "64797:51:9" - }, - "returnParameters": { - "id": 15401, - "nodeType": "ParameterList", - "parameters": [], - "src": "64863:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15437, - "nodeType": "FunctionDefinition", - "src": "64978:193:9", - "body": { - "id": 15436, - "nodeType": "Block", - "src": "65059:112:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c6164647265737329", - "id": 15428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65109:37:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f736d1685010d3a1ac02ed96109cdd5141fd92077c14203bc63442ad9b6a687", - "typeString": "literal_string \"log(address,address,string,address)\"" - }, - "value": "log(address,address,string,address)" - }, - { - "id": 15429, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15416, - "src": "65148:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15430, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15418, - "src": "65152:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15431, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15420, - "src": "65156:2:9", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 15432, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15422, - "src": "65160:2:9", - "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": 15426, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65085:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65089:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65085:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65085:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15425, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "65069:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65069:95:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15435, - "nodeType": "ExpressionStatement", - "src": "65069:95:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64987:3:9", - "parameters": { - "id": 15423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15416, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64999:2:9", - "nodeType": "VariableDeclaration", - "scope": 15437, - "src": "64991:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15415, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64991:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15418, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65011:2:9", - "nodeType": "VariableDeclaration", - "scope": 15437, - "src": "65003:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15417, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65003:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15420, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65029:2:9", - "nodeType": "VariableDeclaration", - "scope": 15437, - "src": "65015:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15419, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "65015:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15422, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65041:2:9", - "nodeType": "VariableDeclaration", - "scope": 15437, - "src": "65033:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65033:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "64990:54:9" - }, - "returnParameters": { - "id": 15424, - "nodeType": "ParameterList", - "parameters": [], - "src": "65059:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15460, - "nodeType": "FunctionDefinition", - "src": "65177:176:9", - "body": { - "id": 15459, - "nodeType": "Block", - "src": "65246:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c75696e7429", - "id": 15451, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65296:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_95d65f110e4042ee84d162cfc6d17a44c2f2784259e33c97679d21e7a95a841e", - "typeString": "literal_string \"log(address,address,bool,uint)\"" - }, - "value": "log(address,address,bool,uint)" - }, - { - "id": 15452, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15439, - "src": "65330:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15453, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15441, - "src": "65334:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15454, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15443, - "src": "65338:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15455, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15445, - "src": "65342:2:9", - "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": 15449, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65272:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15450, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65276:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65272:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15456, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65272:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15448, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "65256:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65256:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15458, - "nodeType": "ExpressionStatement", - "src": "65256:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65186:3:9", - "parameters": { - "id": 15446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15439, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65198:2:9", - "nodeType": "VariableDeclaration", - "scope": 15460, - "src": "65190:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65190:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15441, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65210:2:9", - "nodeType": "VariableDeclaration", - "scope": 15460, - "src": "65202:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15440, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65202:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15443, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65219:2:9", - "nodeType": "VariableDeclaration", - "scope": 15460, - "src": "65214:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15442, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65214:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15445, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65228:2:9", - "nodeType": "VariableDeclaration", - "scope": 15460, - "src": "65223:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15444, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "65223:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "65189:42:9" - }, - "returnParameters": { - "id": 15447, - "nodeType": "ParameterList", - "parameters": [], - "src": "65246:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15483, - "nodeType": "FunctionDefinition", - "src": "65359:187:9", - "body": { - "id": 15482, - "nodeType": "Block", - "src": "65437:109:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c737472696e6729", - "id": 15474, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65487:34:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aa6540c8e9a40f69e022e01a14ab22c94aae4999f1d7a246236f464d7c933b88", - "typeString": "literal_string \"log(address,address,bool,string)\"" - }, - "value": "log(address,address,bool,string)" - }, - { - "id": 15475, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15462, - "src": "65523:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15476, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15464, - "src": "65527:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15477, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15466, - "src": "65531:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15478, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15468, - "src": "65535:2:9", - "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": 15472, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65463:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65467:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65463:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65463:75:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15471, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "65447:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65447:92:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15481, - "nodeType": "ExpressionStatement", - "src": "65447:92:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65368:3:9", - "parameters": { - "id": 15469, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15462, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65380:2:9", - "nodeType": "VariableDeclaration", - "scope": 15483, - "src": "65372:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65372:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15464, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65392:2:9", - "nodeType": "VariableDeclaration", - "scope": 15483, - "src": "65384:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15463, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65384:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15466, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65401:2:9", - "nodeType": "VariableDeclaration", - "scope": 15483, - "src": "65396:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15465, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65396:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15468, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65419:2:9", - "nodeType": "VariableDeclaration", - "scope": 15483, - "src": "65405:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15467, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "65405:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "65371:51:9" - }, - "returnParameters": { - "id": 15470, - "nodeType": "ParameterList", - "parameters": [], - "src": "65437:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15506, - "nodeType": "FunctionDefinition", - "src": "65552:176:9", - "body": { - "id": 15505, - "nodeType": "Block", - "src": "65621:107:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c626f6f6c29", - "id": 15497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65671:32:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2cd4134aedbc2cd722f2b9715dc3acb74b16b253590361dd98a4d6cb66119b65", - "typeString": "literal_string \"log(address,address,bool,bool)\"" - }, - "value": "log(address,address,bool,bool)" - }, - { - "id": 15498, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15485, - "src": "65705:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15499, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15487, - "src": "65709:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15500, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15489, - "src": "65713:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15501, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15491, - "src": "65717:2:9", - "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": 15495, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65647:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65651:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65647:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15502, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65647:73:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15494, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "65631:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15503, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65631:90:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15504, - "nodeType": "ExpressionStatement", - "src": "65631:90:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65561:3:9", - "parameters": { - "id": 15492, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15485, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65573:2:9", - "nodeType": "VariableDeclaration", - "scope": 15506, - "src": "65565:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15484, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65565:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15487, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65585:2:9", - "nodeType": "VariableDeclaration", - "scope": 15506, - "src": "65577:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15486, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65577:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15489, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65594:2:9", - "nodeType": "VariableDeclaration", - "scope": 15506, - "src": "65589:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15488, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65589:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15491, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65603:2:9", - "nodeType": "VariableDeclaration", - "scope": 15506, - "src": "65598:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15490, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65598:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "65564:42:9" - }, - "returnParameters": { - "id": 15493, - "nodeType": "ParameterList", - "parameters": [], - "src": "65621:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15529, - "nodeType": "FunctionDefinition", - "src": "65734:182:9", - "body": { - "id": 15528, - "nodeType": "Block", - "src": "65806:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c6164647265737329", - "id": 15520, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65856:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9f1bc36e6c1a1385bfe3a230338e478ee5447b81d25d35962aff021b2c578b9c", - "typeString": "literal_string \"log(address,address,bool,address)\"" - }, - "value": "log(address,address,bool,address)" - }, - { - "id": 15521, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15508, - "src": "65893:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15522, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15510, - "src": "65897:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15523, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15512, - "src": "65901:2:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 15524, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15514, - "src": "65905:2:9", - "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": 15518, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65832:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15519, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65836:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65832:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65832:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15517, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "65816:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65816:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15527, - "nodeType": "ExpressionStatement", - "src": "65816:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65743:3:9", - "parameters": { - "id": 15515, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15508, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65755:2:9", - "nodeType": "VariableDeclaration", - "scope": 15529, - "src": "65747:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15507, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65747:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15510, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65767:2:9", - "nodeType": "VariableDeclaration", - "scope": 15529, - "src": "65759:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15509, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65759:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15512, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65776:2:9", - "nodeType": "VariableDeclaration", - "scope": 15529, - "src": "65771:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15511, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65771:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15514, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65788:2:9", - "nodeType": "VariableDeclaration", - "scope": 15529, - "src": "65780:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15513, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65780:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "65746:45:9" - }, - "returnParameters": { - "id": 15516, - "nodeType": "ParameterList", - "parameters": [], - "src": "65806:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15552, - "nodeType": "FunctionDefinition", - "src": "65922:182:9", - "body": { - "id": 15551, - "nodeType": "Block", - "src": "65994:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c75696e7429", - "id": 15543, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66044:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ed5eac8706392442fff9f76d5de4d50b9cc22387f3f19d447470771094406028", - "typeString": "literal_string \"log(address,address,address,uint)\"" - }, - "value": "log(address,address,address,uint)" - }, - { - "id": 15544, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15531, - "src": "66081:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15545, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15533, - "src": "66085:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15546, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15535, - "src": "66089:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15547, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15537, - "src": "66093:2:9", - "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": 15541, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66020:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66024:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66020:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66020:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15540, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "66004:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66004:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15550, - "nodeType": "ExpressionStatement", - "src": "66004:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65931:3:9", - "parameters": { - "id": 15538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15531, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65943:2:9", - "nodeType": "VariableDeclaration", - "scope": 15552, - "src": "65935:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15530, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65935:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15533, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65955:2:9", - "nodeType": "VariableDeclaration", - "scope": 15552, - "src": "65947:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65947:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15535, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65967:2:9", - "nodeType": "VariableDeclaration", - "scope": 15552, - "src": "65959:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15534, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65959:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15537, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65976:2:9", - "nodeType": "VariableDeclaration", - "scope": 15552, - "src": "65971:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15536, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "65971:4:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "65934:45:9" - }, - "returnParameters": { - "id": 15539, - "nodeType": "ParameterList", - "parameters": [], - "src": "65994:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15575, - "nodeType": "FunctionDefinition", - "src": "66110:193:9", - "body": { - "id": 15574, - "nodeType": "Block", - "src": "66191:112:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c737472696e6729", - "id": 15566, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66241:37:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f808da2086fed855c3e15d9dbfed3b17a93ed9a59947aae6ab05b7e18576f025", - "typeString": "literal_string \"log(address,address,address,string)\"" - }, - "value": "log(address,address,address,string)" - }, - { - "id": 15567, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15554, - "src": "66280:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15568, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15556, - "src": "66284:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15569, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15558, - "src": "66288:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15570, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15560, - "src": "66292:2:9", - "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": 15564, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66217:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66221:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66217:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66217:78:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15563, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "66201:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15572, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66201:95:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15573, - "nodeType": "ExpressionStatement", - "src": "66201:95:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66119:3:9", - "parameters": { - "id": 15561, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15554, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66131:2:9", - "nodeType": "VariableDeclaration", - "scope": 15575, - "src": "66123:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15553, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66123:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15556, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66143:2:9", - "nodeType": "VariableDeclaration", - "scope": 15575, - "src": "66135:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15555, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66135:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15558, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66155:2:9", - "nodeType": "VariableDeclaration", - "scope": 15575, - "src": "66147:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15557, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66147:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15560, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66173:2:9", - "nodeType": "VariableDeclaration", - "scope": 15575, - "src": "66159:16:9", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15559, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66159:6:9", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "66122:54:9" - }, - "returnParameters": { - "id": 15562, - "nodeType": "ParameterList", - "parameters": [], - "src": "66191:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15598, - "nodeType": "FunctionDefinition", - "src": "66309:182:9", - "body": { - "id": 15597, - "nodeType": "Block", - "src": "66381:110:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c626f6f6c29", - "id": 15589, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66431:35:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e378994a4cd2663acfd73a7ad4e09d196e4fb7ee05b7cdf0708eb30271e2afb", - "typeString": "literal_string \"log(address,address,address,bool)\"" - }, - "value": "log(address,address,address,bool)" - }, - { - "id": 15590, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15577, - "src": "66468:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15591, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15579, - "src": "66472:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15592, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15581, - "src": "66476:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15593, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15583, - "src": "66480:2:9", - "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": 15587, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66407:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66411:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66407:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66407:76:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15586, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "66391:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66391:93:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15596, - "nodeType": "ExpressionStatement", - "src": "66391:93:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66318:3:9", - "parameters": { - "id": 15584, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15577, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66330:2:9", - "nodeType": "VariableDeclaration", - "scope": 15598, - "src": "66322:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15576, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66322:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15579, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66342:2:9", - "nodeType": "VariableDeclaration", - "scope": 15598, - "src": "66334:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15578, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66334:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15581, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66354:2:9", - "nodeType": "VariableDeclaration", - "scope": 15598, - "src": "66346:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15580, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66346:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15583, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66363:2:9", - "nodeType": "VariableDeclaration", - "scope": 15598, - "src": "66358:7:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15582, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "66358:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "66321:45:9" - }, - "returnParameters": { - "id": 15585, - "nodeType": "ParameterList", - "parameters": [], - "src": "66381:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15621, - "nodeType": "FunctionDefinition", - "src": "66497:188:9", - "body": { - "id": 15620, - "nodeType": "Block", - "src": "66572:113:9", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c6164647265737329", - "id": 15612, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66622:38:9", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665bf1345e006aa321c0b6b71bed55ce0d6cdd812632f8c43114f62c55ffa0b5", - "typeString": "literal_string \"log(address,address,address,address)\"" - }, - "value": "log(address,address,address,address)" - }, - { - "id": 15613, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15600, - "src": "66662:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15614, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15602, - "src": "66666:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15615, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15604, - "src": "66670:2:9", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 15616, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15606, - "src": "66674:2:9", - "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": 15610, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66598:3:9", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15611, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66602:19:9", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66598:23:9", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66598:79:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15609, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7582, - "src": "66582:15:9", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66582:96:9", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15619, - "nodeType": "ExpressionStatement", - "src": "66582:96:9" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66506:3:9", - "parameters": { - "id": 15607, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15600, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66518:2:9", - "nodeType": "VariableDeclaration", - "scope": 15621, - "src": "66510:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15599, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66510:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15602, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66530:2:9", - "nodeType": "VariableDeclaration", - "scope": 15621, - "src": "66522:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15601, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66522:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15604, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66542:2:9", - "nodeType": "VariableDeclaration", - "scope": 15621, - "src": "66534:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15603, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66534:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 15606, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66554:2:9", - "nodeType": "VariableDeclaration", - "scope": 15621, - "src": "66546:10:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15605, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66546:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "66509:48:9" - }, - "returnParameters": { - "id": 15608, - "nodeType": "ParameterList", - "parameters": [], - "src": "66572:0:9" - }, - "scope": 15622, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "console", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 15622 - ], - "name": "console", - "nameLocation": "74:7:9", - "scope": 15623, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 9 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd3278742f6ea2aaa6e74134d35e6fcd52adcd05130fdcba94b880b02cd41fdc64736f6c63430008170033","sourceMap":"66:66622:9:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;66:66622:9;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd3278742f6ea2aaa6e74134d35e6fcd52adcd05130fdcba94b880b02cd41fdc64736f6c63430008170033","sourceMap":"66:66622:9:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/console.sol":"console"},"evmVersion":"paris","libraries":{}},"sources":{"lib/forge-std/src/console.sol":{"keccak256":"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba","urls":["bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70","dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec"],"license":"MIT"}},"version":1},"id":9} \ No newline at end of file diff --git a/out/console2.sol/console2.json b/out/console2.sol/console2.json index 9dd7651..92c868c 100644 --- a/out/console2.sol/console2.json +++ b/out/console2.sol/console2.json @@ -1,110870 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206038afed87a69125c4002f88944df0013efaf8da26b8fa6688f5341b46db34ae64736f6c63430008100033", - "sourceMap": "515:68470:10:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;515:68470:10;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206038afed87a69125c4002f88944df0013efaf8da26b8fa6688f5341b46db34ae64736f6c63430008100033", - "sourceMap": "515:68470:10:-:0;;;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/src/console2.sol": "console2" - }, - "libraries": {} - }, - "sources": { - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "lib/forge-std/src/console2.sol", - "id": 23687, - "exportedSymbols": { - "console2": [ - 23686 - ] - }, - "nodeType": "SourceUnit", - "src": "32:68953:10", - "nodes": [ - { - "id": 15624, - "nodeType": "PragmaDirective", - "src": "32:32:10", - "literals": [ - "solidity", - ">=", - "0.4", - ".22", - "<", - "0.9", - ".0" - ] - }, - { - "id": 23686, - "nodeType": "ContractDefinition", - "src": "515:68470:10", - "nodes": [ - { - "id": 15630, - "nodeType": "VariableDeclaration", - "src": "538:86:10", - "constant": true, - "mutability": "constant", - "name": "CONSOLE_ADDRESS", - "nameLocation": "555:15:10", - "scope": 23686, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15625, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "538:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303036333646366537333646366336353265366336663637", - "id": 15628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "581:42:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x000000000000000000636F6e736F6c652e6c6f67" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 15627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "573:7:10", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 15626, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "573:7:10", - "typeDescriptions": {} - } - }, - "id": 15629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "573:51:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "id": 15646, - "nodeType": "FunctionDefinition", - "src": "631:333:10", - "body": { - "id": 15645, - "nodeType": "Block", - "src": "691:273:10", - "statements": [ - { - "assignments": [ - 15636 - ], - "declarations": [ - { - "constant": false, - "id": 15636, - "mutability": "mutable", - "name": "payloadLength", - "nameLocation": "709:13:10", - "nodeType": "VariableDeclaration", - "scope": 15645, - "src": "701:21:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15635, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "701:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 15639, - "initialValue": { - "expression": { - "id": 15637, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15632, - "src": "725:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 15638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "733:6:10", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "725:14:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "701:38:10" - }, - { - "assignments": [ - 15641 - ], - "declarations": [ - { - "constant": false, - "id": 15641, - "mutability": "mutable", - "name": "consoleAddress", - "nameLocation": "757:14:10", - "nodeType": "VariableDeclaration", - "scope": 15645, - "src": "749:22:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15640, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "749:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 15643, - "initialValue": { - "id": 15642, - "name": "CONSOLE_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15630, - "src": "774:15:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "749:40:10" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "808:150:10", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "822:36:10", - "value": { - "arguments": [ - { - "name": "payload", - "nodeType": "YulIdentifier", - "src": "846:7:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "855:2:10", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "842:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "842:16:10" - }, - "variables": [ - { - "name": "payloadStart", - "nodeType": "YulTypedName", - "src": "826:12:10", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "871:77:10", - "value": { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "gas", - "nodeType": "YulIdentifier", - "src": "891:3:10" - }, - "nodeType": "YulFunctionCall", - "src": "891:5:10" - }, - { - "name": "consoleAddress", - "nodeType": "YulIdentifier", - "src": "898:14:10" - }, - { - "name": "payloadStart", - "nodeType": "YulIdentifier", - "src": "914:12:10" - }, - { - "name": "payloadLength", - "nodeType": "YulIdentifier", - "src": "928:13:10" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "943:1:10", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "946:1:10", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "staticcall", - "nodeType": "YulIdentifier", - "src": "880:10:10" - }, - "nodeType": "YulFunctionCall", - "src": "880:68:10" - }, - "variables": [ - { - "name": "r", - "nodeType": "YulTypedName", - "src": "875:1:10", - "type": "" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 15641, - "isOffset": false, - "isSlot": false, - "src": "898:14:10", - "valueSize": 1 - }, - { - "declaration": 15632, - "isOffset": false, - "isSlot": false, - "src": "846:7:10", - "valueSize": 1 - }, - { - "declaration": 15636, - "isOffset": false, - "isSlot": false, - "src": "928:13:10", - "valueSize": 1 - } - ], - "id": 15644, - "nodeType": "InlineAssembly", - "src": "799:159:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_sendLogPayload", - "nameLocation": "640:15:10", - "parameters": { - "id": 15633, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15632, - "mutability": "mutable", - "name": "payload", - "nameLocation": "669:7:10", - "nodeType": "VariableDeclaration", - "scope": 15646, - "src": "656:20:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 15631, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "656:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "655:22:10" - }, - "returnParameters": { - "id": 15634, - "nodeType": "ParameterList", - "parameters": [], - "src": "691:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "id": 15657, - "nodeType": "FunctionDefinition", - "src": "970:95:10", - "body": { - "id": 15656, - "nodeType": "Block", - "src": "999:66:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672829", - "id": 15652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1049:7:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - }, - "value": "log()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - } - ], - "expression": { - "id": 15650, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1025:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15651, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1029:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1025:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1025:32:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15649, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "1009:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1009:49:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15655, - "nodeType": "ExpressionStatement", - "src": "1009:49:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "979:3:10", - "parameters": { - "id": 15647, - "nodeType": "ParameterList", - "parameters": [], - "src": "982:2:10" - }, - "returnParameters": { - "id": 15648, - "nodeType": "ParameterList", - "parameters": [], - "src": "999:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15671, - "nodeType": "FunctionDefinition", - "src": "1071:117:10", - "body": { - "id": 15670, - "nodeType": "Block", - "src": "1112:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728696e7432353629", - "id": 15665, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1162:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d5b6cb95ba2d00a93cd4ffa61ec07ef4bb1694f20c02a3cccb170a38df81ef8", - "typeString": "literal_string \"log(int256)\"" - }, - "value": "log(int256)" - }, - { - "id": 15666, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15659, - "src": "1177:2:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d5b6cb95ba2d00a93cd4ffa61ec07ef4bb1694f20c02a3cccb170a38df81ef8", - "typeString": "literal_string \"log(int256)\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 15663, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1138:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1142:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1138:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1138:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15662, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "1122:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1122:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15669, - "nodeType": "ExpressionStatement", - "src": "1122:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logInt", - "nameLocation": "1080:6:10", - "parameters": { - "id": 15660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15659, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1094:2:10", - "nodeType": "VariableDeclaration", - "scope": 15671, - "src": "1087:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 15658, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "1087:6:10", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1086:11:10" - }, - "returnParameters": { - "id": 15661, - "nodeType": "ParameterList", - "parameters": [], - "src": "1112:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15685, - "nodeType": "FunctionDefinition", - "src": "1194:120:10", - "body": { - "id": 15684, - "nodeType": "Block", - "src": "1237:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7432353629", - "id": 15679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1287:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - "value": "log(uint256)" - }, - { - "id": 15680, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15673, - "src": "1303:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 15677, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1263:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15678, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1267:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1263:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1263:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15676, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "1247:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1247:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15683, - "nodeType": "ExpressionStatement", - "src": "1247:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logUint", - "nameLocation": "1203:7:10", - "parameters": { - "id": 15674, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15673, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1219:2:10", - "nodeType": "VariableDeclaration", - "scope": 15685, - "src": "1211:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 15672, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1211:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1210:12:10" - }, - "returnParameters": { - "id": 15675, - "nodeType": "ParameterList", - "parameters": [], - "src": "1237:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15699, - "nodeType": "FunctionDefinition", - "src": "1320:127:10", - "body": { - "id": 15698, - "nodeType": "Block", - "src": "1371:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 15693, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1421:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 15694, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15687, - "src": "1436:2:10", - "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": 15691, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1397:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1401:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1397:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1397:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15690, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "1381:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1381:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15697, - "nodeType": "ExpressionStatement", - "src": "1381:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logString", - "nameLocation": "1329:9:10", - "parameters": { - "id": 15688, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15687, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1353:2:10", - "nodeType": "VariableDeclaration", - "scope": 15699, - "src": "1339:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 15686, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1339:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1338:18:10" - }, - "returnParameters": { - "id": 15689, - "nodeType": "ParameterList", - "parameters": [], - "src": "1371:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15713, - "nodeType": "FunctionDefinition", - "src": "1453:114:10", - "body": { - "id": 15712, - "nodeType": "Block", - "src": "1493:74:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 15707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1543:11:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 15708, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15701, - "src": "1556:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 15705, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1519:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15706, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1523:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1519:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1519:40:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15704, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "1503:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1503:57:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15711, - "nodeType": "ExpressionStatement", - "src": "1503:57:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBool", - "nameLocation": "1462:7:10", - "parameters": { - "id": 15702, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15701, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1475:2:10", - "nodeType": "VariableDeclaration", - "scope": 15713, - "src": "1470:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 15700, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1470:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1469:9:10" - }, - "returnParameters": { - "id": 15703, - "nodeType": "ParameterList", - "parameters": [], - "src": "1493:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15727, - "nodeType": "FunctionDefinition", - "src": "1573:123:10", - "body": { - "id": 15726, - "nodeType": "Block", - "src": "1619:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 15721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1669:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 15722, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15715, - "src": "1685:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 15719, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1645:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1649:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1645:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15723, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1645:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15718, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "1629:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1629:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15725, - "nodeType": "ExpressionStatement", - "src": "1629:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logAddress", - "nameLocation": "1582:10:10", - "parameters": { - "id": 15716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15715, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1601:2:10", - "nodeType": "VariableDeclaration", - "scope": 15727, - "src": "1593:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 15714, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1593:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1592:12:10" - }, - "returnParameters": { - "id": 15717, - "nodeType": "ParameterList", - "parameters": [], - "src": "1619:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15741, - "nodeType": "FunctionDefinition", - "src": "1702:124:10", - "body": { - "id": 15740, - "nodeType": "Block", - "src": "1751:75:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728627974657329", - "id": 15735, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1801:12:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0be77f5642494da7d212b92a3472c4f471abb24e17467f41788e7de7915d6238", - "typeString": "literal_string \"log(bytes)\"" - }, - "value": "log(bytes)" - }, - { - "id": 15736, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15729, - "src": "1815:2:10", - "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": 15733, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1777:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15734, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1781:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1777:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1777:41:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15732, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "1761:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1761:58:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15739, - "nodeType": "ExpressionStatement", - "src": "1761:58:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes", - "nameLocation": "1711:8:10", - "parameters": { - "id": 15730, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15729, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1733:2:10", - "nodeType": "VariableDeclaration", - "scope": 15741, - "src": "1720:15:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 15728, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1720:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1719:17:10" - }, - "returnParameters": { - "id": 15731, - "nodeType": "ParameterList", - "parameters": [], - "src": "1751:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15755, - "nodeType": "FunctionDefinition", - "src": "1832:120:10", - "body": { - "id": 15754, - "nodeType": "Block", - "src": "1876:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733129", - "id": 15749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1926:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - "value": "log(bytes1)" - }, - { - "id": 15750, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15743, - "src": "1941:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "expression": { - "id": 15747, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1902:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1906:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1902:23:10", - "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": "1902:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15746, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "1886:15:10", - "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": "1886:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15753, - "nodeType": "ExpressionStatement", - "src": "1886:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes1", - "nameLocation": "1841:9:10", - "parameters": { - "id": 15744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15743, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1858:2:10", - "nodeType": "VariableDeclaration", - "scope": 15755, - "src": "1851:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 15742, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1851:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - } - ], - "src": "1850:11:10" - }, - "returnParameters": { - "id": 15745, - "nodeType": "ParameterList", - "parameters": [], - "src": "1876:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15769, - "nodeType": "FunctionDefinition", - "src": "1958:120:10", - "body": { - "id": 15768, - "nodeType": "Block", - "src": "2002:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733229", - "id": 15763, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2052:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - "value": "log(bytes2)" - }, - { - "id": 15764, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15757, - "src": "2067:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - ], - "expression": { - "id": 15761, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2028:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15762, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2032:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2028:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15765, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2028:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15760, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "2012:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2012:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15767, - "nodeType": "ExpressionStatement", - "src": "2012:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes2", - "nameLocation": "1967:9:10", - "parameters": { - "id": 15758, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15757, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1984:2:10", - "nodeType": "VariableDeclaration", - "scope": 15769, - "src": "1977:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - }, - "typeName": { - "id": 15756, - "name": "bytes2", - "nodeType": "ElementaryTypeName", - "src": "1977:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - }, - "visibility": "internal" - } - ], - "src": "1976:11:10" - }, - "returnParameters": { - "id": 15759, - "nodeType": "ParameterList", - "parameters": [], - "src": "2002:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15783, - "nodeType": "FunctionDefinition", - "src": "2084:120:10", - "body": { - "id": 15782, - "nodeType": "Block", - "src": "2128:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733329", - "id": 15777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2178:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - "value": "log(bytes3)" - }, - { - "id": 15778, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15771, - "src": "2193:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - ], - "expression": { - "id": 15775, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2154:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2158:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2154:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15779, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2154:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15774, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "2138:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2138:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15781, - "nodeType": "ExpressionStatement", - "src": "2138:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes3", - "nameLocation": "2093:9:10", - "parameters": { - "id": 15772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15771, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2110:2:10", - "nodeType": "VariableDeclaration", - "scope": 15783, - "src": "2103:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - }, - "typeName": { - "id": 15770, - "name": "bytes3", - "nodeType": "ElementaryTypeName", - "src": "2103:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - }, - "visibility": "internal" - } - ], - "src": "2102:11:10" - }, - "returnParameters": { - "id": 15773, - "nodeType": "ParameterList", - "parameters": [], - "src": "2128:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15797, - "nodeType": "FunctionDefinition", - "src": "2210:120:10", - "body": { - "id": 15796, - "nodeType": "Block", - "src": "2254:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733429", - "id": 15791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2304:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - "value": "log(bytes4)" - }, - { - "id": 15792, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15785, - "src": "2319:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 15789, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2280:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2284:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2280:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2280:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15788, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "2264:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2264:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15795, - "nodeType": "ExpressionStatement", - "src": "2264:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes4", - "nameLocation": "2219:9:10", - "parameters": { - "id": 15786, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15785, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2236:2:10", - "nodeType": "VariableDeclaration", - "scope": 15797, - "src": "2229:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 15784, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2229:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "2228:11:10" - }, - "returnParameters": { - "id": 15787, - "nodeType": "ParameterList", - "parameters": [], - "src": "2254:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15811, - "nodeType": "FunctionDefinition", - "src": "2336:120:10", - "body": { - "id": 15810, - "nodeType": "Block", - "src": "2380:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733529", - "id": 15805, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2430:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - "value": "log(bytes5)" - }, - { - "id": 15806, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15799, - "src": "2445:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - ], - "expression": { - "id": 15803, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2406:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15804, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2410:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2406:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2406:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15802, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "2390:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2390:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15809, - "nodeType": "ExpressionStatement", - "src": "2390:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes5", - "nameLocation": "2345:9:10", - "parameters": { - "id": 15800, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15799, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2362:2:10", - "nodeType": "VariableDeclaration", - "scope": 15811, - "src": "2355:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - }, - "typeName": { - "id": 15798, - "name": "bytes5", - "nodeType": "ElementaryTypeName", - "src": "2355:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - }, - "visibility": "internal" - } - ], - "src": "2354:11:10" - }, - "returnParameters": { - "id": 15801, - "nodeType": "ParameterList", - "parameters": [], - "src": "2380:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15825, - "nodeType": "FunctionDefinition", - "src": "2462:120:10", - "body": { - "id": 15824, - "nodeType": "Block", - "src": "2506:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733629", - "id": 15819, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2556:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - "value": "log(bytes6)" - }, - { - "id": 15820, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15813, - "src": "2571:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - ], - "expression": { - "id": 15817, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2532:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15818, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2536:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2532:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2532:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15816, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "2516:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2516:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15823, - "nodeType": "ExpressionStatement", - "src": "2516:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes6", - "nameLocation": "2471:9:10", - "parameters": { - "id": 15814, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15813, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2488:2:10", - "nodeType": "VariableDeclaration", - "scope": 15825, - "src": "2481:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - }, - "typeName": { - "id": 15812, - "name": "bytes6", - "nodeType": "ElementaryTypeName", - "src": "2481:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - }, - "visibility": "internal" - } - ], - "src": "2480:11:10" - }, - "returnParameters": { - "id": 15815, - "nodeType": "ParameterList", - "parameters": [], - "src": "2506:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15839, - "nodeType": "FunctionDefinition", - "src": "2588:120:10", - "body": { - "id": 15838, - "nodeType": "Block", - "src": "2632:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733729", - "id": 15833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2682:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - "value": "log(bytes7)" - }, - { - "id": 15834, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15827, - "src": "2697:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - ], - "expression": { - "id": 15831, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2658:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15832, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2662:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2658:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2658:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15830, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "2642:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2642:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15837, - "nodeType": "ExpressionStatement", - "src": "2642:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes7", - "nameLocation": "2597:9:10", - "parameters": { - "id": 15828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15827, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2614:2:10", - "nodeType": "VariableDeclaration", - "scope": 15839, - "src": "2607:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - }, - "typeName": { - "id": 15826, - "name": "bytes7", - "nodeType": "ElementaryTypeName", - "src": "2607:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - }, - "visibility": "internal" - } - ], - "src": "2606:11:10" - }, - "returnParameters": { - "id": 15829, - "nodeType": "ParameterList", - "parameters": [], - "src": "2632:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15853, - "nodeType": "FunctionDefinition", - "src": "2714:120:10", - "body": { - "id": 15852, - "nodeType": "Block", - "src": "2758:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733829", - "id": 15847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2808:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - "value": "log(bytes8)" - }, - { - "id": 15848, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15841, - "src": "2823:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - ], - "expression": { - "id": 15845, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2784:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2788:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2784:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2784:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15844, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "2768:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2768:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15851, - "nodeType": "ExpressionStatement", - "src": "2768:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes8", - "nameLocation": "2723:9:10", - "parameters": { - "id": 15842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15841, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2740:2:10", - "nodeType": "VariableDeclaration", - "scope": 15853, - "src": "2733:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - }, - "typeName": { - "id": 15840, - "name": "bytes8", - "nodeType": "ElementaryTypeName", - "src": "2733:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - }, - "visibility": "internal" - } - ], - "src": "2732:11:10" - }, - "returnParameters": { - "id": 15843, - "nodeType": "ParameterList", - "parameters": [], - "src": "2758:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15867, - "nodeType": "FunctionDefinition", - "src": "2840:120:10", - "body": { - "id": 15866, - "nodeType": "Block", - "src": "2884:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733929", - "id": 15861, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2934:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - "value": "log(bytes9)" - }, - { - "id": 15862, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15855, - "src": "2949:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - ], - "expression": { - "id": 15859, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2910:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2914:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2910:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2910:42:10", - "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": 15646, - "src": "2894:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2894:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15865, - "nodeType": "ExpressionStatement", - "src": "2894:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes9", - "nameLocation": "2849:9:10", - "parameters": { - "id": 15856, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15855, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2866:2:10", - "nodeType": "VariableDeclaration", - "scope": 15867, - "src": "2859:9:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - }, - "typeName": { - "id": 15854, - "name": "bytes9", - "nodeType": "ElementaryTypeName", - "src": "2859:6:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - }, - "visibility": "internal" - } - ], - "src": "2858:11:10" - }, - "returnParameters": { - "id": 15857, - "nodeType": "ParameterList", - "parameters": [], - "src": "2884:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15881, - "nodeType": "FunctionDefinition", - "src": "2966:123:10", - "body": { - "id": 15880, - "nodeType": "Block", - "src": "3012:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313029", - "id": 15875, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3062:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - "value": "log(bytes10)" - }, - { - "id": 15876, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15869, - "src": "3078:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - ], - "expression": { - "id": 15873, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3038:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15874, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3042:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3038:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3038:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15872, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "3022:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15878, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3022:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15879, - "nodeType": "ExpressionStatement", - "src": "3022:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes10", - "nameLocation": "2975:10:10", - "parameters": { - "id": 15870, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15869, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2994:2:10", - "nodeType": "VariableDeclaration", - "scope": 15881, - "src": "2986:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - }, - "typeName": { - "id": 15868, - "name": "bytes10", - "nodeType": "ElementaryTypeName", - "src": "2986:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - }, - "visibility": "internal" - } - ], - "src": "2985:12:10" - }, - "returnParameters": { - "id": 15871, - "nodeType": "ParameterList", - "parameters": [], - "src": "3012:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15895, - "nodeType": "FunctionDefinition", - "src": "3095:123:10", - "body": { - "id": 15894, - "nodeType": "Block", - "src": "3141:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313129", - "id": 15889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3191:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - "value": "log(bytes11)" - }, - { - "id": 15890, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15883, - "src": "3207:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - ], - "expression": { - "id": 15887, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3167:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3171:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3167:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3167:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15886, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "3151:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3151:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15893, - "nodeType": "ExpressionStatement", - "src": "3151:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes11", - "nameLocation": "3104:10:10", - "parameters": { - "id": 15884, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15883, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3123:2:10", - "nodeType": "VariableDeclaration", - "scope": 15895, - "src": "3115:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - }, - "typeName": { - "id": 15882, - "name": "bytes11", - "nodeType": "ElementaryTypeName", - "src": "3115:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - }, - "visibility": "internal" - } - ], - "src": "3114:12:10" - }, - "returnParameters": { - "id": 15885, - "nodeType": "ParameterList", - "parameters": [], - "src": "3141:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15909, - "nodeType": "FunctionDefinition", - "src": "3224:123:10", - "body": { - "id": 15908, - "nodeType": "Block", - "src": "3270:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313229", - "id": 15903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3320:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - "value": "log(bytes12)" - }, - { - "id": 15904, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15897, - "src": "3336:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - ], - "expression": { - "id": 15901, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3296:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3300:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3296:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3296:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15900, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "3280:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3280:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15907, - "nodeType": "ExpressionStatement", - "src": "3280:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes12", - "nameLocation": "3233:10:10", - "parameters": { - "id": 15898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15897, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3252:2:10", - "nodeType": "VariableDeclaration", - "scope": 15909, - "src": "3244:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - }, - "typeName": { - "id": 15896, - "name": "bytes12", - "nodeType": "ElementaryTypeName", - "src": "3244:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - }, - "visibility": "internal" - } - ], - "src": "3243:12:10" - }, - "returnParameters": { - "id": 15899, - "nodeType": "ParameterList", - "parameters": [], - "src": "3270:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15923, - "nodeType": "FunctionDefinition", - "src": "3353:123:10", - "body": { - "id": 15922, - "nodeType": "Block", - "src": "3399:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313329", - "id": 15917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3449:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - "value": "log(bytes13)" - }, - { - "id": 15918, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15911, - "src": "3465:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - ], - "expression": { - "id": 15915, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3425:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3429:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3425:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3425:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15914, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "3409:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3409:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15921, - "nodeType": "ExpressionStatement", - "src": "3409:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes13", - "nameLocation": "3362:10:10", - "parameters": { - "id": 15912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15911, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3381:2:10", - "nodeType": "VariableDeclaration", - "scope": 15923, - "src": "3373:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - }, - "typeName": { - "id": 15910, - "name": "bytes13", - "nodeType": "ElementaryTypeName", - "src": "3373:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - }, - "visibility": "internal" - } - ], - "src": "3372:12:10" - }, - "returnParameters": { - "id": 15913, - "nodeType": "ParameterList", - "parameters": [], - "src": "3399:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15937, - "nodeType": "FunctionDefinition", - "src": "3482:123:10", - "body": { - "id": 15936, - "nodeType": "Block", - "src": "3528:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313429", - "id": 15931, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3578:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - "value": "log(bytes14)" - }, - { - "id": 15932, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15925, - "src": "3594:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - ], - "expression": { - "id": 15929, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3554:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15930, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3558:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3554:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3554:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15928, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "3538:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3538:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15935, - "nodeType": "ExpressionStatement", - "src": "3538:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes14", - "nameLocation": "3491:10:10", - "parameters": { - "id": 15926, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15925, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3510:2:10", - "nodeType": "VariableDeclaration", - "scope": 15937, - "src": "3502:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - }, - "typeName": { - "id": 15924, - "name": "bytes14", - "nodeType": "ElementaryTypeName", - "src": "3502:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - }, - "visibility": "internal" - } - ], - "src": "3501:12:10" - }, - "returnParameters": { - "id": 15927, - "nodeType": "ParameterList", - "parameters": [], - "src": "3528:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15951, - "nodeType": "FunctionDefinition", - "src": "3611:123:10", - "body": { - "id": 15950, - "nodeType": "Block", - "src": "3657:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313529", - "id": 15945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3707:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - "value": "log(bytes15)" - }, - { - "id": 15946, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15939, - "src": "3723:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - ], - "expression": { - "id": 15943, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3683:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15944, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3687:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3683:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3683:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15942, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "3667:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3667:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15949, - "nodeType": "ExpressionStatement", - "src": "3667:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes15", - "nameLocation": "3620:10:10", - "parameters": { - "id": 15940, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15939, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3639:2:10", - "nodeType": "VariableDeclaration", - "scope": 15951, - "src": "3631:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - }, - "typeName": { - "id": 15938, - "name": "bytes15", - "nodeType": "ElementaryTypeName", - "src": "3631:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - }, - "visibility": "internal" - } - ], - "src": "3630:12:10" - }, - "returnParameters": { - "id": 15941, - "nodeType": "ParameterList", - "parameters": [], - "src": "3657:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15965, - "nodeType": "FunctionDefinition", - "src": "3740:123:10", - "body": { - "id": 15964, - "nodeType": "Block", - "src": "3786:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313629", - "id": 15959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3836:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - "value": "log(bytes16)" - }, - { - "id": 15960, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15953, - "src": "3852:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - ], - "expression": { - "id": 15957, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3812:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15958, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3816:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3812:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3812:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15956, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "3796:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3796:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15963, - "nodeType": "ExpressionStatement", - "src": "3796:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes16", - "nameLocation": "3749:10:10", - "parameters": { - "id": 15954, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15953, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3768:2:10", - "nodeType": "VariableDeclaration", - "scope": 15965, - "src": "3760:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 15952, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "3760:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "visibility": "internal" - } - ], - "src": "3759:12:10" - }, - "returnParameters": { - "id": 15955, - "nodeType": "ParameterList", - "parameters": [], - "src": "3786:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15979, - "nodeType": "FunctionDefinition", - "src": "3869:123:10", - "body": { - "id": 15978, - "nodeType": "Block", - "src": "3915:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313729", - "id": 15973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3965:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - "value": "log(bytes17)" - }, - { - "id": 15974, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15967, - "src": "3981:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - ], - "expression": { - "id": 15971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3941:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3945:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3941:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3941:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15970, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "3925:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3925:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15977, - "nodeType": "ExpressionStatement", - "src": "3925:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes17", - "nameLocation": "3878:10:10", - "parameters": { - "id": 15968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15967, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3897:2:10", - "nodeType": "VariableDeclaration", - "scope": 15979, - "src": "3889:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - }, - "typeName": { - "id": 15966, - "name": "bytes17", - "nodeType": "ElementaryTypeName", - "src": "3889:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - }, - "visibility": "internal" - } - ], - "src": "3888:12:10" - }, - "returnParameters": { - "id": 15969, - "nodeType": "ParameterList", - "parameters": [], - "src": "3915:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 15993, - "nodeType": "FunctionDefinition", - "src": "3998:123:10", - "body": { - "id": 15992, - "nodeType": "Block", - "src": "4044:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313829", - "id": 15987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4094:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - "value": "log(bytes18)" - }, - { - "id": 15988, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15981, - "src": "4110:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - ], - "expression": { - "id": 15985, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4070:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 15986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4074:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4070:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 15989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4070:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15984, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "4054:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 15990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4054:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 15991, - "nodeType": "ExpressionStatement", - "src": "4054:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes18", - "nameLocation": "4007:10:10", - "parameters": { - "id": 15982, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15981, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4026:2:10", - "nodeType": "VariableDeclaration", - "scope": 15993, - "src": "4018:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - }, - "typeName": { - "id": 15980, - "name": "bytes18", - "nodeType": "ElementaryTypeName", - "src": "4018:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - }, - "visibility": "internal" - } - ], - "src": "4017:12:10" - }, - "returnParameters": { - "id": 15983, - "nodeType": "ParameterList", - "parameters": [], - "src": "4044:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16007, - "nodeType": "FunctionDefinition", - "src": "4127:123:10", - "body": { - "id": 16006, - "nodeType": "Block", - "src": "4173:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313929", - "id": 16001, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4223:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - "value": "log(bytes19)" - }, - { - "id": 16002, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15995, - "src": "4239:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - ], - "expression": { - "id": 15999, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4199:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16000, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4203:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4199:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4199:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 15998, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "4183:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4183:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16005, - "nodeType": "ExpressionStatement", - "src": "4183:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes19", - "nameLocation": "4136:10:10", - "parameters": { - "id": 15996, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 15995, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4155:2:10", - "nodeType": "VariableDeclaration", - "scope": 16007, - "src": "4147:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - }, - "typeName": { - "id": 15994, - "name": "bytes19", - "nodeType": "ElementaryTypeName", - "src": "4147:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - }, - "visibility": "internal" - } - ], - "src": "4146:12:10" - }, - "returnParameters": { - "id": 15997, - "nodeType": "ParameterList", - "parameters": [], - "src": "4173:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16021, - "nodeType": "FunctionDefinition", - "src": "4256:123:10", - "body": { - "id": 16020, - "nodeType": "Block", - "src": "4302:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323029", - "id": 16015, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4352:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - "value": "log(bytes20)" - }, - { - "id": 16016, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16009, - "src": "4368:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - ], - "expression": { - "id": 16013, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4328:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16014, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4332:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4328:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4328:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16012, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "4312:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4312:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16019, - "nodeType": "ExpressionStatement", - "src": "4312:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes20", - "nameLocation": "4265:10:10", - "parameters": { - "id": 16010, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16009, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4284:2:10", - "nodeType": "VariableDeclaration", - "scope": 16021, - "src": "4276:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - }, - "typeName": { - "id": 16008, - "name": "bytes20", - "nodeType": "ElementaryTypeName", - "src": "4276:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - }, - "visibility": "internal" - } - ], - "src": "4275:12:10" - }, - "returnParameters": { - "id": 16011, - "nodeType": "ParameterList", - "parameters": [], - "src": "4302:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16035, - "nodeType": "FunctionDefinition", - "src": "4385:123:10", - "body": { - "id": 16034, - "nodeType": "Block", - "src": "4431:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323129", - "id": 16029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4481:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - "value": "log(bytes21)" - }, - { - "id": 16030, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16023, - "src": "4497:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - ], - "expression": { - "id": 16027, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4457:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4461:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4457:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16031, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4457:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16026, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "4441:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4441:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16033, - "nodeType": "ExpressionStatement", - "src": "4441:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes21", - "nameLocation": "4394:10:10", - "parameters": { - "id": 16024, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16023, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4413:2:10", - "nodeType": "VariableDeclaration", - "scope": 16035, - "src": "4405:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - }, - "typeName": { - "id": 16022, - "name": "bytes21", - "nodeType": "ElementaryTypeName", - "src": "4405:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - }, - "visibility": "internal" - } - ], - "src": "4404:12:10" - }, - "returnParameters": { - "id": 16025, - "nodeType": "ParameterList", - "parameters": [], - "src": "4431:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16049, - "nodeType": "FunctionDefinition", - "src": "4514:123:10", - "body": { - "id": 16048, - "nodeType": "Block", - "src": "4560:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323229", - "id": 16043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4610:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - "value": "log(bytes22)" - }, - { - "id": 16044, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16037, - "src": "4626:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - ], - "expression": { - "id": 16041, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4586:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4590:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4586:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4586:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16040, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "4570:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4570:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16047, - "nodeType": "ExpressionStatement", - "src": "4570:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes22", - "nameLocation": "4523:10:10", - "parameters": { - "id": 16038, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16037, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4542:2:10", - "nodeType": "VariableDeclaration", - "scope": 16049, - "src": "4534:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - }, - "typeName": { - "id": 16036, - "name": "bytes22", - "nodeType": "ElementaryTypeName", - "src": "4534:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - }, - "visibility": "internal" - } - ], - "src": "4533:12:10" - }, - "returnParameters": { - "id": 16039, - "nodeType": "ParameterList", - "parameters": [], - "src": "4560:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16063, - "nodeType": "FunctionDefinition", - "src": "4643:123:10", - "body": { - "id": 16062, - "nodeType": "Block", - "src": "4689:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323329", - "id": 16057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4739:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - "value": "log(bytes23)" - }, - { - "id": 16058, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16051, - "src": "4755:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - ], - "expression": { - "id": 16055, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4715:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16056, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4719:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4715:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4715:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16054, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "4699:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4699:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16061, - "nodeType": "ExpressionStatement", - "src": "4699:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes23", - "nameLocation": "4652:10:10", - "parameters": { - "id": 16052, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16051, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4671:2:10", - "nodeType": "VariableDeclaration", - "scope": 16063, - "src": "4663:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - }, - "typeName": { - "id": 16050, - "name": "bytes23", - "nodeType": "ElementaryTypeName", - "src": "4663:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - }, - "visibility": "internal" - } - ], - "src": "4662:12:10" - }, - "returnParameters": { - "id": 16053, - "nodeType": "ParameterList", - "parameters": [], - "src": "4689:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16077, - "nodeType": "FunctionDefinition", - "src": "4772:123:10", - "body": { - "id": 16076, - "nodeType": "Block", - "src": "4818:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323429", - "id": 16071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4868:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - "value": "log(bytes24)" - }, - { - "id": 16072, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16065, - "src": "4884:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - ], - "expression": { - "id": 16069, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4844:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16070, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4848:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4844:23:10", - "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": "4844:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16068, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "4828:15:10", - "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": "4828:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16075, - "nodeType": "ExpressionStatement", - "src": "4828:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes24", - "nameLocation": "4781:10:10", - "parameters": { - "id": 16066, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16065, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4800:2:10", - "nodeType": "VariableDeclaration", - "scope": 16077, - "src": "4792:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - }, - "typeName": { - "id": 16064, - "name": "bytes24", - "nodeType": "ElementaryTypeName", - "src": "4792:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - }, - "visibility": "internal" - } - ], - "src": "4791:12:10" - }, - "returnParameters": { - "id": 16067, - "nodeType": "ParameterList", - "parameters": [], - "src": "4818:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16091, - "nodeType": "FunctionDefinition", - "src": "4901:123:10", - "body": { - "id": 16090, - "nodeType": "Block", - "src": "4947:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323529", - "id": 16085, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4997:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - "value": "log(bytes25)" - }, - { - "id": 16086, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16079, - "src": "5013:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - ], - "expression": { - "id": 16083, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4973:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16084, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4977:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4973:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16087, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4973:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16082, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "4957:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16088, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4957:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16089, - "nodeType": "ExpressionStatement", - "src": "4957:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes25", - "nameLocation": "4910:10:10", - "parameters": { - "id": 16080, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16079, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4929:2:10", - "nodeType": "VariableDeclaration", - "scope": 16091, - "src": "4921:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - }, - "typeName": { - "id": 16078, - "name": "bytes25", - "nodeType": "ElementaryTypeName", - "src": "4921:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - }, - "visibility": "internal" - } - ], - "src": "4920:12:10" - }, - "returnParameters": { - "id": 16081, - "nodeType": "ParameterList", - "parameters": [], - "src": "4947:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16105, - "nodeType": "FunctionDefinition", - "src": "5030:123:10", - "body": { - "id": 16104, - "nodeType": "Block", - "src": "5076:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323629", - "id": 16099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5126:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - "value": "log(bytes26)" - }, - { - "id": 16100, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16093, - "src": "5142:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - ], - "expression": { - "id": 16097, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5102:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16098, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5106:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5102:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5102:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16096, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "5086:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5086:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16103, - "nodeType": "ExpressionStatement", - "src": "5086:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes26", - "nameLocation": "5039:10:10", - "parameters": { - "id": 16094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16093, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5058:2:10", - "nodeType": "VariableDeclaration", - "scope": 16105, - "src": "5050:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - }, - "typeName": { - "id": 16092, - "name": "bytes26", - "nodeType": "ElementaryTypeName", - "src": "5050:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - }, - "visibility": "internal" - } - ], - "src": "5049:12:10" - }, - "returnParameters": { - "id": 16095, - "nodeType": "ParameterList", - "parameters": [], - "src": "5076:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16119, - "nodeType": "FunctionDefinition", - "src": "5159:123:10", - "body": { - "id": 16118, - "nodeType": "Block", - "src": "5205:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323729", - "id": 16113, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5255:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - "value": "log(bytes27)" - }, - { - "id": 16114, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16107, - "src": "5271:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - ], - "expression": { - "id": 16111, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5231:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5235:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5231:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5231:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16110, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "5215:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5215:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16117, - "nodeType": "ExpressionStatement", - "src": "5215:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes27", - "nameLocation": "5168:10:10", - "parameters": { - "id": 16108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16107, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5187:2:10", - "nodeType": "VariableDeclaration", - "scope": 16119, - "src": "5179:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - }, - "typeName": { - "id": 16106, - "name": "bytes27", - "nodeType": "ElementaryTypeName", - "src": "5179:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - }, - "visibility": "internal" - } - ], - "src": "5178:12:10" - }, - "returnParameters": { - "id": 16109, - "nodeType": "ParameterList", - "parameters": [], - "src": "5205:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16133, - "nodeType": "FunctionDefinition", - "src": "5288:123:10", - "body": { - "id": 16132, - "nodeType": "Block", - "src": "5334:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323829", - "id": 16127, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5384:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - "value": "log(bytes28)" - }, - { - "id": 16128, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16121, - "src": "5400:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - ], - "expression": { - "id": 16125, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5360:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5364:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5360:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5360:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16124, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "5344:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5344:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16131, - "nodeType": "ExpressionStatement", - "src": "5344:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes28", - "nameLocation": "5297:10:10", - "parameters": { - "id": 16122, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16121, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5316:2:10", - "nodeType": "VariableDeclaration", - "scope": 16133, - "src": "5308:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - }, - "typeName": { - "id": 16120, - "name": "bytes28", - "nodeType": "ElementaryTypeName", - "src": "5308:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - }, - "visibility": "internal" - } - ], - "src": "5307:12:10" - }, - "returnParameters": { - "id": 16123, - "nodeType": "ParameterList", - "parameters": [], - "src": "5334:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16147, - "nodeType": "FunctionDefinition", - "src": "5417:123:10", - "body": { - "id": 16146, - "nodeType": "Block", - "src": "5463:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323929", - "id": 16141, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5513:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - "value": "log(bytes29)" - }, - { - "id": 16142, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16135, - "src": "5529:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - ], - "expression": { - "id": 16139, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5489:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16140, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5493:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5489:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5489:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16138, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "5473:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5473:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16145, - "nodeType": "ExpressionStatement", - "src": "5473:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes29", - "nameLocation": "5426:10:10", - "parameters": { - "id": 16136, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16135, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5445:2:10", - "nodeType": "VariableDeclaration", - "scope": 16147, - "src": "5437:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - }, - "typeName": { - "id": 16134, - "name": "bytes29", - "nodeType": "ElementaryTypeName", - "src": "5437:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - }, - "visibility": "internal" - } - ], - "src": "5436:12:10" - }, - "returnParameters": { - "id": 16137, - "nodeType": "ParameterList", - "parameters": [], - "src": "5463:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16161, - "nodeType": "FunctionDefinition", - "src": "5546:123:10", - "body": { - "id": 16160, - "nodeType": "Block", - "src": "5592:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333029", - "id": 16155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5642:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - "value": "log(bytes30)" - }, - { - "id": 16156, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16149, - "src": "5658:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - ], - "expression": { - "id": 16153, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5618:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16154, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5622:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5618:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5618:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16152, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "5602:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5602:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16159, - "nodeType": "ExpressionStatement", - "src": "5602:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes30", - "nameLocation": "5555:10:10", - "parameters": { - "id": 16150, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16149, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5574:2:10", - "nodeType": "VariableDeclaration", - "scope": 16161, - "src": "5566:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - }, - "typeName": { - "id": 16148, - "name": "bytes30", - "nodeType": "ElementaryTypeName", - "src": "5566:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - }, - "visibility": "internal" - } - ], - "src": "5565:12:10" - }, - "returnParameters": { - "id": 16151, - "nodeType": "ParameterList", - "parameters": [], - "src": "5592:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16175, - "nodeType": "FunctionDefinition", - "src": "5675:123:10", - "body": { - "id": 16174, - "nodeType": "Block", - "src": "5721:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333129", - "id": 16169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5771:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - "value": "log(bytes31)" - }, - { - "id": 16170, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16163, - "src": "5787:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - ], - "expression": { - "id": 16167, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5747:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5751:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5747:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5747:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16166, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "5731:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5731:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16173, - "nodeType": "ExpressionStatement", - "src": "5731:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes31", - "nameLocation": "5684:10:10", - "parameters": { - "id": 16164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16163, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5703:2:10", - "nodeType": "VariableDeclaration", - "scope": 16175, - "src": "5695:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - }, - "typeName": { - "id": 16162, - "name": "bytes31", - "nodeType": "ElementaryTypeName", - "src": "5695:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - }, - "visibility": "internal" - } - ], - "src": "5694:12:10" - }, - "returnParameters": { - "id": 16165, - "nodeType": "ParameterList", - "parameters": [], - "src": "5721:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16189, - "nodeType": "FunctionDefinition", - "src": "5804:123:10", - "body": { - "id": 16188, - "nodeType": "Block", - "src": "5850:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333229", - "id": 16183, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5900:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - "value": "log(bytes32)" - }, - { - "id": 16184, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16177, - "src": "5916:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 16181, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5876:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16182, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5880:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5876:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5876:43:10", - "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": 15646, - "src": "5860:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5860:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16187, - "nodeType": "ExpressionStatement", - "src": "5860:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes32", - "nameLocation": "5813:10:10", - "parameters": { - "id": 16178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16177, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5832:2:10", - "nodeType": "VariableDeclaration", - "scope": 16189, - "src": "5824:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 16176, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "5824:7:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "5823:12:10" - }, - "returnParameters": { - "id": 16179, - "nodeType": "ParameterList", - "parameters": [], - "src": "5850:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16203, - "nodeType": "FunctionDefinition", - "src": "5933:116:10", - "body": { - "id": 16202, - "nodeType": "Block", - "src": "5972:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7432353629", - "id": 16197, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6022:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - "value": "log(uint256)" - }, - { - "id": 16198, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16191, - "src": "6038:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 16195, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5998:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16196, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6002:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5998:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5998:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16194, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "5982:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5982:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16201, - "nodeType": "ExpressionStatement", - "src": "5982:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5942:3:10", - "parameters": { - "id": 16192, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16191, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5954:2:10", - "nodeType": "VariableDeclaration", - "scope": 16203, - "src": "5946:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16190, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5946:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5945:12:10" - }, - "returnParameters": { - "id": 16193, - "nodeType": "ParameterList", - "parameters": [], - "src": "5972:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16217, - "nodeType": "FunctionDefinition", - "src": "6055:121:10", - "body": { - "id": 16216, - "nodeType": "Block", - "src": "6100:76:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 16211, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6150:13:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 16212, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16205, - "src": "6165:2:10", - "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": 16209, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6126:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16210, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6130:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6126:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6126:42:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16208, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "6110:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6110:59:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16215, - "nodeType": "ExpressionStatement", - "src": "6110:59:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6064:3:10", - "parameters": { - "id": 16206, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16205, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6082:2:10", - "nodeType": "VariableDeclaration", - "scope": 16217, - "src": "6068:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16204, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6068:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6067:18:10" - }, - "returnParameters": { - "id": 16207, - "nodeType": "ParameterList", - "parameters": [], - "src": "6100:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16231, - "nodeType": "FunctionDefinition", - "src": "6182:110:10", - "body": { - "id": 16230, - "nodeType": "Block", - "src": "6218:74:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 16225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6268:11:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 16226, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16219, - "src": "6281:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 16223, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6244:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6248:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6244:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6244:40:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16222, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "6228:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6228:57:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16229, - "nodeType": "ExpressionStatement", - "src": "6228:57:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6191:3:10", - "parameters": { - "id": 16220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16219, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6200:2:10", - "nodeType": "VariableDeclaration", - "scope": 16231, - "src": "6195:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16218, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6195:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6194:9:10" - }, - "returnParameters": { - "id": 16221, - "nodeType": "ParameterList", - "parameters": [], - "src": "6218:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16245, - "nodeType": "FunctionDefinition", - "src": "6298:116:10", - "body": { - "id": 16244, - "nodeType": "Block", - "src": "6337:77:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 16239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6387:14:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 16240, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16233, - "src": "6403:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 16237, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6363:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6367:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6363:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16241, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6363:43:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16236, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "6347:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6347:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16243, - "nodeType": "ExpressionStatement", - "src": "6347:60:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6307:3:10", - "parameters": { - "id": 16234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16233, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6319:2:10", - "nodeType": "VariableDeclaration", - "scope": 16245, - "src": "6311:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16232, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6311:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6310:12:10" - }, - "returnParameters": { - "id": 16235, - "nodeType": "ParameterList", - "parameters": [], - "src": "6337:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16262, - "nodeType": "FunctionDefinition", - "src": "6420:140:10", - "body": { - "id": 16261, - "nodeType": "Block", - "src": "6471:89:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e7432353629", - "id": 16255, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6521:22:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f666715aa6b8e8ce32bd39173f51eea0643fdd246a826c4756c2f168022b6eb5", - "typeString": "literal_string \"log(uint256,uint256)\"" - }, - "value": "log(uint256,uint256)" - }, - { - "id": 16256, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16247, - "src": "6545:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16257, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16249, - "src": "6549:2:10", - "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": 16253, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6497:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16254, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6501:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6497:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6497:55:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16252, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "6481:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16259, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6481:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16260, - "nodeType": "ExpressionStatement", - "src": "6481:72:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6429:3:10", - "parameters": { - "id": 16250, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16247, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6441:2:10", - "nodeType": "VariableDeclaration", - "scope": 16262, - "src": "6433:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16246, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6433:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16249, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6453:2:10", - "nodeType": "VariableDeclaration", - "scope": 16262, - "src": "6445:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16248, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6445:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6432:24:10" - }, - "returnParameters": { - "id": 16251, - "nodeType": "ParameterList", - "parameters": [], - "src": "6471:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16279, - "nodeType": "FunctionDefinition", - "src": "6566:145:10", - "body": { - "id": 16278, - "nodeType": "Block", - "src": "6623:88:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e6729", - "id": 16272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6673:21:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_643fd0df4c7dfb004c6169012c8aec390bd7246941d7fe467022f10f2da987c3", - "typeString": "literal_string \"log(uint256,string)\"" - }, - "value": "log(uint256,string)" - }, - { - "id": 16273, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16264, - "src": "6696:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16274, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16266, - "src": "6700:2:10", - "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": 16270, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6649:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16271, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6653:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6649:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6649:54:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16269, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "6633:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6633:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16277, - "nodeType": "ExpressionStatement", - "src": "6633:71:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6575:3:10", - "parameters": { - "id": 16267, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16264, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6587:2:10", - "nodeType": "VariableDeclaration", - "scope": 16279, - "src": "6579:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16263, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6579:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16266, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6605:2:10", - "nodeType": "VariableDeclaration", - "scope": 16279, - "src": "6591:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16265, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6591:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6578:30:10" - }, - "returnParameters": { - "id": 16268, - "nodeType": "ParameterList", - "parameters": [], - "src": "6623:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16296, - "nodeType": "FunctionDefinition", - "src": "6717:134:10", - "body": { - "id": 16295, - "nodeType": "Block", - "src": "6765:86:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c29", - "id": 16289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6815:19:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c9d7eb3a75db315653a5c0996fcea52a2b2692643ce8ace4d8b12bb9da6c1f2", - "typeString": "literal_string \"log(uint256,bool)\"" - }, - "value": "log(uint256,bool)" - }, - { - "id": 16290, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16281, - "src": "6836:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16291, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16283, - "src": "6840:2:10", - "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": 16287, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6791:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6795:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6791:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16292, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6791:52:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16286, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "6775:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6775:69:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16294, - "nodeType": "ExpressionStatement", - "src": "6775:69:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6726:3:10", - "parameters": { - "id": 16284, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16281, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6738:2:10", - "nodeType": "VariableDeclaration", - "scope": 16296, - "src": "6730:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16280, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6730:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16283, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6747:2:10", - "nodeType": "VariableDeclaration", - "scope": 16296, - "src": "6742:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16282, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6742:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6729:21:10" - }, - "returnParameters": { - "id": 16285, - "nodeType": "ParameterList", - "parameters": [], - "src": "6765:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16313, - "nodeType": "FunctionDefinition", - "src": "6857:140:10", - "body": { - "id": 16312, - "nodeType": "Block", - "src": "6908:89:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c6164647265737329", - "id": 16306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6958:22:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_69276c86d20522c49707664308d424b84905ef92219f3146bcaacedc72eaed27", - "typeString": "literal_string \"log(uint256,address)\"" - }, - "value": "log(uint256,address)" - }, - { - "id": 16307, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16298, - "src": "6982:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16308, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16300, - "src": "6986:2:10", - "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": 16304, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6934:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6938:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6934:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6934:55:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16303, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "6918:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6918:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16311, - "nodeType": "ExpressionStatement", - "src": "6918:72:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6866:3:10", - "parameters": { - "id": 16301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16298, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6878:2:10", - "nodeType": "VariableDeclaration", - "scope": 16313, - "src": "6870:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16297, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6870:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16300, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6890:2:10", - "nodeType": "VariableDeclaration", - "scope": 16313, - "src": "6882:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16299, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6882:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6869:24:10" - }, - "returnParameters": { - "id": 16302, - "nodeType": "ParameterList", - "parameters": [], - "src": "6908:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16330, - "nodeType": "FunctionDefinition", - "src": "7003:145:10", - "body": { - "id": 16329, - "nodeType": "Block", - "src": "7060:88:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e7432353629", - "id": 16323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7110:21:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b60e72ccf6d57ab53eb84d7e94a9545806ed7f93c4d5673f11a64f03471e584e", - "typeString": "literal_string \"log(string,uint256)\"" - }, - "value": "log(string,uint256)" - }, - { - "id": 16324, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16315, - "src": "7133:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16325, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16317, - "src": "7137:2:10", - "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": 16321, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7086:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16322, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7090:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7086:23:10", - "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": "7086:54:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16320, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "7070:15:10", - "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": "7070:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16328, - "nodeType": "ExpressionStatement", - "src": "7070:71:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7012:3:10", - "parameters": { - "id": 16318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16315, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7030:2:10", - "nodeType": "VariableDeclaration", - "scope": 16330, - "src": "7016:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16314, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7016:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16317, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7042:2:10", - "nodeType": "VariableDeclaration", - "scope": 16330, - "src": "7034:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16316, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7034:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7015:30:10" - }, - "returnParameters": { - "id": 16319, - "nodeType": "ParameterList", - "parameters": [], - "src": "7060:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16347, - "nodeType": "FunctionDefinition", - "src": "7154:150:10", - "body": { - "id": 16346, - "nodeType": "Block", - "src": "7217:87:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e6729", - "id": 16340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7267:20:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b5c4277d556d03fbf5ee534fba41dc13982b44f2fa82f1d48fdd8b5b5b692ac", - "typeString": "literal_string \"log(string,string)\"" - }, - "value": "log(string,string)" - }, - { - "id": 16341, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16332, - "src": "7289:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16342, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16334, - "src": "7293:2:10", - "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": 16338, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7243:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7247:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7243:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16343, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7243:53:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16337, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "7227:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7227:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16345, - "nodeType": "ExpressionStatement", - "src": "7227:70:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7163:3:10", - "parameters": { - "id": 16335, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16332, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7181:2:10", - "nodeType": "VariableDeclaration", - "scope": 16347, - "src": "7167:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16331, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7167:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16334, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7199:2:10", - "nodeType": "VariableDeclaration", - "scope": 16347, - "src": "7185:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16333, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7185:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7166:36:10" - }, - "returnParameters": { - "id": 16336, - "nodeType": "ParameterList", - "parameters": [], - "src": "7217:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16364, - "nodeType": "FunctionDefinition", - "src": "7310:139:10", - "body": { - "id": 16363, - "nodeType": "Block", - "src": "7364:85:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c29", - "id": 16357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7414:18:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3b556354c088fbb43886eb83c2a04bc7089663f964d22be308197a236f5b870", - "typeString": "literal_string \"log(string,bool)\"" - }, - "value": "log(string,bool)" - }, - { - "id": 16358, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16349, - "src": "7434:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16359, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16351, - "src": "7438:2:10", - "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": 16355, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7390:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7394:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7390:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7390:51:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16354, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "7374:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7374:68:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16362, - "nodeType": "ExpressionStatement", - "src": "7374:68:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7319:3:10", - "parameters": { - "id": 16352, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16349, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7337:2:10", - "nodeType": "VariableDeclaration", - "scope": 16364, - "src": "7323:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16348, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7323:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16351, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7346:2:10", - "nodeType": "VariableDeclaration", - "scope": 16364, - "src": "7341:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16350, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7341:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7322:27:10" - }, - "returnParameters": { - "id": 16353, - "nodeType": "ParameterList", - "parameters": [], - "src": "7364:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16381, - "nodeType": "FunctionDefinition", - "src": "7455:145:10", - "body": { - "id": 16380, - "nodeType": "Block", - "src": "7512:88:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c6164647265737329", - "id": 16374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7562:21:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_319af333460570a1937bf195dd33445c0d0951c59127da6f1f038b9fdce3fd72", - "typeString": "literal_string \"log(string,address)\"" - }, - "value": "log(string,address)" - }, - { - "id": 16375, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16366, - "src": "7585:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16376, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16368, - "src": "7589:2:10", - "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": 16372, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7538:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16373, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7542:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7538:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7538:54:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16371, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "7522:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7522:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16379, - "nodeType": "ExpressionStatement", - "src": "7522:71:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7464:3:10", - "parameters": { - "id": 16369, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16366, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7482:2:10", - "nodeType": "VariableDeclaration", - "scope": 16381, - "src": "7468:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16365, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7468:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16368, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7494:2:10", - "nodeType": "VariableDeclaration", - "scope": 16381, - "src": "7486:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16367, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7486:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7467:30:10" - }, - "returnParameters": { - "id": 16370, - "nodeType": "ParameterList", - "parameters": [], - "src": "7512:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16398, - "nodeType": "FunctionDefinition", - "src": "7606:134:10", - "body": { - "id": 16397, - "nodeType": "Block", - "src": "7654:86:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e7432353629", - "id": 16391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7704:19:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_399174d3d0c43cb9677bce4fa1b5541fc60a002cbf23e154f1abcbb5f02cf2d7", - "typeString": "literal_string \"log(bool,uint256)\"" - }, - "value": "log(bool,uint256)" - }, - { - "id": 16392, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16383, - "src": "7725:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16393, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16385, - "src": "7729:2:10", - "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": 16389, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7680:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7684:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7680:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7680:52:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16388, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "7664:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7664:69:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16396, - "nodeType": "ExpressionStatement", - "src": "7664:69:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7615:3:10", - "parameters": { - "id": 16386, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16383, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7624:2:10", - "nodeType": "VariableDeclaration", - "scope": 16398, - "src": "7619:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16382, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7619:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16385, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7636:2:10", - "nodeType": "VariableDeclaration", - "scope": 16398, - "src": "7628:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16384, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7628:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7618:21:10" - }, - "returnParameters": { - "id": 16387, - "nodeType": "ParameterList", - "parameters": [], - "src": "7654:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16415, - "nodeType": "FunctionDefinition", - "src": "7746:139:10", - "body": { - "id": 16414, - "nodeType": "Block", - "src": "7800:85:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e6729", - "id": 16408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7850:18:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8feac5256a5b88d7ca0173065b796567ecbc9d75ec022fa0f044eb427f962b84", - "typeString": "literal_string \"log(bool,string)\"" - }, - "value": "log(bool,string)" - }, - { - "id": 16409, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16400, - "src": "7870:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16410, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16402, - "src": "7874:2:10", - "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": 16406, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7826:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7830:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7826:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7826:51:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16405, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "7810:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16412, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7810:68:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16413, - "nodeType": "ExpressionStatement", - "src": "7810:68:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7755:3:10", - "parameters": { - "id": 16403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16400, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7764:2:10", - "nodeType": "VariableDeclaration", - "scope": 16415, - "src": "7759:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16399, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7759:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16402, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7782:2:10", - "nodeType": "VariableDeclaration", - "scope": 16415, - "src": "7768:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16401, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7768:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7758:27:10" - }, - "returnParameters": { - "id": 16404, - "nodeType": "ParameterList", - "parameters": [], - "src": "7800:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16432, - "nodeType": "FunctionDefinition", - "src": "7891:128:10", - "body": { - "id": 16431, - "nodeType": "Block", - "src": "7936:83:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c29", - "id": 16425, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7986:16:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a110e83227fbe26ff7524076f2091da3e9aa01d70b93677da53b41d22f4fb15", - "typeString": "literal_string \"log(bool,bool)\"" - }, - "value": "log(bool,bool)" - }, - { - "id": 16426, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16417, - "src": "8004:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16427, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16419, - "src": "8008:2:10", - "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": 16423, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7962:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7966:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7962:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7962:49:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16422, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "7946:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7946:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16430, - "nodeType": "ExpressionStatement", - "src": "7946:66:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7900:3:10", - "parameters": { - "id": 16420, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16417, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7909:2:10", - "nodeType": "VariableDeclaration", - "scope": 16432, - "src": "7904:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16416, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7904:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16419, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7918:2:10", - "nodeType": "VariableDeclaration", - "scope": 16432, - "src": "7913:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16418, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7913:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7903:18:10" - }, - "returnParameters": { - "id": 16421, - "nodeType": "ParameterList", - "parameters": [], - "src": "7936:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16449, - "nodeType": "FunctionDefinition", - "src": "8025:134:10", - "body": { - "id": 16448, - "nodeType": "Block", - "src": "8073:86:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c6164647265737329", - "id": 16442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8123:19:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_853c4849443241e2249adafa4f69c8bb738b0f17c7a0a9d9997450cd71db4d55", - "typeString": "literal_string \"log(bool,address)\"" - }, - "value": "log(bool,address)" - }, - { - "id": 16443, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16434, - "src": "8144:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16444, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16436, - "src": "8148:2:10", - "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": 16440, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8099:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16441, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8103:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8099:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8099:52:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16439, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "8083:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16446, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8083:69:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16447, - "nodeType": "ExpressionStatement", - "src": "8083:69:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8034:3:10", - "parameters": { - "id": 16437, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16434, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8043:2:10", - "nodeType": "VariableDeclaration", - "scope": 16449, - "src": "8038:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16433, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8038:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16436, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8055:2:10", - "nodeType": "VariableDeclaration", - "scope": 16449, - "src": "8047:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16435, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8047:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8037:21:10" - }, - "returnParameters": { - "id": 16438, - "nodeType": "ParameterList", - "parameters": [], - "src": "8073:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16466, - "nodeType": "FunctionDefinition", - "src": "8165:140:10", - "body": { - "id": 16465, - "nodeType": "Block", - "src": "8216:89:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e7432353629", - "id": 16459, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8266:22:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8309e8a8b132619bdb25dffa9d595ba1ecb7835540fd62622dad33018c4a0d3e", - "typeString": "literal_string \"log(address,uint256)\"" - }, - "value": "log(address,uint256)" - }, - { - "id": 16460, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16451, - "src": "8290:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16461, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16453, - "src": "8294:2:10", - "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": 16457, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8242:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16458, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8246:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8242:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8242:55:10", - "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": 15646, - "src": "8226:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8226:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16464, - "nodeType": "ExpressionStatement", - "src": "8226:72:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8174:3:10", - "parameters": { - "id": 16454, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16451, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8186:2:10", - "nodeType": "VariableDeclaration", - "scope": 16466, - "src": "8178:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16450, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8178:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16453, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8198:2:10", - "nodeType": "VariableDeclaration", - "scope": 16466, - "src": "8190:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16452, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8190:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8177:24:10" - }, - "returnParameters": { - "id": 16455, - "nodeType": "ParameterList", - "parameters": [], - "src": "8216:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16483, - "nodeType": "FunctionDefinition", - "src": "8311:145:10", - "body": { - "id": 16482, - "nodeType": "Block", - "src": "8368:88:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e6729", - "id": 16476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8418:21:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_759f86bbdd0758679ecefbd32ea620068b2339dddd9e45ee0fa567ee6c81f0ab", - "typeString": "literal_string \"log(address,string)\"" - }, - "value": "log(address,string)" - }, - { - "id": 16477, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16468, - "src": "8441:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16478, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16470, - "src": "8445:2:10", - "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": 16474, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8394:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8398:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8394:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8394:54:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16473, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "8378:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16480, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8378:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16481, - "nodeType": "ExpressionStatement", - "src": "8378:71:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8320:3:10", - "parameters": { - "id": 16471, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16468, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8332:2:10", - "nodeType": "VariableDeclaration", - "scope": 16483, - "src": "8324:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16467, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8324:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16470, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8350:2:10", - "nodeType": "VariableDeclaration", - "scope": 16483, - "src": "8336:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16469, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8336:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8323:30:10" - }, - "returnParameters": { - "id": 16472, - "nodeType": "ParameterList", - "parameters": [], - "src": "8368:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16500, - "nodeType": "FunctionDefinition", - "src": "8462:134:10", - "body": { - "id": 16499, - "nodeType": "Block", - "src": "8510:86:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c29", - "id": 16493, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8560:19:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75b605d31a3bf49c8d814696c7c66216d3a7e81348c450078f032e425592f72b", - "typeString": "literal_string \"log(address,bool)\"" - }, - "value": "log(address,bool)" - }, - { - "id": 16494, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16485, - "src": "8581:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16495, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16487, - "src": "8585:2:10", - "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": 16491, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8536:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8540:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8536:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8536:52:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16490, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "8520:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8520:69:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16498, - "nodeType": "ExpressionStatement", - "src": "8520:69:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8471:3:10", - "parameters": { - "id": 16488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16485, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8483:2:10", - "nodeType": "VariableDeclaration", - "scope": 16500, - "src": "8475:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16484, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8475:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16487, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8492:2:10", - "nodeType": "VariableDeclaration", - "scope": 16500, - "src": "8487:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16486, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8487:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8474:21:10" - }, - "returnParameters": { - "id": 16489, - "nodeType": "ParameterList", - "parameters": [], - "src": "8510:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16517, - "nodeType": "FunctionDefinition", - "src": "8602:140:10", - "body": { - "id": 16516, - "nodeType": "Block", - "src": "8653:89:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c6164647265737329", - "id": 16510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8703:22:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_daf0d4aa9a5679e832ac921da67b43572b4326ee2565442d3ed255b48cfb5161", - "typeString": "literal_string \"log(address,address)\"" - }, - "value": "log(address,address)" - }, - { - "id": 16511, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16502, - "src": "8727:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16512, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16504, - "src": "8731:2:10", - "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": 16508, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8679:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8683:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8679:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8679:55:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16507, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "8663:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8663:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16515, - "nodeType": "ExpressionStatement", - "src": "8663:72:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8611:3:10", - "parameters": { - "id": 16505, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16502, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8623:2:10", - "nodeType": "VariableDeclaration", - "scope": 16517, - "src": "8615:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16501, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8615:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16504, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8635:2:10", - "nodeType": "VariableDeclaration", - "scope": 16517, - "src": "8627:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16503, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8627:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8614:24:10" - }, - "returnParameters": { - "id": 16506, - "nodeType": "ParameterList", - "parameters": [], - "src": "8653:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16537, - "nodeType": "FunctionDefinition", - "src": "8748:164:10", - "body": { - "id": 16536, - "nodeType": "Block", - "src": "8811:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e7432353629", - "id": 16529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8861:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d1ed7a3c020c4f5939654147940a147a8e4e638fa1e8f5664b5efbd1e1f3c4a6", - "typeString": "literal_string \"log(uint256,uint256,uint256)\"" - }, - "value": "log(uint256,uint256,uint256)" - }, - { - "id": 16530, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16519, - "src": "8893:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16531, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16521, - "src": "8897:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16532, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16523, - "src": "8901:2:10", - "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": 16527, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8837:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8841:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8837:23:10", - "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": "8837:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16526, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "8821:15:10", - "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": "8821:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16535, - "nodeType": "ExpressionStatement", - "src": "8821:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8757:3:10", - "parameters": { - "id": 16524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16519, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8769:2:10", - "nodeType": "VariableDeclaration", - "scope": 16537, - "src": "8761:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16518, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8761:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16521, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8781:2:10", - "nodeType": "VariableDeclaration", - "scope": 16537, - "src": "8773:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16520, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8773:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16523, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8793:2:10", - "nodeType": "VariableDeclaration", - "scope": 16537, - "src": "8785:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16522, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8785:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8760:36:10" - }, - "returnParameters": { - "id": 16525, - "nodeType": "ParameterList", - "parameters": [], - "src": "8811:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16557, - "nodeType": "FunctionDefinition", - "src": "8918:169:10", - "body": { - "id": 16556, - "nodeType": "Block", - "src": "8987:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e6729", - "id": 16549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9037:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_71d04af2c0d71f035017c73ec9440d8cef06157a84f0febe8ec74eca98138262", - "typeString": "literal_string \"log(uint256,uint256,string)\"" - }, - "value": "log(uint256,uint256,string)" - }, - { - "id": 16550, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16539, - "src": "9068:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16551, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16541, - "src": "9072:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16552, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16543, - "src": "9076:2:10", - "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": 16547, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9013:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9017:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9013:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9013:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16546, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "8997:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8997:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16555, - "nodeType": "ExpressionStatement", - "src": "8997:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8927:3:10", - "parameters": { - "id": 16544, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16539, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8939:2:10", - "nodeType": "VariableDeclaration", - "scope": 16557, - "src": "8931:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16538, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8931:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16541, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8951:2:10", - "nodeType": "VariableDeclaration", - "scope": 16557, - "src": "8943:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16540, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8943:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16543, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8969:2:10", - "nodeType": "VariableDeclaration", - "scope": 16557, - "src": "8955:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16542, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8955:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8930:42:10" - }, - "returnParameters": { - "id": 16545, - "nodeType": "ParameterList", - "parameters": [], - "src": "8987:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16577, - "nodeType": "FunctionDefinition", - "src": "9093:158:10", - "body": { - "id": 16576, - "nodeType": "Block", - "src": "9153:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c29", - "id": 16569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9203:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4766da72b632663e3b9911d02d6f30e0cf213f928bdb9f6fd840851875d9fce0", - "typeString": "literal_string \"log(uint256,uint256,bool)\"" - }, - "value": "log(uint256,uint256,bool)" - }, - { - "id": 16570, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16559, - "src": "9232:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16571, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16561, - "src": "9236:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16572, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16563, - "src": "9240:2:10", - "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": 16567, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9179:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9183:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9179:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9179:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16566, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "9163:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9163:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16575, - "nodeType": "ExpressionStatement", - "src": "9163:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9102:3:10", - "parameters": { - "id": 16564, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16559, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9114:2:10", - "nodeType": "VariableDeclaration", - "scope": 16577, - "src": "9106:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16558, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9106:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16561, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9126:2:10", - "nodeType": "VariableDeclaration", - "scope": 16577, - "src": "9118:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16560, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9118:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16563, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9135:2:10", - "nodeType": "VariableDeclaration", - "scope": 16577, - "src": "9130:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16562, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9130:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9105:33:10" - }, - "returnParameters": { - "id": 16565, - "nodeType": "ParameterList", - "parameters": [], - "src": "9153:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16597, - "nodeType": "FunctionDefinition", - "src": "9257:164:10", - "body": { - "id": 16596, - "nodeType": "Block", - "src": "9320:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c6164647265737329", - "id": 16589, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9370:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5c96b331e359852d9a7254105926ce8dfcc42dd4fce56a736cfb981b4c2984c1", - "typeString": "literal_string \"log(uint256,uint256,address)\"" - }, - "value": "log(uint256,uint256,address)" - }, - { - "id": 16590, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16579, - "src": "9402:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16591, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16581, - "src": "9406:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16592, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16583, - "src": "9410:2:10", - "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": 16587, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9346:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9350:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9346:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9346:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16586, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "9330:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9330:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16595, - "nodeType": "ExpressionStatement", - "src": "9330:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9266:3:10", - "parameters": { - "id": 16584, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16579, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9278:2:10", - "nodeType": "VariableDeclaration", - "scope": 16597, - "src": "9270:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16578, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9270:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16581, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9290:2:10", - "nodeType": "VariableDeclaration", - "scope": 16597, - "src": "9282:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9282:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16583, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9302:2:10", - "nodeType": "VariableDeclaration", - "scope": 16597, - "src": "9294:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16582, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9294:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "9269:36:10" - }, - "returnParameters": { - "id": 16585, - "nodeType": "ParameterList", - "parameters": [], - "src": "9320:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16617, - "nodeType": "FunctionDefinition", - "src": "9427:169:10", - "body": { - "id": 16616, - "nodeType": "Block", - "src": "9496:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e7432353629", - "id": 16609, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9546:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_37aa7d4c835edd965b1201d9c03f13272bd937d8e244ab84a153693e2f2f30c0", - "typeString": "literal_string \"log(uint256,string,uint256)\"" - }, - "value": "log(uint256,string,uint256)" - }, - { - "id": 16610, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16599, - "src": "9577:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16611, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16601, - "src": "9581:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16612, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16603, - "src": "9585:2:10", - "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": 16607, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9522:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9526:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9522:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9522:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16606, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "9506:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9506:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16615, - "nodeType": "ExpressionStatement", - "src": "9506:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9436:3:10", - "parameters": { - "id": 16604, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16599, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9448:2:10", - "nodeType": "VariableDeclaration", - "scope": 16617, - "src": "9440:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16598, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9440:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16601, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9466:2:10", - "nodeType": "VariableDeclaration", - "scope": 16617, - "src": "9452:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16600, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9452:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16603, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9478:2:10", - "nodeType": "VariableDeclaration", - "scope": 16617, - "src": "9470:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16602, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9470:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9439:42:10" - }, - "returnParameters": { - "id": 16605, - "nodeType": "ParameterList", - "parameters": [], - "src": "9496:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16637, - "nodeType": "FunctionDefinition", - "src": "9602:174:10", - "body": { - "id": 16636, - "nodeType": "Block", - "src": "9677:99:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e6729", - "id": 16629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9727:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b115611f13262589f336fb650c9278bd1879123a635e6a638f94e6cbdb1c1b35", - "typeString": "literal_string \"log(uint256,string,string)\"" - }, - "value": "log(uint256,string,string)" - }, - { - "id": 16630, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16619, - "src": "9757:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16631, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16621, - "src": "9761:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16632, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16623, - "src": "9765:2:10", - "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": 16627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9703:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9707:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9703:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9703:65:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16626, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "9687:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9687:82:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16635, - "nodeType": "ExpressionStatement", - "src": "9687:82:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9611:3:10", - "parameters": { - "id": 16624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16619, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9623:2:10", - "nodeType": "VariableDeclaration", - "scope": 16637, - "src": "9615:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16618, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9615:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16621, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9641:2:10", - "nodeType": "VariableDeclaration", - "scope": 16637, - "src": "9627:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16620, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9627:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16623, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9659:2:10", - "nodeType": "VariableDeclaration", - "scope": 16637, - "src": "9645:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16622, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9645:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9614:48:10" - }, - "returnParameters": { - "id": 16625, - "nodeType": "ParameterList", - "parameters": [], - "src": "9677:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16657, - "nodeType": "FunctionDefinition", - "src": "9782:163:10", - "body": { - "id": 16656, - "nodeType": "Block", - "src": "9848:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c29", - "id": 16649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9898:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ceda75ad13e534e8b5089564c6a40ae80cd33aac3e77ef1f87a233c1d43067a", - "typeString": "literal_string \"log(uint256,string,bool)\"" - }, - "value": "log(uint256,string,bool)" - }, - { - "id": 16650, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16639, - "src": "9926:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16651, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16641, - "src": "9930:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16652, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16643, - "src": "9934:2:10", - "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": 16647, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9874:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9878:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9874:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9874:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16646, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "9858:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9858:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16655, - "nodeType": "ExpressionStatement", - "src": "9858:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9791:3:10", - "parameters": { - "id": 16644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16639, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9803:2:10", - "nodeType": "VariableDeclaration", - "scope": 16657, - "src": "9795:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16638, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9795:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16641, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9821:2:10", - "nodeType": "VariableDeclaration", - "scope": 16657, - "src": "9807:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16640, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9807:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16643, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9830:2:10", - "nodeType": "VariableDeclaration", - "scope": 16657, - "src": "9825:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16642, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9825:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9794:39:10" - }, - "returnParameters": { - "id": 16645, - "nodeType": "ParameterList", - "parameters": [], - "src": "9848:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16677, - "nodeType": "FunctionDefinition", - "src": "9951:169:10", - "body": { - "id": 16676, - "nodeType": "Block", - "src": "10020:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c6164647265737329", - "id": 16669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10070:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7afac959002f7dcdccdf461a7e6db7810eebd7217c0b7c30905b3c7e89b561f2", - "typeString": "literal_string \"log(uint256,string,address)\"" - }, - "value": "log(uint256,string,address)" - }, - { - "id": 16670, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16659, - "src": "10101:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16671, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16661, - "src": "10105:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16672, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16663, - "src": "10109:2:10", - "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": 16667, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10046:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10050:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10046:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10046:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16666, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "10030:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10030:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16675, - "nodeType": "ExpressionStatement", - "src": "10030:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9960:3:10", - "parameters": { - "id": 16664, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16659, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9972:2:10", - "nodeType": "VariableDeclaration", - "scope": 16677, - "src": "9964:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16658, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9964:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16661, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9990:2:10", - "nodeType": "VariableDeclaration", - "scope": 16677, - "src": "9976:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16660, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9976:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16663, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10002:2:10", - "nodeType": "VariableDeclaration", - "scope": 16677, - "src": "9994:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16662, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9994:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "9963:42:10" - }, - "returnParameters": { - "id": 16665, - "nodeType": "ParameterList", - "parameters": [], - "src": "10020:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16697, - "nodeType": "FunctionDefinition", - "src": "10126:158:10", - "body": { - "id": 16696, - "nodeType": "Block", - "src": "10186:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e7432353629", - "id": 16689, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10236:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_200980147f19b368809aab41084ebebcf1e19d47edd13f2d540a6327cec213d1", - "typeString": "literal_string \"log(uint256,bool,uint256)\"" - }, - "value": "log(uint256,bool,uint256)" - }, - { - "id": 16690, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16679, - "src": "10265:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16691, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16681, - "src": "10269:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16692, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16683, - "src": "10273:2:10", - "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": 16687, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10212:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10216:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10212:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10212:64:10", - "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": 15646, - "src": "10196:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10196:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16695, - "nodeType": "ExpressionStatement", - "src": "10196:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10135:3:10", - "parameters": { - "id": 16684, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16679, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10147:2:10", - "nodeType": "VariableDeclaration", - "scope": 16697, - "src": "10139:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16678, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10139:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16681, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10156:2:10", - "nodeType": "VariableDeclaration", - "scope": 16697, - "src": "10151:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16680, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10151:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16683, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10168:2:10", - "nodeType": "VariableDeclaration", - "scope": 16697, - "src": "10160:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16682, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10160:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10138:33:10" - }, - "returnParameters": { - "id": 16685, - "nodeType": "ParameterList", - "parameters": [], - "src": "10186:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16717, - "nodeType": "FunctionDefinition", - "src": "10290:163:10", - "body": { - "id": 16716, - "nodeType": "Block", - "src": "10356:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e6729", - "id": 16709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10406:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_85775021582c57b14e9e0b33e0f693439478099486817fe4214a503f559f37df", - "typeString": "literal_string \"log(uint256,bool,string)\"" - }, - "value": "log(uint256,bool,string)" - }, - { - "id": 16710, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16699, - "src": "10434:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16711, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16701, - "src": "10438:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16712, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16703, - "src": "10442:2:10", - "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": 16707, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10382:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10386:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10382:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10382:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16706, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "10366:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10366:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16715, - "nodeType": "ExpressionStatement", - "src": "10366:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10299:3:10", - "parameters": { - "id": 16704, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16699, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10311:2:10", - "nodeType": "VariableDeclaration", - "scope": 16717, - "src": "10303:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16698, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10303:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16701, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10320:2:10", - "nodeType": "VariableDeclaration", - "scope": 16717, - "src": "10315:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16700, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10315:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16703, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10338:2:10", - "nodeType": "VariableDeclaration", - "scope": 16717, - "src": "10324:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16702, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10324:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10302:39:10" - }, - "returnParameters": { - "id": 16705, - "nodeType": "ParameterList", - "parameters": [], - "src": "10356:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16737, - "nodeType": "FunctionDefinition", - "src": "10459:152:10", - "body": { - "id": 16736, - "nodeType": "Block", - "src": "10516:95:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c29", - "id": 16729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10566:24:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_207186500d54a80dae0e8fae760b583cb518c2c49967db59c8f7e5596879c0b6", - "typeString": "literal_string \"log(uint256,bool,bool)\"" - }, - "value": "log(uint256,bool,bool)" - }, - { - "id": 16730, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16719, - "src": "10592:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16731, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16721, - "src": "10596:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16732, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16723, - "src": "10600:2:10", - "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": 16727, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10542:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10546:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10542:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10542:61:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16726, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "10526:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10526:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16735, - "nodeType": "ExpressionStatement", - "src": "10526:78:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10468:3:10", - "parameters": { - "id": 16724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16719, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10480:2:10", - "nodeType": "VariableDeclaration", - "scope": 16737, - "src": "10472:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16718, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10472:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16721, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10489:2:10", - "nodeType": "VariableDeclaration", - "scope": 16737, - "src": "10484:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16720, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10484:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16723, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10498:2:10", - "nodeType": "VariableDeclaration", - "scope": 16737, - "src": "10493:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16722, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10493:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10471:30:10" - }, - "returnParameters": { - "id": 16725, - "nodeType": "ParameterList", - "parameters": [], - "src": "10516:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16757, - "nodeType": "FunctionDefinition", - "src": "10617:158:10", - "body": { - "id": 16756, - "nodeType": "Block", - "src": "10677:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c6164647265737329", - "id": 16749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10727:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35085f7b74fe0b67ab2d779d94b2a1efc14ce8d637e06ffda83ca305116f3c99", - "typeString": "literal_string \"log(uint256,bool,address)\"" - }, - "value": "log(uint256,bool,address)" - }, - { - "id": 16750, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16739, - "src": "10756:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16751, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16741, - "src": "10760:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 16752, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16743, - "src": "10764:2:10", - "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": 16747, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10703:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10707:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10703:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10703:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16746, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "10687:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10687:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16755, - "nodeType": "ExpressionStatement", - "src": "10687:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10626:3:10", - "parameters": { - "id": 16744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16739, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10638:2:10", - "nodeType": "VariableDeclaration", - "scope": 16757, - "src": "10630:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16738, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10630:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16741, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10647:2:10", - "nodeType": "VariableDeclaration", - "scope": 16757, - "src": "10642:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16740, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10642:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16743, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10659:2:10", - "nodeType": "VariableDeclaration", - "scope": 16757, - "src": "10651:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16742, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10651:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10629:33:10" - }, - "returnParameters": { - "id": 16745, - "nodeType": "ParameterList", - "parameters": [], - "src": "10677:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16777, - "nodeType": "FunctionDefinition", - "src": "10781:164:10", - "body": { - "id": 16776, - "nodeType": "Block", - "src": "10844:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e7432353629", - "id": 16769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10894:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5a9b5ed5e0cc67953f5b0a58c12e9694944af5a126321ab88870dec3bc05a9ae", - "typeString": "literal_string \"log(uint256,address,uint256)\"" - }, - "value": "log(uint256,address,uint256)" - }, - { - "id": 16770, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16759, - "src": "10926:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16771, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16761, - "src": "10930:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16772, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16763, - "src": "10934:2:10", - "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": 16767, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10870:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10874:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10870:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10870:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16766, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "10854:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10854:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16775, - "nodeType": "ExpressionStatement", - "src": "10854:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10790:3:10", - "parameters": { - "id": 16764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16759, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10802:2:10", - "nodeType": "VariableDeclaration", - "scope": 16777, - "src": "10794:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16758, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10794:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16761, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10814:2:10", - "nodeType": "VariableDeclaration", - "scope": 16777, - "src": "10806:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16760, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10806:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16763, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10826:2:10", - "nodeType": "VariableDeclaration", - "scope": 16777, - "src": "10818:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16762, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10818:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10793:36:10" - }, - "returnParameters": { - "id": 16765, - "nodeType": "ParameterList", - "parameters": [], - "src": "10844:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16797, - "nodeType": "FunctionDefinition", - "src": "10951:169:10", - "body": { - "id": 16796, - "nodeType": "Block", - "src": "11020:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e6729", - "id": 16789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11070:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_63cb41f9a63efe5dfacd3a2836bdef664d136fd6113f8e931c31a919af38935c", - "typeString": "literal_string \"log(uint256,address,string)\"" - }, - "value": "log(uint256,address,string)" - }, - { - "id": 16790, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16779, - "src": "11101:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16791, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16781, - "src": "11105:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16792, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16783, - "src": "11109:2:10", - "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": 16787, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11046:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11050:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11046:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11046:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16786, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "11030:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11030:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16795, - "nodeType": "ExpressionStatement", - "src": "11030:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10960:3:10", - "parameters": { - "id": 16784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16779, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10972:2:10", - "nodeType": "VariableDeclaration", - "scope": 16797, - "src": "10964:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16778, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10964:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16781, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10984:2:10", - "nodeType": "VariableDeclaration", - "scope": 16797, - "src": "10976:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16780, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10976:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16783, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11002:2:10", - "nodeType": "VariableDeclaration", - "scope": 16797, - "src": "10988:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16782, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10988:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10963:42:10" - }, - "returnParameters": { - "id": 16785, - "nodeType": "ParameterList", - "parameters": [], - "src": "11020:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16817, - "nodeType": "FunctionDefinition", - "src": "11126:158:10", - "body": { - "id": 16816, - "nodeType": "Block", - "src": "11186:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c29", - "id": 16809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11236:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b6ec042c5598a780a5bfae5e9ea2c50c251da4c38db3a134b8857be618f0c5c", - "typeString": "literal_string \"log(uint256,address,bool)\"" - }, - "value": "log(uint256,address,bool)" - }, - { - "id": 16810, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16799, - "src": "11265:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16811, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16801, - "src": "11269:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16812, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16803, - "src": "11273:2:10", - "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": 16807, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11212:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11216:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11212:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11212:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16806, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "11196:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11196:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16815, - "nodeType": "ExpressionStatement", - "src": "11196:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11135:3:10", - "parameters": { - "id": 16804, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16799, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11147:2:10", - "nodeType": "VariableDeclaration", - "scope": 16817, - "src": "11139:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16798, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11139:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16801, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11159:2:10", - "nodeType": "VariableDeclaration", - "scope": 16817, - "src": "11151:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16800, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11151:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16803, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11168:2:10", - "nodeType": "VariableDeclaration", - "scope": 16817, - "src": "11163:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16802, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11163:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11138:33:10" - }, - "returnParameters": { - "id": 16805, - "nodeType": "ParameterList", - "parameters": [], - "src": "11186:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16837, - "nodeType": "FunctionDefinition", - "src": "11290:164:10", - "body": { - "id": 16836, - "nodeType": "Block", - "src": "11353:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c6164647265737329", - "id": 16829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11403:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bcfd9be04f8d6b8ee1ae73075f8fe8db10e4b254a56103daa450197029a55fda", - "typeString": "literal_string \"log(uint256,address,address)\"" - }, - "value": "log(uint256,address,address)" - }, - { - "id": 16830, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16819, - "src": "11435:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16831, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16821, - "src": "11439:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 16832, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16823, - "src": "11443:2:10", - "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": 16827, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11379:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11383:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11379:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11379:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16826, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "11363:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11363:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16835, - "nodeType": "ExpressionStatement", - "src": "11363:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11299:3:10", - "parameters": { - "id": 16824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16819, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11311:2:10", - "nodeType": "VariableDeclaration", - "scope": 16837, - "src": "11303:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16818, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11303:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16821, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11323:2:10", - "nodeType": "VariableDeclaration", - "scope": 16837, - "src": "11315:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16820, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11315:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16823, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11335:2:10", - "nodeType": "VariableDeclaration", - "scope": 16837, - "src": "11327:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16822, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11327:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11302:36:10" - }, - "returnParameters": { - "id": 16825, - "nodeType": "ParameterList", - "parameters": [], - "src": "11353:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16857, - "nodeType": "FunctionDefinition", - "src": "11460:169:10", - "body": { - "id": 16856, - "nodeType": "Block", - "src": "11529:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e7432353629", - "id": 16849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11579:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca47c4ebe9fba29faff9e6b57fbe69e17216e7526486c463d61c06e8992beece", - "typeString": "literal_string \"log(string,uint256,uint256)\"" - }, - "value": "log(string,uint256,uint256)" - }, - { - "id": 16850, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16839, - "src": "11610:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16851, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16841, - "src": "11614:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16852, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16843, - "src": "11618:2:10", - "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": 16847, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11555:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11559:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11555:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11555:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16846, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "11539:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11539:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16855, - "nodeType": "ExpressionStatement", - "src": "11539:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11469:3:10", - "parameters": { - "id": 16844, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16839, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11487:2:10", - "nodeType": "VariableDeclaration", - "scope": 16857, - "src": "11473:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16838, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11473:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16841, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11499:2:10", - "nodeType": "VariableDeclaration", - "scope": 16857, - "src": "11491:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16840, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11491:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16843, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11511:2:10", - "nodeType": "VariableDeclaration", - "scope": 16857, - "src": "11503:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16842, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11503:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11472:42:10" - }, - "returnParameters": { - "id": 16845, - "nodeType": "ParameterList", - "parameters": [], - "src": "11529:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16877, - "nodeType": "FunctionDefinition", - "src": "11635:174:10", - "body": { - "id": 16876, - "nodeType": "Block", - "src": "11710:99:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e6729", - "id": 16869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11760:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5970e089c65c5d431d60f26e6cf1ec3984c873a96b59f1aed9fc44cdf9078bcf", - "typeString": "literal_string \"log(string,uint256,string)\"" - }, - "value": "log(string,uint256,string)" - }, - { - "id": 16870, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16859, - "src": "11790:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16871, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16861, - "src": "11794:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16872, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16863, - "src": "11798:2:10", - "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": 16867, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11736:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11740:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11736:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11736:65:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16866, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "11720:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11720:82:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16875, - "nodeType": "ExpressionStatement", - "src": "11720:82:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11644:3:10", - "parameters": { - "id": 16864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16859, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11662:2:10", - "nodeType": "VariableDeclaration", - "scope": 16877, - "src": "11648:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16858, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11648:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16861, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11674:2:10", - "nodeType": "VariableDeclaration", - "scope": 16877, - "src": "11666:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16860, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11666:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16863, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11692:2:10", - "nodeType": "VariableDeclaration", - "scope": 16877, - "src": "11678:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16862, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11678:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11647:48:10" - }, - "returnParameters": { - "id": 16865, - "nodeType": "ParameterList", - "parameters": [], - "src": "11710:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16897, - "nodeType": "FunctionDefinition", - "src": "11815:163:10", - "body": { - "id": 16896, - "nodeType": "Block", - "src": "11881:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c29", - "id": 16889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11931:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca7733b1b473f13a94152fab2b969755f42d925703a46c93a1825aad614f145e", - "typeString": "literal_string \"log(string,uint256,bool)\"" - }, - "value": "log(string,uint256,bool)" - }, - { - "id": 16890, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16879, - "src": "11959:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16891, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16881, - "src": "11963:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16892, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16883, - "src": "11967:2:10", - "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": 16887, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11907:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11911:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11907:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11907:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16886, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "11891:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16894, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11891:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16895, - "nodeType": "ExpressionStatement", - "src": "11891:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11824:3:10", - "parameters": { - "id": 16884, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16879, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11842:2:10", - "nodeType": "VariableDeclaration", - "scope": 16897, - "src": "11828:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16878, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11828:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16881, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11854:2:10", - "nodeType": "VariableDeclaration", - "scope": 16897, - "src": "11846:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16880, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11846:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16883, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11863:2:10", - "nodeType": "VariableDeclaration", - "scope": 16897, - "src": "11858:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16882, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11858:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11827:39:10" - }, - "returnParameters": { - "id": 16885, - "nodeType": "ParameterList", - "parameters": [], - "src": "11881:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16917, - "nodeType": "FunctionDefinition", - "src": "11984:169:10", - "body": { - "id": 16916, - "nodeType": "Block", - "src": "12053:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c6164647265737329", - "id": 16909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12103:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f27335", - "typeString": "literal_string \"log(string,uint256,address)\"" - }, - "value": "log(string,uint256,address)" - }, - { - "id": 16910, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16899, - "src": "12134:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16911, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16901, - "src": "12138:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 16912, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16903, - "src": "12142:2:10", - "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": 16907, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12079:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12083:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12079:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12079:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16906, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "12063:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12063:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16915, - "nodeType": "ExpressionStatement", - "src": "12063:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11993:3:10", - "parameters": { - "id": 16904, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16899, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12011:2:10", - "nodeType": "VariableDeclaration", - "scope": 16917, - "src": "11997:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16898, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11997:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16901, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12023:2:10", - "nodeType": "VariableDeclaration", - "scope": 16917, - "src": "12015:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16900, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12015:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16903, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12035:2:10", - "nodeType": "VariableDeclaration", - "scope": 16917, - "src": "12027:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16902, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12027:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11996:42:10" - }, - "returnParameters": { - "id": 16905, - "nodeType": "ParameterList", - "parameters": [], - "src": "12053:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16937, - "nodeType": "FunctionDefinition", - "src": "12159:174:10", - "body": { - "id": 16936, - "nodeType": "Block", - "src": "12234:99:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e7432353629", - "id": 16929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12284:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5821efa12787fd2b80909e807f1dcc73717b87128d89e827e5b876178f2fdbd0", - "typeString": "literal_string \"log(string,string,uint256)\"" - }, - "value": "log(string,string,uint256)" - }, - { - "id": 16930, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16919, - "src": "12314:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16931, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16921, - "src": "12318:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16932, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16923, - "src": "12322:2:10", - "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": 16927, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12260:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12264:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12260:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12260:65:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16926, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "12244:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12244:82:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16935, - "nodeType": "ExpressionStatement", - "src": "12244:82:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12168:3:10", - "parameters": { - "id": 16924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16919, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12186:2:10", - "nodeType": "VariableDeclaration", - "scope": 16937, - "src": "12172:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16918, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12172:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16921, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12204:2:10", - "nodeType": "VariableDeclaration", - "scope": 16937, - "src": "12190:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16920, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12190:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16923, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12216:2:10", - "nodeType": "VariableDeclaration", - "scope": 16937, - "src": "12208:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 16922, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12208:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12171:48:10" - }, - "returnParameters": { - "id": 16925, - "nodeType": "ParameterList", - "parameters": [], - "src": "12234:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16957, - "nodeType": "FunctionDefinition", - "src": "12339:179:10", - "body": { - "id": 16956, - "nodeType": "Block", - "src": "12420:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e6729", - "id": 16949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12470:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ced7cef693312206c21f0e92e3b54e2e16bf33db5eec350c78866822c665e1f", - "typeString": "literal_string \"log(string,string,string)\"" - }, - "value": "log(string,string,string)" - }, - { - "id": 16950, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16939, - "src": "12499:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16951, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16941, - "src": "12503:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16952, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16943, - "src": "12507:2:10", - "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": 16947, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12446:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12450:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12446:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12446:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16946, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "12430:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12430:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16955, - "nodeType": "ExpressionStatement", - "src": "12430:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12348:3:10", - "parameters": { - "id": 16944, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16939, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12366:2:10", - "nodeType": "VariableDeclaration", - "scope": 16957, - "src": "12352:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16938, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12352:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16941, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12384:2:10", - "nodeType": "VariableDeclaration", - "scope": 16957, - "src": "12370:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16940, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12370:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16943, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12402:2:10", - "nodeType": "VariableDeclaration", - "scope": 16957, - "src": "12388:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16942, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12388:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12351:54:10" - }, - "returnParameters": { - "id": 16945, - "nodeType": "ParameterList", - "parameters": [], - "src": "12420:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16977, - "nodeType": "FunctionDefinition", - "src": "12524:168:10", - "body": { - "id": 16976, - "nodeType": "Block", - "src": "12596:96:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c29", - "id": 16969, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12646:25:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b0e0f9b5ad960213f9ab262d120ce4ec3edffc58d1ad51b99628a777e82d8acb", - "typeString": "literal_string \"log(string,string,bool)\"" - }, - "value": "log(string,string,bool)" - }, - { - "id": 16970, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16959, - "src": "12673:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16971, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16961, - "src": "12677:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16972, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16963, - "src": "12681:2:10", - "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": 16967, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12622:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16968, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12626:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12622:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 16973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12622:62:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16966, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "12606:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 16974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12606:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16975, - "nodeType": "ExpressionStatement", - "src": "12606:79:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12533:3:10", - "parameters": { - "id": 16964, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16959, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12551:2:10", - "nodeType": "VariableDeclaration", - "scope": 16977, - "src": "12537:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16958, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12537:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16961, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12569:2:10", - "nodeType": "VariableDeclaration", - "scope": 16977, - "src": "12555:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16960, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12555:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16963, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12578:2:10", - "nodeType": "VariableDeclaration", - "scope": 16977, - "src": "12573:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 16962, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12573:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "12536:45:10" - }, - "returnParameters": { - "id": 16965, - "nodeType": "ParameterList", - "parameters": [], - "src": "12596:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 16997, - "nodeType": "FunctionDefinition", - "src": "12698:174:10", - "body": { - "id": 16996, - "nodeType": "Block", - "src": "12773:99:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c6164647265737329", - "id": 16989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12823:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_95ed0195ee22a092ad93d352c33e8dc78b91f0c01eab9cff270af55b2ae65768", - "typeString": "literal_string \"log(string,string,address)\"" - }, - "value": "log(string,string,address)" - }, - { - "id": 16990, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16979, - "src": "12853:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16991, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16981, - "src": "12857:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 16992, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16983, - "src": "12861:2:10", - "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": 16987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12799:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 16988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12803:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12799:23:10", - "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": "12799:65:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 16986, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "12783:15:10", - "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": "12783:82:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 16995, - "nodeType": "ExpressionStatement", - "src": "12783:82:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12707:3:10", - "parameters": { - "id": 16984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16979, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12725:2:10", - "nodeType": "VariableDeclaration", - "scope": 16997, - "src": "12711:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16978, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12711:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16981, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12743:2:10", - "nodeType": "VariableDeclaration", - "scope": 16997, - "src": "12729:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16980, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12729:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 16983, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12755:2:10", - "nodeType": "VariableDeclaration", - "scope": 16997, - "src": "12747:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 16982, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12747:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12710:48:10" - }, - "returnParameters": { - "id": 16985, - "nodeType": "ParameterList", - "parameters": [], - "src": "12773:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17017, - "nodeType": "FunctionDefinition", - "src": "12878:163:10", - "body": { - "id": 17016, - "nodeType": "Block", - "src": "12944:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e7432353629", - "id": 17009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12994:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c95958d6bc6e492868f9bea34fa0d5d3bf60736d44598880e7a9a99746b5d26a", - "typeString": "literal_string \"log(string,bool,uint256)\"" - }, - "value": "log(string,bool,uint256)" - }, - { - "id": 17010, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16999, - "src": "13022:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17011, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17001, - "src": "13026:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17012, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17003, - "src": "13030:2:10", - "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": 17007, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12970:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "12974:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12970:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12970:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17006, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "12954:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12954:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17015, - "nodeType": "ExpressionStatement", - "src": "12954:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12887:3:10", - "parameters": { - "id": 17004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 16999, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12905:2:10", - "nodeType": "VariableDeclaration", - "scope": 17017, - "src": "12891:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 16998, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12891:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17001, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12914:2:10", - "nodeType": "VariableDeclaration", - "scope": 17017, - "src": "12909:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17000, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12909:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17003, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12926:2:10", - "nodeType": "VariableDeclaration", - "scope": 17017, - "src": "12918:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17002, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12918:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12890:39:10" - }, - "returnParameters": { - "id": 17005, - "nodeType": "ParameterList", - "parameters": [], - "src": "12944:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17037, - "nodeType": "FunctionDefinition", - "src": "13047:168:10", - "body": { - "id": 17036, - "nodeType": "Block", - "src": "13119:96:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e6729", - "id": 17029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13169:25:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e298f47d872a89293d316b9b936000a26f83eda2ba3171b2f9f16e2bf618c3e7", - "typeString": "literal_string \"log(string,bool,string)\"" - }, - "value": "log(string,bool,string)" - }, - { - "id": 17030, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17019, - "src": "13196:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17031, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17021, - "src": "13200:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17032, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17023, - "src": "13204:2:10", - "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": 17027, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13145:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13149:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13145:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13145:62:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17026, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "13129:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13129:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17035, - "nodeType": "ExpressionStatement", - "src": "13129:79:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13056:3:10", - "parameters": { - "id": 17024, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17019, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13074:2:10", - "nodeType": "VariableDeclaration", - "scope": 17037, - "src": "13060:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17018, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13060:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17021, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13083:2:10", - "nodeType": "VariableDeclaration", - "scope": 17037, - "src": "13078:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17020, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13078:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17023, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13101:2:10", - "nodeType": "VariableDeclaration", - "scope": 17037, - "src": "13087:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17022, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13087:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13059:45:10" - }, - "returnParameters": { - "id": 17025, - "nodeType": "ParameterList", - "parameters": [], - "src": "13119:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17057, - "nodeType": "FunctionDefinition", - "src": "13221:157:10", - "body": { - "id": 17056, - "nodeType": "Block", - "src": "13284:94:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c29", - "id": 17049, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13334:23:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_850b7ad637241a873b861925ccffb71aaffb030b1df8850f324c9804bc7b443d", - "typeString": "literal_string \"log(string,bool,bool)\"" - }, - "value": "log(string,bool,bool)" - }, - { - "id": 17050, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17039, - "src": "13359:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17051, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17041, - "src": "13363:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17052, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17043, - "src": "13367:2:10", - "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": 17047, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13310:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13314:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13310:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13310:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17046, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "13294:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13294:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17055, - "nodeType": "ExpressionStatement", - "src": "13294:77:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13230:3:10", - "parameters": { - "id": 17044, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17039, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13248:2:10", - "nodeType": "VariableDeclaration", - "scope": 17057, - "src": "13234:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17038, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13234:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17041, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13257:2:10", - "nodeType": "VariableDeclaration", - "scope": 17057, - "src": "13252:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17040, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13252:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17043, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13266:2:10", - "nodeType": "VariableDeclaration", - "scope": 17057, - "src": "13261:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17042, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13261:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13233:36:10" - }, - "returnParameters": { - "id": 17045, - "nodeType": "ParameterList", - "parameters": [], - "src": "13284:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17077, - "nodeType": "FunctionDefinition", - "src": "13384:163:10", - "body": { - "id": 17076, - "nodeType": "Block", - "src": "13450:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c6164647265737329", - "id": 17069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13500:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_932bbb385d479707ff387e3bb2d8968a7b4115e938510c531aa15b50507fc27f", - "typeString": "literal_string \"log(string,bool,address)\"" - }, - "value": "log(string,bool,address)" - }, - { - "id": 17070, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17059, - "src": "13528:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17071, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17061, - "src": "13532:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17072, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17063, - "src": "13536:2:10", - "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": 17067, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13476:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13480:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13476:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13476:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17066, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "13460:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13460:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17075, - "nodeType": "ExpressionStatement", - "src": "13460:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13393:3:10", - "parameters": { - "id": 17064, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17059, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13411:2:10", - "nodeType": "VariableDeclaration", - "scope": 17077, - "src": "13397:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17058, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13397:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17061, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13420:2:10", - "nodeType": "VariableDeclaration", - "scope": 17077, - "src": "13415:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17060, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13415:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17063, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13432:2:10", - "nodeType": "VariableDeclaration", - "scope": 17077, - "src": "13424:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17062, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13424:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13396:39:10" - }, - "returnParameters": { - "id": 17065, - "nodeType": "ParameterList", - "parameters": [], - "src": "13450:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17097, - "nodeType": "FunctionDefinition", - "src": "13553:169:10", - "body": { - "id": 17096, - "nodeType": "Block", - "src": "13622:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e7432353629", - "id": 17089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13672:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d26b92533630e908cb95a1b2ed09291c6aa98f8da7094a2325f8c86cd45e5e4", - "typeString": "literal_string \"log(string,address,uint256)\"" - }, - "value": "log(string,address,uint256)" - }, - { - "id": 17090, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17079, - "src": "13703:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17091, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17081, - "src": "13707:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17092, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17083, - "src": "13711:2:10", - "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": 17087, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13648:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13652:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13648:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13648:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17086, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "13632:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13632:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17095, - "nodeType": "ExpressionStatement", - "src": "13632:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13562:3:10", - "parameters": { - "id": 17084, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17079, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13580:2:10", - "nodeType": "VariableDeclaration", - "scope": 17097, - "src": "13566:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17078, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13566:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17081, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13592:2:10", - "nodeType": "VariableDeclaration", - "scope": 17097, - "src": "13584:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17080, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13584:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17083, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13604:2:10", - "nodeType": "VariableDeclaration", - "scope": 17097, - "src": "13596:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17082, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13596:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13565:42:10" - }, - "returnParameters": { - "id": 17085, - "nodeType": "ParameterList", - "parameters": [], - "src": "13622:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17117, - "nodeType": "FunctionDefinition", - "src": "13728:174:10", - "body": { - "id": 17116, - "nodeType": "Block", - "src": "13803:99:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e6729", - "id": 17109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13853:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0e9ad4f87059a51cce5555e129ca819f7e5d52e9c65a4e175882207ee47d634", - "typeString": "literal_string \"log(string,address,string)\"" - }, - "value": "log(string,address,string)" - }, - { - "id": 17110, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17099, - "src": "13883:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17111, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17101, - "src": "13887:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17112, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17103, - "src": "13891:2:10", - "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": 17107, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13829:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "13833:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13829:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13829:65:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17106, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "13813:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13813:82:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17115, - "nodeType": "ExpressionStatement", - "src": "13813:82:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13737:3:10", - "parameters": { - "id": 17104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17099, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13755:2:10", - "nodeType": "VariableDeclaration", - "scope": 17117, - "src": "13741:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17098, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13741:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17101, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13767:2:10", - "nodeType": "VariableDeclaration", - "scope": 17117, - "src": "13759:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17100, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13759:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17103, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13785:2:10", - "nodeType": "VariableDeclaration", - "scope": 17117, - "src": "13771:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17102, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13771:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13740:48:10" - }, - "returnParameters": { - "id": 17105, - "nodeType": "ParameterList", - "parameters": [], - "src": "13803:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17137, - "nodeType": "FunctionDefinition", - "src": "13908:163:10", - "body": { - "id": 17136, - "nodeType": "Block", - "src": "13974:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c29", - "id": 17129, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14024:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c91d5ed4480e0b3323f998bcee9594aa98173c7324b015a4713a7c8429afd0b8", - "typeString": "literal_string \"log(string,address,bool)\"" - }, - "value": "log(string,address,bool)" - }, - { - "id": 17130, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17119, - "src": "14052:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17131, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17121, - "src": "14056:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17132, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17123, - "src": "14060:2:10", - "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": 17127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14000:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14004:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14000:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14000:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17126, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "13984:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13984:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17135, - "nodeType": "ExpressionStatement", - "src": "13984:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13917:3:10", - "parameters": { - "id": 17124, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17119, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13935:2:10", - "nodeType": "VariableDeclaration", - "scope": 17137, - "src": "13921:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17118, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13921:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17121, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13947:2:10", - "nodeType": "VariableDeclaration", - "scope": 17137, - "src": "13939:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17120, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13939:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17123, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13956:2:10", - "nodeType": "VariableDeclaration", - "scope": 17137, - "src": "13951:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17122, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13951:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13920:39:10" - }, - "returnParameters": { - "id": 17125, - "nodeType": "ParameterList", - "parameters": [], - "src": "13974:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17157, - "nodeType": "FunctionDefinition", - "src": "14077:169:10", - "body": { - "id": 17156, - "nodeType": "Block", - "src": "14146:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c6164647265737329", - "id": 17149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14196:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fcec75e0902c9d61eded5d9f2eed16d5b0f2cd255fe6fa77733f59e1063823e8", - "typeString": "literal_string \"log(string,address,address)\"" - }, - "value": "log(string,address,address)" - }, - { - "id": 17150, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17139, - "src": "14227:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17151, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17141, - "src": "14231:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17152, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17143, - "src": "14235:2:10", - "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": 17147, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14172:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14176:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14172:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14172:66:10", - "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": 15646, - "src": "14156:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14156:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17155, - "nodeType": "ExpressionStatement", - "src": "14156:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14086:3:10", - "parameters": { - "id": 17144, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17139, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14104:2:10", - "nodeType": "VariableDeclaration", - "scope": 17157, - "src": "14090:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17138, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14090:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17141, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14116:2:10", - "nodeType": "VariableDeclaration", - "scope": 17157, - "src": "14108:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17140, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14108:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17143, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14128:2:10", - "nodeType": "VariableDeclaration", - "scope": 17157, - "src": "14120:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17142, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14120:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14089:42:10" - }, - "returnParameters": { - "id": 17145, - "nodeType": "ParameterList", - "parameters": [], - "src": "14146:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17177, - "nodeType": "FunctionDefinition", - "src": "14252:158:10", - "body": { - "id": 17176, - "nodeType": "Block", - "src": "14312:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e7432353629", - "id": 17169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14362:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_371033677da72158a60d6dc6ec9fa4683ad37ad854670ba3fcf814603cf8bb28", - "typeString": "literal_string \"log(bool,uint256,uint256)\"" - }, - "value": "log(bool,uint256,uint256)" - }, - { - "id": 17170, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17159, - "src": "14391:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17171, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17161, - "src": "14395:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17172, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17163, - "src": "14399:2:10", - "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": 17167, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14338:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14342:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14338:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14338:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17166, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "14322:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14322:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17175, - "nodeType": "ExpressionStatement", - "src": "14322:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14261:3:10", - "parameters": { - "id": 17164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17159, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14270:2:10", - "nodeType": "VariableDeclaration", - "scope": 17177, - "src": "14265:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17158, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14265:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17161, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14282:2:10", - "nodeType": "VariableDeclaration", - "scope": 17177, - "src": "14274:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17160, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14274:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17163, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14294:2:10", - "nodeType": "VariableDeclaration", - "scope": 17177, - "src": "14286:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17162, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14286:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14264:33:10" - }, - "returnParameters": { - "id": 17165, - "nodeType": "ParameterList", - "parameters": [], - "src": "14312:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17197, - "nodeType": "FunctionDefinition", - "src": "14416:163:10", - "body": { - "id": 17196, - "nodeType": "Block", - "src": "14482:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e6729", - "id": 17189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14532:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3fc3970359ec5bcd4a409af812c658e77b7983043c9e7299db566fbd8131447", - "typeString": "literal_string \"log(bool,uint256,string)\"" - }, - "value": "log(bool,uint256,string)" - }, - { - "id": 17190, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17179, - "src": "14560:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17191, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17181, - "src": "14564:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17192, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17183, - "src": "14568:2:10", - "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": 17187, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14508:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14512:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14508:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14508:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17186, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "14492:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14492:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17195, - "nodeType": "ExpressionStatement", - "src": "14492:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14425:3:10", - "parameters": { - "id": 17184, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17179, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14434:2:10", - "nodeType": "VariableDeclaration", - "scope": 17197, - "src": "14429:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17178, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14429:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17181, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14446:2:10", - "nodeType": "VariableDeclaration", - "scope": 17197, - "src": "14438:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17180, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14438:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17183, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14464:2:10", - "nodeType": "VariableDeclaration", - "scope": 17197, - "src": "14450:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17182, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14450:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14428:39:10" - }, - "returnParameters": { - "id": 17185, - "nodeType": "ParameterList", - "parameters": [], - "src": "14482:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17217, - "nodeType": "FunctionDefinition", - "src": "14585:152:10", - "body": { - "id": 17216, - "nodeType": "Block", - "src": "14642:95:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c29", - "id": 17209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14692:24:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e8defba9dac8a3ed4ad0f711b733171fd223b5d127b3485540d69bec05995a26", - "typeString": "literal_string \"log(bool,uint256,bool)\"" - }, - "value": "log(bool,uint256,bool)" - }, - { - "id": 17210, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17199, - "src": "14718:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17211, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17201, - "src": "14722:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17212, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17203, - "src": "14726:2:10", - "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": 17207, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14668:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14672:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14668:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14668:61:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17206, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "14652:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14652:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17215, - "nodeType": "ExpressionStatement", - "src": "14652:78:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14594:3:10", - "parameters": { - "id": 17204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17199, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14603:2:10", - "nodeType": "VariableDeclaration", - "scope": 17217, - "src": "14598:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17198, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14598:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17201, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14615:2:10", - "nodeType": "VariableDeclaration", - "scope": 17217, - "src": "14607:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17200, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14607:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17203, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14624:2:10", - "nodeType": "VariableDeclaration", - "scope": 17217, - "src": "14619:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17202, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14619:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "14597:30:10" - }, - "returnParameters": { - "id": 17205, - "nodeType": "ParameterList", - "parameters": [], - "src": "14642:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17237, - "nodeType": "FunctionDefinition", - "src": "14743:158:10", - "body": { - "id": 17236, - "nodeType": "Block", - "src": "14803:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c6164647265737329", - "id": 17229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14853:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_088ef9d2f4d01d13401423c19b7f189200a7ad3f567d9e20f37299f94f92f574", - "typeString": "literal_string \"log(bool,uint256,address)\"" - }, - "value": "log(bool,uint256,address)" - }, - { - "id": 17230, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17219, - "src": "14882:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17231, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17221, - "src": "14886:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17232, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17223, - "src": "14890:2:10", - "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": 17227, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14829:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14833:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14829:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14829:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17226, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "14813:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14813:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17235, - "nodeType": "ExpressionStatement", - "src": "14813:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14752:3:10", - "parameters": { - "id": 17224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17219, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14761:2:10", - "nodeType": "VariableDeclaration", - "scope": 17237, - "src": "14756:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17218, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14756:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17221, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14773:2:10", - "nodeType": "VariableDeclaration", - "scope": 17237, - "src": "14765:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17220, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14765:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17223, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14785:2:10", - "nodeType": "VariableDeclaration", - "scope": 17237, - "src": "14777:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17222, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14777:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14755:33:10" - }, - "returnParameters": { - "id": 17225, - "nodeType": "ParameterList", - "parameters": [], - "src": "14803:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17257, - "nodeType": "FunctionDefinition", - "src": "14907:163:10", - "body": { - "id": 17256, - "nodeType": "Block", - "src": "14973:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e7432353629", - "id": 17249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15023:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1093ee11e671928331708700100b356c86a8494f33b170ddcffd95462a0adf64", - "typeString": "literal_string \"log(bool,string,uint256)\"" - }, - "value": "log(bool,string,uint256)" - }, - { - "id": 17250, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17239, - "src": "15051:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17251, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17241, - "src": "15055:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17252, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17243, - "src": "15059:2:10", - "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": 17247, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14999:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15003:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14999:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14999:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17246, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "14983:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14983:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17255, - "nodeType": "ExpressionStatement", - "src": "14983:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14916:3:10", - "parameters": { - "id": 17244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17239, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14925:2:10", - "nodeType": "VariableDeclaration", - "scope": 17257, - "src": "14920:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17238, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14920:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17241, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14943:2:10", - "nodeType": "VariableDeclaration", - "scope": 17257, - "src": "14929:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17240, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14929:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17243, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14955:2:10", - "nodeType": "VariableDeclaration", - "scope": 17257, - "src": "14947:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17242, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14947:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14919:39:10" - }, - "returnParameters": { - "id": 17245, - "nodeType": "ParameterList", - "parameters": [], - "src": "14973:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17277, - "nodeType": "FunctionDefinition", - "src": "15076:168:10", - "body": { - "id": 17276, - "nodeType": "Block", - "src": "15148:96:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e6729", - "id": 17269, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15198:25:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b076847f8b4aee0cfbf46ec501532f9f3c85a581aff135287ff8e917c0a39102", - "typeString": "literal_string \"log(bool,string,string)\"" - }, - "value": "log(bool,string,string)" - }, - { - "id": 17270, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17259, - "src": "15225:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17271, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17261, - "src": "15229:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17272, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17263, - "src": "15233:2:10", - "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": 17267, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15174:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17268, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15178:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15174:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15174:62:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17266, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "15158:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15158:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17275, - "nodeType": "ExpressionStatement", - "src": "15158:79:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15085:3:10", - "parameters": { - "id": 17264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17259, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15094:2:10", - "nodeType": "VariableDeclaration", - "scope": 17277, - "src": "15089:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17258, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15089:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17261, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15112:2:10", - "nodeType": "VariableDeclaration", - "scope": 17277, - "src": "15098:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17260, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15098:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17263, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15130:2:10", - "nodeType": "VariableDeclaration", - "scope": 17277, - "src": "15116:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17262, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15116:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15088:45:10" - }, - "returnParameters": { - "id": 17265, - "nodeType": "ParameterList", - "parameters": [], - "src": "15148:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17297, - "nodeType": "FunctionDefinition", - "src": "15250:157:10", - "body": { - "id": 17296, - "nodeType": "Block", - "src": "15313:94:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c29", - "id": 17289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15363:23:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dbb4c2477dacc98e0e5b96fd6ca6bf0ae1f82dd042439d9f53f8d963bef43eaa", - "typeString": "literal_string \"log(bool,string,bool)\"" - }, - "value": "log(bool,string,bool)" - }, - { - "id": 17290, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17279, - "src": "15388:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17291, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17281, - "src": "15392:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17292, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17283, - "src": "15396:2:10", - "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": 17287, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15339:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15343:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15339:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15339:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17286, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "15323:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15323:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17295, - "nodeType": "ExpressionStatement", - "src": "15323:77:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15259:3:10", - "parameters": { - "id": 17284, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17279, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15268:2:10", - "nodeType": "VariableDeclaration", - "scope": 17297, - "src": "15263:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17278, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15263:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17281, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15286:2:10", - "nodeType": "VariableDeclaration", - "scope": 17297, - "src": "15272:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17280, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15272:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17283, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15295:2:10", - "nodeType": "VariableDeclaration", - "scope": 17297, - "src": "15290:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17282, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15290:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15262:36:10" - }, - "returnParameters": { - "id": 17285, - "nodeType": "ParameterList", - "parameters": [], - "src": "15313:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17317, - "nodeType": "FunctionDefinition", - "src": "15413:163:10", - "body": { - "id": 17316, - "nodeType": "Block", - "src": "15479:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c6164647265737329", - "id": 17309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15529:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9591b953c9b1d0af9d1e3bc0f6ea9aa5b0e1af8c702f85b36e21b9b2d7e4da79", - "typeString": "literal_string \"log(bool,string,address)\"" - }, - "value": "log(bool,string,address)" - }, - { - "id": 17310, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17299, - "src": "15557:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17311, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17301, - "src": "15561:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17312, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17303, - "src": "15565:2:10", - "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": 17307, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15505:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15509:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15505:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15505:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17306, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "15489:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15489:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17315, - "nodeType": "ExpressionStatement", - "src": "15489:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15422:3:10", - "parameters": { - "id": 17304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17299, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15431:2:10", - "nodeType": "VariableDeclaration", - "scope": 17317, - "src": "15426:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17298, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15426:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17301, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15449:2:10", - "nodeType": "VariableDeclaration", - "scope": 17317, - "src": "15435:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17300, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15435:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17303, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15461:2:10", - "nodeType": "VariableDeclaration", - "scope": 17317, - "src": "15453:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17302, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15453:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "15425:39:10" - }, - "returnParameters": { - "id": 17305, - "nodeType": "ParameterList", - "parameters": [], - "src": "15479:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17337, - "nodeType": "FunctionDefinition", - "src": "15582:152:10", - "body": { - "id": 17336, - "nodeType": "Block", - "src": "15639:95:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e7432353629", - "id": 17329, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15689:24:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12f216023a0243e7ece19b75fc4619b59ea663e0aefdf2e4b1faa16a9fa3a211", - "typeString": "literal_string \"log(bool,bool,uint256)\"" - }, - "value": "log(bool,bool,uint256)" - }, - { - "id": 17330, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17319, - "src": "15715:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17331, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17321, - "src": "15719:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17332, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17323, - "src": "15723:2:10", - "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": 17327, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15665:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15669:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15665:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15665:61:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17326, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "15649:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15649:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17335, - "nodeType": "ExpressionStatement", - "src": "15649:78:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15591:3:10", - "parameters": { - "id": 17324, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17319, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15600:2:10", - "nodeType": "VariableDeclaration", - "scope": 17337, - "src": "15595:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17318, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15595:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17321, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15609:2:10", - "nodeType": "VariableDeclaration", - "scope": 17337, - "src": "15604:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17320, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15604:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17323, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15621:2:10", - "nodeType": "VariableDeclaration", - "scope": 17337, - "src": "15613:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17322, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15613:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "15594:30:10" - }, - "returnParameters": { - "id": 17325, - "nodeType": "ParameterList", - "parameters": [], - "src": "15639:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17357, - "nodeType": "FunctionDefinition", - "src": "15740:157:10", - "body": { - "id": 17356, - "nodeType": "Block", - "src": "15803:94:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e6729", - "id": 17349, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15853:23:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2555fa465662416fc443b21c515f245dc550a66f7c658773f7bd7ad91c82f2cc", - "typeString": "literal_string \"log(bool,bool,string)\"" - }, - "value": "log(bool,bool,string)" - }, - { - "id": 17350, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17339, - "src": "15878:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17351, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17341, - "src": "15882:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17352, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17343, - "src": "15886:2:10", - "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": 17347, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15829:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15833:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15829:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15829:60:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17346, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "15813:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17354, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15813:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17355, - "nodeType": "ExpressionStatement", - "src": "15813:77:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15749:3:10", - "parameters": { - "id": 17344, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17339, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15758:2:10", - "nodeType": "VariableDeclaration", - "scope": 17357, - "src": "15753:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17338, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15753:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17341, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15767:2:10", - "nodeType": "VariableDeclaration", - "scope": 17357, - "src": "15762:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17340, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15762:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17343, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15785:2:10", - "nodeType": "VariableDeclaration", - "scope": 17357, - "src": "15771:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17342, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15771:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15752:36:10" - }, - "returnParameters": { - "id": 17345, - "nodeType": "ParameterList", - "parameters": [], - "src": "15803:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17377, - "nodeType": "FunctionDefinition", - "src": "15903:146:10", - "body": { - "id": 17376, - "nodeType": "Block", - "src": "15957:92:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c29", - "id": 17369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16007:21:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50709698278bb02f656e4ac53a2ae8ef0ec4064d340360a5fa4d933e9a742590", - "typeString": "literal_string \"log(bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool)" - }, - { - "id": 17370, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17359, - "src": "16030:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17371, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17361, - "src": "16034:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17372, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17363, - "src": "16038:2:10", - "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": 17367, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15983:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15987:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15983:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15983:58:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17366, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "15967:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15967:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17375, - "nodeType": "ExpressionStatement", - "src": "15967:75:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15912:3:10", - "parameters": { - "id": 17364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17359, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15921:2:10", - "nodeType": "VariableDeclaration", - "scope": 17377, - "src": "15916:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17358, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15916:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17361, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15930:2:10", - "nodeType": "VariableDeclaration", - "scope": 17377, - "src": "15925:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17360, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15925:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17363, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15939:2:10", - "nodeType": "VariableDeclaration", - "scope": 17377, - "src": "15934:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17362, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15934:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15915:27:10" - }, - "returnParameters": { - "id": 17365, - "nodeType": "ParameterList", - "parameters": [], - "src": "15957:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17397, - "nodeType": "FunctionDefinition", - "src": "16055:152:10", - "body": { - "id": 17396, - "nodeType": "Block", - "src": "16112:95:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c6164647265737329", - "id": 17389, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16162:24:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1078f68da6ddbbe80f829fe8d54d1f2c6347e1ee4ec5a2a7a3a330ada9eccf81", - "typeString": "literal_string \"log(bool,bool,address)\"" - }, - "value": "log(bool,bool,address)" - }, - { - "id": 17390, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17379, - "src": "16188:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17391, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17381, - "src": "16192:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17392, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17383, - "src": "16196:2:10", - "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": 17387, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16138:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16142:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16138:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16138:61:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17386, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "16122:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16122:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17395, - "nodeType": "ExpressionStatement", - "src": "16122:78:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16064:3:10", - "parameters": { - "id": 17384, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17379, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16073:2:10", - "nodeType": "VariableDeclaration", - "scope": 17397, - "src": "16068:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17378, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16068:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17381, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16082:2:10", - "nodeType": "VariableDeclaration", - "scope": 17397, - "src": "16077:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17380, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16077:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17383, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16094:2:10", - "nodeType": "VariableDeclaration", - "scope": 17397, - "src": "16086:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17382, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16086:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16067:30:10" - }, - "returnParameters": { - "id": 17385, - "nodeType": "ParameterList", - "parameters": [], - "src": "16112:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17417, - "nodeType": "FunctionDefinition", - "src": "16213:158:10", - "body": { - "id": 17416, - "nodeType": "Block", - "src": "16273:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e7432353629", - "id": 17409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16323:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f7b9afb4f9ee9df3fee50155d0accfa23536f443bcbc89ec11f75df422d05ac", - "typeString": "literal_string \"log(bool,address,uint256)\"" - }, - "value": "log(bool,address,uint256)" - }, - { - "id": 17410, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17399, - "src": "16352:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17411, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17401, - "src": "16356:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17412, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17403, - "src": "16360:2:10", - "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": 17407, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16299:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16303:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16299:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16299:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17406, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "16283:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16283:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17415, - "nodeType": "ExpressionStatement", - "src": "16283:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16222:3:10", - "parameters": { - "id": 17404, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17399, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16231:2:10", - "nodeType": "VariableDeclaration", - "scope": 17417, - "src": "16226:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17398, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16226:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17401, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16243:2:10", - "nodeType": "VariableDeclaration", - "scope": 17417, - "src": "16235:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17400, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16235:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17403, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16255:2:10", - "nodeType": "VariableDeclaration", - "scope": 17417, - "src": "16247:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17402, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16247:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16225:33:10" - }, - "returnParameters": { - "id": 17405, - "nodeType": "ParameterList", - "parameters": [], - "src": "16273:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17437, - "nodeType": "FunctionDefinition", - "src": "16377:163:10", - "body": { - "id": 17436, - "nodeType": "Block", - "src": "16443:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e6729", - "id": 17429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16493:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de9a927090b15ed84eefc0c471675a23ce67fd75011b1652fe17ca2dd0dcd06d", - "typeString": "literal_string \"log(bool,address,string)\"" - }, - "value": "log(bool,address,string)" - }, - { - "id": 17430, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17419, - "src": "16521:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17431, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17421, - "src": "16525:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17432, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17423, - "src": "16529:2:10", - "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": 17427, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16469:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16473:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16469:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16469:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17426, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "16453:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16453:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17435, - "nodeType": "ExpressionStatement", - "src": "16453:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16386:3:10", - "parameters": { - "id": 17424, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17419, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16395:2:10", - "nodeType": "VariableDeclaration", - "scope": 17437, - "src": "16390:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17418, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16390:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17421, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16407:2:10", - "nodeType": "VariableDeclaration", - "scope": 17437, - "src": "16399:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17420, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16399:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17423, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16425:2:10", - "nodeType": "VariableDeclaration", - "scope": 17437, - "src": "16411:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17422, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16411:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "16389:39:10" - }, - "returnParameters": { - "id": 17425, - "nodeType": "ParameterList", - "parameters": [], - "src": "16443:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17457, - "nodeType": "FunctionDefinition", - "src": "16546:152:10", - "body": { - "id": 17456, - "nodeType": "Block", - "src": "16603:95:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c29", - "id": 17449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16653:24:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_18c9c746c9d0e38e4dc234ee76e678bbaa4e473eca3dce0969637d7f01e4a908", - "typeString": "literal_string \"log(bool,address,bool)\"" - }, - "value": "log(bool,address,bool)" - }, - { - "id": 17450, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17439, - "src": "16679:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17451, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17441, - "src": "16683:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17452, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17443, - "src": "16687:2:10", - "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": 17447, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16629:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16633:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16629:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16629:61:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17446, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "16613:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16613:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17455, - "nodeType": "ExpressionStatement", - "src": "16613:78:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16555:3:10", - "parameters": { - "id": 17444, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17439, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16564:2:10", - "nodeType": "VariableDeclaration", - "scope": 17457, - "src": "16559:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17438, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16559:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17441, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16576:2:10", - "nodeType": "VariableDeclaration", - "scope": 17457, - "src": "16568:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17440, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16568:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17443, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16585:2:10", - "nodeType": "VariableDeclaration", - "scope": 17457, - "src": "16580:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17442, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16580:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "16558:30:10" - }, - "returnParameters": { - "id": 17445, - "nodeType": "ParameterList", - "parameters": [], - "src": "16603:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17477, - "nodeType": "FunctionDefinition", - "src": "16704:158:10", - "body": { - "id": 17476, - "nodeType": "Block", - "src": "16764:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c6164647265737329", - "id": 17469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16814:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2763667477f08a6a3f8ce84e1cc1aeb5e67ee2996f5f36e8939da2b8b8f0265", - "typeString": "literal_string \"log(bool,address,address)\"" - }, - "value": "log(bool,address,address)" - }, - { - "id": 17470, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17459, - "src": "16843:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17471, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17461, - "src": "16847:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17472, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17463, - "src": "16851:2:10", - "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": 17467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16790:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16794:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16790:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16790:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17466, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "16774:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16774:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17475, - "nodeType": "ExpressionStatement", - "src": "16774:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16713:3:10", - "parameters": { - "id": 17464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17459, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16722:2:10", - "nodeType": "VariableDeclaration", - "scope": 17477, - "src": "16717:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17458, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16717:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17461, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16734:2:10", - "nodeType": "VariableDeclaration", - "scope": 17477, - "src": "16726:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17460, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16726:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17463, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16746:2:10", - "nodeType": "VariableDeclaration", - "scope": 17477, - "src": "16738:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17462, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16738:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16716:33:10" - }, - "returnParameters": { - "id": 17465, - "nodeType": "ParameterList", - "parameters": [], - "src": "16764:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17497, - "nodeType": "FunctionDefinition", - "src": "16868:164:10", - "body": { - "id": 17496, - "nodeType": "Block", - "src": "16931:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e7432353629", - "id": 17489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16981:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b69bcaf6823fa467c87c127df102001d1ca4e8a6dc08cab8aa1e5ab4a0ae8c76", - "typeString": "literal_string \"log(address,uint256,uint256)\"" - }, - "value": "log(address,uint256,uint256)" - }, - { - "id": 17490, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17479, - "src": "17013:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17491, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17481, - "src": "17017:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17492, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17483, - "src": "17021:2:10", - "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": 17487, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16957:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "16961:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16957:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16957:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17486, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "16941:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16941:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17495, - "nodeType": "ExpressionStatement", - "src": "16941:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16877:3:10", - "parameters": { - "id": 17484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17479, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16889:2:10", - "nodeType": "VariableDeclaration", - "scope": 17497, - "src": "16881:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17478, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16881:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17481, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16901:2:10", - "nodeType": "VariableDeclaration", - "scope": 17497, - "src": "16893:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17480, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16893:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17483, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16913:2:10", - "nodeType": "VariableDeclaration", - "scope": 17497, - "src": "16905:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17482, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16905:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16880:36:10" - }, - "returnParameters": { - "id": 17485, - "nodeType": "ParameterList", - "parameters": [], - "src": "16931:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17517, - "nodeType": "FunctionDefinition", - "src": "17038:169:10", - "body": { - "id": 17516, - "nodeType": "Block", - "src": "17107:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e6729", - "id": 17509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17157:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1f2e8aa7ff0c088860d7b3f0d1dc288d8e8a07808525cc31a5691f1bc0e149d", - "typeString": "literal_string \"log(address,uint256,string)\"" - }, - "value": "log(address,uint256,string)" - }, - { - "id": 17510, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17499, - "src": "17188:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17511, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17501, - "src": "17192:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17512, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17503, - "src": "17196:2:10", - "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": 17507, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17133:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17137:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17133:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17133:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17506, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "17117:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17117:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17515, - "nodeType": "ExpressionStatement", - "src": "17117:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17047:3:10", - "parameters": { - "id": 17504, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17499, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17059:2:10", - "nodeType": "VariableDeclaration", - "scope": 17517, - "src": "17051:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17498, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17051:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17501, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17071:2:10", - "nodeType": "VariableDeclaration", - "scope": 17517, - "src": "17063:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17500, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17063:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17503, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17089:2:10", - "nodeType": "VariableDeclaration", - "scope": 17517, - "src": "17075:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17502, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17075:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17050:42:10" - }, - "returnParameters": { - "id": 17505, - "nodeType": "ParameterList", - "parameters": [], - "src": "17107:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17537, - "nodeType": "FunctionDefinition", - "src": "17213:158:10", - "body": { - "id": 17536, - "nodeType": "Block", - "src": "17273:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c29", - "id": 17529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17323:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_678209a8f42181c670dc624bae130f552678a896a5cb06db485524796aca1390", - "typeString": "literal_string \"log(address,uint256,bool)\"" - }, - "value": "log(address,uint256,bool)" - }, - { - "id": 17530, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17519, - "src": "17352:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17531, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17521, - "src": "17356:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17532, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17523, - "src": "17360:2:10", - "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": 17527, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17299:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17303:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17299:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17299:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17526, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "17283:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17283:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17535, - "nodeType": "ExpressionStatement", - "src": "17283:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17222:3:10", - "parameters": { - "id": 17524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17519, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17234:2:10", - "nodeType": "VariableDeclaration", - "scope": 17537, - "src": "17226:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17518, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17226:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17521, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17246:2:10", - "nodeType": "VariableDeclaration", - "scope": 17537, - "src": "17238:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17520, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17238:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17523, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17255:2:10", - "nodeType": "VariableDeclaration", - "scope": 17537, - "src": "17250:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17522, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17250:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17225:33:10" - }, - "returnParameters": { - "id": 17525, - "nodeType": "ParameterList", - "parameters": [], - "src": "17273:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17557, - "nodeType": "FunctionDefinition", - "src": "17377:164:10", - "body": { - "id": 17556, - "nodeType": "Block", - "src": "17440:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c6164647265737329", - "id": 17549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17490:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7bc0d848840f8a2b7df87b30af9a8d9856aea86658fd890c9e8abce72cda0b36", - "typeString": "literal_string \"log(address,uint256,address)\"" - }, - "value": "log(address,uint256,address)" - }, - { - "id": 17550, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17539, - "src": "17522:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17551, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17541, - "src": "17526:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17552, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17543, - "src": "17530:2:10", - "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": 17547, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17466:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17470:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17466:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17466:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17546, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "17450:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17450:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17555, - "nodeType": "ExpressionStatement", - "src": "17450:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17386:3:10", - "parameters": { - "id": 17544, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17539, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17398:2:10", - "nodeType": "VariableDeclaration", - "scope": 17557, - "src": "17390:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17538, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17390:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17541, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17410:2:10", - "nodeType": "VariableDeclaration", - "scope": 17557, - "src": "17402:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17540, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17402:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17543, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17422:2:10", - "nodeType": "VariableDeclaration", - "scope": 17557, - "src": "17414:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17542, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17414:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17389:36:10" - }, - "returnParameters": { - "id": 17545, - "nodeType": "ParameterList", - "parameters": [], - "src": "17440:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17577, - "nodeType": "FunctionDefinition", - "src": "17547:169:10", - "body": { - "id": 17576, - "nodeType": "Block", - "src": "17616:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e7432353629", - "id": 17569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17666:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_67dd6ff15de5c635b9900811039f919659774d9843a07b7bcdfb1b54315e9200", - "typeString": "literal_string \"log(address,string,uint256)\"" - }, - "value": "log(address,string,uint256)" - }, - { - "id": 17570, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17559, - "src": "17697:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17571, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17561, - "src": "17701:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17572, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17563, - "src": "17705:2:10", - "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": 17567, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17642:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17646:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17642:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17642:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17566, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "17626:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17626:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17575, - "nodeType": "ExpressionStatement", - "src": "17626:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17556:3:10", - "parameters": { - "id": 17564, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17559, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17568:2:10", - "nodeType": "VariableDeclaration", - "scope": 17577, - "src": "17560:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17558, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17560:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17561, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17586:2:10", - "nodeType": "VariableDeclaration", - "scope": 17577, - "src": "17572:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17560, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17572:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17563, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17598:2:10", - "nodeType": "VariableDeclaration", - "scope": 17577, - "src": "17590:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17562, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17590:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17559:42:10" - }, - "returnParameters": { - "id": 17565, - "nodeType": "ParameterList", - "parameters": [], - "src": "17616:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17597, - "nodeType": "FunctionDefinition", - "src": "17722:174:10", - "body": { - "id": 17596, - "nodeType": "Block", - "src": "17797:99:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e6729", - "id": 17589, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17847:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb77226597c11cd0c52945168d7176a06b9af41edea6a51823db111f35573158", - "typeString": "literal_string \"log(address,string,string)\"" - }, - "value": "log(address,string,string)" - }, - { - "id": 17590, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17579, - "src": "17877:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17591, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17581, - "src": "17881:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17592, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17583, - "src": "17885:2:10", - "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": 17587, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17823:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17827:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17823:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17823:65:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17586, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "17807:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17807:82:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17595, - "nodeType": "ExpressionStatement", - "src": "17807:82:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17731:3:10", - "parameters": { - "id": 17584, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17579, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17743:2:10", - "nodeType": "VariableDeclaration", - "scope": 17597, - "src": "17735:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17578, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17735:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17581, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17761:2:10", - "nodeType": "VariableDeclaration", - "scope": 17597, - "src": "17747:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17580, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17747:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17583, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17779:2:10", - "nodeType": "VariableDeclaration", - "scope": 17597, - "src": "17765:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17582, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17765:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17734:48:10" - }, - "returnParameters": { - "id": 17585, - "nodeType": "ParameterList", - "parameters": [], - "src": "17797:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17617, - "nodeType": "FunctionDefinition", - "src": "17902:163:10", - "body": { - "id": 17616, - "nodeType": "Block", - "src": "17968:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c29", - "id": 17609, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18018:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf020fb14f49566c5748de1f455c699a10a4ed1d7cf32f9adb28d22878df1b96", - "typeString": "literal_string \"log(address,string,bool)\"" - }, - "value": "log(address,string,bool)" - }, - { - "id": 17610, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17599, - "src": "18046:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17611, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17601, - "src": "18050:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17612, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17603, - "src": "18054:2:10", - "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": 17607, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17994:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "17998:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17994:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17994:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17606, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "17978:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "17978:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17615, - "nodeType": "ExpressionStatement", - "src": "17978:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17911:3:10", - "parameters": { - "id": 17604, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17599, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17923:2:10", - "nodeType": "VariableDeclaration", - "scope": 17617, - "src": "17915:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17915:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17601, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17941:2:10", - "nodeType": "VariableDeclaration", - "scope": 17617, - "src": "17927:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17600, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17927:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17603, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17950:2:10", - "nodeType": "VariableDeclaration", - "scope": 17617, - "src": "17945:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17602, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17945:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17914:39:10" - }, - "returnParameters": { - "id": 17605, - "nodeType": "ParameterList", - "parameters": [], - "src": "17968:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17637, - "nodeType": "FunctionDefinition", - "src": "18071:169:10", - "body": { - "id": 17636, - "nodeType": "Block", - "src": "18140:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c6164647265737329", - "id": 17629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18190:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f08744e82875525f1ef885a48453f58e96cac98a5d32bd6d8c38e4977aede231", - "typeString": "literal_string \"log(address,string,address)\"" - }, - "value": "log(address,string,address)" - }, - { - "id": 17630, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17619, - "src": "18221:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17631, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17621, - "src": "18225:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17632, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17623, - "src": "18229:2:10", - "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": 17627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18166:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18170:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18166:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18166:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17626, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "18150:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18150:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17635, - "nodeType": "ExpressionStatement", - "src": "18150:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18080:3:10", - "parameters": { - "id": 17624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17619, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18092:2:10", - "nodeType": "VariableDeclaration", - "scope": 17637, - "src": "18084:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17618, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18084:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17621, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18110:2:10", - "nodeType": "VariableDeclaration", - "scope": 17637, - "src": "18096:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17620, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18096:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17623, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18122:2:10", - "nodeType": "VariableDeclaration", - "scope": 17637, - "src": "18114:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17622, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18114:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18083:42:10" - }, - "returnParameters": { - "id": 17625, - "nodeType": "ParameterList", - "parameters": [], - "src": "18140:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17657, - "nodeType": "FunctionDefinition", - "src": "18246:158:10", - "body": { - "id": 17656, - "nodeType": "Block", - "src": "18306:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e7432353629", - "id": 17649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18356:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c4f99fb8e27f663a71adc9f15ace4bdc959202f3b7faa1c8ca25e5e7e8568f9", - "typeString": "literal_string \"log(address,bool,uint256)\"" - }, - "value": "log(address,bool,uint256)" - }, - { - "id": 17650, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17639, - "src": "18385:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17651, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17641, - "src": "18389:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17652, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17643, - "src": "18393:2:10", - "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": 17647, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18332:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18336:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18332:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18332:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17646, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "18316:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18316:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17655, - "nodeType": "ExpressionStatement", - "src": "18316:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18255:3:10", - "parameters": { - "id": 17644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17639, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18267:2:10", - "nodeType": "VariableDeclaration", - "scope": 17657, - "src": "18259:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17638, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18259:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17641, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18276:2:10", - "nodeType": "VariableDeclaration", - "scope": 17657, - "src": "18271:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17640, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18271:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17643, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18288:2:10", - "nodeType": "VariableDeclaration", - "scope": 17657, - "src": "18280:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17642, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18280:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18258:33:10" - }, - "returnParameters": { - "id": 17645, - "nodeType": "ParameterList", - "parameters": [], - "src": "18306:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17677, - "nodeType": "FunctionDefinition", - "src": "18410:163:10", - "body": { - "id": 17676, - "nodeType": "Block", - "src": "18476:97:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e6729", - "id": 17669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18526:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_212255cc5ff4a2d867f69451c60f51c24e41784276f4ceffe8ec3af322690750", - "typeString": "literal_string \"log(address,bool,string)\"" - }, - "value": "log(address,bool,string)" - }, - { - "id": 17670, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17659, - "src": "18554:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17671, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17661, - "src": "18558:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17672, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17663, - "src": "18562:2:10", - "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": 17667, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18502:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18506:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18502:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18502:63:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17666, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "18486:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18486:80:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17675, - "nodeType": "ExpressionStatement", - "src": "18486:80:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18419:3:10", - "parameters": { - "id": 17664, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17659, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18431:2:10", - "nodeType": "VariableDeclaration", - "scope": 17677, - "src": "18423:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17658, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18423:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17661, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18440:2:10", - "nodeType": "VariableDeclaration", - "scope": 17677, - "src": "18435:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17660, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18435:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17663, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18458:2:10", - "nodeType": "VariableDeclaration", - "scope": 17677, - "src": "18444:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17662, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18444:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18422:39:10" - }, - "returnParameters": { - "id": 17665, - "nodeType": "ParameterList", - "parameters": [], - "src": "18476:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17697, - "nodeType": "FunctionDefinition", - "src": "18579:152:10", - "body": { - "id": 17696, - "nodeType": "Block", - "src": "18636:95:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c29", - "id": 17689, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18686:24:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb830c92a079b46f3abcb83e519f578cffe7387941b6885067265feec096d279", - "typeString": "literal_string \"log(address,bool,bool)\"" - }, - "value": "log(address,bool,bool)" - }, - { - "id": 17690, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17679, - "src": "18712:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17691, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17681, - "src": "18716:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17692, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17683, - "src": "18720:2:10", - "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": 17687, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18662:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18666:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18662:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18662:61:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17686, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "18646:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18646:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17695, - "nodeType": "ExpressionStatement", - "src": "18646:78:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18588:3:10", - "parameters": { - "id": 17684, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17679, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18600:2:10", - "nodeType": "VariableDeclaration", - "scope": 17697, - "src": "18592:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17678, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18592:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17681, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18609:2:10", - "nodeType": "VariableDeclaration", - "scope": 17697, - "src": "18604:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17680, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18604:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17683, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18618:2:10", - "nodeType": "VariableDeclaration", - "scope": 17697, - "src": "18613:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17682, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18613:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "18591:30:10" - }, - "returnParameters": { - "id": 17685, - "nodeType": "ParameterList", - "parameters": [], - "src": "18636:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17717, - "nodeType": "FunctionDefinition", - "src": "18737:158:10", - "body": { - "id": 17716, - "nodeType": "Block", - "src": "18797:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c6164647265737329", - "id": 17709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18847:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f11699ed537119f000a51ba9fbd5bb55b3990a1a718acbe99659bd1bc84dc18d", - "typeString": "literal_string \"log(address,bool,address)\"" - }, - "value": "log(address,bool,address)" - }, - { - "id": 17710, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17699, - "src": "18876:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17711, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17701, - "src": "18880:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17712, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17703, - "src": "18884:2:10", - "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": 17707, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18823:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18827:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18823:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18823:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17706, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "18807:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18807:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17715, - "nodeType": "ExpressionStatement", - "src": "18807:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18746:3:10", - "parameters": { - "id": 17704, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17699, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18758:2:10", - "nodeType": "VariableDeclaration", - "scope": 17717, - "src": "18750:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17698, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18750:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17701, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18767:2:10", - "nodeType": "VariableDeclaration", - "scope": 17717, - "src": "18762:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17700, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18762:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17703, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18779:2:10", - "nodeType": "VariableDeclaration", - "scope": 17717, - "src": "18771:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17702, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18771:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18749:33:10" - }, - "returnParameters": { - "id": 17705, - "nodeType": "ParameterList", - "parameters": [], - "src": "18797:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17737, - "nodeType": "FunctionDefinition", - "src": "18901:164:10", - "body": { - "id": 17736, - "nodeType": "Block", - "src": "18964:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e7432353629", - "id": 17729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19014:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_17fe6185890336f35fbbd1b2962ba4f7207a4a65eb5b7443a7be8a152af930a4", - "typeString": "literal_string \"log(address,address,uint256)\"" - }, - "value": "log(address,address,uint256)" - }, - { - "id": 17730, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17719, - "src": "19046:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17731, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17721, - "src": "19050:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17732, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17723, - "src": "19054:2:10", - "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": 17727, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18990:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "18994:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18990:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18990:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17726, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "18974:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "18974:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17735, - "nodeType": "ExpressionStatement", - "src": "18974:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18910:3:10", - "parameters": { - "id": 17724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17719, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18922:2:10", - "nodeType": "VariableDeclaration", - "scope": 17737, - "src": "18914:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17718, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18914:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17721, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18934:2:10", - "nodeType": "VariableDeclaration", - "scope": 17737, - "src": "18926:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18926:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17723, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18946:2:10", - "nodeType": "VariableDeclaration", - "scope": 17737, - "src": "18938:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17722, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18938:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18913:36:10" - }, - "returnParameters": { - "id": 17725, - "nodeType": "ParameterList", - "parameters": [], - "src": "18964:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17757, - "nodeType": "FunctionDefinition", - "src": "19071:169:10", - "body": { - "id": 17756, - "nodeType": "Block", - "src": "19140:100:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e6729", - "id": 17749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19190:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_007150be50a4671a6be318012e9cd2eabb1e1bc8869b45c34abbaa04d81c8eee", - "typeString": "literal_string \"log(address,address,string)\"" - }, - "value": "log(address,address,string)" - }, - { - "id": 17750, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17739, - "src": "19221:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17751, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17741, - "src": "19225:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17752, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17743, - "src": "19229:2:10", - "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": 17747, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19166:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19170:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19166:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19166:66:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17746, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "19150:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19150:83:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17755, - "nodeType": "ExpressionStatement", - "src": "19150:83:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19080:3:10", - "parameters": { - "id": 17744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17739, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19092:2:10", - "nodeType": "VariableDeclaration", - "scope": 17757, - "src": "19084:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17738, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19084:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17741, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19104:2:10", - "nodeType": "VariableDeclaration", - "scope": 17757, - "src": "19096:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17740, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19096:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17743, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19122:2:10", - "nodeType": "VariableDeclaration", - "scope": 17757, - "src": "19108:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17742, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19108:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19083:42:10" - }, - "returnParameters": { - "id": 17745, - "nodeType": "ParameterList", - "parameters": [], - "src": "19140:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17777, - "nodeType": "FunctionDefinition", - "src": "19246:158:10", - "body": { - "id": 17776, - "nodeType": "Block", - "src": "19306:98:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c29", - "id": 17769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19356:27:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f2a6628622808c8bbef4f3e513ab11e708a8f5073988f2f7988e111aa26586dc", - "typeString": "literal_string \"log(address,address,bool)\"" - }, - "value": "log(address,address,bool)" - }, - { - "id": 17770, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17759, - "src": "19385:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17771, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17761, - "src": "19389:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17772, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17763, - "src": "19393:2:10", - "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": 17767, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19332:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19336:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19332:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19332:64:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17766, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "19316:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19316:81:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17775, - "nodeType": "ExpressionStatement", - "src": "19316:81:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19255:3:10", - "parameters": { - "id": 17764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17759, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19267:2:10", - "nodeType": "VariableDeclaration", - "scope": 17777, - "src": "19259:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17758, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19259:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17761, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19279:2:10", - "nodeType": "VariableDeclaration", - "scope": 17777, - "src": "19271:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17760, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19271:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17763, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19288:2:10", - "nodeType": "VariableDeclaration", - "scope": 17777, - "src": "19283:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17762, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19283:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "19258:33:10" - }, - "returnParameters": { - "id": 17765, - "nodeType": "ParameterList", - "parameters": [], - "src": "19306:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17797, - "nodeType": "FunctionDefinition", - "src": "19410:164:10", - "body": { - "id": 17796, - "nodeType": "Block", - "src": "19473:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c6164647265737329", - "id": 17789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19523:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_018c84c25fb680b5bcd4e1ab1848682497c9dd3b635564a91c36ce3d1414c830", - "typeString": "literal_string \"log(address,address,address)\"" - }, - "value": "log(address,address,address)" - }, - { - "id": 17790, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17779, - "src": "19555:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17791, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17781, - "src": "19559:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 17792, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17783, - "src": "19563:2:10", - "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": 17787, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19499:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19503:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19499:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19499:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17786, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "19483:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19483:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17795, - "nodeType": "ExpressionStatement", - "src": "19483:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19419:3:10", - "parameters": { - "id": 17784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17779, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19431:2:10", - "nodeType": "VariableDeclaration", - "scope": 17797, - "src": "19423:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17778, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19423:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17781, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19443:2:10", - "nodeType": "VariableDeclaration", - "scope": 17797, - "src": "19435:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17780, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19435:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17783, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19455:2:10", - "nodeType": "VariableDeclaration", - "scope": 17797, - "src": "19447:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17782, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19447:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19422:36:10" - }, - "returnParameters": { - "id": 17785, - "nodeType": "ParameterList", - "parameters": [], - "src": "19473:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17820, - "nodeType": "FunctionDefinition", - "src": "19580:188:10", - "body": { - "id": 17819, - "nodeType": "Block", - "src": "19655:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c75696e7432353629", - "id": 17811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19705:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_193fb8009d4d1e3c22da0dd831b1e3aed72b8cabd1ebf3967b4ab3c2bbcf1c4f", - "typeString": "literal_string \"log(uint256,uint256,uint256,uint256)\"" - }, - "value": "log(uint256,uint256,uint256,uint256)" - }, - { - "id": 17812, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17799, - "src": "19745:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17813, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17801, - "src": "19749:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17814, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17803, - "src": "19753:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17815, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17805, - "src": "19757:2:10", - "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": 17809, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19681:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19685:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19681:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19681:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17808, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "19665:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19665:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17818, - "nodeType": "ExpressionStatement", - "src": "19665:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19589:3:10", - "parameters": { - "id": 17806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17799, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19601:2:10", - "nodeType": "VariableDeclaration", - "scope": 17820, - "src": "19593:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17798, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19593:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17801, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19613:2:10", - "nodeType": "VariableDeclaration", - "scope": 17820, - "src": "19605:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17800, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19605:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17803, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19625:2:10", - "nodeType": "VariableDeclaration", - "scope": 17820, - "src": "19617:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17802, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19617:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17805, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19637:2:10", - "nodeType": "VariableDeclaration", - "scope": 17820, - "src": "19629:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17804, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19629:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19592:48:10" - }, - "returnParameters": { - "id": 17807, - "nodeType": "ParameterList", - "parameters": [], - "src": "19655:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17843, - "nodeType": "FunctionDefinition", - "src": "19774:193:10", - "body": { - "id": 17842, - "nodeType": "Block", - "src": "19855:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c737472696e6729", - "id": 17834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19905:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_59cfcbe3e387f57023dcccd8733484dcb5a23a41a25c4015c01a4e8d3520c4ef", - "typeString": "literal_string \"log(uint256,uint256,uint256,string)\"" - }, - "value": "log(uint256,uint256,uint256,string)" - }, - { - "id": 17835, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17822, - "src": "19944:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17836, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17824, - "src": "19948:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17837, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17826, - "src": "19952:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17838, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17828, - "src": "19956:2:10", - "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": 17832, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19881:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "19885:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19881:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19881:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17831, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "19865:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "19865:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17841, - "nodeType": "ExpressionStatement", - "src": "19865:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19783:3:10", - "parameters": { - "id": 17829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17822, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19795:2:10", - "nodeType": "VariableDeclaration", - "scope": 17843, - "src": "19787:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17821, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19787:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17824, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19807:2:10", - "nodeType": "VariableDeclaration", - "scope": 17843, - "src": "19799:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17823, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19799:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17826, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19819:2:10", - "nodeType": "VariableDeclaration", - "scope": 17843, - "src": "19811:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17825, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19811:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17828, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19837:2:10", - "nodeType": "VariableDeclaration", - "scope": 17843, - "src": "19823:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17827, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19823:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19786:54:10" - }, - "returnParameters": { - "id": 17830, - "nodeType": "ParameterList", - "parameters": [], - "src": "19855:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17866, - "nodeType": "FunctionDefinition", - "src": "19973:182:10", - "body": { - "id": 17865, - "nodeType": "Block", - "src": "20045:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c626f6f6c29", - "id": 17857, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20095:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c598d18505e9c7404a061484d6144251d0ef342167a57ace85723d498abac8e3", - "typeString": "literal_string \"log(uint256,uint256,uint256,bool)\"" - }, - "value": "log(uint256,uint256,uint256,bool)" - }, - { - "id": 17858, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17845, - "src": "20132:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17859, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17847, - "src": "20136:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17860, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17849, - "src": "20140:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17861, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17851, - "src": "20144:2:10", - "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": 17855, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20071:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17856, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20075:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20071:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17862, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20071:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17854, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "20055:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20055:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17864, - "nodeType": "ExpressionStatement", - "src": "20055:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19982:3:10", - "parameters": { - "id": 17852, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17845, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19994:2:10", - "nodeType": "VariableDeclaration", - "scope": 17866, - "src": "19986:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17844, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19986:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17847, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20006:2:10", - "nodeType": "VariableDeclaration", - "scope": 17866, - "src": "19998:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17846, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19998:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17849, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20018:2:10", - "nodeType": "VariableDeclaration", - "scope": 17866, - "src": "20010:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17848, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20010:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17851, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20027:2:10", - "nodeType": "VariableDeclaration", - "scope": 17866, - "src": "20022:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17850, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20022:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "19985:45:10" - }, - "returnParameters": { - "id": 17853, - "nodeType": "ParameterList", - "parameters": [], - "src": "20045:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17889, - "nodeType": "FunctionDefinition", - "src": "20161:188:10", - "body": { - "id": 17888, - "nodeType": "Block", - "src": "20236:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c6164647265737329", - "id": 17880, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20286:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fa8185afaca325eb459625959e5610b99e97bbcba8d5834d7632610b4f237c79", - "typeString": "literal_string \"log(uint256,uint256,uint256,address)\"" - }, - "value": "log(uint256,uint256,uint256,address)" - }, - { - "id": 17881, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17868, - "src": "20326:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17882, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17870, - "src": "20330:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17883, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17872, - "src": "20334:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17884, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17874, - "src": "20338:2:10", - "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": 17878, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20262:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17879, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20266:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20262:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20262:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17877, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "20246:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20246:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17887, - "nodeType": "ExpressionStatement", - "src": "20246:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20170:3:10", - "parameters": { - "id": 17875, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17868, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20182:2:10", - "nodeType": "VariableDeclaration", - "scope": 17889, - "src": "20174:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17867, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20174:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17870, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20194:2:10", - "nodeType": "VariableDeclaration", - "scope": 17889, - "src": "20186:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17869, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20186:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17872, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20206:2:10", - "nodeType": "VariableDeclaration", - "scope": 17889, - "src": "20198:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17871, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20198:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17874, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20218:2:10", - "nodeType": "VariableDeclaration", - "scope": 17889, - "src": "20210:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17873, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20210:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20173:48:10" - }, - "returnParameters": { - "id": 17876, - "nodeType": "ParameterList", - "parameters": [], - "src": "20236:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17912, - "nodeType": "FunctionDefinition", - "src": "20355:193:10", - "body": { - "id": 17911, - "nodeType": "Block", - "src": "20436:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c75696e7432353629", - "id": 17903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20486:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da297eb5acf47b1a9c0089c080d654cc07f2a8c9aa94fc68af26a6405cde114", - "typeString": "literal_string \"log(uint256,uint256,string,uint256)\"" - }, - "value": "log(uint256,uint256,string,uint256)" - }, - { - "id": 17904, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17891, - "src": "20525:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17905, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17893, - "src": "20529:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17906, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17895, - "src": "20533:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17907, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17897, - "src": "20537:2:10", - "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": 17901, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20462:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20466:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20462:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20462:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17900, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "20446:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20446:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17910, - "nodeType": "ExpressionStatement", - "src": "20446:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20364:3:10", - "parameters": { - "id": 17898, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17891, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20376:2:10", - "nodeType": "VariableDeclaration", - "scope": 17912, - "src": "20368:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17890, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20368:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17893, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20388:2:10", - "nodeType": "VariableDeclaration", - "scope": 17912, - "src": "20380:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17892, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20380:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17895, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20406:2:10", - "nodeType": "VariableDeclaration", - "scope": 17912, - "src": "20392:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17894, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20392:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17897, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20418:2:10", - "nodeType": "VariableDeclaration", - "scope": 17912, - "src": "20410:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17896, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20410:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20367:54:10" - }, - "returnParameters": { - "id": 17899, - "nodeType": "ParameterList", - "parameters": [], - "src": "20436:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17935, - "nodeType": "FunctionDefinition", - "src": "20554:198:10", - "body": { - "id": 17934, - "nodeType": "Block", - "src": "20641:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c737472696e6729", - "id": 17926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20691:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27d8afd2525217fff7302dbf79acc81edc09cb300d94f2503a4fb8a8115910e0", - "typeString": "literal_string \"log(uint256,uint256,string,string)\"" - }, - "value": "log(uint256,uint256,string,string)" - }, - { - "id": 17927, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17914, - "src": "20729:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17928, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17916, - "src": "20733:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17929, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17918, - "src": "20737:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17930, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17920, - "src": "20741:2:10", - "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": 17924, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20667:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17925, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20671:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20667:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20667:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17923, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "20651:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20651:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17933, - "nodeType": "ExpressionStatement", - "src": "20651:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20563:3:10", - "parameters": { - "id": 17921, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17914, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20575:2:10", - "nodeType": "VariableDeclaration", - "scope": 17935, - "src": "20567:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17913, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20567:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17916, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20587:2:10", - "nodeType": "VariableDeclaration", - "scope": 17935, - "src": "20579:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17915, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20579:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17918, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20605:2:10", - "nodeType": "VariableDeclaration", - "scope": 17935, - "src": "20591:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17917, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20591:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17920, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20623:2:10", - "nodeType": "VariableDeclaration", - "scope": 17935, - "src": "20609:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17919, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20609:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "20566:60:10" - }, - "returnParameters": { - "id": 17922, - "nodeType": "ParameterList", - "parameters": [], - "src": "20641:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17958, - "nodeType": "FunctionDefinition", - "src": "20758:187:10", - "body": { - "id": 17957, - "nodeType": "Block", - "src": "20836:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c626f6f6c29", - "id": 17949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20886:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7af6ab2578caf14043420c6b292dcb787d09d31b13365d7673f201f9b2e310c9", - "typeString": "literal_string \"log(uint256,uint256,string,bool)\"" - }, - "value": "log(uint256,uint256,string,bool)" - }, - { - "id": 17950, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17937, - "src": "20922:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17951, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17939, - "src": "20926:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17952, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17941, - "src": "20930:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17953, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17943, - "src": "20934:2:10", - "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": 17947, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20862:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "20866:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20862:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20862:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17946, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "20846:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "20846:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17956, - "nodeType": "ExpressionStatement", - "src": "20846:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20767:3:10", - "parameters": { - "id": 17944, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17937, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20779:2:10", - "nodeType": "VariableDeclaration", - "scope": 17958, - "src": "20771:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17936, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20771:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17939, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20791:2:10", - "nodeType": "VariableDeclaration", - "scope": 17958, - "src": "20783:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17938, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20783:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17941, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20809:2:10", - "nodeType": "VariableDeclaration", - "scope": 17958, - "src": "20795:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17940, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20795:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17943, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20818:2:10", - "nodeType": "VariableDeclaration", - "scope": 17958, - "src": "20813:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17942, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20813:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20770:51:10" - }, - "returnParameters": { - "id": 17945, - "nodeType": "ParameterList", - "parameters": [], - "src": "20836:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 17981, - "nodeType": "FunctionDefinition", - "src": "20951:193:10", - "body": { - "id": 17980, - "nodeType": "Block", - "src": "21032:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c6164647265737329", - "id": 17972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21082:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42d21db701843c064ab7fb7cddd0cda130fcc29c7289dd90519dfea1322b1a53", - "typeString": "literal_string \"log(uint256,uint256,string,address)\"" - }, - "value": "log(uint256,uint256,string,address)" - }, - { - "id": 17973, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17960, - "src": "21121:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17974, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17962, - "src": "21125:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17975, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17964, - "src": "21129:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 17976, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17966, - "src": "21133:2:10", - "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": 17970, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21058:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17971, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21062:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21058:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 17977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21058:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17969, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "21042:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 17978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21042:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 17979, - "nodeType": "ExpressionStatement", - "src": "21042:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20960:3:10", - "parameters": { - "id": 17967, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17960, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20972:2:10", - "nodeType": "VariableDeclaration", - "scope": 17981, - "src": "20964:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17959, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20964:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17962, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20984:2:10", - "nodeType": "VariableDeclaration", - "scope": 17981, - "src": "20976:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17961, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20976:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17964, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21002:2:10", - "nodeType": "VariableDeclaration", - "scope": 17981, - "src": "20988:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 17963, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20988:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17966, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21014:2:10", - "nodeType": "VariableDeclaration", - "scope": 17981, - "src": "21006:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 17965, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21006:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20963:54:10" - }, - "returnParameters": { - "id": 17968, - "nodeType": "ParameterList", - "parameters": [], - "src": "21032:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18004, - "nodeType": "FunctionDefinition", - "src": "21150:182:10", - "body": { - "id": 18003, - "nodeType": "Block", - "src": "21222:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c75696e7432353629", - "id": 17995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21272:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb7f6fd2c2005d3f08b2528135265cced621d1abf62716b05a9b62bc732577fd", - "typeString": "literal_string \"log(uint256,uint256,bool,uint256)\"" - }, - "value": "log(uint256,uint256,bool,uint256)" - }, - { - "id": 17996, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17983, - "src": "21309:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17997, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17985, - "src": "21313:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 17998, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17987, - "src": "21317:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 17999, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17989, - "src": "21321:2:10", - "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": 17993, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21248:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 17994, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21252:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21248:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21248:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 17992, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "21232:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21232:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18002, - "nodeType": "ExpressionStatement", - "src": "21232:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21159:3:10", - "parameters": { - "id": 17990, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 17983, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21171:2:10", - "nodeType": "VariableDeclaration", - "scope": 18004, - "src": "21163:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17982, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21163:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17985, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21183:2:10", - "nodeType": "VariableDeclaration", - "scope": 18004, - "src": "21175:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17984, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21175:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17987, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21192:2:10", - "nodeType": "VariableDeclaration", - "scope": 18004, - "src": "21187:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 17986, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21187:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 17989, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21204:2:10", - "nodeType": "VariableDeclaration", - "scope": 18004, - "src": "21196:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 17988, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21196:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21162:45:10" - }, - "returnParameters": { - "id": 17991, - "nodeType": "ParameterList", - "parameters": [], - "src": "21222:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18027, - "nodeType": "FunctionDefinition", - "src": "21338:187:10", - "body": { - "id": 18026, - "nodeType": "Block", - "src": "21416:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c737472696e6729", - "id": 18018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21466:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5b4fc99467445b3de47079da2d48b3031bb8d3adcbee781cbdca55596f1414a", - "typeString": "literal_string \"log(uint256,uint256,bool,string)\"" - }, - "value": "log(uint256,uint256,bool,string)" - }, - { - "id": 18019, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18006, - "src": "21502:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18020, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18008, - "src": "21506:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18021, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18010, - "src": "21510:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18022, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18012, - "src": "21514:2:10", - "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": 18016, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21442:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21446:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21442:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18023, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21442:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18015, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "21426:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21426:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18025, - "nodeType": "ExpressionStatement", - "src": "21426:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21347:3:10", - "parameters": { - "id": 18013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18006, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21359:2:10", - "nodeType": "VariableDeclaration", - "scope": 18027, - "src": "21351:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18005, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21351:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18008, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21371:2:10", - "nodeType": "VariableDeclaration", - "scope": 18027, - "src": "21363:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18007, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21363:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18010, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21380:2:10", - "nodeType": "VariableDeclaration", - "scope": 18027, - "src": "21375:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18009, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21375:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18012, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21398:2:10", - "nodeType": "VariableDeclaration", - "scope": 18027, - "src": "21384:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18011, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21384:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21350:51:10" - }, - "returnParameters": { - "id": 18014, - "nodeType": "ParameterList", - "parameters": [], - "src": "21416:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18050, - "nodeType": "FunctionDefinition", - "src": "21531:176:10", - "body": { - "id": 18049, - "nodeType": "Block", - "src": "21600:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c626f6f6c29", - "id": 18041, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21650:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ab085ae680de5118cde80cb5e8cb1f7383786238f1394e82b7ab82553a0dd7fe", - "typeString": "literal_string \"log(uint256,uint256,bool,bool)\"" - }, - "value": "log(uint256,uint256,bool,bool)" - }, - { - "id": 18042, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18029, - "src": "21684:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18043, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18031, - "src": "21688:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18044, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18033, - "src": "21692:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18045, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18035, - "src": "21696:2:10", - "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": 18039, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21626:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18040, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21630:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21626:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18046, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21626:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18038, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "21610:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21610:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18048, - "nodeType": "ExpressionStatement", - "src": "21610:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21540:3:10", - "parameters": { - "id": 18036, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18029, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21552:2:10", - "nodeType": "VariableDeclaration", - "scope": 18050, - "src": "21544:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18028, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21544:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18031, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21564:2:10", - "nodeType": "VariableDeclaration", - "scope": 18050, - "src": "21556:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18030, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21556:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18033, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21573:2:10", - "nodeType": "VariableDeclaration", - "scope": 18050, - "src": "21568:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18032, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21568:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18035, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21582:2:10", - "nodeType": "VariableDeclaration", - "scope": 18050, - "src": "21577:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18034, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21577:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "21543:42:10" - }, - "returnParameters": { - "id": 18037, - "nodeType": "ParameterList", - "parameters": [], - "src": "21600:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18073, - "nodeType": "FunctionDefinition", - "src": "21713:182:10", - "body": { - "id": 18072, - "nodeType": "Block", - "src": "21785:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c6164647265737329", - "id": 18064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21835:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9a816a83f59c7e2fc96bb179b1fa8fd5307277d58bad9d6b835a280d4474fc1b", - "typeString": "literal_string \"log(uint256,uint256,bool,address)\"" - }, - "value": "log(uint256,uint256,bool,address)" - }, - { - "id": 18065, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18052, - "src": "21872:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18066, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18054, - "src": "21876:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18067, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18056, - "src": "21880:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18068, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18058, - "src": "21884:2:10", - "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": 18062, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21811:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18063, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "21815:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21811:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21811:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18061, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "21795:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21795:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18071, - "nodeType": "ExpressionStatement", - "src": "21795:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21722:3:10", - "parameters": { - "id": 18059, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18052, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21734:2:10", - "nodeType": "VariableDeclaration", - "scope": 18073, - "src": "21726:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18051, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21726:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18054, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21746:2:10", - "nodeType": "VariableDeclaration", - "scope": 18073, - "src": "21738:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18053, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21738:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18056, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21755:2:10", - "nodeType": "VariableDeclaration", - "scope": 18073, - "src": "21750:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18055, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21750:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18058, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21767:2:10", - "nodeType": "VariableDeclaration", - "scope": 18073, - "src": "21759:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18057, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21759:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21725:45:10" - }, - "returnParameters": { - "id": 18060, - "nodeType": "ParameterList", - "parameters": [], - "src": "21785:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18096, - "nodeType": "FunctionDefinition", - "src": "21901:188:10", - "body": { - "id": 18095, - "nodeType": "Block", - "src": "21976:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c75696e7432353629", - "id": 18087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22026:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88f6e4b2e9fd1797748b31e8b1564d27784c7a0b5de7a75df225524205baab36", - "typeString": "literal_string \"log(uint256,uint256,address,uint256)\"" - }, - "value": "log(uint256,uint256,address,uint256)" - }, - { - "id": 18088, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18075, - "src": "22066:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18089, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18077, - "src": "22070:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18090, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18079, - "src": "22074:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18091, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18081, - "src": "22078:2:10", - "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": 18085, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22002:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18086, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22006:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22002:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22002:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18084, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "21986:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "21986:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18094, - "nodeType": "ExpressionStatement", - "src": "21986:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21910:3:10", - "parameters": { - "id": 18082, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18075, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21922:2:10", - "nodeType": "VariableDeclaration", - "scope": 18096, - "src": "21914:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18074, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21914:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18077, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21934:2:10", - "nodeType": "VariableDeclaration", - "scope": 18096, - "src": "21926:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18076, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21926:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18079, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21946:2:10", - "nodeType": "VariableDeclaration", - "scope": 18096, - "src": "21938:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18078, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21938:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18081, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21958:2:10", - "nodeType": "VariableDeclaration", - "scope": 18096, - "src": "21950:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18080, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21950:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21913:48:10" - }, - "returnParameters": { - "id": 18083, - "nodeType": "ParameterList", - "parameters": [], - "src": "21976:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18119, - "nodeType": "FunctionDefinition", - "src": "22095:193:10", - "body": { - "id": 18118, - "nodeType": "Block", - "src": "22176:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c737472696e6729", - "id": 18110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22226:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6cde40b8d4f88da65710732f1ce432c86447f486bf713e5763c0ab174df12f40", - "typeString": "literal_string \"log(uint256,uint256,address,string)\"" - }, - "value": "log(uint256,uint256,address,string)" - }, - { - "id": 18111, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18098, - "src": "22265:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18112, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18100, - "src": "22269:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18113, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18102, - "src": "22273:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18114, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18104, - "src": "22277:2:10", - "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": 18108, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22202:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22206:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22202:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18115, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22202:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18107, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "22186:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22186:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18117, - "nodeType": "ExpressionStatement", - "src": "22186:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22104:3:10", - "parameters": { - "id": 18105, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18098, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22116:2:10", - "nodeType": "VariableDeclaration", - "scope": 18119, - "src": "22108:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18097, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22108:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18100, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22128:2:10", - "nodeType": "VariableDeclaration", - "scope": 18119, - "src": "22120:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18099, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22120:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18102, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22140:2:10", - "nodeType": "VariableDeclaration", - "scope": 18119, - "src": "22132:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18101, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22132:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18104, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22158:2:10", - "nodeType": "VariableDeclaration", - "scope": 18119, - "src": "22144:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18103, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22144:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22107:54:10" - }, - "returnParameters": { - "id": 18106, - "nodeType": "ParameterList", - "parameters": [], - "src": "22176:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18142, - "nodeType": "FunctionDefinition", - "src": "22294:182:10", - "body": { - "id": 18141, - "nodeType": "Block", - "src": "22366:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c626f6f6c29", - "id": 18133, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22416:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_15cac47617578377cd39f9593e7bb3ffa0e284336b9741dcc2c4151a93e1b201", - "typeString": "literal_string \"log(uint256,uint256,address,bool)\"" - }, - "value": "log(uint256,uint256,address,bool)" - }, - { - "id": 18134, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18121, - "src": "22453:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18135, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18123, - "src": "22457:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18136, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18125, - "src": "22461:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18137, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18127, - "src": "22465:2:10", - "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": 18131, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22392:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18132, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22396:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22392:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22392:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18130, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "22376:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22376:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18140, - "nodeType": "ExpressionStatement", - "src": "22376:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22303:3:10", - "parameters": { - "id": 18128, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18121, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22315:2:10", - "nodeType": "VariableDeclaration", - "scope": 18142, - "src": "22307:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18120, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22307:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18123, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22327:2:10", - "nodeType": "VariableDeclaration", - "scope": 18142, - "src": "22319:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18122, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22319:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18125, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22339:2:10", - "nodeType": "VariableDeclaration", - "scope": 18142, - "src": "22331:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18124, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22331:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18127, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22348:2:10", - "nodeType": "VariableDeclaration", - "scope": 18142, - "src": "22343:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18126, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22343:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "22306:45:10" - }, - "returnParameters": { - "id": 18129, - "nodeType": "ParameterList", - "parameters": [], - "src": "22366:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18165, - "nodeType": "FunctionDefinition", - "src": "22482:188:10", - "body": { - "id": 18164, - "nodeType": "Block", - "src": "22557:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c6164647265737329", - "id": 18156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22607:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_56a5d1b1d2f0613b93371fc2b5ec91f6c2ba1375e1e4ff59b5061b56ca88e88d", - "typeString": "literal_string \"log(uint256,uint256,address,address)\"" - }, - "value": "log(uint256,uint256,address,address)" - }, - { - "id": 18157, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18144, - "src": "22647:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18158, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18146, - "src": "22651:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18159, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18148, - "src": "22655:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18160, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18150, - "src": "22659:2:10", - "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": 18154, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22583:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22587:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22583:23:10", - "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": "22583:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18153, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "22567:15:10", - "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": "22567:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18163, - "nodeType": "ExpressionStatement", - "src": "22567:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22491:3:10", - "parameters": { - "id": 18151, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18144, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22503:2:10", - "nodeType": "VariableDeclaration", - "scope": 18165, - "src": "22495:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18143, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22495:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18146, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22515:2:10", - "nodeType": "VariableDeclaration", - "scope": 18165, - "src": "22507:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18145, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22507:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18148, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22527:2:10", - "nodeType": "VariableDeclaration", - "scope": 18165, - "src": "22519:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18147, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22519:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18150, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22539:2:10", - "nodeType": "VariableDeclaration", - "scope": 18165, - "src": "22531:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18149, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22531:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "22494:48:10" - }, - "returnParameters": { - "id": 18152, - "nodeType": "ParameterList", - "parameters": [], - "src": "22557:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18188, - "nodeType": "FunctionDefinition", - "src": "22676:193:10", - "body": { - "id": 18187, - "nodeType": "Block", - "src": "22757:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c75696e7432353629", - "id": 18179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22807:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_82c25b74e3ddb6ea40e867e0a41af8848bdc6a88fd5e365497c46917573fd66f", - "typeString": "literal_string \"log(uint256,string,uint256,uint256)\"" - }, - "value": "log(uint256,string,uint256,uint256)" - }, - { - "id": 18180, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18167, - "src": "22846:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18181, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18169, - "src": "22850:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18182, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18171, - "src": "22854:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18183, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18173, - "src": "22858:2:10", - "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": 18177, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22783:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22787:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22783:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22783:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18176, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "22767:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22767:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18186, - "nodeType": "ExpressionStatement", - "src": "22767:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22685:3:10", - "parameters": { - "id": 18174, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18167, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22697:2:10", - "nodeType": "VariableDeclaration", - "scope": 18188, - "src": "22689:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18166, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22689:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18169, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22715:2:10", - "nodeType": "VariableDeclaration", - "scope": 18188, - "src": "22701:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18168, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22701:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18171, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22727:2:10", - "nodeType": "VariableDeclaration", - "scope": 18188, - "src": "22719:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18170, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22719:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18173, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22739:2:10", - "nodeType": "VariableDeclaration", - "scope": 18188, - "src": "22731:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18172, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22731:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22688:54:10" - }, - "returnParameters": { - "id": 18175, - "nodeType": "ParameterList", - "parameters": [], - "src": "22757:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18211, - "nodeType": "FunctionDefinition", - "src": "22875:198:10", - "body": { - "id": 18210, - "nodeType": "Block", - "src": "22962:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c737472696e6729", - "id": 18202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23012:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b7b914cad3c94167dcd4b5ef970076918e96b3894a20503b7d3f9648bea8aace", - "typeString": "literal_string \"log(uint256,string,uint256,string)\"" - }, - "value": "log(uint256,string,uint256,string)" - }, - { - "id": 18203, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18190, - "src": "23050:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18204, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18192, - "src": "23054:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18205, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18194, - "src": "23058:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18206, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18196, - "src": "23062:2:10", - "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": 18200, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22988:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "22992:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22988:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22988:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18199, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "22972:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "22972:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18209, - "nodeType": "ExpressionStatement", - "src": "22972:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22884:3:10", - "parameters": { - "id": 18197, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18190, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22896:2:10", - "nodeType": "VariableDeclaration", - "scope": 18211, - "src": "22888:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18189, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22888:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18192, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22914:2:10", - "nodeType": "VariableDeclaration", - "scope": 18211, - "src": "22900:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18191, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22900:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18194, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22926:2:10", - "nodeType": "VariableDeclaration", - "scope": 18211, - "src": "22918:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18193, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22918:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18196, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22944:2:10", - "nodeType": "VariableDeclaration", - "scope": 18211, - "src": "22930:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18195, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22930:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22887:60:10" - }, - "returnParameters": { - "id": 18198, - "nodeType": "ParameterList", - "parameters": [], - "src": "22962:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18234, - "nodeType": "FunctionDefinition", - "src": "23079:187:10", - "body": { - "id": 18233, - "nodeType": "Block", - "src": "23157:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c626f6f6c29", - "id": 18225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23207:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_691a8f74cbf1a313fd1bdfd5dda19feaf4f9deac56f7ca7c4fa6386e5382a03c", - "typeString": "literal_string \"log(uint256,string,uint256,bool)\"" - }, - "value": "log(uint256,string,uint256,bool)" - }, - { - "id": 18226, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18213, - "src": "23243:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18227, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18215, - "src": "23247:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18228, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18217, - "src": "23251:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18229, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18219, - "src": "23255:2:10", - "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": 18223, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23183:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23187:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23183:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23183:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18222, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "23167:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23167:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18232, - "nodeType": "ExpressionStatement", - "src": "23167:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23088:3:10", - "parameters": { - "id": 18220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18213, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23100:2:10", - "nodeType": "VariableDeclaration", - "scope": 18234, - "src": "23092:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18212, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23092:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18215, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23118:2:10", - "nodeType": "VariableDeclaration", - "scope": 18234, - "src": "23104:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18214, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23104:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18217, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23130:2:10", - "nodeType": "VariableDeclaration", - "scope": 18234, - "src": "23122:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18216, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23122:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18219, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23139:2:10", - "nodeType": "VariableDeclaration", - "scope": 18234, - "src": "23134:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18218, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23134:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "23091:51:10" - }, - "returnParameters": { - "id": 18221, - "nodeType": "ParameterList", - "parameters": [], - "src": "23157:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18257, - "nodeType": "FunctionDefinition", - "src": "23272:193:10", - "body": { - "id": 18256, - "nodeType": "Block", - "src": "23353:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c6164647265737329", - "id": 18248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23403:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b2279b4b3c26cbcd4374acce75e4c447a59a65883d849a72eaa051b3a07ec08", - "typeString": "literal_string \"log(uint256,string,uint256,address)\"" - }, - "value": "log(uint256,string,uint256,address)" - }, - { - "id": 18249, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18236, - "src": "23442:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18250, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18238, - "src": "23446:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18251, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18240, - "src": "23450:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18252, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18242, - "src": "23454:2:10", - "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": 18246, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23379:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18247, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23383:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23379:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23379:78:10", - "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": 15646, - "src": "23363:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23363:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18255, - "nodeType": "ExpressionStatement", - "src": "23363:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23281:3:10", - "parameters": { - "id": 18243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18236, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23293:2:10", - "nodeType": "VariableDeclaration", - "scope": 18257, - "src": "23285:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18235, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23285:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18238, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23311:2:10", - "nodeType": "VariableDeclaration", - "scope": 18257, - "src": "23297:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18237, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23297:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18240, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23323:2:10", - "nodeType": "VariableDeclaration", - "scope": 18257, - "src": "23315:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23315:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18242, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23335:2:10", - "nodeType": "VariableDeclaration", - "scope": 18257, - "src": "23327:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23327:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "23284:54:10" - }, - "returnParameters": { - "id": 18244, - "nodeType": "ParameterList", - "parameters": [], - "src": "23353:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18280, - "nodeType": "FunctionDefinition", - "src": "23471:198:10", - "body": { - "id": 18279, - "nodeType": "Block", - "src": "23558:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c75696e7432353629", - "id": 18271, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23608:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b028c9bd0105e32bab3e2b1b4678f4cd49b1f267c4fcb1899043ad16b67c3dd1", - "typeString": "literal_string \"log(uint256,string,string,uint256)\"" - }, - "value": "log(uint256,string,string,uint256)" - }, - { - "id": 18272, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18259, - "src": "23646:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18273, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18261, - "src": "23650:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18274, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18263, - "src": "23654:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18275, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18265, - "src": "23658:2:10", - "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": 18269, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23584:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18270, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23588:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23584:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23584:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18268, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "23568:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23568:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18278, - "nodeType": "ExpressionStatement", - "src": "23568:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23480:3:10", - "parameters": { - "id": 18266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18259, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23492:2:10", - "nodeType": "VariableDeclaration", - "scope": 18280, - "src": "23484:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18258, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23484:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18261, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23510:2:10", - "nodeType": "VariableDeclaration", - "scope": 18280, - "src": "23496:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18260, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23496:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18263, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23528:2:10", - "nodeType": "VariableDeclaration", - "scope": 18280, - "src": "23514:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18262, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23514:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18265, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23540:2:10", - "nodeType": "VariableDeclaration", - "scope": 18280, - "src": "23532:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18264, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23532:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23483:60:10" - }, - "returnParameters": { - "id": 18267, - "nodeType": "ParameterList", - "parameters": [], - "src": "23558:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18303, - "nodeType": "FunctionDefinition", - "src": "23675:203:10", - "body": { - "id": 18302, - "nodeType": "Block", - "src": "23768:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c737472696e6729", - "id": 18294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23818:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_21ad06836085541851abea445814b5a1baf9d3be52c1169a6570c83010dbea5a", - "typeString": "literal_string \"log(uint256,string,string,string)\"" - }, - "value": "log(uint256,string,string,string)" - }, - { - "id": 18295, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18282, - "src": "23855:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18296, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18284, - "src": "23859:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18297, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18286, - "src": "23863:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18298, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18288, - "src": "23867:2:10", - "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": 18292, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23794:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23798:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23794:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23794:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18291, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "23778:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23778:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18301, - "nodeType": "ExpressionStatement", - "src": "23778:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23684:3:10", - "parameters": { - "id": 18289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18282, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23696:2:10", - "nodeType": "VariableDeclaration", - "scope": 18303, - "src": "23688:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18281, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23688:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18284, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23714:2:10", - "nodeType": "VariableDeclaration", - "scope": 18303, - "src": "23700:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18283, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23700:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18286, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23732:2:10", - "nodeType": "VariableDeclaration", - "scope": 18303, - "src": "23718:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18285, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23718:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18288, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23750:2:10", - "nodeType": "VariableDeclaration", - "scope": 18303, - "src": "23736:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18287, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23736:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "23687:66:10" - }, - "returnParameters": { - "id": 18290, - "nodeType": "ParameterList", - "parameters": [], - "src": "23768:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18326, - "nodeType": "FunctionDefinition", - "src": "23884:192:10", - "body": { - "id": 18325, - "nodeType": "Block", - "src": "23968:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c626f6f6c29", - "id": 18317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24018:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b3a6b6bdf3265665181b9a9ab1338c75ebc293704c96a9a669654a5ba9f6d3e9", - "typeString": "literal_string \"log(uint256,string,string,bool)\"" - }, - "value": "log(uint256,string,string,bool)" - }, - { - "id": 18318, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18305, - "src": "24053:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18319, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18307, - "src": "24057:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18320, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18309, - "src": "24061:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18321, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18311, - "src": "24065:2:10", - "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": 18315, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23994:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18316, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "23998:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23994:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23994:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18314, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "23978:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "23978:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18324, - "nodeType": "ExpressionStatement", - "src": "23978:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23893:3:10", - "parameters": { - "id": 18312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18305, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23905:2:10", - "nodeType": "VariableDeclaration", - "scope": 18326, - "src": "23897:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18304, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23897:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18307, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23923:2:10", - "nodeType": "VariableDeclaration", - "scope": 18326, - "src": "23909:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18306, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23909:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18309, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23941:2:10", - "nodeType": "VariableDeclaration", - "scope": 18326, - "src": "23927:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18308, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23927:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18311, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23950:2:10", - "nodeType": "VariableDeclaration", - "scope": 18326, - "src": "23945:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18310, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23945:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "23896:57:10" - }, - "returnParameters": { - "id": 18313, - "nodeType": "ParameterList", - "parameters": [], - "src": "23968:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18349, - "nodeType": "FunctionDefinition", - "src": "24082:198:10", - "body": { - "id": 18348, - "nodeType": "Block", - "src": "24169:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c6164647265737329", - "id": 18340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24219:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d583c60265ad086fe6216ef9aea37bf5de1e77bdf9055c734c55781d5f4b81d7", - "typeString": "literal_string \"log(uint256,string,string,address)\"" - }, - "value": "log(uint256,string,string,address)" - }, - { - "id": 18341, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18328, - "src": "24257:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18342, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18330, - "src": "24261:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18343, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18332, - "src": "24265:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18344, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18334, - "src": "24269:2:10", - "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": 18338, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24195:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24199:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24195:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24195:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18337, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "24179:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24179:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18347, - "nodeType": "ExpressionStatement", - "src": "24179:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24091:3:10", - "parameters": { - "id": 18335, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18328, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24103:2:10", - "nodeType": "VariableDeclaration", - "scope": 18349, - "src": "24095:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18327, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24095:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18330, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24121:2:10", - "nodeType": "VariableDeclaration", - "scope": 18349, - "src": "24107:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18329, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24107:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18332, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24139:2:10", - "nodeType": "VariableDeclaration", - "scope": 18349, - "src": "24125:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18331, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24125:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18334, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24151:2:10", - "nodeType": "VariableDeclaration", - "scope": 18349, - "src": "24143:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18333, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24143:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "24094:60:10" - }, - "returnParameters": { - "id": 18336, - "nodeType": "ParameterList", - "parameters": [], - "src": "24169:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18372, - "nodeType": "FunctionDefinition", - "src": "24286:187:10", - "body": { - "id": 18371, - "nodeType": "Block", - "src": "24364:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c75696e7432353629", - "id": 18363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24414:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf00988004d982e10d8d4fa7f603a1414e3b2b91cdfcf6f72808ca6c3100f96a", - "typeString": "literal_string \"log(uint256,string,bool,uint256)\"" - }, - "value": "log(uint256,string,bool,uint256)" - }, - { - "id": 18364, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18351, - "src": "24450:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18365, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18353, - "src": "24454:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18366, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18355, - "src": "24458:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18367, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18357, - "src": "24462:2:10", - "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": 18361, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24390:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24394:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24390:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24390:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18360, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "24374:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24374:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18370, - "nodeType": "ExpressionStatement", - "src": "24374:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24295:3:10", - "parameters": { - "id": 18358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18351, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24307:2:10", - "nodeType": "VariableDeclaration", - "scope": 18372, - "src": "24299:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18350, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24299:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18353, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24325:2:10", - "nodeType": "VariableDeclaration", - "scope": 18372, - "src": "24311:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18352, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24311:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18355, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24334:2:10", - "nodeType": "VariableDeclaration", - "scope": 18372, - "src": "24329:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18354, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24329:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18357, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24346:2:10", - "nodeType": "VariableDeclaration", - "scope": 18372, - "src": "24338:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18356, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24338:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "24298:51:10" - }, - "returnParameters": { - "id": 18359, - "nodeType": "ParameterList", - "parameters": [], - "src": "24364:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18395, - "nodeType": "FunctionDefinition", - "src": "24479:192:10", - "body": { - "id": 18394, - "nodeType": "Block", - "src": "24563:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c737472696e6729", - "id": 18386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24613:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2d423cdca0e3ae7a0a1a283a67d891c85787b75e0c5291c02d15317d67fe45c", - "typeString": "literal_string \"log(uint256,string,bool,string)\"" - }, - "value": "log(uint256,string,bool,string)" - }, - { - "id": 18387, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18374, - "src": "24648:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18388, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18376, - "src": "24652:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18389, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18378, - "src": "24656:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18390, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18380, - "src": "24660:2:10", - "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": 18384, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24589:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24593:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24589:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24589:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18383, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "24573:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24573:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18393, - "nodeType": "ExpressionStatement", - "src": "24573:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24488:3:10", - "parameters": { - "id": 18381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18374, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24500:2:10", - "nodeType": "VariableDeclaration", - "scope": 18395, - "src": "24492:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18373, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24492:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18376, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24518:2:10", - "nodeType": "VariableDeclaration", - "scope": 18395, - "src": "24504:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18375, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24504:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18378, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24527:2:10", - "nodeType": "VariableDeclaration", - "scope": 18395, - "src": "24522:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18377, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24522:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18380, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24545:2:10", - "nodeType": "VariableDeclaration", - "scope": 18395, - "src": "24531:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18379, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24531:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "24491:57:10" - }, - "returnParameters": { - "id": 18382, - "nodeType": "ParameterList", - "parameters": [], - "src": "24563:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18418, - "nodeType": "FunctionDefinition", - "src": "24677:181:10", - "body": { - "id": 18417, - "nodeType": "Block", - "src": "24752:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c626f6f6c29", - "id": 18409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24802:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba535d9cec0fb8bbd83e61b83d0f575d149cba6778a192239c1bdc5170053e4f", - "typeString": "literal_string \"log(uint256,string,bool,bool)\"" - }, - "value": "log(uint256,string,bool,bool)" - }, - { - "id": 18410, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18397, - "src": "24835:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18411, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18399, - "src": "24839:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18412, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18401, - "src": "24843:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18413, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18403, - "src": "24847:2:10", - "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": 18407, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24778:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24782:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24778:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24778:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18406, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "24762:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24762:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18416, - "nodeType": "ExpressionStatement", - "src": "24762:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24686:3:10", - "parameters": { - "id": 18404, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18397, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24698:2:10", - "nodeType": "VariableDeclaration", - "scope": 18418, - "src": "24690:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24690:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18399, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24716:2:10", - "nodeType": "VariableDeclaration", - "scope": 18418, - "src": "24702:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18398, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24702:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18401, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24725:2:10", - "nodeType": "VariableDeclaration", - "scope": 18418, - "src": "24720:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18400, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24720:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18403, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24734:2:10", - "nodeType": "VariableDeclaration", - "scope": 18418, - "src": "24729:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18402, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24729:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "24689:48:10" - }, - "returnParameters": { - "id": 18405, - "nodeType": "ParameterList", - "parameters": [], - "src": "24752:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18441, - "nodeType": "FunctionDefinition", - "src": "24864:187:10", - "body": { - "id": 18440, - "nodeType": "Block", - "src": "24942:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c6164647265737329", - "id": 18432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24992:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ae2ec581fba979c4f79aae94f13936ff6bb7e283817b2ec0602d9daa028a1550", - "typeString": "literal_string \"log(uint256,string,bool,address)\"" - }, - "value": "log(uint256,string,bool,address)" - }, - { - "id": 18433, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18420, - "src": "25028:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18434, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18422, - "src": "25032:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18435, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18424, - "src": "25036:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18436, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18426, - "src": "25040:2:10", - "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": 18430, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24968:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "24972:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24968:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18437, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24968:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18429, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "24952:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "24952:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18439, - "nodeType": "ExpressionStatement", - "src": "24952:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24873:3:10", - "parameters": { - "id": 18427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18420, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24885:2:10", - "nodeType": "VariableDeclaration", - "scope": 18441, - "src": "24877:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18419, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24877:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18422, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24903:2:10", - "nodeType": "VariableDeclaration", - "scope": 18441, - "src": "24889:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18421, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24889:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18424, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24912:2:10", - "nodeType": "VariableDeclaration", - "scope": 18441, - "src": "24907:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18423, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24907:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18426, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24924:2:10", - "nodeType": "VariableDeclaration", - "scope": 18441, - "src": "24916:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24916:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "24876:51:10" - }, - "returnParameters": { - "id": 18428, - "nodeType": "ParameterList", - "parameters": [], - "src": "24942:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18464, - "nodeType": "FunctionDefinition", - "src": "25057:193:10", - "body": { - "id": 18463, - "nodeType": "Block", - "src": "25138:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c75696e7432353629", - "id": 18455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25188:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e8d3018d32ee5012095e63c81679b366f06035e83d43be351e9c327886860908", - "typeString": "literal_string \"log(uint256,string,address,uint256)\"" - }, - "value": "log(uint256,string,address,uint256)" - }, - { - "id": 18456, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18443, - "src": "25227:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18457, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18445, - "src": "25231:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18458, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18447, - "src": "25235:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18459, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18449, - "src": "25239:2:10", - "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": 18453, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25164:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25168:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25164:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25164:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18452, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "25148:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25148:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18462, - "nodeType": "ExpressionStatement", - "src": "25148:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25066:3:10", - "parameters": { - "id": 18450, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18443, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25078:2:10", - "nodeType": "VariableDeclaration", - "scope": 18464, - "src": "25070:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25070:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18445, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25096:2:10", - "nodeType": "VariableDeclaration", - "scope": 18464, - "src": "25082:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18444, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25082:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18447, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25108:2:10", - "nodeType": "VariableDeclaration", - "scope": 18464, - "src": "25100:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25100:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18449, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25120:2:10", - "nodeType": "VariableDeclaration", - "scope": 18464, - "src": "25112:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18448, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25112:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25069:54:10" - }, - "returnParameters": { - "id": 18451, - "nodeType": "ParameterList", - "parameters": [], - "src": "25138:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18487, - "nodeType": "FunctionDefinition", - "src": "25256:198:10", - "body": { - "id": 18486, - "nodeType": "Block", - "src": "25343:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c737472696e6729", - "id": 18478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25393:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c3adfa1394c3989d93ade538d03d04b05867057c1dd54721ae2c85f9a1a4720", - "typeString": "literal_string \"log(uint256,string,address,string)\"" - }, - "value": "log(uint256,string,address,string)" - }, - { - "id": 18479, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18466, - "src": "25431:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18480, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18468, - "src": "25435:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18481, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18470, - "src": "25439:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18482, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18472, - "src": "25443:2:10", - "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": 18476, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25369:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25373:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25369:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25369:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18475, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "25353:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25353:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18485, - "nodeType": "ExpressionStatement", - "src": "25353:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25265:3:10", - "parameters": { - "id": 18473, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18466, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25277:2:10", - "nodeType": "VariableDeclaration", - "scope": 18487, - "src": "25269:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18465, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25269:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18468, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25295:2:10", - "nodeType": "VariableDeclaration", - "scope": 18487, - "src": "25281:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18467, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25281:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18470, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25307:2:10", - "nodeType": "VariableDeclaration", - "scope": 18487, - "src": "25299:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18469, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25299:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18472, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25325:2:10", - "nodeType": "VariableDeclaration", - "scope": 18487, - "src": "25311:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18471, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25311:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "25268:60:10" - }, - "returnParameters": { - "id": 18474, - "nodeType": "ParameterList", - "parameters": [], - "src": "25343:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18510, - "nodeType": "FunctionDefinition", - "src": "25460:187:10", - "body": { - "id": 18509, - "nodeType": "Block", - "src": "25538:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c626f6f6c29", - "id": 18501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25588:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90c30a564e5b352d6dfee73888402a5685ca327aad7827d5040904440ee085c5", - "typeString": "literal_string \"log(uint256,string,address,bool)\"" - }, - "value": "log(uint256,string,address,bool)" - }, - { - "id": 18502, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18489, - "src": "25624:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18503, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18491, - "src": "25628:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18504, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18493, - "src": "25632:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18505, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18495, - "src": "25636:2:10", - "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": 18499, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25564:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25568:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25564:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25564:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18498, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "25548:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25548:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18508, - "nodeType": "ExpressionStatement", - "src": "25548:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25469:3:10", - "parameters": { - "id": 18496, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18489, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25481:2:10", - "nodeType": "VariableDeclaration", - "scope": 18510, - "src": "25473:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18488, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25473:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18491, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25499:2:10", - "nodeType": "VariableDeclaration", - "scope": 18510, - "src": "25485:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18490, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25485:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18493, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25511:2:10", - "nodeType": "VariableDeclaration", - "scope": 18510, - "src": "25503:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18492, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25503:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18495, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25520:2:10", - "nodeType": "VariableDeclaration", - "scope": 18510, - "src": "25515:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18494, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25515:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "25472:51:10" - }, - "returnParameters": { - "id": 18497, - "nodeType": "ParameterList", - "parameters": [], - "src": "25538:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18533, - "nodeType": "FunctionDefinition", - "src": "25653:193:10", - "body": { - "id": 18532, - "nodeType": "Block", - "src": "25734:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c6164647265737329", - "id": 18524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25784:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6168ed618844a2c75dc49207e69cdff562cd2faf2e74aa5192211a023611c6bd", - "typeString": "literal_string \"log(uint256,string,address,address)\"" - }, - "value": "log(uint256,string,address,address)" - }, - { - "id": 18525, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18512, - "src": "25823:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18526, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18514, - "src": "25827:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18527, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18516, - "src": "25831:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18528, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18518, - "src": "25835:2:10", - "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": 18522, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25760:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25764:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25760:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25760:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18521, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "25744:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "25744:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18531, - "nodeType": "ExpressionStatement", - "src": "25744:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25662:3:10", - "parameters": { - "id": 18519, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18512, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25674:2:10", - "nodeType": "VariableDeclaration", - "scope": 18533, - "src": "25666:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18511, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25666:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18514, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25692:2:10", - "nodeType": "VariableDeclaration", - "scope": 18533, - "src": "25678:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18513, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25678:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18516, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25704:2:10", - "nodeType": "VariableDeclaration", - "scope": 18533, - "src": "25696:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25696:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18518, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25716:2:10", - "nodeType": "VariableDeclaration", - "scope": 18533, - "src": "25708:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18517, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25708:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "25665:54:10" - }, - "returnParameters": { - "id": 18520, - "nodeType": "ParameterList", - "parameters": [], - "src": "25734:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18556, - "nodeType": "FunctionDefinition", - "src": "25852:182:10", - "body": { - "id": 18555, - "nodeType": "Block", - "src": "25924:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c75696e7432353629", - "id": 18547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25974:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c6acc7a8396e6de9a5a1476aecf2cbff57758b174747b0371b7f3994e930b8b4", - "typeString": "literal_string \"log(uint256,bool,uint256,uint256)\"" - }, - "value": "log(uint256,bool,uint256,uint256)" - }, - { - "id": 18548, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18535, - "src": "26011:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18549, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18537, - "src": "26015:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18550, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18539, - "src": "26019:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18551, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18541, - "src": "26023:2:10", - "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": 18545, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25950:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "25954:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25950:23:10", - "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": "25950:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18544, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "25934:15:10", - "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": "25934:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18554, - "nodeType": "ExpressionStatement", - "src": "25934:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25861:3:10", - "parameters": { - "id": 18542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18535, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25873:2:10", - "nodeType": "VariableDeclaration", - "scope": 18556, - "src": "25865:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18534, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25865:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18537, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25882:2:10", - "nodeType": "VariableDeclaration", - "scope": 18556, - "src": "25877:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18536, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25877:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18539, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25894:2:10", - "nodeType": "VariableDeclaration", - "scope": 18556, - "src": "25886:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18538, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25886:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18541, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25906:2:10", - "nodeType": "VariableDeclaration", - "scope": 18556, - "src": "25898:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18540, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25898:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25864:45:10" - }, - "returnParameters": { - "id": 18543, - "nodeType": "ParameterList", - "parameters": [], - "src": "25924:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18579, - "nodeType": "FunctionDefinition", - "src": "26040:187:10", - "body": { - "id": 18578, - "nodeType": "Block", - "src": "26118:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c737472696e6729", - "id": 18570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26168:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de03e77403acbacf9b1b18c1115984c9fba2c45e2eec9f12c266ada3f62a0d1b", - "typeString": "literal_string \"log(uint256,bool,uint256,string)\"" - }, - "value": "log(uint256,bool,uint256,string)" - }, - { - "id": 18571, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18558, - "src": "26204:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18572, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18560, - "src": "26208:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18573, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18562, - "src": "26212:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18574, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18564, - "src": "26216:2:10", - "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": 18568, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26144:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26148:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26144:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26144:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18567, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "26128:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26128:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18577, - "nodeType": "ExpressionStatement", - "src": "26128:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26049:3:10", - "parameters": { - "id": 18565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18558, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26061:2:10", - "nodeType": "VariableDeclaration", - "scope": 18579, - "src": "26053:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26053:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18560, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26070:2:10", - "nodeType": "VariableDeclaration", - "scope": 18579, - "src": "26065:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18559, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26065:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18562, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26082:2:10", - "nodeType": "VariableDeclaration", - "scope": 18579, - "src": "26074:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18561, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26074:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18564, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26100:2:10", - "nodeType": "VariableDeclaration", - "scope": 18579, - "src": "26086:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18563, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26086:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "26052:51:10" - }, - "returnParameters": { - "id": 18566, - "nodeType": "ParameterList", - "parameters": [], - "src": "26118:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18602, - "nodeType": "FunctionDefinition", - "src": "26233:176:10", - "body": { - "id": 18601, - "nodeType": "Block", - "src": "26302:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c626f6f6c29", - "id": 18593, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26352:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91a02e2ac8ae09683fa28beba3fd130b88054c89e51901b8e0510c8e25aa37d1", - "typeString": "literal_string \"log(uint256,bool,uint256,bool)\"" - }, - "value": "log(uint256,bool,uint256,bool)" - }, - { - "id": 18594, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18581, - "src": "26386:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18595, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18583, - "src": "26390:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18596, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18585, - "src": "26394:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18597, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18587, - "src": "26398:2:10", - "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": 18591, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26328:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26332:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26328:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26328:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18590, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "26312:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26312:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18600, - "nodeType": "ExpressionStatement", - "src": "26312:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26242:3:10", - "parameters": { - "id": 18588, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18581, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26254:2:10", - "nodeType": "VariableDeclaration", - "scope": 18602, - "src": "26246:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26246:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18583, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26263:2:10", - "nodeType": "VariableDeclaration", - "scope": 18602, - "src": "26258:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18582, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26258:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18585, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26275:2:10", - "nodeType": "VariableDeclaration", - "scope": 18602, - "src": "26267:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18584, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26267:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18587, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26284:2:10", - "nodeType": "VariableDeclaration", - "scope": 18602, - "src": "26279:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18586, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26279:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "26245:42:10" - }, - "returnParameters": { - "id": 18589, - "nodeType": "ParameterList", - "parameters": [], - "src": "26302:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18625, - "nodeType": "FunctionDefinition", - "src": "26415:182:10", - "body": { - "id": 18624, - "nodeType": "Block", - "src": "26487:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c6164647265737329", - "id": 18616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26537:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88cb6041693b97a5282ad65a65484c065fbc3d3a4dac698c427f5b30bb33b29b", - "typeString": "literal_string \"log(uint256,bool,uint256,address)\"" - }, - "value": "log(uint256,bool,uint256,address)" - }, - { - "id": 18617, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18604, - "src": "26574:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18618, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18606, - "src": "26578:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18619, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18608, - "src": "26582:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18620, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18610, - "src": "26586:2:10", - "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": 18614, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26513:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26517:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26513:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26513:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18613, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "26497:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26497:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18623, - "nodeType": "ExpressionStatement", - "src": "26497:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26424:3:10", - "parameters": { - "id": 18611, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18604, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26436:2:10", - "nodeType": "VariableDeclaration", - "scope": 18625, - "src": "26428:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18603, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26428:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18606, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26445:2:10", - "nodeType": "VariableDeclaration", - "scope": 18625, - "src": "26440:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18605, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26440:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18608, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26457:2:10", - "nodeType": "VariableDeclaration", - "scope": 18625, - "src": "26449:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18607, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26449:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18610, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26469:2:10", - "nodeType": "VariableDeclaration", - "scope": 18625, - "src": "26461:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18609, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26461:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "26427:45:10" - }, - "returnParameters": { - "id": 18612, - "nodeType": "ParameterList", - "parameters": [], - "src": "26487:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18648, - "nodeType": "FunctionDefinition", - "src": "26603:187:10", - "body": { - "id": 18647, - "nodeType": "Block", - "src": "26681:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c75696e7432353629", - "id": 18639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26731:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c1d07463509a567bf9962980ac948a2ea7c76a53c189a607b7b35b14e806be8", - "typeString": "literal_string \"log(uint256,bool,string,uint256)\"" - }, - "value": "log(uint256,bool,string,uint256)" - }, - { - "id": 18640, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18627, - "src": "26767:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18641, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18629, - "src": "26771:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18642, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18631, - "src": "26775:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18643, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18633, - "src": "26779:2:10", - "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": 18637, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26707:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18638, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26711:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26707:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26707:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18636, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "26691:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26691:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18646, - "nodeType": "ExpressionStatement", - "src": "26691:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26612:3:10", - "parameters": { - "id": 18634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18627, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26624:2:10", - "nodeType": "VariableDeclaration", - "scope": 18648, - "src": "26616:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18626, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26616:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18629, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26633:2:10", - "nodeType": "VariableDeclaration", - "scope": 18648, - "src": "26628:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18628, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26628:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18631, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26651:2:10", - "nodeType": "VariableDeclaration", - "scope": 18648, - "src": "26637:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18630, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26637:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18633, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26663:2:10", - "nodeType": "VariableDeclaration", - "scope": 18648, - "src": "26655:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18632, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26655:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "26615:51:10" - }, - "returnParameters": { - "id": 18635, - "nodeType": "ParameterList", - "parameters": [], - "src": "26681:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18671, - "nodeType": "FunctionDefinition", - "src": "26796:192:10", - "body": { - "id": 18670, - "nodeType": "Block", - "src": "26880:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c737472696e6729", - "id": 18662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26930:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68c8b8bd8cd0cfd8add7c6745840520db0bd1049365ac415de6367b3b79b5ddd", - "typeString": "literal_string \"log(uint256,bool,string,string)\"" - }, - "value": "log(uint256,bool,string,string)" - }, - { - "id": 18663, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18650, - "src": "26965:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18664, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18652, - "src": "26969:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18665, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18654, - "src": "26973:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18666, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18656, - "src": "26977:2:10", - "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": 18660, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26906:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18661, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "26910:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26906:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26906:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18659, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "26890:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "26890:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18669, - "nodeType": "ExpressionStatement", - "src": "26890:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26805:3:10", - "parameters": { - "id": 18657, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18650, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26817:2:10", - "nodeType": "VariableDeclaration", - "scope": 18671, - "src": "26809:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18649, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26809:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18652, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26826:2:10", - "nodeType": "VariableDeclaration", - "scope": 18671, - "src": "26821:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18651, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26821:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18654, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26844:2:10", - "nodeType": "VariableDeclaration", - "scope": 18671, - "src": "26830:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18653, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26830:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18656, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26862:2:10", - "nodeType": "VariableDeclaration", - "scope": 18671, - "src": "26848:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18655, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26848:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "26808:57:10" - }, - "returnParameters": { - "id": 18658, - "nodeType": "ParameterList", - "parameters": [], - "src": "26880:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18694, - "nodeType": "FunctionDefinition", - "src": "26994:181:10", - "body": { - "id": 18693, - "nodeType": "Block", - "src": "27069:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c626f6f6c29", - "id": 18685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27119:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb928d7f2c458ba40d8ba853c60153b2f73ca9189d4be051103bc8a6c10d45ad", - "typeString": "literal_string \"log(uint256,bool,string,bool)\"" - }, - "value": "log(uint256,bool,string,bool)" - }, - { - "id": 18686, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18673, - "src": "27152:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18687, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18675, - "src": "27156:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18688, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18677, - "src": "27160:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18689, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18679, - "src": "27164:2:10", - "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": 18683, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27095:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27099:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27095:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27095:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18682, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "27079:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27079:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18692, - "nodeType": "ExpressionStatement", - "src": "27079:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27003:3:10", - "parameters": { - "id": 18680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18673, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27015:2:10", - "nodeType": "VariableDeclaration", - "scope": 18694, - "src": "27007:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18672, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27007:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18675, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27024:2:10", - "nodeType": "VariableDeclaration", - "scope": 18694, - "src": "27019:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18674, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27019:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18677, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27042:2:10", - "nodeType": "VariableDeclaration", - "scope": 18694, - "src": "27028:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18676, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27028:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18679, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27051:2:10", - "nodeType": "VariableDeclaration", - "scope": 18694, - "src": "27046:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18678, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27046:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27006:48:10" - }, - "returnParameters": { - "id": 18681, - "nodeType": "ParameterList", - "parameters": [], - "src": "27069:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18717, - "nodeType": "FunctionDefinition", - "src": "27181:187:10", - "body": { - "id": 18716, - "nodeType": "Block", - "src": "27259:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c6164647265737329", - "id": 18708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27309:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef529018e81552426f837435fb92b39b88965df2736546faff28c9f06e5f58b5", - "typeString": "literal_string \"log(uint256,bool,string,address)\"" - }, - "value": "log(uint256,bool,string,address)" - }, - { - "id": 18709, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18696, - "src": "27345:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18710, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18698, - "src": "27349:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18711, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18700, - "src": "27353:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 18712, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18702, - "src": "27357:2:10", - "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": 18706, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27285:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27289:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27285:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27285:75:10", - "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": 15646, - "src": "27269:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27269:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18715, - "nodeType": "ExpressionStatement", - "src": "27269:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27190:3:10", - "parameters": { - "id": 18703, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18696, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27202:2:10", - "nodeType": "VariableDeclaration", - "scope": 18717, - "src": "27194:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18695, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27194:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18698, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27211:2:10", - "nodeType": "VariableDeclaration", - "scope": 18717, - "src": "27206:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18697, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27206:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18700, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27229:2:10", - "nodeType": "VariableDeclaration", - "scope": 18717, - "src": "27215:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18699, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27215:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18702, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27241:2:10", - "nodeType": "VariableDeclaration", - "scope": 18717, - "src": "27233:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18701, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27233:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "27193:51:10" - }, - "returnParameters": { - "id": 18704, - "nodeType": "ParameterList", - "parameters": [], - "src": "27259:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18740, - "nodeType": "FunctionDefinition", - "src": "27374:176:10", - "body": { - "id": 18739, - "nodeType": "Block", - "src": "27443:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 18731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27493:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7464ce2380e6490f75dd524dd03612157b27bca22ecbf1bc2f0ca22ac41015d1", - "typeString": "literal_string \"log(uint256,bool,bool,uint256)\"" - }, - "value": "log(uint256,bool,bool,uint256)" - }, - { - "id": 18732, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18719, - "src": "27527:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18733, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18721, - "src": "27531:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18734, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18723, - "src": "27535:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18735, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18725, - "src": "27539:2:10", - "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": 18729, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27469:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27473:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27469:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27469:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18728, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "27453:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27453:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18738, - "nodeType": "ExpressionStatement", - "src": "27453:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27383:3:10", - "parameters": { - "id": 18726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18719, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27395:2:10", - "nodeType": "VariableDeclaration", - "scope": 18740, - "src": "27387:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18718, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27387:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18721, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27404:2:10", - "nodeType": "VariableDeclaration", - "scope": 18740, - "src": "27399:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18720, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27399:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18723, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27413:2:10", - "nodeType": "VariableDeclaration", - "scope": 18740, - "src": "27408:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18722, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27408:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18725, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27425:2:10", - "nodeType": "VariableDeclaration", - "scope": 18740, - "src": "27417:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18724, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27417:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27386:42:10" - }, - "returnParameters": { - "id": 18727, - "nodeType": "ParameterList", - "parameters": [], - "src": "27443:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18763, - "nodeType": "FunctionDefinition", - "src": "27556:181:10", - "body": { - "id": 18762, - "nodeType": "Block", - "src": "27631:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c737472696e6729", - "id": 18754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27681:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dddb956172e374c580dd136b5b8151c6400d22ece6b561a1010b6b9e902dd439", - "typeString": "literal_string \"log(uint256,bool,bool,string)\"" - }, - "value": "log(uint256,bool,bool,string)" - }, - { - "id": 18755, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18742, - "src": "27714:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18756, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18744, - "src": "27718:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18757, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18746, - "src": "27722:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18758, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18748, - "src": "27726:2:10", - "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": 18752, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27657:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18753, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27661:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27657:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27657:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18751, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "27641:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27641:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18761, - "nodeType": "ExpressionStatement", - "src": "27641:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27565:3:10", - "parameters": { - "id": 18749, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18742, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27577:2:10", - "nodeType": "VariableDeclaration", - "scope": 18763, - "src": "27569:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18741, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27569:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18744, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27586:2:10", - "nodeType": "VariableDeclaration", - "scope": 18763, - "src": "27581:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18743, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27581:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18746, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27595:2:10", - "nodeType": "VariableDeclaration", - "scope": 18763, - "src": "27590:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18745, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27590:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18748, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27613:2:10", - "nodeType": "VariableDeclaration", - "scope": 18763, - "src": "27599:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18747, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27599:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "27568:48:10" - }, - "returnParameters": { - "id": 18750, - "nodeType": "ParameterList", - "parameters": [], - "src": "27631:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18786, - "nodeType": "FunctionDefinition", - "src": "27743:170:10", - "body": { - "id": 18785, - "nodeType": "Block", - "src": "27809:104:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 18777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27859:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6f577a1520f8fa7d40eaff9dcd5f293e28b7606bd07d0a450b13db93da80473", - "typeString": "literal_string \"log(uint256,bool,bool,bool)\"" - }, - "value": "log(uint256,bool,bool,bool)" - }, - { - "id": 18778, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18765, - "src": "27890:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18779, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18767, - "src": "27894:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18780, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18769, - "src": "27898:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18781, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18771, - "src": "27902:2:10", - "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": 18775, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27835:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "27839:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27835:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27835:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18774, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "27819:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27819:87:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18784, - "nodeType": "ExpressionStatement", - "src": "27819:87:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27752:3:10", - "parameters": { - "id": 18772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18765, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27764:2:10", - "nodeType": "VariableDeclaration", - "scope": 18786, - "src": "27756:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18764, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27756:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18767, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27773:2:10", - "nodeType": "VariableDeclaration", - "scope": 18786, - "src": "27768:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18766, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27768:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18769, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27782:2:10", - "nodeType": "VariableDeclaration", - "scope": 18786, - "src": "27777:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18768, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27777:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18771, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27791:2:10", - "nodeType": "VariableDeclaration", - "scope": 18786, - "src": "27786:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18770, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27786:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27755:39:10" - }, - "returnParameters": { - "id": 18773, - "nodeType": "ParameterList", - "parameters": [], - "src": "27809:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18809, - "nodeType": "FunctionDefinition", - "src": "27919:176:10", - "body": { - "id": 18808, - "nodeType": "Block", - "src": "27988:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c6164647265737329", - "id": 18800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28038:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_69640b598ea5b9e4e68e932871cb8a509ce832c6718a902773532568b8c95c31", - "typeString": "literal_string \"log(uint256,bool,bool,address)\"" - }, - "value": "log(uint256,bool,bool,address)" - }, - { - "id": 18801, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18788, - "src": "28072:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18802, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18790, - "src": "28076:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18803, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18792, - "src": "28080:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18804, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18794, - "src": "28084:2:10", - "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": 18798, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28014:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18799, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28018:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28014:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28014:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18797, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "27998:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "27998:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18807, - "nodeType": "ExpressionStatement", - "src": "27998:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27928:3:10", - "parameters": { - "id": 18795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18788, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27940:2:10", - "nodeType": "VariableDeclaration", - "scope": 18809, - "src": "27932:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18787, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27932:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18790, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27949:2:10", - "nodeType": "VariableDeclaration", - "scope": 18809, - "src": "27944:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18789, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27944:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18792, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27958:2:10", - "nodeType": "VariableDeclaration", - "scope": 18809, - "src": "27953:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18791, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27953:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18794, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27970:2:10", - "nodeType": "VariableDeclaration", - "scope": 18809, - "src": "27962:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18793, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27962:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "27931:42:10" - }, - "returnParameters": { - "id": 18796, - "nodeType": "ParameterList", - "parameters": [], - "src": "27988:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18832, - "nodeType": "FunctionDefinition", - "src": "28101:182:10", - "body": { - "id": 18831, - "nodeType": "Block", - "src": "28173:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c75696e7432353629", - "id": 18823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28223:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_078287f5d654caee11cca90bb8c074a9529509cd07319dc17a93fa036ea5ea88", - "typeString": "literal_string \"log(uint256,bool,address,uint256)\"" - }, - "value": "log(uint256,bool,address,uint256)" - }, - { - "id": 18824, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18811, - "src": "28260:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18825, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18813, - "src": "28264:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18826, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18815, - "src": "28268:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18827, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18817, - "src": "28272:2:10", - "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": 18821, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28199:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18822, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28203:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28199:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28199:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18820, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "28183:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28183:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18830, - "nodeType": "ExpressionStatement", - "src": "28183:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28110:3:10", - "parameters": { - "id": 18818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18811, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28122:2:10", - "nodeType": "VariableDeclaration", - "scope": 18832, - "src": "28114:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18810, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28114:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18813, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28131:2:10", - "nodeType": "VariableDeclaration", - "scope": 18832, - "src": "28126:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18812, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28126:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18815, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28143:2:10", - "nodeType": "VariableDeclaration", - "scope": 18832, - "src": "28135:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18814, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28135:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18817, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28155:2:10", - "nodeType": "VariableDeclaration", - "scope": 18832, - "src": "28147:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18816, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28147:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28113:45:10" - }, - "returnParameters": { - "id": 18819, - "nodeType": "ParameterList", - "parameters": [], - "src": "28173:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18855, - "nodeType": "FunctionDefinition", - "src": "28289:187:10", - "body": { - "id": 18854, - "nodeType": "Block", - "src": "28367:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c737472696e6729", - "id": 18846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28417:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ade052c70a8f7736e3d4ca12bfb5de52ba51cd4551a71eb41200e5ca9b193461", - "typeString": "literal_string \"log(uint256,bool,address,string)\"" - }, - "value": "log(uint256,bool,address,string)" - }, - { - "id": 18847, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18834, - "src": "28453:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18848, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18836, - "src": "28457:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18849, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18838, - "src": "28461:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18850, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18840, - "src": "28465:2:10", - "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": 18844, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28393:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18845, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28397:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28393:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28393:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18843, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "28377:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28377:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18853, - "nodeType": "ExpressionStatement", - "src": "28377:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28298:3:10", - "parameters": { - "id": 18841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18834, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28310:2:10", - "nodeType": "VariableDeclaration", - "scope": 18855, - "src": "28302:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18833, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28302:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18836, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28319:2:10", - "nodeType": "VariableDeclaration", - "scope": 18855, - "src": "28314:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18835, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28314:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18838, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28331:2:10", - "nodeType": "VariableDeclaration", - "scope": 18855, - "src": "28323:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18837, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28323:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18840, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28349:2:10", - "nodeType": "VariableDeclaration", - "scope": 18855, - "src": "28335:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18839, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28335:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28301:51:10" - }, - "returnParameters": { - "id": 18842, - "nodeType": "ParameterList", - "parameters": [], - "src": "28367:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18878, - "nodeType": "FunctionDefinition", - "src": "28482:176:10", - "body": { - "id": 18877, - "nodeType": "Block", - "src": "28551:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c626f6f6c29", - "id": 18869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28601:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_454d54a5a1119d55883b5fbee0d6f19af54017eb1650d2284224aac472880f6a", - "typeString": "literal_string \"log(uint256,bool,address,bool)\"" - }, - "value": "log(uint256,bool,address,bool)" - }, - { - "id": 18870, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18857, - "src": "28635:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18871, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18859, - "src": "28639:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18872, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18861, - "src": "28643:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18873, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18863, - "src": "28647:2:10", - "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": 18867, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28577:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28581:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28577:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28577:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18866, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "28561:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28561:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18876, - "nodeType": "ExpressionStatement", - "src": "28561:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28491:3:10", - "parameters": { - "id": 18864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18857, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28503:2:10", - "nodeType": "VariableDeclaration", - "scope": 18878, - "src": "28495:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18856, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28495:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18859, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28512:2:10", - "nodeType": "VariableDeclaration", - "scope": 18878, - "src": "28507:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18858, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28507:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18861, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28524:2:10", - "nodeType": "VariableDeclaration", - "scope": 18878, - "src": "28516:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18860, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28516:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18863, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28533:2:10", - "nodeType": "VariableDeclaration", - "scope": 18878, - "src": "28528:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18862, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28528:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "28494:42:10" - }, - "returnParameters": { - "id": 18865, - "nodeType": "ParameterList", - "parameters": [], - "src": "28551:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18901, - "nodeType": "FunctionDefinition", - "src": "28664:182:10", - "body": { - "id": 18900, - "nodeType": "Block", - "src": "28736:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c6164647265737329", - "id": 18892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28786:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1ef4cbbfd0316a849f14b661567c9c341a49bccb745dfb6a3d9b82c389ac190", - "typeString": "literal_string \"log(uint256,bool,address,address)\"" - }, - "value": "log(uint256,bool,address,address)" - }, - { - "id": 18893, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18880, - "src": "28823:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18894, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18882, - "src": "28827:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 18895, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18884, - "src": "28831:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18896, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18886, - "src": "28835:2:10", - "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": 18890, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28762:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18891, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28766:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28762:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28762:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18889, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "28746:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28746:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18899, - "nodeType": "ExpressionStatement", - "src": "28746:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28673:3:10", - "parameters": { - "id": 18887, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18880, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28685:2:10", - "nodeType": "VariableDeclaration", - "scope": 18901, - "src": "28677:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18879, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28677:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18882, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28694:2:10", - "nodeType": "VariableDeclaration", - "scope": 18901, - "src": "28689:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18881, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28689:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18884, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28706:2:10", - "nodeType": "VariableDeclaration", - "scope": 18901, - "src": "28698:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18883, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28698:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18886, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28718:2:10", - "nodeType": "VariableDeclaration", - "scope": 18901, - "src": "28710:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28710:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "28676:45:10" - }, - "returnParameters": { - "id": 18888, - "nodeType": "ParameterList", - "parameters": [], - "src": "28736:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18924, - "nodeType": "FunctionDefinition", - "src": "28852:188:10", - "body": { - "id": 18923, - "nodeType": "Block", - "src": "28927:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c75696e7432353629", - "id": 18915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28977:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c9cd9c12a2e17a9af800ac7e9a2b379066135ecb5b197bdb13381ac61cbc59a", - "typeString": "literal_string \"log(uint256,address,uint256,uint256)\"" - }, - "value": "log(uint256,address,uint256,uint256)" - }, - { - "id": 18916, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18903, - "src": "29017:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18917, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18905, - "src": "29021:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18918, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18907, - "src": "29025:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18919, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18909, - "src": "29029:2:10", - "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": 18913, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28953:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "28957:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28953:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28953:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18912, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "28937:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "28937:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18922, - "nodeType": "ExpressionStatement", - "src": "28937:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28861:3:10", - "parameters": { - "id": 18910, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18903, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28873:2:10", - "nodeType": "VariableDeclaration", - "scope": 18924, - "src": "28865:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18902, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28865:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18905, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28885:2:10", - "nodeType": "VariableDeclaration", - "scope": 18924, - "src": "28877:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18904, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28877:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18907, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28897:2:10", - "nodeType": "VariableDeclaration", - "scope": 18924, - "src": "28889:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18906, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28889:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18909, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28909:2:10", - "nodeType": "VariableDeclaration", - "scope": 18924, - "src": "28901:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18908, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28901:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28864:48:10" - }, - "returnParameters": { - "id": 18911, - "nodeType": "ParameterList", - "parameters": [], - "src": "28927:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18947, - "nodeType": "FunctionDefinition", - "src": "29046:193:10", - "body": { - "id": 18946, - "nodeType": "Block", - "src": "29127:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c737472696e6729", - "id": 18938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29177:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ddb06521f885b932f9898b05830c564a50fea82133f47ad308278affbd84d0bd", - "typeString": "literal_string \"log(uint256,address,uint256,string)\"" - }, - "value": "log(uint256,address,uint256,string)" - }, - { - "id": 18939, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18926, - "src": "29216:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18940, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18928, - "src": "29220:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18941, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18930, - "src": "29224:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18942, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18932, - "src": "29228:2:10", - "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": 18936, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29153:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29157:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29153:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29153:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18935, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "29137:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29137:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18945, - "nodeType": "ExpressionStatement", - "src": "29137:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29055:3:10", - "parameters": { - "id": 18933, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18926, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29067:2:10", - "nodeType": "VariableDeclaration", - "scope": 18947, - "src": "29059:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18925, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29059:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18928, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29079:2:10", - "nodeType": "VariableDeclaration", - "scope": 18947, - "src": "29071:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18927, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29071:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18930, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29091:2:10", - "nodeType": "VariableDeclaration", - "scope": 18947, - "src": "29083:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18929, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29083:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18932, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29109:2:10", - "nodeType": "VariableDeclaration", - "scope": 18947, - "src": "29095:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18931, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29095:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29058:54:10" - }, - "returnParameters": { - "id": 18934, - "nodeType": "ParameterList", - "parameters": [], - "src": "29127:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18970, - "nodeType": "FunctionDefinition", - "src": "29245:182:10", - "body": { - "id": 18969, - "nodeType": "Block", - "src": "29317:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c626f6f6c29", - "id": 18961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29367:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f743a7c155871069fb5e6df4e57e25e572bb3015b18294cc69630b2e0ae2e5f", - "typeString": "literal_string \"log(uint256,address,uint256,bool)\"" - }, - "value": "log(uint256,address,uint256,bool)" - }, - { - "id": 18962, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18949, - "src": "29404:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18963, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18951, - "src": "29408:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18964, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18953, - "src": "29412:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18965, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18955, - "src": "29416:2:10", - "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": 18959, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29343:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18960, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29347:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29343:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18966, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29343:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18958, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "29327:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29327:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18968, - "nodeType": "ExpressionStatement", - "src": "29327:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29254:3:10", - "parameters": { - "id": 18956, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18949, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29266:2:10", - "nodeType": "VariableDeclaration", - "scope": 18970, - "src": "29258:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18948, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29258:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18951, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29278:2:10", - "nodeType": "VariableDeclaration", - "scope": 18970, - "src": "29270:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29270:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18953, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29290:2:10", - "nodeType": "VariableDeclaration", - "scope": 18970, - "src": "29282:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29282:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18955, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29299:2:10", - "nodeType": "VariableDeclaration", - "scope": 18970, - "src": "29294:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 18954, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29294:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "29257:45:10" - }, - "returnParameters": { - "id": 18957, - "nodeType": "ParameterList", - "parameters": [], - "src": "29317:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 18993, - "nodeType": "FunctionDefinition", - "src": "29433:188:10", - "body": { - "id": 18992, - "nodeType": "Block", - "src": "29508:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c6164647265737329", - "id": 18984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29558:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_15c127b50404cc1f9627d5115fd42bf400df548658b1002bf25e12f94854b379", - "typeString": "literal_string \"log(uint256,address,uint256,address)\"" - }, - "value": "log(uint256,address,uint256,address)" - }, - { - "id": 18985, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18972, - "src": "29598:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18986, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18974, - "src": "29602:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 18987, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18976, - "src": "29606:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 18988, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18978, - "src": "29610:2:10", - "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": 18982, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29534:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 18983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29538:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29534:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 18989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29534:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 18981, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "29518:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 18990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29518:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 18991, - "nodeType": "ExpressionStatement", - "src": "29518:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29442:3:10", - "parameters": { - "id": 18979, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18972, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29454:2:10", - "nodeType": "VariableDeclaration", - "scope": 18993, - "src": "29446:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18971, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29446:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18974, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29466:2:10", - "nodeType": "VariableDeclaration", - "scope": 18993, - "src": "29458:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18973, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29458:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18976, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29478:2:10", - "nodeType": "VariableDeclaration", - "scope": 18993, - "src": "29470:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18975, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29470:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18978, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29490:2:10", - "nodeType": "VariableDeclaration", - "scope": 18993, - "src": "29482:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18977, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29482:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "29445:48:10" - }, - "returnParameters": { - "id": 18980, - "nodeType": "ParameterList", - "parameters": [], - "src": "29508:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19016, - "nodeType": "FunctionDefinition", - "src": "29627:193:10", - "body": { - "id": 19015, - "nodeType": "Block", - "src": "29708:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c75696e7432353629", - "id": 19007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29758:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46826b5dec5e8aeff4504f2c138d4e9c8aadb89d9034725f3050269a35303ba0", - "typeString": "literal_string \"log(uint256,address,string,uint256)\"" - }, - "value": "log(uint256,address,string,uint256)" - }, - { - "id": 19008, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18995, - "src": "29797:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19009, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18997, - "src": "29801:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19010, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 18999, - "src": "29805:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19011, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19001, - "src": "29809:2:10", - "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": 19005, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29734:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29738:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29734:23:10", - "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": "29734:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19004, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "29718:15:10", - "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": "29718:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19014, - "nodeType": "ExpressionStatement", - "src": "29718:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29636:3:10", - "parameters": { - "id": 19002, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 18995, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29648:2:10", - "nodeType": "VariableDeclaration", - "scope": 19016, - "src": "29640:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 18994, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29640:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18997, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29660:2:10", - "nodeType": "VariableDeclaration", - "scope": 19016, - "src": "29652:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 18996, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29652:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 18999, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29678:2:10", - "nodeType": "VariableDeclaration", - "scope": 19016, - "src": "29664:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 18998, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29664:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19001, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29690:2:10", - "nodeType": "VariableDeclaration", - "scope": 19016, - "src": "29682:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19000, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29682:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "29639:54:10" - }, - "returnParameters": { - "id": 19003, - "nodeType": "ParameterList", - "parameters": [], - "src": "29708:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19039, - "nodeType": "FunctionDefinition", - "src": "29826:198:10", - "body": { - "id": 19038, - "nodeType": "Block", - "src": "29913:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c737472696e6729", - "id": 19030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29963:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e128ca3cc785552dc4e62d3c73af79fb5f114dc6f0c0eb2bc0e3bdbbd4a1d3b", - "typeString": "literal_string \"log(uint256,address,string,string)\"" - }, - "value": "log(uint256,address,string,string)" - }, - { - "id": 19031, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19018, - "src": "30001:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19032, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19020, - "src": "30005:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19033, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19022, - "src": "30009:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19034, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19024, - "src": "30013:2:10", - "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": 19028, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29939:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "29943:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29939:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29939:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19027, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "29923:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "29923:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19037, - "nodeType": "ExpressionStatement", - "src": "29923:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29835:3:10", - "parameters": { - "id": 19025, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19018, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29847:2:10", - "nodeType": "VariableDeclaration", - "scope": 19039, - "src": "29839:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19017, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29839:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19020, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29859:2:10", - "nodeType": "VariableDeclaration", - "scope": 19039, - "src": "29851:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19019, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29851:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19022, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29877:2:10", - "nodeType": "VariableDeclaration", - "scope": 19039, - "src": "29863:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19021, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29863:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19024, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29895:2:10", - "nodeType": "VariableDeclaration", - "scope": 19039, - "src": "29881:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19023, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29881:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29838:60:10" - }, - "returnParameters": { - "id": 19026, - "nodeType": "ParameterList", - "parameters": [], - "src": "29913:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19062, - "nodeType": "FunctionDefinition", - "src": "30030:187:10", - "body": { - "id": 19061, - "nodeType": "Block", - "src": "30108:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c626f6f6c29", - "id": 19053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30158:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc32ab07df108ae88df1c6b9771e60e5cd39cbe0f0e92481af8633000db2c64b", - "typeString": "literal_string \"log(uint256,address,string,bool)\"" - }, - "value": "log(uint256,address,string,bool)" - }, - { - "id": 19054, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19041, - "src": "30194:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19055, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19043, - "src": "30198:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19056, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19045, - "src": "30202:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19057, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19047, - "src": "30206:2:10", - "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": 19051, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30134:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30138:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30134:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30134:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19050, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "30118:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30118:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19060, - "nodeType": "ExpressionStatement", - "src": "30118:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30039:3:10", - "parameters": { - "id": 19048, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19041, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30051:2:10", - "nodeType": "VariableDeclaration", - "scope": 19062, - "src": "30043:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19040, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30043:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19043, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30063:2:10", - "nodeType": "VariableDeclaration", - "scope": 19062, - "src": "30055:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19042, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30055:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19045, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30081:2:10", - "nodeType": "VariableDeclaration", - "scope": 19062, - "src": "30067:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19044, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30067:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19047, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30090:2:10", - "nodeType": "VariableDeclaration", - "scope": 19062, - "src": "30085:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19046, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30085:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30042:51:10" - }, - "returnParameters": { - "id": 19049, - "nodeType": "ParameterList", - "parameters": [], - "src": "30108:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19085, - "nodeType": "FunctionDefinition", - "src": "30223:193:10", - "body": { - "id": 19084, - "nodeType": "Block", - "src": "30304:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c6164647265737329", - "id": 19076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30354:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9cba8fffa4a3e6f47d307a71f619bf1719d0a75680c6c916d7776ea0341039b9", - "typeString": "literal_string \"log(uint256,address,string,address)\"" - }, - "value": "log(uint256,address,string,address)" - }, - { - "id": 19077, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19064, - "src": "30393:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19078, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19066, - "src": "30397:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19079, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19068, - "src": "30401:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19080, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19070, - "src": "30405:2:10", - "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": 19074, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30330:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30334:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30330:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30330:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19073, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "30314:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30314:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19083, - "nodeType": "ExpressionStatement", - "src": "30314:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30232:3:10", - "parameters": { - "id": 19071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19064, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30244:2:10", - "nodeType": "VariableDeclaration", - "scope": 19085, - "src": "30236:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30236:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19066, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30256:2:10", - "nodeType": "VariableDeclaration", - "scope": 19085, - "src": "30248:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30248:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19068, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30274:2:10", - "nodeType": "VariableDeclaration", - "scope": 19085, - "src": "30260:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19067, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30260:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19070, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30286:2:10", - "nodeType": "VariableDeclaration", - "scope": 19085, - "src": "30278:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30278:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "30235:54:10" - }, - "returnParameters": { - "id": 19072, - "nodeType": "ParameterList", - "parameters": [], - "src": "30304:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19108, - "nodeType": "FunctionDefinition", - "src": "30422:182:10", - "body": { - "id": 19107, - "nodeType": "Block", - "src": "30494:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c75696e7432353629", - "id": 19099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30544:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5abd992a7a64be8afc8745d44215dd5b4a31f8b03abd4cb03ff6565b7f51c1b1", - "typeString": "literal_string \"log(uint256,address,bool,uint256)\"" - }, - "value": "log(uint256,address,bool,uint256)" - }, - { - "id": 19100, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19087, - "src": "30581:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19101, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19089, - "src": "30585:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19102, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19091, - "src": "30589:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19103, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19093, - "src": "30593:2:10", - "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": 19097, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30520:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19098, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30524:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30520:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30520:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19096, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "30504:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30504:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19106, - "nodeType": "ExpressionStatement", - "src": "30504:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30431:3:10", - "parameters": { - "id": 19094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19087, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30443:2:10", - "nodeType": "VariableDeclaration", - "scope": 19108, - "src": "30435:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19086, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30435:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19089, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30455:2:10", - "nodeType": "VariableDeclaration", - "scope": 19108, - "src": "30447:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19088, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30447:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19091, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30464:2:10", - "nodeType": "VariableDeclaration", - "scope": 19108, - "src": "30459:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19090, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30459:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19093, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30476:2:10", - "nodeType": "VariableDeclaration", - "scope": 19108, - "src": "30468:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19092, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30468:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "30434:45:10" - }, - "returnParameters": { - "id": 19095, - "nodeType": "ParameterList", - "parameters": [], - "src": "30494:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19131, - "nodeType": "FunctionDefinition", - "src": "30610:187:10", - "body": { - "id": 19130, - "nodeType": "Block", - "src": "30688:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c737472696e6729", - "id": 19122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30738:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90fb06aa0f94ddb9149d9a0d0271a9fd2b331af93ebc6a4aece22e4f82154c7d", - "typeString": "literal_string \"log(uint256,address,bool,string)\"" - }, - "value": "log(uint256,address,bool,string)" - }, - { - "id": 19123, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19110, - "src": "30774:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19124, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19112, - "src": "30778:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19125, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19114, - "src": "30782:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19126, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19116, - "src": "30786:2:10", - "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": 19120, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30714:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30718:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30714:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30714:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19119, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "30698:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30698:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19129, - "nodeType": "ExpressionStatement", - "src": "30698:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30619:3:10", - "parameters": { - "id": 19117, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19110, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30631:2:10", - "nodeType": "VariableDeclaration", - "scope": 19131, - "src": "30623:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19109, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30623:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19112, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30643:2:10", - "nodeType": "VariableDeclaration", - "scope": 19131, - "src": "30635:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19111, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30635:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19114, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30652:2:10", - "nodeType": "VariableDeclaration", - "scope": 19131, - "src": "30647:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19113, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30647:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19116, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30670:2:10", - "nodeType": "VariableDeclaration", - "scope": 19131, - "src": "30656:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19115, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30656:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "30622:51:10" - }, - "returnParameters": { - "id": 19118, - "nodeType": "ParameterList", - "parameters": [], - "src": "30688:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19154, - "nodeType": "FunctionDefinition", - "src": "30803:176:10", - "body": { - "id": 19153, - "nodeType": "Block", - "src": "30872:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c626f6f6c29", - "id": 19145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30922:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e351140f919f09731a4793c7bb4d5f07234902f499ced9e1e3c9639d2685c6f1", - "typeString": "literal_string \"log(uint256,address,bool,bool)\"" - }, - "value": "log(uint256,address,bool,bool)" - }, - { - "id": 19146, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19133, - "src": "30956:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19147, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19135, - "src": "30960:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19148, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19137, - "src": "30964:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19149, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19139, - "src": "30968:2:10", - "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": 19143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30898:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "30902:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30898:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30898:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19142, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "30882:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "30882:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19152, - "nodeType": "ExpressionStatement", - "src": "30882:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30812:3:10", - "parameters": { - "id": 19140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19133, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30824:2:10", - "nodeType": "VariableDeclaration", - "scope": 19154, - "src": "30816:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19132, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30816:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19135, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30836:2:10", - "nodeType": "VariableDeclaration", - "scope": 19154, - "src": "30828:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19134, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30828:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19137, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30845:2:10", - "nodeType": "VariableDeclaration", - "scope": 19154, - "src": "30840:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19136, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30840:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19139, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30854:2:10", - "nodeType": "VariableDeclaration", - "scope": 19154, - "src": "30849:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19138, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30849:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30815:42:10" - }, - "returnParameters": { - "id": 19141, - "nodeType": "ParameterList", - "parameters": [], - "src": "30872:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19177, - "nodeType": "FunctionDefinition", - "src": "30985:182:10", - "body": { - "id": 19176, - "nodeType": "Block", - "src": "31057:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c6164647265737329", - "id": 19168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31107:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef72c5130890d3b81e89bdbf9a039a84547328dd01c955d6bb1088aaf2252d05", - "typeString": "literal_string \"log(uint256,address,bool,address)\"" - }, - "value": "log(uint256,address,bool,address)" - }, - { - "id": 19169, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19156, - "src": "31144:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19170, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19158, - "src": "31148:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19171, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19160, - "src": "31152:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19172, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19162, - "src": "31156:2:10", - "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": 19166, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31083:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31087:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31083:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31083:76:10", - "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": 15646, - "src": "31067:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31067:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19175, - "nodeType": "ExpressionStatement", - "src": "31067:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30994:3:10", - "parameters": { - "id": 19163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19156, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31006:2:10", - "nodeType": "VariableDeclaration", - "scope": 19177, - "src": "30998:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30998:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19158, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31018:2:10", - "nodeType": "VariableDeclaration", - "scope": 19177, - "src": "31010:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19157, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31010:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19160, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31027:2:10", - "nodeType": "VariableDeclaration", - "scope": 19177, - "src": "31022:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19159, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31022:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19162, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31039:2:10", - "nodeType": "VariableDeclaration", - "scope": 19177, - "src": "31031:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31031:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "30997:45:10" - }, - "returnParameters": { - "id": 19164, - "nodeType": "ParameterList", - "parameters": [], - "src": "31057:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19200, - "nodeType": "FunctionDefinition", - "src": "31173:188:10", - "body": { - "id": 19199, - "nodeType": "Block", - "src": "31248:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c75696e7432353629", - "id": 19191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31298:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_736efbb692cd4ba0c879f89673f1c5a7eb58e7bd2b833c4d30d41d3aa9c7a23a", - "typeString": "literal_string \"log(uint256,address,address,uint256)\"" - }, - "value": "log(uint256,address,address,uint256)" - }, - { - "id": 19192, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19179, - "src": "31338:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19193, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19181, - "src": "31342:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19194, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19183, - "src": "31346:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19195, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19185, - "src": "31350:2:10", - "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": 19189, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31274:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19190, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31278:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31274:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31274:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19188, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "31258:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31258:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19198, - "nodeType": "ExpressionStatement", - "src": "31258:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31182:3:10", - "parameters": { - "id": 19186, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19179, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31194:2:10", - "nodeType": "VariableDeclaration", - "scope": 19200, - "src": "31186:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19178, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31186:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19181, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31206:2:10", - "nodeType": "VariableDeclaration", - "scope": 19200, - "src": "31198:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19180, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31198:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19183, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31218:2:10", - "nodeType": "VariableDeclaration", - "scope": 19200, - "src": "31210:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19182, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31210:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19185, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31230:2:10", - "nodeType": "VariableDeclaration", - "scope": 19200, - "src": "31222:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19184, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31222:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "31185:48:10" - }, - "returnParameters": { - "id": 19187, - "nodeType": "ParameterList", - "parameters": [], - "src": "31248:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19223, - "nodeType": "FunctionDefinition", - "src": "31367:193:10", - "body": { - "id": 19222, - "nodeType": "Block", - "src": "31448:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c737472696e6729", - "id": 19214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31498:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_031c6f73458c2a0d841ad5d5914dceb24973d9df898a3826eec79330397cd882", - "typeString": "literal_string \"log(uint256,address,address,string)\"" - }, - "value": "log(uint256,address,address,string)" - }, - { - "id": 19215, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19202, - "src": "31537:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19216, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19204, - "src": "31541:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19217, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19206, - "src": "31545:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19218, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19208, - "src": "31549:2:10", - "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": 19212, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31474:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19213, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31478:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31474:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31474:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19211, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "31458:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31458:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19221, - "nodeType": "ExpressionStatement", - "src": "31458:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31376:3:10", - "parameters": { - "id": 19209, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19202, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31388:2:10", - "nodeType": "VariableDeclaration", - "scope": 19223, - "src": "31380:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19201, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31380:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19204, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31400:2:10", - "nodeType": "VariableDeclaration", - "scope": 19223, - "src": "31392:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19203, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31392:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19206, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31412:2:10", - "nodeType": "VariableDeclaration", - "scope": 19223, - "src": "31404:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19205, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31404:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19208, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31430:2:10", - "nodeType": "VariableDeclaration", - "scope": 19223, - "src": "31416:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19207, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31416:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "31379:54:10" - }, - "returnParameters": { - "id": 19210, - "nodeType": "ParameterList", - "parameters": [], - "src": "31448:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19246, - "nodeType": "FunctionDefinition", - "src": "31566:182:10", - "body": { - "id": 19245, - "nodeType": "Block", - "src": "31638:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c626f6f6c29", - "id": 19237, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31688:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_091ffaf5e3365a794bfeb97b8157886a9ba00c981ee88d8a8fdb0cc96a5e6c1d", - "typeString": "literal_string \"log(uint256,address,address,bool)\"" - }, - "value": "log(uint256,address,address,bool)" - }, - { - "id": 19238, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19225, - "src": "31725:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19239, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19227, - "src": "31729:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19240, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19229, - "src": "31733:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19241, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19231, - "src": "31737:2:10", - "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": 19235, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31664:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31668:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31664:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31664:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19234, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "31648:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31648:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19244, - "nodeType": "ExpressionStatement", - "src": "31648:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31575:3:10", - "parameters": { - "id": 19232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19225, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31587:2:10", - "nodeType": "VariableDeclaration", - "scope": 19246, - "src": "31579:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19224, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31579:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19227, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31599:2:10", - "nodeType": "VariableDeclaration", - "scope": 19246, - "src": "31591:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31591:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19229, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31611:2:10", - "nodeType": "VariableDeclaration", - "scope": 19246, - "src": "31603:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19228, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31603:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19231, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31620:2:10", - "nodeType": "VariableDeclaration", - "scope": 19246, - "src": "31615:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19230, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31615:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "31578:45:10" - }, - "returnParameters": { - "id": 19233, - "nodeType": "ParameterList", - "parameters": [], - "src": "31638:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19269, - "nodeType": "FunctionDefinition", - "src": "31754:188:10", - "body": { - "id": 19268, - "nodeType": "Block", - "src": "31829:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c6164647265737329", - "id": 19260, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31879:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2488b414330cbd4ddab2b849dacd8bed50b19b82318ec6e4a5ccdf72ee519553", - "typeString": "literal_string \"log(uint256,address,address,address)\"" - }, - "value": "log(uint256,address,address,address)" - }, - { - "id": 19261, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19248, - "src": "31919:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19262, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19250, - "src": "31923:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19263, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19252, - "src": "31927:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19264, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19254, - "src": "31931:2:10", - "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": 19258, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31855:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "31859:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31855:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19265, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31855:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19257, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "31839:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "31839:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19267, - "nodeType": "ExpressionStatement", - "src": "31839:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31763:3:10", - "parameters": { - "id": 19255, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19248, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31775:2:10", - "nodeType": "VariableDeclaration", - "scope": 19269, - "src": "31767:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31767:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19250, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31787:2:10", - "nodeType": "VariableDeclaration", - "scope": 19269, - "src": "31779:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19249, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31779:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19252, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31799:2:10", - "nodeType": "VariableDeclaration", - "scope": 19269, - "src": "31791:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19251, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31791:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19254, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31811:2:10", - "nodeType": "VariableDeclaration", - "scope": 19269, - "src": "31803:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19253, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31803:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "31766:48:10" - }, - "returnParameters": { - "id": 19256, - "nodeType": "ParameterList", - "parameters": [], - "src": "31829:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19292, - "nodeType": "FunctionDefinition", - "src": "31948:193:10", - "body": { - "id": 19291, - "nodeType": "Block", - "src": "32029:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c75696e7432353629", - "id": 19283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32079:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a7a8785394d9aadf7945b4e3d27726dea716dc88e3f64cc80b3aa9abbd2751c5", - "typeString": "literal_string \"log(string,uint256,uint256,uint256)\"" - }, - "value": "log(string,uint256,uint256,uint256)" - }, - { - "id": 19284, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19271, - "src": "32118:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19285, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19273, - "src": "32122:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19286, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19275, - "src": "32126:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19287, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19277, - "src": "32130:2:10", - "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": 19281, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32055:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32059:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32055:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32055:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19280, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "32039:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32039:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19290, - "nodeType": "ExpressionStatement", - "src": "32039:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31957:3:10", - "parameters": { - "id": 19278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19271, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31975:2:10", - "nodeType": "VariableDeclaration", - "scope": 19292, - "src": "31961:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19270, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31961:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19273, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31987:2:10", - "nodeType": "VariableDeclaration", - "scope": 19292, - "src": "31979:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19272, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31979:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19275, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31999:2:10", - "nodeType": "VariableDeclaration", - "scope": 19292, - "src": "31991:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19274, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31991:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19277, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32011:2:10", - "nodeType": "VariableDeclaration", - "scope": 19292, - "src": "32003:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19276, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32003:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "31960:54:10" - }, - "returnParameters": { - "id": 19279, - "nodeType": "ParameterList", - "parameters": [], - "src": "32029:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19315, - "nodeType": "FunctionDefinition", - "src": "32147:198:10", - "body": { - "id": 19314, - "nodeType": "Block", - "src": "32234:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c737472696e6729", - "id": 19306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32284:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_854b34964800cd321ba295da547026c9cfe69753667a81487e80d237f63c927f", - "typeString": "literal_string \"log(string,uint256,uint256,string)\"" - }, - "value": "log(string,uint256,uint256,string)" - }, - { - "id": 19307, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19294, - "src": "32322:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19308, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19296, - "src": "32326:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19309, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19298, - "src": "32330:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19310, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19300, - "src": "32334:2:10", - "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": 19304, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32260:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32264:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32260:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32260:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19303, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "32244:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32244:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19313, - "nodeType": "ExpressionStatement", - "src": "32244:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32156:3:10", - "parameters": { - "id": 19301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19294, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32174:2:10", - "nodeType": "VariableDeclaration", - "scope": 19315, - "src": "32160:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19293, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32160:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19296, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32186:2:10", - "nodeType": "VariableDeclaration", - "scope": 19315, - "src": "32178:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19295, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32178:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19298, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32198:2:10", - "nodeType": "VariableDeclaration", - "scope": 19315, - "src": "32190:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19297, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32190:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19300, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32216:2:10", - "nodeType": "VariableDeclaration", - "scope": 19315, - "src": "32202:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19299, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32202:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32159:60:10" - }, - "returnParameters": { - "id": 19302, - "nodeType": "ParameterList", - "parameters": [], - "src": "32234:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19338, - "nodeType": "FunctionDefinition", - "src": "32351:187:10", - "body": { - "id": 19337, - "nodeType": "Block", - "src": "32429:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c626f6f6c29", - "id": 19329, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32479:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7626db92bcbe8fb38799da91134ebae6bc6c7b10cb0db567e752720b8fd9ae0f", - "typeString": "literal_string \"log(string,uint256,uint256,bool)\"" - }, - "value": "log(string,uint256,uint256,bool)" - }, - { - "id": 19330, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19317, - "src": "32515:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19331, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19319, - "src": "32519:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19332, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19321, - "src": "32523:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19333, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19323, - "src": "32527:2:10", - "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": 19327, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32455:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32459:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32455:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32455:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19326, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "32439:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32439:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19336, - "nodeType": "ExpressionStatement", - "src": "32439:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32360:3:10", - "parameters": { - "id": 19324, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19317, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32378:2:10", - "nodeType": "VariableDeclaration", - "scope": 19338, - "src": "32364:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19316, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32364:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19319, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32390:2:10", - "nodeType": "VariableDeclaration", - "scope": 19338, - "src": "32382:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19318, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32382:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19321, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32402:2:10", - "nodeType": "VariableDeclaration", - "scope": 19338, - "src": "32394:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19320, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32394:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19323, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32411:2:10", - "nodeType": "VariableDeclaration", - "scope": 19338, - "src": "32406:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19322, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32406:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "32363:51:10" - }, - "returnParameters": { - "id": 19325, - "nodeType": "ParameterList", - "parameters": [], - "src": "32429:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19361, - "nodeType": "FunctionDefinition", - "src": "32544:193:10", - "body": { - "id": 19360, - "nodeType": "Block", - "src": "32625:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c6164647265737329", - "id": 19352, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32675:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e21de278b3902dab5803384c9ad03fb95c973bc87490e387079e41c7f244f118", - "typeString": "literal_string \"log(string,uint256,uint256,address)\"" - }, - "value": "log(string,uint256,uint256,address)" - }, - { - "id": 19353, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19340, - "src": "32714:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19354, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19342, - "src": "32718:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19355, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19344, - "src": "32722:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19356, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19346, - "src": "32726:2:10", - "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": 19350, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32651:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32655:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32651:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32651:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19349, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "32635:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32635:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19359, - "nodeType": "ExpressionStatement", - "src": "32635:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32553:3:10", - "parameters": { - "id": 19347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19340, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32571:2:10", - "nodeType": "VariableDeclaration", - "scope": 19361, - "src": "32557:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19339, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32557:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19342, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32583:2:10", - "nodeType": "VariableDeclaration", - "scope": 19361, - "src": "32575:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19341, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32575:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19344, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32595:2:10", - "nodeType": "VariableDeclaration", - "scope": 19361, - "src": "32587:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19343, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32587:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19346, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32607:2:10", - "nodeType": "VariableDeclaration", - "scope": 19361, - "src": "32599:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32599:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32556:54:10" - }, - "returnParameters": { - "id": 19348, - "nodeType": "ParameterList", - "parameters": [], - "src": "32625:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19384, - "nodeType": "FunctionDefinition", - "src": "32743:198:10", - "body": { - "id": 19383, - "nodeType": "Block", - "src": "32830:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c75696e7432353629", - "id": 19375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32880:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c67ea9d1db4353b82da41ad5e5b85243320ba3a89399b41c13eee1ab804e84c9", - "typeString": "literal_string \"log(string,uint256,string,uint256)\"" - }, - "value": "log(string,uint256,string,uint256)" - }, - { - "id": 19376, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19363, - "src": "32918:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19377, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19365, - "src": "32922:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19378, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19367, - "src": "32926:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19379, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19369, - "src": "32930:2:10", - "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": 19373, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32856:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "32860:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32856:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32856:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19372, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "32840:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "32840:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19382, - "nodeType": "ExpressionStatement", - "src": "32840:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32752:3:10", - "parameters": { - "id": 19370, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19363, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32770:2:10", - "nodeType": "VariableDeclaration", - "scope": 19384, - "src": "32756:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19362, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32756:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19365, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32782:2:10", - "nodeType": "VariableDeclaration", - "scope": 19384, - "src": "32774:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19364, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32774:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19367, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32800:2:10", - "nodeType": "VariableDeclaration", - "scope": 19384, - "src": "32786:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19366, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32786:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19369, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32812:2:10", - "nodeType": "VariableDeclaration", - "scope": 19384, - "src": "32804:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19368, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32804:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32755:60:10" - }, - "returnParameters": { - "id": 19371, - "nodeType": "ParameterList", - "parameters": [], - "src": "32830:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19407, - "nodeType": "FunctionDefinition", - "src": "32947:203:10", - "body": { - "id": 19406, - "nodeType": "Block", - "src": "33040:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c737472696e6729", - "id": 19398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33090:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ab84e1fba099b79ad99dc62242807811428e5c36b5f473a3b74e319a04c4089", - "typeString": "literal_string \"log(string,uint256,string,string)\"" - }, - "value": "log(string,uint256,string,string)" - }, - { - "id": 19399, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19386, - "src": "33127:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19400, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19388, - "src": "33131:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19401, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19390, - "src": "33135:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19402, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19392, - "src": "33139:2:10", - "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": 19396, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33066:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33070:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33066:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33066:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19395, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "33050:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33050:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19405, - "nodeType": "ExpressionStatement", - "src": "33050:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32956:3:10", - "parameters": { - "id": 19393, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19386, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32974:2:10", - "nodeType": "VariableDeclaration", - "scope": 19407, - "src": "32960:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32960:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19388, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32986:2:10", - "nodeType": "VariableDeclaration", - "scope": 19407, - "src": "32978:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32978:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19390, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33004:2:10", - "nodeType": "VariableDeclaration", - "scope": 19407, - "src": "32990:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19389, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32990:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19392, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33022:2:10", - "nodeType": "VariableDeclaration", - "scope": 19407, - "src": "33008:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19391, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33008:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32959:66:10" - }, - "returnParameters": { - "id": 19394, - "nodeType": "ParameterList", - "parameters": [], - "src": "33040:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19430, - "nodeType": "FunctionDefinition", - "src": "33156:192:10", - "body": { - "id": 19429, - "nodeType": "Block", - "src": "33240:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c626f6f6c29", - "id": 19421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33290:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d24491d69f4bc88a6e68cd8228b6698af11fe37f60f65c80e3f11428a8eba2f", - "typeString": "literal_string \"log(string,uint256,string,bool)\"" - }, - "value": "log(string,uint256,string,bool)" - }, - { - "id": 19422, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19409, - "src": "33325:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19423, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19411, - "src": "33329:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19424, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19413, - "src": "33333:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19425, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19415, - "src": "33337:2:10", - "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": 19419, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33266:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33270:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33266:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33266:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19418, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "33250:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33250:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19428, - "nodeType": "ExpressionStatement", - "src": "33250:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33165:3:10", - "parameters": { - "id": 19416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19409, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33183:2:10", - "nodeType": "VariableDeclaration", - "scope": 19430, - "src": "33169:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19408, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33169:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19411, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33195:2:10", - "nodeType": "VariableDeclaration", - "scope": 19430, - "src": "33187:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19410, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33187:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19413, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33213:2:10", - "nodeType": "VariableDeclaration", - "scope": 19430, - "src": "33199:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19412, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33199:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19415, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33222:2:10", - "nodeType": "VariableDeclaration", - "scope": 19430, - "src": "33217:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19414, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33217:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33168:57:10" - }, - "returnParameters": { - "id": 19417, - "nodeType": "ParameterList", - "parameters": [], - "src": "33240:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19453, - "nodeType": "FunctionDefinition", - "src": "33354:198:10", - "body": { - "id": 19452, - "nodeType": "Block", - "src": "33441:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c6164647265737329", - "id": 19444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33491:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7c4632a48572fa2d4647539e525c9742d692f8e780540d6116f897ab472257cb", - "typeString": "literal_string \"log(string,uint256,string,address)\"" - }, - "value": "log(string,uint256,string,address)" - }, - { - "id": 19445, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19432, - "src": "33529:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19446, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19434, - "src": "33533:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19447, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19436, - "src": "33537:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19448, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19438, - "src": "33541:2:10", - "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": 19442, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33467:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33471:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33467:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33467:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19441, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "33451:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33451:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19451, - "nodeType": "ExpressionStatement", - "src": "33451:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33363:3:10", - "parameters": { - "id": 19439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19432, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33381:2:10", - "nodeType": "VariableDeclaration", - "scope": 19453, - "src": "33367:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19431, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33367:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19434, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33393:2:10", - "nodeType": "VariableDeclaration", - "scope": 19453, - "src": "33385:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19433, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33385:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19436, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33411:2:10", - "nodeType": "VariableDeclaration", - "scope": 19453, - "src": "33397:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19435, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33397:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19438, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33423:2:10", - "nodeType": "VariableDeclaration", - "scope": 19453, - "src": "33415:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33415:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33366:60:10" - }, - "returnParameters": { - "id": 19440, - "nodeType": "ParameterList", - "parameters": [], - "src": "33441:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19476, - "nodeType": "FunctionDefinition", - "src": "33558:187:10", - "body": { - "id": 19475, - "nodeType": "Block", - "src": "33636:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c75696e7432353629", - "id": 19467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33686:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e41b6f6f58a4f880a3266f23bebaff73175ff4306317c20982bc2eabc04edd13", - "typeString": "literal_string \"log(string,uint256,bool,uint256)\"" - }, - "value": "log(string,uint256,bool,uint256)" - }, - { - "id": 19468, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19455, - "src": "33722:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19469, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19457, - "src": "33726:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19470, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19459, - "src": "33730:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19471, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19461, - "src": "33734:2:10", - "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": 19465, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33662:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33666:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33662:23:10", - "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": "33662:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19464, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "33646:15:10", - "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": "33646:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19474, - "nodeType": "ExpressionStatement", - "src": "33646:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33567:3:10", - "parameters": { - "id": 19462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19455, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33585:2:10", - "nodeType": "VariableDeclaration", - "scope": 19476, - "src": "33571:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19454, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33571:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19457, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33597:2:10", - "nodeType": "VariableDeclaration", - "scope": 19476, - "src": "33589:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19456, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33589:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19459, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33606:2:10", - "nodeType": "VariableDeclaration", - "scope": 19476, - "src": "33601:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19458, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33601:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19461, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33618:2:10", - "nodeType": "VariableDeclaration", - "scope": 19476, - "src": "33610:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19460, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33610:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33570:51:10" - }, - "returnParameters": { - "id": 19463, - "nodeType": "ParameterList", - "parameters": [], - "src": "33636:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19499, - "nodeType": "FunctionDefinition", - "src": "33751:192:10", - "body": { - "id": 19498, - "nodeType": "Block", - "src": "33835:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c737472696e6729", - "id": 19490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33885:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_abf73a9831ab2bdeb8da9d06a81eab42196b20e336ab670ecba37bac94839d87", - "typeString": "literal_string \"log(string,uint256,bool,string)\"" - }, - "value": "log(string,uint256,bool,string)" - }, - { - "id": 19491, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19478, - "src": "33920:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19492, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19480, - "src": "33924:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19493, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19482, - "src": "33928:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19494, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19484, - "src": "33932:2:10", - "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": 19488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33861:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "33865:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33861:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33861:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19487, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "33845:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "33845:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19497, - "nodeType": "ExpressionStatement", - "src": "33845:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33760:3:10", - "parameters": { - "id": 19485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19478, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33778:2:10", - "nodeType": "VariableDeclaration", - "scope": 19499, - "src": "33764:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19477, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33764:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19480, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33790:2:10", - "nodeType": "VariableDeclaration", - "scope": 19499, - "src": "33782:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19479, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33782:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19482, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33799:2:10", - "nodeType": "VariableDeclaration", - "scope": 19499, - "src": "33794:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19481, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33794:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19484, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33817:2:10", - "nodeType": "VariableDeclaration", - "scope": 19499, - "src": "33803:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19483, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33803:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "33763:57:10" - }, - "returnParameters": { - "id": 19486, - "nodeType": "ParameterList", - "parameters": [], - "src": "33835:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19522, - "nodeType": "FunctionDefinition", - "src": "33949:181:10", - "body": { - "id": 19521, - "nodeType": "Block", - "src": "34024:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c626f6f6c29", - "id": 19513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34074:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_354c36d6798abb81721fb2beaef51c92cab9d4cf16be10f0a4724648784ecb76", - "typeString": "literal_string \"log(string,uint256,bool,bool)\"" - }, - "value": "log(string,uint256,bool,bool)" - }, - { - "id": 19514, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19501, - "src": "34107:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19515, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19503, - "src": "34111:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19516, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19505, - "src": "34115:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19517, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19507, - "src": "34119:2:10", - "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": 19511, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34050:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34054:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34050:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34050:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19510, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "34034:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34034:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19520, - "nodeType": "ExpressionStatement", - "src": "34034:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33958:3:10", - "parameters": { - "id": 19508, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19501, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33976:2:10", - "nodeType": "VariableDeclaration", - "scope": 19522, - "src": "33962:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19500, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33962:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19503, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33988:2:10", - "nodeType": "VariableDeclaration", - "scope": 19522, - "src": "33980:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19502, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33980:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19505, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33997:2:10", - "nodeType": "VariableDeclaration", - "scope": 19522, - "src": "33992:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19504, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33992:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19507, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34006:2:10", - "nodeType": "VariableDeclaration", - "scope": 19522, - "src": "34001:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19506, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34001:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33961:48:10" - }, - "returnParameters": { - "id": 19509, - "nodeType": "ParameterList", - "parameters": [], - "src": "34024:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19545, - "nodeType": "FunctionDefinition", - "src": "34136:187:10", - "body": { - "id": 19544, - "nodeType": "Block", - "src": "34214:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c6164647265737329", - "id": 19536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34264:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0e95b9833a204b7ba633bd63a60ec523906565f2c86d8936f7ff3e9937880f7", - "typeString": "literal_string \"log(string,uint256,bool,address)\"" - }, - "value": "log(string,uint256,bool,address)" - }, - { - "id": 19537, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19524, - "src": "34300:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19538, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19526, - "src": "34304:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19539, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19528, - "src": "34308:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19540, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19530, - "src": "34312:2:10", - "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": 19534, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34240:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34244:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34240:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34240:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19533, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "34224:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34224:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19543, - "nodeType": "ExpressionStatement", - "src": "34224:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34145:3:10", - "parameters": { - "id": 19531, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19524, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34163:2:10", - "nodeType": "VariableDeclaration", - "scope": 19545, - "src": "34149:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19523, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34149:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19526, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34175:2:10", - "nodeType": "VariableDeclaration", - "scope": 19545, - "src": "34167:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19525, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34167:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19528, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34184:2:10", - "nodeType": "VariableDeclaration", - "scope": 19545, - "src": "34179:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19527, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34179:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19530, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34196:2:10", - "nodeType": "VariableDeclaration", - "scope": 19545, - "src": "34188:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19529, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34188:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34148:51:10" - }, - "returnParameters": { - "id": 19532, - "nodeType": "ParameterList", - "parameters": [], - "src": "34214:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19568, - "nodeType": "FunctionDefinition", - "src": "34329:193:10", - "body": { - "id": 19567, - "nodeType": "Block", - "src": "34410:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c75696e7432353629", - "id": 19559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34460:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f04fdc6b6271b036262883bae0d1ea5155524010fed0023b5c71c574fb937ff", - "typeString": "literal_string \"log(string,uint256,address,uint256)\"" - }, - "value": "log(string,uint256,address,uint256)" - }, - { - "id": 19560, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19547, - "src": "34499:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19561, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19549, - "src": "34503:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19562, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19551, - "src": "34507:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19563, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19553, - "src": "34511:2:10", - "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": 19557, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34436:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34440:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34436:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34436:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19556, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "34420:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34420:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19566, - "nodeType": "ExpressionStatement", - "src": "34420:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34338:3:10", - "parameters": { - "id": 19554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19547, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34356:2:10", - "nodeType": "VariableDeclaration", - "scope": 19568, - "src": "34342:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19546, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34342:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19549, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34368:2:10", - "nodeType": "VariableDeclaration", - "scope": 19568, - "src": "34360:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19548, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34360:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19551, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34380:2:10", - "nodeType": "VariableDeclaration", - "scope": 19568, - "src": "34372:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19550, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34372:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19553, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34392:2:10", - "nodeType": "VariableDeclaration", - "scope": 19568, - "src": "34384:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19552, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34384:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "34341:54:10" - }, - "returnParameters": { - "id": 19555, - "nodeType": "ParameterList", - "parameters": [], - "src": "34410:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19591, - "nodeType": "FunctionDefinition", - "src": "34528:198:10", - "body": { - "id": 19590, - "nodeType": "Block", - "src": "34615:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c737472696e6729", - "id": 19582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34665:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9ffb2f93ff043d0a86ff6dc2ddf23d28dfc95ecde23d406177dfe6f19d070d2b", - "typeString": "literal_string \"log(string,uint256,address,string)\"" - }, - "value": "log(string,uint256,address,string)" - }, - { - "id": 19583, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19570, - "src": "34703:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19584, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19572, - "src": "34707:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19585, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19574, - "src": "34711:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19586, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19576, - "src": "34715:2:10", - "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": 19580, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34641:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34645:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34641:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34641:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19579, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "34625:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34625:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19589, - "nodeType": "ExpressionStatement", - "src": "34625:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34537:3:10", - "parameters": { - "id": 19577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19570, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34555:2:10", - "nodeType": "VariableDeclaration", - "scope": 19591, - "src": "34541:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19569, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34541:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19572, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34567:2:10", - "nodeType": "VariableDeclaration", - "scope": 19591, - "src": "34559:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19571, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34559:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19574, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34579:2:10", - "nodeType": "VariableDeclaration", - "scope": 19591, - "src": "34571:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19573, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34571:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19576, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34597:2:10", - "nodeType": "VariableDeclaration", - "scope": 19591, - "src": "34583:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19575, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34583:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "34540:60:10" - }, - "returnParameters": { - "id": 19578, - "nodeType": "ParameterList", - "parameters": [], - "src": "34615:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19614, - "nodeType": "FunctionDefinition", - "src": "34732:187:10", - "body": { - "id": 19613, - "nodeType": "Block", - "src": "34810:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c626f6f6c29", - "id": 19605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34860:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_82112a429657399db0318af6ca78ff56626aa907939e7cf56b60b07035dcc190", - "typeString": "literal_string \"log(string,uint256,address,bool)\"" - }, - "value": "log(string,uint256,address,bool)" - }, - { - "id": 19606, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19593, - "src": "34896:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19607, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19595, - "src": "34900:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19608, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19597, - "src": "34904:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19609, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19599, - "src": "34908:2:10", - "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": 19603, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34836:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "34840:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34836:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34836:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19602, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "34820:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19611, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "34820:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19612, - "nodeType": "ExpressionStatement", - "src": "34820:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34741:3:10", - "parameters": { - "id": 19600, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19593, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34759:2:10", - "nodeType": "VariableDeclaration", - "scope": 19614, - "src": "34745:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19592, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34745:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19595, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34771:2:10", - "nodeType": "VariableDeclaration", - "scope": 19614, - "src": "34763:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19594, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34763:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19597, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34783:2:10", - "nodeType": "VariableDeclaration", - "scope": 19614, - "src": "34775:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19596, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34775:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19599, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34792:2:10", - "nodeType": "VariableDeclaration", - "scope": 19614, - "src": "34787:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19598, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34787:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "34744:51:10" - }, - "returnParameters": { - "id": 19601, - "nodeType": "ParameterList", - "parameters": [], - "src": "34810:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19637, - "nodeType": "FunctionDefinition", - "src": "34925:193:10", - "body": { - "id": 19636, - "nodeType": "Block", - "src": "35006:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c6164647265737329", - "id": 19628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35056:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ea2b7aea4409bbe3ef8ca502419b3574b002a6123a1f864be076316b8efcd1d", - "typeString": "literal_string \"log(string,uint256,address,address)\"" - }, - "value": "log(string,uint256,address,address)" - }, - { - "id": 19629, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19616, - "src": "35095:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19630, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19618, - "src": "35099:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19631, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19620, - "src": "35103:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19632, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19622, - "src": "35107:2:10", - "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": 19626, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35032:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35036:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35032:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35032:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19625, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "35016:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35016:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19635, - "nodeType": "ExpressionStatement", - "src": "35016:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34934:3:10", - "parameters": { - "id": 19623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19616, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34952:2:10", - "nodeType": "VariableDeclaration", - "scope": 19637, - "src": "34938:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19615, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34938:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19618, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34964:2:10", - "nodeType": "VariableDeclaration", - "scope": 19637, - "src": "34956:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19617, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34956:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19620, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34976:2:10", - "nodeType": "VariableDeclaration", - "scope": 19637, - "src": "34968:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19619, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34968:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19622, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34988:2:10", - "nodeType": "VariableDeclaration", - "scope": 19637, - "src": "34980:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19621, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34980:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34937:54:10" - }, - "returnParameters": { - "id": 19624, - "nodeType": "ParameterList", - "parameters": [], - "src": "35006:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19660, - "nodeType": "FunctionDefinition", - "src": "35124:198:10", - "body": { - "id": 19659, - "nodeType": "Block", - "src": "35211:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c75696e7432353629", - "id": 19651, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35261:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f45d7d2cd1abe030b09347ce21ce66b503ffdad3e7a1ad6df9e55da5d9367776", - "typeString": "literal_string \"log(string,string,uint256,uint256)\"" - }, - "value": "log(string,string,uint256,uint256)" - }, - { - "id": 19652, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19639, - "src": "35299:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19653, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19641, - "src": "35303:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19654, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19643, - "src": "35307:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19655, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19645, - "src": "35311:2:10", - "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": 19649, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35237:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19650, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35241:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35237:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35237:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19648, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "35221:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35221:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19658, - "nodeType": "ExpressionStatement", - "src": "35221:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35133:3:10", - "parameters": { - "id": 19646, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19639, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35151:2:10", - "nodeType": "VariableDeclaration", - "scope": 19660, - "src": "35137:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19638, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35137:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19641, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35169:2:10", - "nodeType": "VariableDeclaration", - "scope": 19660, - "src": "35155:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19640, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35155:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19643, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35181:2:10", - "nodeType": "VariableDeclaration", - "scope": 19660, - "src": "35173:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19642, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35173:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19645, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35193:2:10", - "nodeType": "VariableDeclaration", - "scope": 19660, - "src": "35185:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19644, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35185:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35136:60:10" - }, - "returnParameters": { - "id": 19647, - "nodeType": "ParameterList", - "parameters": [], - "src": "35211:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19683, - "nodeType": "FunctionDefinition", - "src": "35328:203:10", - "body": { - "id": 19682, - "nodeType": "Block", - "src": "35421:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c737472696e6729", - "id": 19674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35471:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d1a971aebb8f2fbb7526a470ca55e409230d59ee63217090d29ce11b768e909", - "typeString": "literal_string \"log(string,string,uint256,string)\"" - }, - "value": "log(string,string,uint256,string)" - }, - { - "id": 19675, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19662, - "src": "35508:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19676, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19664, - "src": "35512:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19677, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19666, - "src": "35516:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19678, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19668, - "src": "35520:2:10", - "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": 19672, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35447:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35451:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35447:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35447:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19671, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "35431:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35431:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19681, - "nodeType": "ExpressionStatement", - "src": "35431:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35337:3:10", - "parameters": { - "id": 19669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19662, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35355:2:10", - "nodeType": "VariableDeclaration", - "scope": 19683, - "src": "35341:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19661, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35341:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19664, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35373:2:10", - "nodeType": "VariableDeclaration", - "scope": 19683, - "src": "35359:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19663, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35359:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19666, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35385:2:10", - "nodeType": "VariableDeclaration", - "scope": 19683, - "src": "35377:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19665, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35377:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19668, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35403:2:10", - "nodeType": "VariableDeclaration", - "scope": 19683, - "src": "35389:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19667, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35389:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "35340:66:10" - }, - "returnParameters": { - "id": 19670, - "nodeType": "ParameterList", - "parameters": [], - "src": "35421:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19706, - "nodeType": "FunctionDefinition", - "src": "35537:192:10", - "body": { - "id": 19705, - "nodeType": "Block", - "src": "35621:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c626f6f6c29", - "id": 19697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35671:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3a8a6546b97cf01562dd9ca797c4955f3bab9bc163d02081737c20b686446d2", - "typeString": "literal_string \"log(string,string,uint256,bool)\"" - }, - "value": "log(string,string,uint256,bool)" - }, - { - "id": 19698, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19685, - "src": "35706:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19699, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19687, - "src": "35710:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19700, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19689, - "src": "35714:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19701, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19691, - "src": "35718:2:10", - "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": 19695, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35647:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19696, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35651:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35647:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35647:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19694, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "35631:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35631:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19704, - "nodeType": "ExpressionStatement", - "src": "35631:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35546:3:10", - "parameters": { - "id": 19692, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19685, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35564:2:10", - "nodeType": "VariableDeclaration", - "scope": 19706, - "src": "35550:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19684, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35550:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19687, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35582:2:10", - "nodeType": "VariableDeclaration", - "scope": 19706, - "src": "35568:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19686, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35568:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19689, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35594:2:10", - "nodeType": "VariableDeclaration", - "scope": 19706, - "src": "35586:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19688, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35586:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19691, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35603:2:10", - "nodeType": "VariableDeclaration", - "scope": 19706, - "src": "35598:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19690, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35598:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35549:57:10" - }, - "returnParameters": { - "id": 19693, - "nodeType": "ParameterList", - "parameters": [], - "src": "35621:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19729, - "nodeType": "FunctionDefinition", - "src": "35735:198:10", - "body": { - "id": 19728, - "nodeType": "Block", - "src": "35822:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c6164647265737329", - "id": 19720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35872:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1023f7b286378387abf24b7020dbd1ddde789519cf7f13da727146a2a8a61fc6", - "typeString": "literal_string \"log(string,string,uint256,address)\"" - }, - "value": "log(string,string,uint256,address)" - }, - { - "id": 19721, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19708, - "src": "35910:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19722, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19710, - "src": "35914:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19723, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19712, - "src": "35918:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 19724, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19714, - "src": "35922:2:10", - "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": 19718, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35848:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "35852:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35848:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35848:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19717, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "35832:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "35832:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19727, - "nodeType": "ExpressionStatement", - "src": "35832:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35744:3:10", - "parameters": { - "id": 19715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19708, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35762:2:10", - "nodeType": "VariableDeclaration", - "scope": 19729, - "src": "35748:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19707, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35748:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19710, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35780:2:10", - "nodeType": "VariableDeclaration", - "scope": 19729, - "src": "35766:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19709, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35766:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19712, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35792:2:10", - "nodeType": "VariableDeclaration", - "scope": 19729, - "src": "35784:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19711, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35784:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19714, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35804:2:10", - "nodeType": "VariableDeclaration", - "scope": 19729, - "src": "35796:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19713, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35796:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35747:60:10" - }, - "returnParameters": { - "id": 19716, - "nodeType": "ParameterList", - "parameters": [], - "src": "35822:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19752, - "nodeType": "FunctionDefinition", - "src": "35939:203:10", - "body": { - "id": 19751, - "nodeType": "Block", - "src": "36032:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c75696e7432353629", - "id": 19743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36082:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8eafb02b2f27070f4cef3c26d2b8a8d041c7bf077352780062dc5a70550ac689", - "typeString": "literal_string \"log(string,string,string,uint256)\"" - }, - "value": "log(string,string,string,uint256)" - }, - { - "id": 19744, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19731, - "src": "36119:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19745, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19733, - "src": "36123:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19746, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19735, - "src": "36127:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19747, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19737, - "src": "36131:2:10", - "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": 19741, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36058:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36062:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36058:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36058:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19740, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "36042:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36042:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19750, - "nodeType": "ExpressionStatement", - "src": "36042:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35948:3:10", - "parameters": { - "id": 19738, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19731, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35966:2:10", - "nodeType": "VariableDeclaration", - "scope": 19752, - "src": "35952:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19730, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35952:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19733, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35984:2:10", - "nodeType": "VariableDeclaration", - "scope": 19752, - "src": "35970:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19732, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35970:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19735, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36002:2:10", - "nodeType": "VariableDeclaration", - "scope": 19752, - "src": "35988:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19734, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35988:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19737, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36014:2:10", - "nodeType": "VariableDeclaration", - "scope": 19752, - "src": "36006:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36006:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35951:66:10" - }, - "returnParameters": { - "id": 19739, - "nodeType": "ParameterList", - "parameters": [], - "src": "36032:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19775, - "nodeType": "FunctionDefinition", - "src": "36148:208:10", - "body": { - "id": 19774, - "nodeType": "Block", - "src": "36247:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c737472696e6729", - "id": 19766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36297:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de68f20a8e88f68d54c5aa294860ee37b58680632686e2f1101e4e042a2cbcbe", - "typeString": "literal_string \"log(string,string,string,string)\"" - }, - "value": "log(string,string,string,string)" - }, - { - "id": 19767, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19754, - "src": "36333:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19768, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19756, - "src": "36337:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19769, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19758, - "src": "36341:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19770, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19760, - "src": "36345:2:10", - "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": 19764, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36273:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36277:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36273:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36273:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19763, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "36257:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36257:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19773, - "nodeType": "ExpressionStatement", - "src": "36257:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36157:3:10", - "parameters": { - "id": 19761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19754, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36175:2:10", - "nodeType": "VariableDeclaration", - "scope": 19775, - "src": "36161:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19753, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36161:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19756, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36193:2:10", - "nodeType": "VariableDeclaration", - "scope": 19775, - "src": "36179:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19755, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36179:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19758, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36211:2:10", - "nodeType": "VariableDeclaration", - "scope": 19775, - "src": "36197:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19757, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36197:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19760, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36229:2:10", - "nodeType": "VariableDeclaration", - "scope": 19775, - "src": "36215:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19759, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36215:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36160:72:10" - }, - "returnParameters": { - "id": 19762, - "nodeType": "ParameterList", - "parameters": [], - "src": "36247:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19798, - "nodeType": "FunctionDefinition", - "src": "36362:197:10", - "body": { - "id": 19797, - "nodeType": "Block", - "src": "36452:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c626f6f6c29", - "id": 19789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36502:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c1754ed9d3bc50669c3e71e3115dc4403f3cff35aa9b6b58799f80b5496f332", - "typeString": "literal_string \"log(string,string,string,bool)\"" - }, - "value": "log(string,string,string,bool)" - }, - { - "id": 19790, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19777, - "src": "36536:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19791, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19779, - "src": "36540:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19792, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19781, - "src": "36544:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19793, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19783, - "src": "36548:2:10", - "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": 19787, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36478:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36482:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36478:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36478:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19786, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "36462:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36462:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19796, - "nodeType": "ExpressionStatement", - "src": "36462:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36371:3:10", - "parameters": { - "id": 19784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19777, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36389:2:10", - "nodeType": "VariableDeclaration", - "scope": 19798, - "src": "36375:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19776, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36375:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19779, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36407:2:10", - "nodeType": "VariableDeclaration", - "scope": 19798, - "src": "36393:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19778, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36393:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19781, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36425:2:10", - "nodeType": "VariableDeclaration", - "scope": 19798, - "src": "36411:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19780, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36411:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19783, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36434:2:10", - "nodeType": "VariableDeclaration", - "scope": 19798, - "src": "36429:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19782, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36429:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "36374:63:10" - }, - "returnParameters": { - "id": 19785, - "nodeType": "ParameterList", - "parameters": [], - "src": "36452:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19821, - "nodeType": "FunctionDefinition", - "src": "36565:203:10", - "body": { - "id": 19820, - "nodeType": "Block", - "src": "36658:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c6164647265737329", - "id": 19812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36708:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d572f449cf1e446ea3ace51a34ce30628f4f1588a39dc5d550cefb210c5bb16", - "typeString": "literal_string \"log(string,string,string,address)\"" - }, - "value": "log(string,string,string,address)" - }, - { - "id": 19813, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19800, - "src": "36745:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19814, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19802, - "src": "36749:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19815, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19804, - "src": "36753:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19816, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19806, - "src": "36757:2:10", - "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": 19810, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36684:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36688:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36684:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36684:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19809, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "36668:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36668:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19819, - "nodeType": "ExpressionStatement", - "src": "36668:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36574:3:10", - "parameters": { - "id": 19807, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19800, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36592:2:10", - "nodeType": "VariableDeclaration", - "scope": 19821, - "src": "36578:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19799, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36578:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19802, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36610:2:10", - "nodeType": "VariableDeclaration", - "scope": 19821, - "src": "36596:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19801, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36596:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19804, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36628:2:10", - "nodeType": "VariableDeclaration", - "scope": 19821, - "src": "36614:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19803, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36614:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19806, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36640:2:10", - "nodeType": "VariableDeclaration", - "scope": 19821, - "src": "36632:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19805, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36632:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "36577:66:10" - }, - "returnParameters": { - "id": 19808, - "nodeType": "ParameterList", - "parameters": [], - "src": "36658:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19844, - "nodeType": "FunctionDefinition", - "src": "36774:192:10", - "body": { - "id": 19843, - "nodeType": "Block", - "src": "36858:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c75696e7432353629", - "id": 19835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36908:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6aefad2ecee6d91421acc41f939bded56985ac5c9cf6e49011ee16b1bb31729", - "typeString": "literal_string \"log(string,string,bool,uint256)\"" - }, - "value": "log(string,string,bool,uint256)" - }, - { - "id": 19836, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19823, - "src": "36943:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19837, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19825, - "src": "36947:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19838, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19827, - "src": "36951:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19839, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19829, - "src": "36955:2:10", - "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": 19833, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36884:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "36888:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36884:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36884:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19832, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "36868:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "36868:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19842, - "nodeType": "ExpressionStatement", - "src": "36868:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36783:3:10", - "parameters": { - "id": 19830, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19823, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36801:2:10", - "nodeType": "VariableDeclaration", - "scope": 19844, - "src": "36787:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36787:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19825, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36819:2:10", - "nodeType": "VariableDeclaration", - "scope": 19844, - "src": "36805:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19824, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36805:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19827, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36828:2:10", - "nodeType": "VariableDeclaration", - "scope": 19844, - "src": "36823:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19826, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36823:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19829, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36840:2:10", - "nodeType": "VariableDeclaration", - "scope": 19844, - "src": "36832:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19828, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36832:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36786:57:10" - }, - "returnParameters": { - "id": 19831, - "nodeType": "ParameterList", - "parameters": [], - "src": "36858:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19867, - "nodeType": "FunctionDefinition", - "src": "36972:197:10", - "body": { - "id": 19866, - "nodeType": "Block", - "src": "37062:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c737472696e6729", - "id": 19858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37112:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e84b0ea51a130c3c7e1443097f28cb5c541ea8487836ae7cb1ca9c6e683699b", - "typeString": "literal_string \"log(string,string,bool,string)\"" - }, - "value": "log(string,string,bool,string)" - }, - { - "id": 19859, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19846, - "src": "37146:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19860, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19848, - "src": "37150:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19861, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19850, - "src": "37154:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19862, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19852, - "src": "37158:2:10", - "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": 19856, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37088:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19857, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37092:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37088:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37088:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19855, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "37072:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37072:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19865, - "nodeType": "ExpressionStatement", - "src": "37072:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36981:3:10", - "parameters": { - "id": 19853, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19846, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36999:2:10", - "nodeType": "VariableDeclaration", - "scope": 19867, - "src": "36985:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19845, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36985:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19848, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37017:2:10", - "nodeType": "VariableDeclaration", - "scope": 19867, - "src": "37003:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19847, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37003:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19850, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37026:2:10", - "nodeType": "VariableDeclaration", - "scope": 19867, - "src": "37021:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19849, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37021:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19852, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37044:2:10", - "nodeType": "VariableDeclaration", - "scope": 19867, - "src": "37030:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19851, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37030:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36984:63:10" - }, - "returnParameters": { - "id": 19854, - "nodeType": "ParameterList", - "parameters": [], - "src": "37062:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19890, - "nodeType": "FunctionDefinition", - "src": "37175:186:10", - "body": { - "id": 19889, - "nodeType": "Block", - "src": "37256:105:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c626f6f6c29", - "id": 19881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37306:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_40785869c0ea63ca2ccbcf7415552989c2f1ce04f151eb3b2bd695c64d21af10", - "typeString": "literal_string \"log(string,string,bool,bool)\"" - }, - "value": "log(string,string,bool,bool)" - }, - { - "id": 19882, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19869, - "src": "37338:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19883, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19871, - "src": "37342:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19884, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19873, - "src": "37346:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19885, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19875, - "src": "37350:2:10", - "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": 19879, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37282:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19880, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37286:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37282:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37282:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19878, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "37266:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37266:88:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19888, - "nodeType": "ExpressionStatement", - "src": "37266:88:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37184:3:10", - "parameters": { - "id": 19876, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19869, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37202:2:10", - "nodeType": "VariableDeclaration", - "scope": 19890, - "src": "37188:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19868, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37188:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19871, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37220:2:10", - "nodeType": "VariableDeclaration", - "scope": 19890, - "src": "37206:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19870, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37206:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19873, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37229:2:10", - "nodeType": "VariableDeclaration", - "scope": 19890, - "src": "37224:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19872, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37224:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19875, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37238:2:10", - "nodeType": "VariableDeclaration", - "scope": 19890, - "src": "37233:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19874, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37233:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37187:54:10" - }, - "returnParameters": { - "id": 19877, - "nodeType": "ParameterList", - "parameters": [], - "src": "37256:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19913, - "nodeType": "FunctionDefinition", - "src": "37367:192:10", - "body": { - "id": 19912, - "nodeType": "Block", - "src": "37451:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c6164647265737329", - "id": 19904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37501:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c371c7db0a4b104babdbdf00d079eb75cb5aa1d401c4fb726c8e5559029df84d", - "typeString": "literal_string \"log(string,string,bool,address)\"" - }, - "value": "log(string,string,bool,address)" - }, - { - "id": 19905, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19892, - "src": "37536:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19906, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19894, - "src": "37540:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19907, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19896, - "src": "37544:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 19908, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19898, - "src": "37548:2:10", - "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": 19902, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37477:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37481:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37477:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37477:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19901, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "37461:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37461:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19911, - "nodeType": "ExpressionStatement", - "src": "37461:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37376:3:10", - "parameters": { - "id": 19899, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19892, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37394:2:10", - "nodeType": "VariableDeclaration", - "scope": 19913, - "src": "37380:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19891, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37380:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19894, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37412:2:10", - "nodeType": "VariableDeclaration", - "scope": 19913, - "src": "37398:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19893, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37398:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19896, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37421:2:10", - "nodeType": "VariableDeclaration", - "scope": 19913, - "src": "37416:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19895, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37416:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19898, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37433:2:10", - "nodeType": "VariableDeclaration", - "scope": 19913, - "src": "37425:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19897, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37425:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "37379:57:10" - }, - "returnParameters": { - "id": 19900, - "nodeType": "ParameterList", - "parameters": [], - "src": "37451:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19936, - "nodeType": "FunctionDefinition", - "src": "37565:198:10", - "body": { - "id": 19935, - "nodeType": "Block", - "src": "37652:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c75696e7432353629", - "id": 19927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37702:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7cc3c607046f21bb2d1cc4864448de2e6c44029beb9bfc36cf6ca90777ae5a00", - "typeString": "literal_string \"log(string,string,address,uint256)\"" - }, - "value": "log(string,string,address,uint256)" - }, - { - "id": 19928, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19915, - "src": "37740:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19929, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19917, - "src": "37744:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19930, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19919, - "src": "37748:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19931, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19921, - "src": "37752:2:10", - "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": 19925, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37678:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37682:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37678:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37678:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19924, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "37662:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37662:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19934, - "nodeType": "ExpressionStatement", - "src": "37662:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37574:3:10", - "parameters": { - "id": 19922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19915, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37592:2:10", - "nodeType": "VariableDeclaration", - "scope": 19936, - "src": "37578:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37578:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19917, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37610:2:10", - "nodeType": "VariableDeclaration", - "scope": 19936, - "src": "37596:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19916, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37596:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19919, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37622:2:10", - "nodeType": "VariableDeclaration", - "scope": 19936, - "src": "37614:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19918, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37614:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19921, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37634:2:10", - "nodeType": "VariableDeclaration", - "scope": 19936, - "src": "37626:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 19920, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37626:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37577:60:10" - }, - "returnParameters": { - "id": 19923, - "nodeType": "ParameterList", - "parameters": [], - "src": "37652:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19959, - "nodeType": "FunctionDefinition", - "src": "37769:203:10", - "body": { - "id": 19958, - "nodeType": "Block", - "src": "37862:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c737472696e6729", - "id": 19950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37912:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb1bff805ef136c60bfed230c7b932a14c6f7a62608edeaf56f8f2c0575d25b6", - "typeString": "literal_string \"log(string,string,address,string)\"" - }, - "value": "log(string,string,address,string)" - }, - { - "id": 19951, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19938, - "src": "37949:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19952, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19940, - "src": "37953:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19953, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19942, - "src": "37957:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19954, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19944, - "src": "37961:2:10", - "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": 19948, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37888:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "37892:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37888:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37888:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19947, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "37872:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "37872:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19957, - "nodeType": "ExpressionStatement", - "src": "37872:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37778:3:10", - "parameters": { - "id": 19945, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19938, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37796:2:10", - "nodeType": "VariableDeclaration", - "scope": 19959, - "src": "37782:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19937, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37782:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19940, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37814:2:10", - "nodeType": "VariableDeclaration", - "scope": 19959, - "src": "37800:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19939, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37800:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19942, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37826:2:10", - "nodeType": "VariableDeclaration", - "scope": 19959, - "src": "37818:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19941, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37818:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19944, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37844:2:10", - "nodeType": "VariableDeclaration", - "scope": 19959, - "src": "37830:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19943, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37830:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "37781:66:10" - }, - "returnParameters": { - "id": 19946, - "nodeType": "ParameterList", - "parameters": [], - "src": "37862:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 19982, - "nodeType": "FunctionDefinition", - "src": "37978:192:10", - "body": { - "id": 19981, - "nodeType": "Block", - "src": "38062:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c626f6f6c29", - "id": 19973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38112:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ccd4e373eb6ae26626c8607ae861c55cda5fd321363edde7e6328e09072ba63", - "typeString": "literal_string \"log(string,string,address,bool)\"" - }, - "value": "log(string,string,address,bool)" - }, - { - "id": 19974, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19961, - "src": "38147:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19975, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19963, - "src": "38151:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19976, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19965, - "src": "38155:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 19977, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19967, - "src": "38159:2:10", - "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": 19971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38088:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38092:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38088:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 19978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38088:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19970, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "38072:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 19979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38072:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 19980, - "nodeType": "ExpressionStatement", - "src": "38072:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37987:3:10", - "parameters": { - "id": 19968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19961, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38005:2:10", - "nodeType": "VariableDeclaration", - "scope": 19982, - "src": "37991:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19960, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37991:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19963, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38023:2:10", - "nodeType": "VariableDeclaration", - "scope": 19982, - "src": "38009:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19962, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38009:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19965, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38035:2:10", - "nodeType": "VariableDeclaration", - "scope": 19982, - "src": "38027:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19964, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38027:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19967, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38044:2:10", - "nodeType": "VariableDeclaration", - "scope": 19982, - "src": "38039:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 19966, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38039:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37990:57:10" - }, - "returnParameters": { - "id": 19969, - "nodeType": "ParameterList", - "parameters": [], - "src": "38062:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20005, - "nodeType": "FunctionDefinition", - "src": "38176:198:10", - "body": { - "id": 20004, - "nodeType": "Block", - "src": "38263:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c6164647265737329", - "id": 19996, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38313:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_439c7befd1b6bfcb9bd001c1f3a991ef43c070f0ace0c190dd9f16d7ae338a5d", - "typeString": "literal_string \"log(string,string,address,address)\"" - }, - "value": "log(string,string,address,address)" - }, - { - "id": 19997, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19984, - "src": "38351:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19998, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19986, - "src": "38355:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 19999, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19988, - "src": "38359:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20000, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19990, - "src": "38363:2:10", - "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": 19994, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38289:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 19995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38293:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38289:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38289:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 19993, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "38273:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38273:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20003, - "nodeType": "ExpressionStatement", - "src": "38273:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38185:3:10", - "parameters": { - "id": 19991, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 19984, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38203:2:10", - "nodeType": "VariableDeclaration", - "scope": 20005, - "src": "38189:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19983, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38189:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19986, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38221:2:10", - "nodeType": "VariableDeclaration", - "scope": 20005, - "src": "38207:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 19985, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38207:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19988, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38233:2:10", - "nodeType": "VariableDeclaration", - "scope": 20005, - "src": "38225:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19987, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38225:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 19990, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38245:2:10", - "nodeType": "VariableDeclaration", - "scope": 20005, - "src": "38237:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 19989, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38237:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "38188:60:10" - }, - "returnParameters": { - "id": 19992, - "nodeType": "ParameterList", - "parameters": [], - "src": "38263:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20028, - "nodeType": "FunctionDefinition", - "src": "38380:187:10", - "body": { - "id": 20027, - "nodeType": "Block", - "src": "38458:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c75696e7432353629", - "id": 20019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38508:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_64b5bb671d0911515c2d999ed3f7f689c3b5762a99b342dfee4a1d88fec7b25e", - "typeString": "literal_string \"log(string,bool,uint256,uint256)\"" - }, - "value": "log(string,bool,uint256,uint256)" - }, - { - "id": 20020, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20007, - "src": "38544:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20021, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20009, - "src": "38548:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20022, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20011, - "src": "38552:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20023, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20013, - "src": "38556:2:10", - "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": 20017, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38484:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38488:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38484:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38484:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20016, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "38468:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38468:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20026, - "nodeType": "ExpressionStatement", - "src": "38468:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38389:3:10", - "parameters": { - "id": 20014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20007, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38407:2:10", - "nodeType": "VariableDeclaration", - "scope": 20028, - "src": "38393:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38393:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20009, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38416:2:10", - "nodeType": "VariableDeclaration", - "scope": 20028, - "src": "38411:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20008, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38411:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20011, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38428:2:10", - "nodeType": "VariableDeclaration", - "scope": 20028, - "src": "38420:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20010, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38420:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20013, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38440:2:10", - "nodeType": "VariableDeclaration", - "scope": 20028, - "src": "38432:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20012, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38432:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "38392:51:10" - }, - "returnParameters": { - "id": 20015, - "nodeType": "ParameterList", - "parameters": [], - "src": "38458:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20051, - "nodeType": "FunctionDefinition", - "src": "38573:192:10", - "body": { - "id": 20050, - "nodeType": "Block", - "src": "38657:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c737472696e6729", - "id": 20042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38707:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_742d6ee771df9df1dec5a8b70ff5f7f41567f6ae9fe27e7e391b2811f9978b00", - "typeString": "literal_string \"log(string,bool,uint256,string)\"" - }, - "value": "log(string,bool,uint256,string)" - }, - { - "id": 20043, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20030, - "src": "38742:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20044, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20032, - "src": "38746:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20045, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20034, - "src": "38750:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20046, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20036, - "src": "38754:2:10", - "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": 20040, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38683:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20041, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38687:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38683:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38683:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20039, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "38667:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38667:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20049, - "nodeType": "ExpressionStatement", - "src": "38667:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38582:3:10", - "parameters": { - "id": 20037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20030, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38600:2:10", - "nodeType": "VariableDeclaration", - "scope": 20051, - "src": "38586:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20029, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38586:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20032, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38609:2:10", - "nodeType": "VariableDeclaration", - "scope": 20051, - "src": "38604:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20031, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38604:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20034, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38621:2:10", - "nodeType": "VariableDeclaration", - "scope": 20051, - "src": "38613:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20033, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38613:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20036, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38639:2:10", - "nodeType": "VariableDeclaration", - "scope": 20051, - "src": "38625:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20035, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38625:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "38585:57:10" - }, - "returnParameters": { - "id": 20038, - "nodeType": "ParameterList", - "parameters": [], - "src": "38657:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20074, - "nodeType": "FunctionDefinition", - "src": "38771:181:10", - "body": { - "id": 20073, - "nodeType": "Block", - "src": "38846:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c626f6f6c29", - "id": 20065, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38896:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8af7cf8a379b674b00a81c3841f4203ce23fde0db10f1f8c2a0017ca424d79e2", - "typeString": "literal_string \"log(string,bool,uint256,bool)\"" - }, - "value": "log(string,bool,uint256,bool)" - }, - { - "id": 20066, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20053, - "src": "38929:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20067, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20055, - "src": "38933:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20068, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20057, - "src": "38937:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20069, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20059, - "src": "38941:2:10", - "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": 20063, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38872:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "38876:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38872:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38872:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20062, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "38856:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "38856:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20072, - "nodeType": "ExpressionStatement", - "src": "38856:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38780:3:10", - "parameters": { - "id": 20060, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20053, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38798:2:10", - "nodeType": "VariableDeclaration", - "scope": 20074, - "src": "38784:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20052, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38784:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20055, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38807:2:10", - "nodeType": "VariableDeclaration", - "scope": 20074, - "src": "38802:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20054, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38802:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20057, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38819:2:10", - "nodeType": "VariableDeclaration", - "scope": 20074, - "src": "38811:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20056, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38811:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20059, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38828:2:10", - "nodeType": "VariableDeclaration", - "scope": 20074, - "src": "38823:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20058, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38823:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "38783:48:10" - }, - "returnParameters": { - "id": 20061, - "nodeType": "ParameterList", - "parameters": [], - "src": "38846:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20097, - "nodeType": "FunctionDefinition", - "src": "38958:187:10", - "body": { - "id": 20096, - "nodeType": "Block", - "src": "39036:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c6164647265737329", - "id": 20088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39086:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_935e09bfd29779a7e049f17e6e907bb9f7181e93c0c486cf646b7471eb4a9d1e", - "typeString": "literal_string \"log(string,bool,uint256,address)\"" - }, - "value": "log(string,bool,uint256,address)" - }, - { - "id": 20089, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20076, - "src": "39122:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20090, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20078, - "src": "39126:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20091, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20080, - "src": "39130:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20092, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20082, - "src": "39134:2:10", - "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": 20086, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39062:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39066:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39062:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39062:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20085, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "39046:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39046:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20095, - "nodeType": "ExpressionStatement", - "src": "39046:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38967:3:10", - "parameters": { - "id": 20083, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20076, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38985:2:10", - "nodeType": "VariableDeclaration", - "scope": 20097, - "src": "38971:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20075, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38971:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20078, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38994:2:10", - "nodeType": "VariableDeclaration", - "scope": 20097, - "src": "38989:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20077, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38989:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20080, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39006:2:10", - "nodeType": "VariableDeclaration", - "scope": 20097, - "src": "38998:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20079, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38998:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20082, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39018:2:10", - "nodeType": "VariableDeclaration", - "scope": 20097, - "src": "39010:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20081, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39010:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "38970:51:10" - }, - "returnParameters": { - "id": 20084, - "nodeType": "ParameterList", - "parameters": [], - "src": "39036:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20120, - "nodeType": "FunctionDefinition", - "src": "39151:192:10", - "body": { - "id": 20119, - "nodeType": "Block", - "src": "39235:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c75696e7432353629", - "id": 20111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39285:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24f9146562ee02c43db65ac014241fab3a51c9e29435f60d2ed133a186cac03a", - "typeString": "literal_string \"log(string,bool,string,uint256)\"" - }, - "value": "log(string,bool,string,uint256)" - }, - { - "id": 20112, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20099, - "src": "39320:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20113, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20101, - "src": "39324:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20114, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20103, - "src": "39328:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20115, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20105, - "src": "39332:2:10", - "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": 20109, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39261:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39265:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39261:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39261:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20108, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "39245:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39245:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20118, - "nodeType": "ExpressionStatement", - "src": "39245:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39160:3:10", - "parameters": { - "id": 20106, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20099, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39178:2:10", - "nodeType": "VariableDeclaration", - "scope": 20120, - "src": "39164:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20098, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39164:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20101, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39187:2:10", - "nodeType": "VariableDeclaration", - "scope": 20120, - "src": "39182:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20100, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39182:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20103, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39205:2:10", - "nodeType": "VariableDeclaration", - "scope": 20120, - "src": "39191:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20102, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39191:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20105, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39217:2:10", - "nodeType": "VariableDeclaration", - "scope": 20120, - "src": "39209:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20104, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "39209:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "39163:57:10" - }, - "returnParameters": { - "id": 20107, - "nodeType": "ParameterList", - "parameters": [], - "src": "39235:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20143, - "nodeType": "FunctionDefinition", - "src": "39349:197:10", - "body": { - "id": 20142, - "nodeType": "Block", - "src": "39439:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c737472696e6729", - "id": 20134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39489:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a826caebc65f4a71211c1c7fd8dc9bdd856d7ef7dbeef42d8af156e9f73bc47d", - "typeString": "literal_string \"log(string,bool,string,string)\"" - }, - "value": "log(string,bool,string,string)" - }, - { - "id": 20135, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20122, - "src": "39523:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20136, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20124, - "src": "39527:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20137, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20126, - "src": "39531:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20138, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20128, - "src": "39535:2:10", - "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": 20132, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39465:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20133, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39469:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39465:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39465:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20131, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "39449:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39449:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20141, - "nodeType": "ExpressionStatement", - "src": "39449:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39358:3:10", - "parameters": { - "id": 20129, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20122, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39376:2:10", - "nodeType": "VariableDeclaration", - "scope": 20143, - "src": "39362:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20121, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39362:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20124, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39385:2:10", - "nodeType": "VariableDeclaration", - "scope": 20143, - "src": "39380:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20123, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39380:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20126, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39403:2:10", - "nodeType": "VariableDeclaration", - "scope": 20143, - "src": "39389:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20125, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39389:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20128, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39421:2:10", - "nodeType": "VariableDeclaration", - "scope": 20143, - "src": "39407:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20127, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39407:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "39361:63:10" - }, - "returnParameters": { - "id": 20130, - "nodeType": "ParameterList", - "parameters": [], - "src": "39439:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20166, - "nodeType": "FunctionDefinition", - "src": "39552:186:10", - "body": { - "id": 20165, - "nodeType": "Block", - "src": "39633:105:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c626f6f6c29", - "id": 20157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39683:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3f8a701d00386d6ad9c7b7a930805b985bcbbe108e894a7d5cb9493e87e57e8b", - "typeString": "literal_string \"log(string,bool,string,bool)\"" - }, - "value": "log(string,bool,string,bool)" - }, - { - "id": 20158, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20145, - "src": "39715:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20159, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20147, - "src": "39719:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20160, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20149, - "src": "39723:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20161, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20151, - "src": "39727:2:10", - "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": 20155, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39659:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39663:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39659:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39659:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20154, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "39643:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39643:88:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20164, - "nodeType": "ExpressionStatement", - "src": "39643:88:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39561:3:10", - "parameters": { - "id": 20152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20145, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39579:2:10", - "nodeType": "VariableDeclaration", - "scope": 20166, - "src": "39565:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20144, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39565:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20147, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39588:2:10", - "nodeType": "VariableDeclaration", - "scope": 20166, - "src": "39583:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20146, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39583:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20149, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39606:2:10", - "nodeType": "VariableDeclaration", - "scope": 20166, - "src": "39592:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20148, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39592:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20151, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39615:2:10", - "nodeType": "VariableDeclaration", - "scope": 20166, - "src": "39610:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20150, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39610:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "39564:54:10" - }, - "returnParameters": { - "id": 20153, - "nodeType": "ParameterList", - "parameters": [], - "src": "39633:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20189, - "nodeType": "FunctionDefinition", - "src": "39744:192:10", - "body": { - "id": 20188, - "nodeType": "Block", - "src": "39828:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c6164647265737329", - "id": 20180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39878:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0625b292fa5cbc865b55f61713cbbe0ce7abb244ec2df45291ea19c30ddfaf8", - "typeString": "literal_string \"log(string,bool,string,address)\"" - }, - "value": "log(string,bool,string,address)" - }, - { - "id": 20181, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20168, - "src": "39913:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20182, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20170, - "src": "39917:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20183, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20172, - "src": "39921:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20184, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20174, - "src": "39925:2:10", - "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": 20178, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39854:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "39858:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39854:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39854:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20177, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "39838:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "39838:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20187, - "nodeType": "ExpressionStatement", - "src": "39838:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39753:3:10", - "parameters": { - "id": 20175, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20168, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39771:2:10", - "nodeType": "VariableDeclaration", - "scope": 20189, - "src": "39757:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20167, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39757:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20170, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39780:2:10", - "nodeType": "VariableDeclaration", - "scope": 20189, - "src": "39775:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20169, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39775:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20172, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39798:2:10", - "nodeType": "VariableDeclaration", - "scope": 20189, - "src": "39784:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20171, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39784:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20174, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39810:2:10", - "nodeType": "VariableDeclaration", - "scope": 20189, - "src": "39802:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39802:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "39756:57:10" - }, - "returnParameters": { - "id": 20176, - "nodeType": "ParameterList", - "parameters": [], - "src": "39828:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20212, - "nodeType": "FunctionDefinition", - "src": "39942:181:10", - "body": { - "id": 20211, - "nodeType": "Block", - "src": "40017:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 20203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40067:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e3f78a95b6137f6ae9ccc69d6fedacb3b283b432b4367bfc497a4b3b428665c", - "typeString": "literal_string \"log(string,bool,bool,uint256)\"" - }, - "value": "log(string,bool,bool,uint256)" - }, - { - "id": 20204, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20191, - "src": "40100:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20205, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20193, - "src": "40104:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20206, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20195, - "src": "40108:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20207, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20197, - "src": "40112:2:10", - "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": 20201, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40043:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40047:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40043:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40043:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20200, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "40027:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40027:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20210, - "nodeType": "ExpressionStatement", - "src": "40027:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39951:3:10", - "parameters": { - "id": 20198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20191, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39969:2:10", - "nodeType": "VariableDeclaration", - "scope": 20212, - "src": "39955:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20190, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39955:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20193, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39978:2:10", - "nodeType": "VariableDeclaration", - "scope": 20212, - "src": "39973:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20192, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39973:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20195, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39987:2:10", - "nodeType": "VariableDeclaration", - "scope": 20212, - "src": "39982:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20194, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39982:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20197, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39999:2:10", - "nodeType": "VariableDeclaration", - "scope": 20212, - "src": "39991:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20196, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "39991:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "39954:48:10" - }, - "returnParameters": { - "id": 20199, - "nodeType": "ParameterList", - "parameters": [], - "src": "40017:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20235, - "nodeType": "FunctionDefinition", - "src": "40129:186:10", - "body": { - "id": 20234, - "nodeType": "Block", - "src": "40210:105:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c737472696e6729", - "id": 20226, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40260:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9d22d5dd5fa6b44920526f32944af8a0b12651bcfe7d5e4d9330573146eaf058", - "typeString": "literal_string \"log(string,bool,bool,string)\"" - }, - "value": "log(string,bool,bool,string)" - }, - { - "id": 20227, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20214, - "src": "40292:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20228, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20216, - "src": "40296:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20229, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20218, - "src": "40300:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20230, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20220, - "src": "40304:2:10", - "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": 20224, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40236:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40240:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40236:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40236:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20223, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "40220:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40220:88:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20233, - "nodeType": "ExpressionStatement", - "src": "40220:88:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40138:3:10", - "parameters": { - "id": 20221, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20214, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40156:2:10", - "nodeType": "VariableDeclaration", - "scope": 20235, - "src": "40142:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20213, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40142:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20216, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40165:2:10", - "nodeType": "VariableDeclaration", - "scope": 20235, - "src": "40160:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20215, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40160:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20218, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40174:2:10", - "nodeType": "VariableDeclaration", - "scope": 20235, - "src": "40169:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20217, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40169:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20220, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40192:2:10", - "nodeType": "VariableDeclaration", - "scope": 20235, - "src": "40178:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20219, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40178:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "40141:54:10" - }, - "returnParameters": { - "id": 20222, - "nodeType": "ParameterList", - "parameters": [], - "src": "40210:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20258, - "nodeType": "FunctionDefinition", - "src": "40321:175:10", - "body": { - "id": 20257, - "nodeType": "Block", - "src": "40393:103:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 20249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40443:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_895af8c5b50078ceec3119054e20583155eeb3e1a8f56b8ed56efbec57456ad2", - "typeString": "literal_string \"log(string,bool,bool,bool)\"" - }, - "value": "log(string,bool,bool,bool)" - }, - { - "id": 20250, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20237, - "src": "40473:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20251, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20239, - "src": "40477:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20252, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20241, - "src": "40481:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20253, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20243, - "src": "40485:2:10", - "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": 20247, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40419:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40423:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40419:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40419:69:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20246, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "40403:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40403:86:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20256, - "nodeType": "ExpressionStatement", - "src": "40403:86:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40330:3:10", - "parameters": { - "id": 20244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20237, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40348:2:10", - "nodeType": "VariableDeclaration", - "scope": 20258, - "src": "40334:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20236, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40334:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20239, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40357:2:10", - "nodeType": "VariableDeclaration", - "scope": 20258, - "src": "40352:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20238, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40352:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20241, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40366:2:10", - "nodeType": "VariableDeclaration", - "scope": 20258, - "src": "40361:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20240, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40361:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20243, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40375:2:10", - "nodeType": "VariableDeclaration", - "scope": 20258, - "src": "40370:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20242, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40370:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "40333:45:10" - }, - "returnParameters": { - "id": 20245, - "nodeType": "ParameterList", - "parameters": [], - "src": "40393:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20281, - "nodeType": "FunctionDefinition", - "src": "40502:181:10", - "body": { - "id": 20280, - "nodeType": "Block", - "src": "40577:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c6164647265737329", - "id": 20272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40627:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7190a529624f3e9168945b9053b9648f6439313f31cad0801b50f9dc38a45d4d", - "typeString": "literal_string \"log(string,bool,bool,address)\"" - }, - "value": "log(string,bool,bool,address)" - }, - { - "id": 20273, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20260, - "src": "40660:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20274, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20262, - "src": "40664:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20275, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20264, - "src": "40668:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20276, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20266, - "src": "40672:2:10", - "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": 20270, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40603:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20271, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40607:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40603:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40603:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20269, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "40587:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40587:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20279, - "nodeType": "ExpressionStatement", - "src": "40587:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40511:3:10", - "parameters": { - "id": 20267, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20260, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40529:2:10", - "nodeType": "VariableDeclaration", - "scope": 20281, - "src": "40515:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20259, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40515:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20262, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40538:2:10", - "nodeType": "VariableDeclaration", - "scope": 20281, - "src": "40533:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20261, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40533:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20264, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40547:2:10", - "nodeType": "VariableDeclaration", - "scope": 20281, - "src": "40542:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20263, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40542:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20266, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40559:2:10", - "nodeType": "VariableDeclaration", - "scope": 20281, - "src": "40551:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20265, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40551:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "40514:48:10" - }, - "returnParameters": { - "id": 20268, - "nodeType": "ParameterList", - "parameters": [], - "src": "40577:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20304, - "nodeType": "FunctionDefinition", - "src": "40689:187:10", - "body": { - "id": 20303, - "nodeType": "Block", - "src": "40767:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c75696e7432353629", - "id": 20295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40817:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d08bb051545e1af26b8dc05172e6aa8a0bd85212ec19e971b10cea364c21531", - "typeString": "literal_string \"log(string,bool,address,uint256)\"" - }, - "value": "log(string,bool,address,uint256)" - }, - { - "id": 20296, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20283, - "src": "40853:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20297, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20285, - "src": "40857:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20298, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20287, - "src": "40861:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20299, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20289, - "src": "40865:2:10", - "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": 20293, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40793:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40797:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40793:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40793:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20292, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "40777:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40777:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20302, - "nodeType": "ExpressionStatement", - "src": "40777:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40698:3:10", - "parameters": { - "id": 20290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20283, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40716:2:10", - "nodeType": "VariableDeclaration", - "scope": 20304, - "src": "40702:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20282, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40702:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20285, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40725:2:10", - "nodeType": "VariableDeclaration", - "scope": 20304, - "src": "40720:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20284, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40720:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20287, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40737:2:10", - "nodeType": "VariableDeclaration", - "scope": 20304, - "src": "40729:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20286, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40729:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20289, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40749:2:10", - "nodeType": "VariableDeclaration", - "scope": 20304, - "src": "40741:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20288, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "40741:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "40701:51:10" - }, - "returnParameters": { - "id": 20291, - "nodeType": "ParameterList", - "parameters": [], - "src": "40767:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20327, - "nodeType": "FunctionDefinition", - "src": "40882:192:10", - "body": { - "id": 20326, - "nodeType": "Block", - "src": "40966:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c737472696e6729", - "id": 20318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41016:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8e33a4e52268aad313274a8446eec6f40466a28da2456a8f12d83b298c13ef", - "typeString": "literal_string \"log(string,bool,address,string)\"" - }, - "value": "log(string,bool,address,string)" - }, - { - "id": 20319, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20306, - "src": "41051:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20320, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20308, - "src": "41055:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20321, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20310, - "src": "41059:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20322, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20312, - "src": "41063:2:10", - "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": 20316, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40992:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "40996:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40992:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40992:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20315, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "40976:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "40976:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20325, - "nodeType": "ExpressionStatement", - "src": "40976:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40891:3:10", - "parameters": { - "id": 20313, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20306, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40909:2:10", - "nodeType": "VariableDeclaration", - "scope": 20327, - "src": "40895:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20305, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40895:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20308, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40918:2:10", - "nodeType": "VariableDeclaration", - "scope": 20327, - "src": "40913:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20307, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40913:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20310, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40930:2:10", - "nodeType": "VariableDeclaration", - "scope": 20327, - "src": "40922:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20309, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40922:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20312, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40948:2:10", - "nodeType": "VariableDeclaration", - "scope": 20327, - "src": "40934:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20311, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40934:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "40894:57:10" - }, - "returnParameters": { - "id": 20314, - "nodeType": "ParameterList", - "parameters": [], - "src": "40966:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20350, - "nodeType": "FunctionDefinition", - "src": "41080:181:10", - "body": { - "id": 20349, - "nodeType": "Block", - "src": "41155:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c626f6f6c29", - "id": 20341, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41205:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_958c28c6e7bd79de7ce7f6f112cbcb194d9e383764dfb947492ee1374ff5c482", - "typeString": "literal_string \"log(string,bool,address,bool)\"" - }, - "value": "log(string,bool,address,bool)" - }, - { - "id": 20342, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20329, - "src": "41238:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20343, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20331, - "src": "41242:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20344, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20333, - "src": "41246:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20345, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20335, - "src": "41250:2:10", - "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": 20339, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41181:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41185:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41181:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41181:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20338, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "41165:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41165:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20348, - "nodeType": "ExpressionStatement", - "src": "41165:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41089:3:10", - "parameters": { - "id": 20336, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20329, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41107:2:10", - "nodeType": "VariableDeclaration", - "scope": 20350, - "src": "41093:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20328, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41093:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20331, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41116:2:10", - "nodeType": "VariableDeclaration", - "scope": 20350, - "src": "41111:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20330, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41111:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20333, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41128:2:10", - "nodeType": "VariableDeclaration", - "scope": 20350, - "src": "41120:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20332, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41120:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20335, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41137:2:10", - "nodeType": "VariableDeclaration", - "scope": 20350, - "src": "41132:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20334, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41132:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "41092:48:10" - }, - "returnParameters": { - "id": 20337, - "nodeType": "ParameterList", - "parameters": [], - "src": "41155:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20373, - "nodeType": "FunctionDefinition", - "src": "41267:187:10", - "body": { - "id": 20372, - "nodeType": "Block", - "src": "41345:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c6164647265737329", - "id": 20364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41395:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_33e9dd1deb33816160eb59d86987de501b214bedbbe3c70103eff4092834b53d", - "typeString": "literal_string \"log(string,bool,address,address)\"" - }, - "value": "log(string,bool,address,address)" - }, - { - "id": 20365, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20352, - "src": "41431:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20366, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20354, - "src": "41435:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20367, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20356, - "src": "41439:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20368, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20358, - "src": "41443:2:10", - "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": 20362, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41371:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41375:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41371:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41371:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20361, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "41355:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41355:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20371, - "nodeType": "ExpressionStatement", - "src": "41355:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41276:3:10", - "parameters": { - "id": 20359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20352, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41294:2:10", - "nodeType": "VariableDeclaration", - "scope": 20373, - "src": "41280:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20351, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41280:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20354, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41303:2:10", - "nodeType": "VariableDeclaration", - "scope": 20373, - "src": "41298:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20353, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41298:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20356, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41315:2:10", - "nodeType": "VariableDeclaration", - "scope": 20373, - "src": "41307:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20355, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41307:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20358, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41327:2:10", - "nodeType": "VariableDeclaration", - "scope": 20373, - "src": "41319:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20357, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41319:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "41279:51:10" - }, - "returnParameters": { - "id": 20360, - "nodeType": "ParameterList", - "parameters": [], - "src": "41345:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20396, - "nodeType": "FunctionDefinition", - "src": "41460:193:10", - "body": { - "id": 20395, - "nodeType": "Block", - "src": "41541:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c75696e7432353629", - "id": 20387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41591:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f8f51b1efa50f24f22e6d84ce2fe784a33e1301484ada1546e913ae05d6370e9", - "typeString": "literal_string \"log(string,address,uint256,uint256)\"" - }, - "value": "log(string,address,uint256,uint256)" - }, - { - "id": 20388, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20375, - "src": "41630:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20389, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20377, - "src": "41634:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20390, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20379, - "src": "41638:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20391, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20381, - "src": "41642:2:10", - "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": 20385, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41567:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41571:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41567:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41567:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20384, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "41551:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41551:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20394, - "nodeType": "ExpressionStatement", - "src": "41551:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41469:3:10", - "parameters": { - "id": 20382, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20375, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41487:2:10", - "nodeType": "VariableDeclaration", - "scope": 20396, - "src": "41473:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20374, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41473:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20377, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41499:2:10", - "nodeType": "VariableDeclaration", - "scope": 20396, - "src": "41491:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20376, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41491:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20379, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41511:2:10", - "nodeType": "VariableDeclaration", - "scope": 20396, - "src": "41503:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20378, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41503:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20381, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41523:2:10", - "nodeType": "VariableDeclaration", - "scope": 20396, - "src": "41515:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20380, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41515:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "41472:54:10" - }, - "returnParameters": { - "id": 20383, - "nodeType": "ParameterList", - "parameters": [], - "src": "41541:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20419, - "nodeType": "FunctionDefinition", - "src": "41659:198:10", - "body": { - "id": 20418, - "nodeType": "Block", - "src": "41746:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c737472696e6729", - "id": 20410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41796:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5a477632ed0f8b7872a83c9247644de555db395491f2f355c6edb676d8bcb46c", - "typeString": "literal_string \"log(string,address,uint256,string)\"" - }, - "value": "log(string,address,uint256,string)" - }, - { - "id": 20411, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20398, - "src": "41834:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20412, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20400, - "src": "41838:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20413, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20402, - "src": "41842:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20414, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20404, - "src": "41846:2:10", - "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": 20408, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41772:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41776:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41772:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41772:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20407, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "41756:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41756:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20417, - "nodeType": "ExpressionStatement", - "src": "41756:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41668:3:10", - "parameters": { - "id": 20405, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20398, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41686:2:10", - "nodeType": "VariableDeclaration", - "scope": 20419, - "src": "41672:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20397, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41672:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20400, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41698:2:10", - "nodeType": "VariableDeclaration", - "scope": 20419, - "src": "41690:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20399, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41690:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20402, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41710:2:10", - "nodeType": "VariableDeclaration", - "scope": 20419, - "src": "41702:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20401, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41702:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20404, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41728:2:10", - "nodeType": "VariableDeclaration", - "scope": 20419, - "src": "41714:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41714:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "41671:60:10" - }, - "returnParameters": { - "id": 20406, - "nodeType": "ParameterList", - "parameters": [], - "src": "41746:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20442, - "nodeType": "FunctionDefinition", - "src": "41863:187:10", - "body": { - "id": 20441, - "nodeType": "Block", - "src": "41941:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c626f6f6c29", - "id": 20433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41991:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fc4845f029f76ed29f7b800fe92a7851214073a807806d7d808676b2cbe7a1c7", - "typeString": "literal_string \"log(string,address,uint256,bool)\"" - }, - "value": "log(string,address,uint256,bool)" - }, - { - "id": 20434, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20421, - "src": "42027:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20435, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20423, - "src": "42031:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20436, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20425, - "src": "42035:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20437, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20427, - "src": "42039:2:10", - "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": 20431, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41967:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "41971:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41967:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41967:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20430, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "41951:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "41951:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20440, - "nodeType": "ExpressionStatement", - "src": "41951:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41872:3:10", - "parameters": { - "id": 20428, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20421, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41890:2:10", - "nodeType": "VariableDeclaration", - "scope": 20442, - "src": "41876:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41876:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20423, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41902:2:10", - "nodeType": "VariableDeclaration", - "scope": 20442, - "src": "41894:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20422, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41894:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20425, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41914:2:10", - "nodeType": "VariableDeclaration", - "scope": 20442, - "src": "41906:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20424, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41906:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20427, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41923:2:10", - "nodeType": "VariableDeclaration", - "scope": 20442, - "src": "41918:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20426, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41918:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "41875:51:10" - }, - "returnParameters": { - "id": 20429, - "nodeType": "ParameterList", - "parameters": [], - "src": "41941:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20465, - "nodeType": "FunctionDefinition", - "src": "42056:193:10", - "body": { - "id": 20464, - "nodeType": "Block", - "src": "42137:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c6164647265737329", - "id": 20456, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42187:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_63fb8bc57476e3f2139504feb3fa304f43eeecc15ac8e150b7b3c9fdfa4ea83a", - "typeString": "literal_string \"log(string,address,uint256,address)\"" - }, - "value": "log(string,address,uint256,address)" - }, - { - "id": 20457, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20444, - "src": "42226:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20458, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20446, - "src": "42230:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20459, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20448, - "src": "42234:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20460, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20450, - "src": "42238:2:10", - "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": 20454, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42163:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42167:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42163:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42163:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20453, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "42147:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42147:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20463, - "nodeType": "ExpressionStatement", - "src": "42147:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42065:3:10", - "parameters": { - "id": 20451, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20444, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42083:2:10", - "nodeType": "VariableDeclaration", - "scope": 20465, - "src": "42069:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20443, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42069:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20446, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42095:2:10", - "nodeType": "VariableDeclaration", - "scope": 20465, - "src": "42087:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20445, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42087:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20448, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42107:2:10", - "nodeType": "VariableDeclaration", - "scope": 20465, - "src": "42099:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20447, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42099:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20450, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42119:2:10", - "nodeType": "VariableDeclaration", - "scope": 20465, - "src": "42111:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20449, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42111:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "42068:54:10" - }, - "returnParameters": { - "id": 20452, - "nodeType": "ParameterList", - "parameters": [], - "src": "42137:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20488, - "nodeType": "FunctionDefinition", - "src": "42255:198:10", - "body": { - "id": 20487, - "nodeType": "Block", - "src": "42342:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c75696e7432353629", - "id": 20479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42392:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91d1112e9ca774de680c78512401449500c1938a4e449f6e73f80a84d95cfcfd", - "typeString": "literal_string \"log(string,address,string,uint256)\"" - }, - "value": "log(string,address,string,uint256)" - }, - { - "id": 20480, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20467, - "src": "42430:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20481, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20469, - "src": "42434:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20482, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20471, - "src": "42438:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20483, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20473, - "src": "42442:2:10", - "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": 20477, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42368:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42372:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42368:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42368:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20476, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "42352:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42352:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20486, - "nodeType": "ExpressionStatement", - "src": "42352:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42264:3:10", - "parameters": { - "id": 20474, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20467, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42282:2:10", - "nodeType": "VariableDeclaration", - "scope": 20488, - "src": "42268:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42268:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20469, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42294:2:10", - "nodeType": "VariableDeclaration", - "scope": 20488, - "src": "42286:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20468, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42286:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20471, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42312:2:10", - "nodeType": "VariableDeclaration", - "scope": 20488, - "src": "42298:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20470, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42298:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20473, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42324:2:10", - "nodeType": "VariableDeclaration", - "scope": 20488, - "src": "42316:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20472, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42316:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "42267:60:10" - }, - "returnParameters": { - "id": 20475, - "nodeType": "ParameterList", - "parameters": [], - "src": "42342:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20511, - "nodeType": "FunctionDefinition", - "src": "42459:203:10", - "body": { - "id": 20510, - "nodeType": "Block", - "src": "42552:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c737472696e6729", - "id": 20502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42602:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_245986f22170901865e76245a48ee28ce0127ca357f6ad576a72190e1d358797", - "typeString": "literal_string \"log(string,address,string,string)\"" - }, - "value": "log(string,address,string,string)" - }, - { - "id": 20503, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20490, - "src": "42639:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20504, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20492, - "src": "42643:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20505, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20494, - "src": "42647:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20506, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20496, - "src": "42651:2:10", - "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": 20500, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42578:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42582:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42578:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42578:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20499, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "42562:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42562:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20509, - "nodeType": "ExpressionStatement", - "src": "42562:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42468:3:10", - "parameters": { - "id": 20497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20490, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42486:2:10", - "nodeType": "VariableDeclaration", - "scope": 20511, - "src": "42472:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20489, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42472:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20492, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42498:2:10", - "nodeType": "VariableDeclaration", - "scope": 20511, - "src": "42490:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20491, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42490:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20494, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42516:2:10", - "nodeType": "VariableDeclaration", - "scope": 20511, - "src": "42502:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20493, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42502:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20496, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42534:2:10", - "nodeType": "VariableDeclaration", - "scope": 20511, - "src": "42520:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42520:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "42471:66:10" - }, - "returnParameters": { - "id": 20498, - "nodeType": "ParameterList", - "parameters": [], - "src": "42552:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20534, - "nodeType": "FunctionDefinition", - "src": "42668:192:10", - "body": { - "id": 20533, - "nodeType": "Block", - "src": "42752:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c626f6f6c29", - "id": 20525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42802:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f15d28c15ddff15fba1c00f6a4975ae6af8b36c9b2a875bf59bd45049046154", - "typeString": "literal_string \"log(string,address,string,bool)\"" - }, - "value": "log(string,address,string,bool)" - }, - { - "id": 20526, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20513, - "src": "42837:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20527, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20515, - "src": "42841:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20528, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20517, - "src": "42845:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20529, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20519, - "src": "42849:2:10", - "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": 20523, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42778:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42782:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42778:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42778:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20522, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "42762:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42762:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20532, - "nodeType": "ExpressionStatement", - "src": "42762:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42677:3:10", - "parameters": { - "id": 20520, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20513, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42695:2:10", - "nodeType": "VariableDeclaration", - "scope": 20534, - "src": "42681:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20512, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42681:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20515, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42707:2:10", - "nodeType": "VariableDeclaration", - "scope": 20534, - "src": "42699:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20514, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42699:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20517, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42725:2:10", - "nodeType": "VariableDeclaration", - "scope": 20534, - "src": "42711:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20516, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42711:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20519, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42734:2:10", - "nodeType": "VariableDeclaration", - "scope": 20534, - "src": "42729:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20518, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42729:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "42680:57:10" - }, - "returnParameters": { - "id": 20521, - "nodeType": "ParameterList", - "parameters": [], - "src": "42752:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20557, - "nodeType": "FunctionDefinition", - "src": "42866:198:10", - "body": { - "id": 20556, - "nodeType": "Block", - "src": "42953:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c6164647265737329", - "id": 20548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43003:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aabc9a311ab49789834b120d81155a7fee846a9f0d4f740bbeb970770190c82d", - "typeString": "literal_string \"log(string,address,string,address)\"" - }, - "value": "log(string,address,string,address)" - }, - { - "id": 20549, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20536, - "src": "43041:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20550, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20538, - "src": "43045:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20551, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20540, - "src": "43049:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20552, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20542, - "src": "43053:2:10", - "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": 20546, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42979:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "42983:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42979:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42979:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20545, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "42963:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "42963:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20555, - "nodeType": "ExpressionStatement", - "src": "42963:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42875:3:10", - "parameters": { - "id": 20543, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20536, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42893:2:10", - "nodeType": "VariableDeclaration", - "scope": 20557, - "src": "42879:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42879:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20538, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42905:2:10", - "nodeType": "VariableDeclaration", - "scope": 20557, - "src": "42897:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20537, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42897:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20540, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42923:2:10", - "nodeType": "VariableDeclaration", - "scope": 20557, - "src": "42909:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20539, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42909:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20542, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42935:2:10", - "nodeType": "VariableDeclaration", - "scope": 20557, - "src": "42927:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20541, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42927:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "42878:60:10" - }, - "returnParameters": { - "id": 20544, - "nodeType": "ParameterList", - "parameters": [], - "src": "42953:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20580, - "nodeType": "FunctionDefinition", - "src": "43070:187:10", - "body": { - "id": 20579, - "nodeType": "Block", - "src": "43148:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c75696e7432353629", - "id": 20571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43198:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e9f866aadef9b1f2b0257e0ed5e2df8882ba55e598b4f5282674b64ae3f06b5", - "typeString": "literal_string \"log(string,address,bool,uint256)\"" - }, - "value": "log(string,address,bool,uint256)" - }, - { - "id": 20572, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20559, - "src": "43234:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20573, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20561, - "src": "43238:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20574, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20563, - "src": "43242:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20575, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20565, - "src": "43246:2:10", - "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": 20569, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43174:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43178:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43174:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43174:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20568, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "43158:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43158:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20578, - "nodeType": "ExpressionStatement", - "src": "43158:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43079:3:10", - "parameters": { - "id": 20566, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20559, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43097:2:10", - "nodeType": "VariableDeclaration", - "scope": 20580, - "src": "43083:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43083:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20561, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43109:2:10", - "nodeType": "VariableDeclaration", - "scope": 20580, - "src": "43101:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20560, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43101:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20563, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43118:2:10", - "nodeType": "VariableDeclaration", - "scope": 20580, - "src": "43113:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20562, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43113:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20565, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43130:2:10", - "nodeType": "VariableDeclaration", - "scope": 20580, - "src": "43122:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20564, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43122:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "43082:51:10" - }, - "returnParameters": { - "id": 20567, - "nodeType": "ParameterList", - "parameters": [], - "src": "43148:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20603, - "nodeType": "FunctionDefinition", - "src": "43263:192:10", - "body": { - "id": 20602, - "nodeType": "Block", - "src": "43347:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c737472696e6729", - "id": 20594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43397:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0454c0793d4a41e5f630eb9a887926f8a67ff9e817a5feb968698354ac9d22fb", - "typeString": "literal_string \"log(string,address,bool,string)\"" - }, - "value": "log(string,address,bool,string)" - }, - { - "id": 20595, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20582, - "src": "43432:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20596, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20584, - "src": "43436:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20597, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20586, - "src": "43440:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20598, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20588, - "src": "43444:2:10", - "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": 20592, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43373:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20593, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43377:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43373:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43373:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20591, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "43357:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43357:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20601, - "nodeType": "ExpressionStatement", - "src": "43357:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43272:3:10", - "parameters": { - "id": 20589, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20582, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43290:2:10", - "nodeType": "VariableDeclaration", - "scope": 20603, - "src": "43276:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20581, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43276:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20584, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43302:2:10", - "nodeType": "VariableDeclaration", - "scope": 20603, - "src": "43294:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20583, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43294:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20586, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43311:2:10", - "nodeType": "VariableDeclaration", - "scope": 20603, - "src": "43306:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20585, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43306:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20588, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43329:2:10", - "nodeType": "VariableDeclaration", - "scope": 20603, - "src": "43315:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20587, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43315:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "43275:57:10" - }, - "returnParameters": { - "id": 20590, - "nodeType": "ParameterList", - "parameters": [], - "src": "43347:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20626, - "nodeType": "FunctionDefinition", - "src": "43461:181:10", - "body": { - "id": 20625, - "nodeType": "Block", - "src": "43536:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c626f6f6c29", - "id": 20617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43586:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_79884c2bc85eb73c854df1610df373a05f191b834f79cd47a7ab28be2308c039", - "typeString": "literal_string \"log(string,address,bool,bool)\"" - }, - "value": "log(string,address,bool,bool)" - }, - { - "id": 20618, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20605, - "src": "43619:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20619, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20607, - "src": "43623:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20620, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20609, - "src": "43627:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20621, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20611, - "src": "43631:2:10", - "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": 20615, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43562:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43566:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43562:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43562:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20614, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "43546:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43546:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20624, - "nodeType": "ExpressionStatement", - "src": "43546:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43470:3:10", - "parameters": { - "id": 20612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20605, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43488:2:10", - "nodeType": "VariableDeclaration", - "scope": 20626, - "src": "43474:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20604, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43474:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20607, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43500:2:10", - "nodeType": "VariableDeclaration", - "scope": 20626, - "src": "43492:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20606, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43492:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20609, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43509:2:10", - "nodeType": "VariableDeclaration", - "scope": 20626, - "src": "43504:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20608, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43504:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20611, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43518:2:10", - "nodeType": "VariableDeclaration", - "scope": 20626, - "src": "43513:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20610, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43513:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "43473:48:10" - }, - "returnParameters": { - "id": 20613, - "nodeType": "ParameterList", - "parameters": [], - "src": "43536:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20649, - "nodeType": "FunctionDefinition", - "src": "43648:187:10", - "body": { - "id": 20648, - "nodeType": "Block", - "src": "43726:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c6164647265737329", - "id": 20640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43776:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_223603bd064d72559a7d519ad0f1c6a8da707a49f5718dfa23a5ccb01bf9ab76", - "typeString": "literal_string \"log(string,address,bool,address)\"" - }, - "value": "log(string,address,bool,address)" - }, - { - "id": 20641, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20628, - "src": "43812:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20642, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20630, - "src": "43816:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20643, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20632, - "src": "43820:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20644, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20634, - "src": "43824:2:10", - "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": 20638, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43752:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43756:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43752:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43752:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20637, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "43736:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43736:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20647, - "nodeType": "ExpressionStatement", - "src": "43736:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43657:3:10", - "parameters": { - "id": 20635, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20628, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43675:2:10", - "nodeType": "VariableDeclaration", - "scope": 20649, - "src": "43661:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20627, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43661:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20630, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43687:2:10", - "nodeType": "VariableDeclaration", - "scope": 20649, - "src": "43679:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20629, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43679:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20632, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43696:2:10", - "nodeType": "VariableDeclaration", - "scope": 20649, - "src": "43691:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20631, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43691:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20634, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43708:2:10", - "nodeType": "VariableDeclaration", - "scope": 20649, - "src": "43700:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20633, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43700:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "43660:51:10" - }, - "returnParameters": { - "id": 20636, - "nodeType": "ParameterList", - "parameters": [], - "src": "43726:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20672, - "nodeType": "FunctionDefinition", - "src": "43841:193:10", - "body": { - "id": 20671, - "nodeType": "Block", - "src": "43922:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c75696e7432353629", - "id": 20663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43972:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8ef3f399de1ebecd7840dee5f4cdc1bad43021ab37fa3acdd3dfbd36f7092e7b", - "typeString": "literal_string \"log(string,address,address,uint256)\"" - }, - "value": "log(string,address,address,uint256)" - }, - { - "id": 20664, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20651, - "src": "44011:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20665, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20653, - "src": "44015:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20666, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20655, - "src": "44019:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20667, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20657, - "src": "44023:2:10", - "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": 20661, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43948:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "43952:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43948:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43948:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20660, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "43932:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "43932:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20670, - "nodeType": "ExpressionStatement", - "src": "43932:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43850:3:10", - "parameters": { - "id": 20658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20651, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43868:2:10", - "nodeType": "VariableDeclaration", - "scope": 20672, - "src": "43854:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20650, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43854:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20653, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43880:2:10", - "nodeType": "VariableDeclaration", - "scope": 20672, - "src": "43872:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20652, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43872:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20655, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43892:2:10", - "nodeType": "VariableDeclaration", - "scope": 20672, - "src": "43884:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20654, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43884:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20657, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43904:2:10", - "nodeType": "VariableDeclaration", - "scope": 20672, - "src": "43896:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20656, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43896:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "43853:54:10" - }, - "returnParameters": { - "id": 20659, - "nodeType": "ParameterList", - "parameters": [], - "src": "43922:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20695, - "nodeType": "FunctionDefinition", - "src": "44040:198:10", - "body": { - "id": 20694, - "nodeType": "Block", - "src": "44127:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c737472696e6729", - "id": 20686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44177:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_800a1c6756a402b6162ca8653fd8e87e2c52d1c019c876e92eb2980479636a76", - "typeString": "literal_string \"log(string,address,address,string)\"" - }, - "value": "log(string,address,address,string)" - }, - { - "id": 20687, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20674, - "src": "44215:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20688, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20676, - "src": "44219:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20689, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20678, - "src": "44223:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20690, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20680, - "src": "44227:2:10", - "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": 20684, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44153:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44157:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44153:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44153:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20683, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "44137:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44137:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20693, - "nodeType": "ExpressionStatement", - "src": "44137:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44049:3:10", - "parameters": { - "id": 20681, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20674, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44067:2:10", - "nodeType": "VariableDeclaration", - "scope": 20695, - "src": "44053:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20673, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44053:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20676, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44079:2:10", - "nodeType": "VariableDeclaration", - "scope": 20695, - "src": "44071:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20675, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44071:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20678, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44091:2:10", - "nodeType": "VariableDeclaration", - "scope": 20695, - "src": "44083:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20677, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44083:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20680, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44109:2:10", - "nodeType": "VariableDeclaration", - "scope": 20695, - "src": "44095:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20679, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44095:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "44052:60:10" - }, - "returnParameters": { - "id": 20682, - "nodeType": "ParameterList", - "parameters": [], - "src": "44127:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20718, - "nodeType": "FunctionDefinition", - "src": "44244:187:10", - "body": { - "id": 20717, - "nodeType": "Block", - "src": "44322:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c626f6f6c29", - "id": 20709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44372:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b59dbd60587b4eeae521d5427cbc88bff32729f88aff059e7deb0a3a4320aaf4", - "typeString": "literal_string \"log(string,address,address,bool)\"" - }, - "value": "log(string,address,address,bool)" - }, - { - "id": 20710, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20697, - "src": "44408:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20711, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20699, - "src": "44412:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20712, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20701, - "src": "44416:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20713, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20703, - "src": "44420:2:10", - "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": 20707, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44348:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44352:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44348:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44348:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20706, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "44332:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44332:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20716, - "nodeType": "ExpressionStatement", - "src": "44332:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44253:3:10", - "parameters": { - "id": 20704, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20697, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44271:2:10", - "nodeType": "VariableDeclaration", - "scope": 20718, - "src": "44257:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20696, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44257:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20699, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44283:2:10", - "nodeType": "VariableDeclaration", - "scope": 20718, - "src": "44275:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20698, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44275:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20701, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44295:2:10", - "nodeType": "VariableDeclaration", - "scope": 20718, - "src": "44287:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20700, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44287:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20703, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44304:2:10", - "nodeType": "VariableDeclaration", - "scope": 20718, - "src": "44299:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20702, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44299:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "44256:51:10" - }, - "returnParameters": { - "id": 20705, - "nodeType": "ParameterList", - "parameters": [], - "src": "44322:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20741, - "nodeType": "FunctionDefinition", - "src": "44437:193:10", - "body": { - "id": 20740, - "nodeType": "Block", - "src": "44518:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c6164647265737329", - "id": 20732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44568:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ed8f28f6f4b5d54b1d37f705e543f556805f28b9d1bb3aef0ef7e57ef4992d15", - "typeString": "literal_string \"log(string,address,address,address)\"" - }, - "value": "log(string,address,address,address)" - }, - { - "id": 20733, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20720, - "src": "44607:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20734, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20722, - "src": "44611:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20735, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20724, - "src": "44615:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 20736, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20726, - "src": "44619:2:10", - "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": 20730, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44544:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44548:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44544:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44544:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20729, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "44528:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44528:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20739, - "nodeType": "ExpressionStatement", - "src": "44528:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44446:3:10", - "parameters": { - "id": 20727, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20720, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44464:2:10", - "nodeType": "VariableDeclaration", - "scope": 20741, - "src": "44450:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20719, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44450:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20722, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44476:2:10", - "nodeType": "VariableDeclaration", - "scope": 20741, - "src": "44468:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20721, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44468:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20724, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44488:2:10", - "nodeType": "VariableDeclaration", - "scope": 20741, - "src": "44480:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20723, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44480:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20726, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44500:2:10", - "nodeType": "VariableDeclaration", - "scope": 20741, - "src": "44492:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44492:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "44449:54:10" - }, - "returnParameters": { - "id": 20728, - "nodeType": "ParameterList", - "parameters": [], - "src": "44518:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20764, - "nodeType": "FunctionDefinition", - "src": "44636:182:10", - "body": { - "id": 20763, - "nodeType": "Block", - "src": "44708:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c75696e7432353629", - "id": 20755, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44758:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_374bb4b29e495d2b557643d341fe72136bf6e92f2ac9b1edd86dbbd72a19d62b", - "typeString": "literal_string \"log(bool,uint256,uint256,uint256)\"" - }, - "value": "log(bool,uint256,uint256,uint256)" - }, - { - "id": 20756, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20743, - "src": "44795:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20757, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20745, - "src": "44799:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20758, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20747, - "src": "44803:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20759, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20749, - "src": "44807:2:10", - "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": 20753, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44734:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44738:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44734:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44734:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20752, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "44718:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44718:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20762, - "nodeType": "ExpressionStatement", - "src": "44718:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44645:3:10", - "parameters": { - "id": 20750, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20743, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44654:2:10", - "nodeType": "VariableDeclaration", - "scope": 20764, - "src": "44649:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20742, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44649:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20745, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44666:2:10", - "nodeType": "VariableDeclaration", - "scope": 20764, - "src": "44658:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20744, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44658:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20747, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44678:2:10", - "nodeType": "VariableDeclaration", - "scope": 20764, - "src": "44670:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20746, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44670:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20749, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44690:2:10", - "nodeType": "VariableDeclaration", - "scope": 20764, - "src": "44682:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20748, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44682:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "44648:45:10" - }, - "returnParameters": { - "id": 20751, - "nodeType": "ParameterList", - "parameters": [], - "src": "44708:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20787, - "nodeType": "FunctionDefinition", - "src": "44824:187:10", - "body": { - "id": 20786, - "nodeType": "Block", - "src": "44902:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c737472696e6729", - "id": 20778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44952:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e69fb5dd49f06ae0054ca1d4af84221644c5b45a9306505e04580a4156255c3", - "typeString": "literal_string \"log(bool,uint256,uint256,string)\"" - }, - "value": "log(bool,uint256,uint256,string)" - }, - { - "id": 20779, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20766, - "src": "44988:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20780, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20768, - "src": "44992:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20781, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20770, - "src": "44996:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20782, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20772, - "src": "45000:2:10", - "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": 20776, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44928:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "44932:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44928:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44928:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20775, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "44912:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "44912:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20785, - "nodeType": "ExpressionStatement", - "src": "44912:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44833:3:10", - "parameters": { - "id": 20773, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20766, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44842:2:10", - "nodeType": "VariableDeclaration", - "scope": 20787, - "src": "44837:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20765, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44837:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20768, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44854:2:10", - "nodeType": "VariableDeclaration", - "scope": 20787, - "src": "44846:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20767, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44846:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20770, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44866:2:10", - "nodeType": "VariableDeclaration", - "scope": 20787, - "src": "44858:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20769, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44858:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20772, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44884:2:10", - "nodeType": "VariableDeclaration", - "scope": 20787, - "src": "44870:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20771, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44870:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "44836:51:10" - }, - "returnParameters": { - "id": 20774, - "nodeType": "ParameterList", - "parameters": [], - "src": "44902:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20810, - "nodeType": "FunctionDefinition", - "src": "45017:176:10", - "body": { - "id": 20809, - "nodeType": "Block", - "src": "45086:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c626f6f6c29", - "id": 20801, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45136:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_be9843530e69b1feba88a3a9701a6984aaa8a57e749a7f9d10c857993e79900d", - "typeString": "literal_string \"log(bool,uint256,uint256,bool)\"" - }, - "value": "log(bool,uint256,uint256,bool)" - }, - { - "id": 20802, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20789, - "src": "45170:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20803, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20791, - "src": "45174:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20804, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20793, - "src": "45178:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20805, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20795, - "src": "45182:2:10", - "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": 20799, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45112:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45116:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45112:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45112:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20798, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "45096:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45096:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20808, - "nodeType": "ExpressionStatement", - "src": "45096:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45026:3:10", - "parameters": { - "id": 20796, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20789, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45035:2:10", - "nodeType": "VariableDeclaration", - "scope": 20810, - "src": "45030:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20788, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45030:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20791, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45047:2:10", - "nodeType": "VariableDeclaration", - "scope": 20810, - "src": "45039:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20790, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45039:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20793, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45059:2:10", - "nodeType": "VariableDeclaration", - "scope": 20810, - "src": "45051:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20792, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45051:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20795, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45068:2:10", - "nodeType": "VariableDeclaration", - "scope": 20810, - "src": "45063:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20794, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45063:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "45029:42:10" - }, - "returnParameters": { - "id": 20797, - "nodeType": "ParameterList", - "parameters": [], - "src": "45086:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20833, - "nodeType": "FunctionDefinition", - "src": "45199:182:10", - "body": { - "id": 20832, - "nodeType": "Block", - "src": "45271:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c6164647265737329", - "id": 20824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45321:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_00dd87b926eb0a94d5705f2c40026359b9577dfd5ddb2d0d51c86b3f4acb5010", - "typeString": "literal_string \"log(bool,uint256,uint256,address)\"" - }, - "value": "log(bool,uint256,uint256,address)" - }, - { - "id": 20825, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20812, - "src": "45358:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20826, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20814, - "src": "45362:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20827, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20816, - "src": "45366:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20828, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20818, - "src": "45370:2:10", - "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": 20822, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45297:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45301:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45297:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45297:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20821, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "45281:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45281:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20831, - "nodeType": "ExpressionStatement", - "src": "45281:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45208:3:10", - "parameters": { - "id": 20819, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20812, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45217:2:10", - "nodeType": "VariableDeclaration", - "scope": 20833, - "src": "45212:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20811, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45212:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20814, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45229:2:10", - "nodeType": "VariableDeclaration", - "scope": 20833, - "src": "45221:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20813, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45221:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20816, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45241:2:10", - "nodeType": "VariableDeclaration", - "scope": 20833, - "src": "45233:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20815, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45233:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20818, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45253:2:10", - "nodeType": "VariableDeclaration", - "scope": 20833, - "src": "45245:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20817, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45245:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "45211:45:10" - }, - "returnParameters": { - "id": 20820, - "nodeType": "ParameterList", - "parameters": [], - "src": "45271:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20856, - "nodeType": "FunctionDefinition", - "src": "45387:187:10", - "body": { - "id": 20855, - "nodeType": "Block", - "src": "45465:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c75696e7432353629", - "id": 20847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45515:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6a1199e21848ce015eabd66ea7f6a3409c7fc6ef9bb322d84e4c06706c42747e", - "typeString": "literal_string \"log(bool,uint256,string,uint256)\"" - }, - "value": "log(bool,uint256,string,uint256)" - }, - { - "id": 20848, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20835, - "src": "45551:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20849, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20837, - "src": "45555:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20850, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20839, - "src": "45559:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20851, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20841, - "src": "45563:2:10", - "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": 20845, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45491:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45495:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45491:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45491:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20844, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "45475:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45475:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20854, - "nodeType": "ExpressionStatement", - "src": "45475:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45396:3:10", - "parameters": { - "id": 20842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20835, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45405:2:10", - "nodeType": "VariableDeclaration", - "scope": 20856, - "src": "45400:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20834, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45400:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20837, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45417:2:10", - "nodeType": "VariableDeclaration", - "scope": 20856, - "src": "45409:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20836, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45409:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20839, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45435:2:10", - "nodeType": "VariableDeclaration", - "scope": 20856, - "src": "45421:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20838, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45421:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20841, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45447:2:10", - "nodeType": "VariableDeclaration", - "scope": 20856, - "src": "45439:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20840, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45439:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "45399:51:10" - }, - "returnParameters": { - "id": 20843, - "nodeType": "ParameterList", - "parameters": [], - "src": "45465:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20879, - "nodeType": "FunctionDefinition", - "src": "45580:192:10", - "body": { - "id": 20878, - "nodeType": "Block", - "src": "45664:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c737472696e6729", - "id": 20870, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45714:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f5bc2249bce1f463dc4a6cae73d4e7be2aab36b6885cd1506575f16575a67f07", - "typeString": "literal_string \"log(bool,uint256,string,string)\"" - }, - "value": "log(bool,uint256,string,string)" - }, - { - "id": 20871, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20858, - "src": "45749:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20872, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20860, - "src": "45753:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20873, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20862, - "src": "45757:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20874, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20864, - "src": "45761:2:10", - "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": 20868, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45690:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45694:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45690:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45690:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20867, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "45674:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45674:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20877, - "nodeType": "ExpressionStatement", - "src": "45674:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45589:3:10", - "parameters": { - "id": 20865, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20858, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45598:2:10", - "nodeType": "VariableDeclaration", - "scope": 20879, - "src": "45593:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20857, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45593:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20860, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45610:2:10", - "nodeType": "VariableDeclaration", - "scope": 20879, - "src": "45602:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20859, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45602:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20862, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45628:2:10", - "nodeType": "VariableDeclaration", - "scope": 20879, - "src": "45614:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20861, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45614:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20864, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45646:2:10", - "nodeType": "VariableDeclaration", - "scope": 20879, - "src": "45632:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20863, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45632:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "45592:57:10" - }, - "returnParameters": { - "id": 20866, - "nodeType": "ParameterList", - "parameters": [], - "src": "45664:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20902, - "nodeType": "FunctionDefinition", - "src": "45778:181:10", - "body": { - "id": 20901, - "nodeType": "Block", - "src": "45853:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c626f6f6c29", - "id": 20893, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45903:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e5e70b2b79ba63a1232a1075e7d527614bad7291574e41ebeb8ef428426395c2", - "typeString": "literal_string \"log(bool,uint256,string,bool)\"" - }, - "value": "log(bool,uint256,string,bool)" - }, - { - "id": 20894, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20881, - "src": "45936:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20895, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20883, - "src": "45940:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20896, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20885, - "src": "45944:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20897, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20887, - "src": "45948:2:10", - "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": 20891, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45879:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "45883:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45879:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45879:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20890, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "45863:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "45863:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20900, - "nodeType": "ExpressionStatement", - "src": "45863:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45787:3:10", - "parameters": { - "id": 20888, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20881, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45796:2:10", - "nodeType": "VariableDeclaration", - "scope": 20902, - "src": "45791:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20880, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45791:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20883, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45808:2:10", - "nodeType": "VariableDeclaration", - "scope": 20902, - "src": "45800:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20882, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45800:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20885, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45826:2:10", - "nodeType": "VariableDeclaration", - "scope": 20902, - "src": "45812:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20884, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45812:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20887, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45835:2:10", - "nodeType": "VariableDeclaration", - "scope": 20902, - "src": "45830:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20886, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45830:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "45790:48:10" - }, - "returnParameters": { - "id": 20889, - "nodeType": "ParameterList", - "parameters": [], - "src": "45853:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20925, - "nodeType": "FunctionDefinition", - "src": "45965:187:10", - "body": { - "id": 20924, - "nodeType": "Block", - "src": "46043:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c6164647265737329", - "id": 20916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46093:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fedd1fffaad08b0e5474b192f50d84da9ca48f54859d4d4f42d00bf3f4781fab", - "typeString": "literal_string \"log(bool,uint256,string,address)\"" - }, - "value": "log(bool,uint256,string,address)" - }, - { - "id": 20917, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20904, - "src": "46129:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20918, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20906, - "src": "46133:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20919, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20908, - "src": "46137:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 20920, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20910, - "src": "46141:2:10", - "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": 20914, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46069:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46073:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46069:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46069:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20913, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "46053:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46053:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20923, - "nodeType": "ExpressionStatement", - "src": "46053:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45974:3:10", - "parameters": { - "id": 20911, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20904, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45983:2:10", - "nodeType": "VariableDeclaration", - "scope": 20925, - "src": "45978:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20903, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45978:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20906, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45995:2:10", - "nodeType": "VariableDeclaration", - "scope": 20925, - "src": "45987:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20905, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45987:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20908, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46013:2:10", - "nodeType": "VariableDeclaration", - "scope": 20925, - "src": "45999:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20907, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45999:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20910, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46025:2:10", - "nodeType": "VariableDeclaration", - "scope": 20925, - "src": "46017:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 20909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46017:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "45977:51:10" - }, - "returnParameters": { - "id": 20912, - "nodeType": "ParameterList", - "parameters": [], - "src": "46043:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20948, - "nodeType": "FunctionDefinition", - "src": "46158:176:10", - "body": { - "id": 20947, - "nodeType": "Block", - "src": "46227:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c75696e7432353629", - "id": 20939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46277:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7f9bbca288abffbb423da5759392c2bb0e6c7c60dc55ee1c76da7b38adac1443", - "typeString": "literal_string \"log(bool,uint256,bool,uint256)\"" - }, - "value": "log(bool,uint256,bool,uint256)" - }, - { - "id": 20940, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20927, - "src": "46311:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20941, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20929, - "src": "46315:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20942, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20931, - "src": "46319:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20943, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20933, - "src": "46323:2:10", - "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": 20937, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46253:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46257:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46253:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46253:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20936, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "46237:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46237:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20946, - "nodeType": "ExpressionStatement", - "src": "46237:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46167:3:10", - "parameters": { - "id": 20934, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20927, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46176:2:10", - "nodeType": "VariableDeclaration", - "scope": 20948, - "src": "46171:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20926, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46171:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20929, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46188:2:10", - "nodeType": "VariableDeclaration", - "scope": 20948, - "src": "46180:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20928, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46180:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20931, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46197:2:10", - "nodeType": "VariableDeclaration", - "scope": 20948, - "src": "46192:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20930, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46192:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20933, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46209:2:10", - "nodeType": "VariableDeclaration", - "scope": 20948, - "src": "46201:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46201:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "46170:42:10" - }, - "returnParameters": { - "id": 20935, - "nodeType": "ParameterList", - "parameters": [], - "src": "46227:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20971, - "nodeType": "FunctionDefinition", - "src": "46340:181:10", - "body": { - "id": 20970, - "nodeType": "Block", - "src": "46415:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c737472696e6729", - "id": 20962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46465:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9143dbb14a0962a6e3d7ec52e236cb9bf165b86383a96499ea4cf52b827d7ce0", - "typeString": "literal_string \"log(bool,uint256,bool,string)\"" - }, - "value": "log(bool,uint256,bool,string)" - }, - { - "id": 20963, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20950, - "src": "46498:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20964, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20952, - "src": "46502:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20965, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20954, - "src": "46506:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20966, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20956, - "src": "46510:2:10", - "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": 20960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46441:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46445:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46441:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46441:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20959, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "46425:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46425:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20969, - "nodeType": "ExpressionStatement", - "src": "46425:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46349:3:10", - "parameters": { - "id": 20957, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20950, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46358:2:10", - "nodeType": "VariableDeclaration", - "scope": 20971, - "src": "46353:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20949, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46353:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20952, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46370:2:10", - "nodeType": "VariableDeclaration", - "scope": 20971, - "src": "46362:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20951, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46362:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20954, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46379:2:10", - "nodeType": "VariableDeclaration", - "scope": 20971, - "src": "46374:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20953, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46374:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20956, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46397:2:10", - "nodeType": "VariableDeclaration", - "scope": 20971, - "src": "46383:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 20955, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46383:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "46352:48:10" - }, - "returnParameters": { - "id": 20958, - "nodeType": "ParameterList", - "parameters": [], - "src": "46415:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 20994, - "nodeType": "FunctionDefinition", - "src": "46527:170:10", - "body": { - "id": 20993, - "nodeType": "Block", - "src": "46593:104:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c626f6f6c29", - "id": 20985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46643:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ceb5f4d77121f3d3cfafeaa403e6fff70e4470d0bfb40c1d850f89e3d65029f2", - "typeString": "literal_string \"log(bool,uint256,bool,bool)\"" - }, - "value": "log(bool,uint256,bool,bool)" - }, - { - "id": 20986, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20973, - "src": "46674:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20987, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20975, - "src": "46678:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 20988, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20977, - "src": "46682:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 20989, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20979, - "src": "46686:2:10", - "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": 20983, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46619:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 20984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46623:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46619:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 20990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46619:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 20982, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "46603:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 20991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46603:87:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 20992, - "nodeType": "ExpressionStatement", - "src": "46603:87:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46536:3:10", - "parameters": { - "id": 20980, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20973, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46545:2:10", - "nodeType": "VariableDeclaration", - "scope": 20994, - "src": "46540:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20972, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46540:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20975, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46557:2:10", - "nodeType": "VariableDeclaration", - "scope": 20994, - "src": "46549:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20974, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46549:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20977, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46566:2:10", - "nodeType": "VariableDeclaration", - "scope": 20994, - "src": "46561:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20976, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46561:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20979, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46575:2:10", - "nodeType": "VariableDeclaration", - "scope": 20994, - "src": "46570:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20978, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46570:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "46539:39:10" - }, - "returnParameters": { - "id": 20981, - "nodeType": "ParameterList", - "parameters": [], - "src": "46593:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21017, - "nodeType": "FunctionDefinition", - "src": "46703:176:10", - "body": { - "id": 21016, - "nodeType": "Block", - "src": "46772:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c6164647265737329", - "id": 21008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46822:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9acd3616ce3d15d7b870c591206f600266707f40592e6070353f762f54c75a2e", - "typeString": "literal_string \"log(bool,uint256,bool,address)\"" - }, - "value": "log(bool,uint256,bool,address)" - }, - { - "id": 21009, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20996, - "src": "46856:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21010, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 20998, - "src": "46860:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21011, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21000, - "src": "46864:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21012, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21002, - "src": "46868:2:10", - "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": 21006, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46798:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46802:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46798:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46798:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21005, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "46782:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46782:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21015, - "nodeType": "ExpressionStatement", - "src": "46782:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46712:3:10", - "parameters": { - "id": 21003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 20996, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46721:2:10", - "nodeType": "VariableDeclaration", - "scope": 21017, - "src": "46716:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20995, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46716:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 20998, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46733:2:10", - "nodeType": "VariableDeclaration", - "scope": 21017, - "src": "46725:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 20997, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46725:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21000, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46742:2:10", - "nodeType": "VariableDeclaration", - "scope": 21017, - "src": "46737:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 20999, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46737:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21002, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46754:2:10", - "nodeType": "VariableDeclaration", - "scope": 21017, - "src": "46746:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21001, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46746:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "46715:42:10" - }, - "returnParameters": { - "id": 21004, - "nodeType": "ParameterList", - "parameters": [], - "src": "46772:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21040, - "nodeType": "FunctionDefinition", - "src": "46885:182:10", - "body": { - "id": 21039, - "nodeType": "Block", - "src": "46957:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c75696e7432353629", - "id": 21031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47007:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1537dc87a2086882c18d77c4157142ca3b6771cb00e940824367191cd9b5e560", - "typeString": "literal_string \"log(bool,uint256,address,uint256)\"" - }, - "value": "log(bool,uint256,address,uint256)" - }, - { - "id": 21032, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21019, - "src": "47044:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21033, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21021, - "src": "47048:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21034, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21023, - "src": "47052:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21035, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21025, - "src": "47056:2:10", - "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": 21029, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46983:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "46987:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46983:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46983:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21028, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "46967:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "46967:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21038, - "nodeType": "ExpressionStatement", - "src": "46967:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46894:3:10", - "parameters": { - "id": 21026, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21019, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46903:2:10", - "nodeType": "VariableDeclaration", - "scope": 21040, - "src": "46898:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21018, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46898:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21021, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46915:2:10", - "nodeType": "VariableDeclaration", - "scope": 21040, - "src": "46907:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21020, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46907:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21023, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46927:2:10", - "nodeType": "VariableDeclaration", - "scope": 21040, - "src": "46919:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46919:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21025, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46939:2:10", - "nodeType": "VariableDeclaration", - "scope": 21040, - "src": "46931:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21024, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46931:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "46897:45:10" - }, - "returnParameters": { - "id": 21027, - "nodeType": "ParameterList", - "parameters": [], - "src": "46957:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21063, - "nodeType": "FunctionDefinition", - "src": "47073:187:10", - "body": { - "id": 21062, - "nodeType": "Block", - "src": "47151:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c737472696e6729", - "id": 21054, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47201:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1bb3b09a4221f0a7df6a4e6e8ee3a14c54c5ebf8032d4ada871c774122536c94", - "typeString": "literal_string \"log(bool,uint256,address,string)\"" - }, - "value": "log(bool,uint256,address,string)" - }, - { - "id": 21055, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21042, - "src": "47237:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21056, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21044, - "src": "47241:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21057, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21046, - "src": "47245:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21058, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21048, - "src": "47249:2:10", - "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": 21052, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47177:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47181:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47177:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47177:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21051, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "47161:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47161:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21061, - "nodeType": "ExpressionStatement", - "src": "47161:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47082:3:10", - "parameters": { - "id": 21049, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21042, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47091:2:10", - "nodeType": "VariableDeclaration", - "scope": 21063, - "src": "47086:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21041, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47086:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21044, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47103:2:10", - "nodeType": "VariableDeclaration", - "scope": 21063, - "src": "47095:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21043, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47095:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21046, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47115:2:10", - "nodeType": "VariableDeclaration", - "scope": 21063, - "src": "47107:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21045, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47107:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21048, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47133:2:10", - "nodeType": "VariableDeclaration", - "scope": 21063, - "src": "47119:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21047, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47119:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "47085:51:10" - }, - "returnParameters": { - "id": 21050, - "nodeType": "ParameterList", - "parameters": [], - "src": "47151:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21086, - "nodeType": "FunctionDefinition", - "src": "47266:176:10", - "body": { - "id": 21085, - "nodeType": "Block", - "src": "47335:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c626f6f6c29", - "id": 21077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47385:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b4c314ff4d8914c4657179922b73426f4bcee4ae499bd03b5b3cf557ef247ea8", - "typeString": "literal_string \"log(bool,uint256,address,bool)\"" - }, - "value": "log(bool,uint256,address,bool)" - }, - { - "id": 21078, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21065, - "src": "47419:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21079, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21067, - "src": "47423:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21080, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21069, - "src": "47427:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21081, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21071, - "src": "47431:2:10", - "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": 21075, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47361:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47365:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47361:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47361:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21074, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "47345:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47345:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21084, - "nodeType": "ExpressionStatement", - "src": "47345:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47275:3:10", - "parameters": { - "id": 21072, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21065, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47284:2:10", - "nodeType": "VariableDeclaration", - "scope": 21086, - "src": "47279:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21064, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47279:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21067, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47296:2:10", - "nodeType": "VariableDeclaration", - "scope": 21086, - "src": "47288:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21066, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47288:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21069, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47308:2:10", - "nodeType": "VariableDeclaration", - "scope": 21086, - "src": "47300:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21068, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47300:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21071, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47317:2:10", - "nodeType": "VariableDeclaration", - "scope": 21086, - "src": "47312:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21070, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47312:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "47278:42:10" - }, - "returnParameters": { - "id": 21073, - "nodeType": "ParameterList", - "parameters": [], - "src": "47335:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21109, - "nodeType": "FunctionDefinition", - "src": "47448:182:10", - "body": { - "id": 21108, - "nodeType": "Block", - "src": "47520:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c6164647265737329", - "id": 21100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47570:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_26f560a852938fadf6addef4dd03c86f93715a295417544d6a793cb20f13b8dd", - "typeString": "literal_string \"log(bool,uint256,address,address)\"" - }, - "value": "log(bool,uint256,address,address)" - }, - { - "id": 21101, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21088, - "src": "47607:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21102, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21090, - "src": "47611:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21103, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21092, - "src": "47615:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21104, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21094, - "src": "47619:2:10", - "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": 21098, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47546:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47550:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47546:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47546:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21097, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "47530:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47530:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21107, - "nodeType": "ExpressionStatement", - "src": "47530:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47457:3:10", - "parameters": { - "id": 21095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21088, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47466:2:10", - "nodeType": "VariableDeclaration", - "scope": 21109, - "src": "47461:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21087, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47461:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21090, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47478:2:10", - "nodeType": "VariableDeclaration", - "scope": 21109, - "src": "47470:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21089, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47470:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21092, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47490:2:10", - "nodeType": "VariableDeclaration", - "scope": 21109, - "src": "47482:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21091, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47482:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21094, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47502:2:10", - "nodeType": "VariableDeclaration", - "scope": 21109, - "src": "47494:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21093, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47494:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "47460:45:10" - }, - "returnParameters": { - "id": 21096, - "nodeType": "ParameterList", - "parameters": [], - "src": "47520:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21132, - "nodeType": "FunctionDefinition", - "src": "47636:187:10", - "body": { - "id": 21131, - "nodeType": "Block", - "src": "47714:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c75696e7432353629", - "id": 21123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47764:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28863fcbec29a80af15c2b8595f162a2324efa0e9f70b928971349e597c15cb0", - "typeString": "literal_string \"log(bool,string,uint256,uint256)\"" - }, - "value": "log(bool,string,uint256,uint256)" - }, - { - "id": 21124, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21111, - "src": "47800:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21125, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21113, - "src": "47804:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21126, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21115, - "src": "47808:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21127, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21117, - "src": "47812:2:10", - "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": 21121, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47740:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47744:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47740:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47740:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21120, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "47724:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47724:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21130, - "nodeType": "ExpressionStatement", - "src": "47724:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47645:3:10", - "parameters": { - "id": 21118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21111, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47654:2:10", - "nodeType": "VariableDeclaration", - "scope": 21132, - "src": "47649:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21110, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47649:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21113, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47672:2:10", - "nodeType": "VariableDeclaration", - "scope": 21132, - "src": "47658:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21112, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47658:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21115, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47684:2:10", - "nodeType": "VariableDeclaration", - "scope": 21132, - "src": "47676:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21114, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47676:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21117, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47696:2:10", - "nodeType": "VariableDeclaration", - "scope": 21132, - "src": "47688:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21116, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47688:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "47648:51:10" - }, - "returnParameters": { - "id": 21119, - "nodeType": "ParameterList", - "parameters": [], - "src": "47714:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21155, - "nodeType": "FunctionDefinition", - "src": "47829:192:10", - "body": { - "id": 21154, - "nodeType": "Block", - "src": "47913:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c737472696e6729", - "id": 21146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47963:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1ad96de6602c0b08f6631d6647303bccf3e586fcfa2c15fa04c5d6cbf0ffc70d", - "typeString": "literal_string \"log(bool,string,uint256,string)\"" - }, - "value": "log(bool,string,uint256,string)" - }, - { - "id": 21147, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21134, - "src": "47998:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21148, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21136, - "src": "48002:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21149, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21138, - "src": "48006:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21150, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21140, - "src": "48010:2:10", - "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": 21144, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47939:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "47943:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47939:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47939:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21143, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "47923:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "47923:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21153, - "nodeType": "ExpressionStatement", - "src": "47923:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47838:3:10", - "parameters": { - "id": 21141, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21134, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47847:2:10", - "nodeType": "VariableDeclaration", - "scope": 21155, - "src": "47842:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21133, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47842:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21136, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47865:2:10", - "nodeType": "VariableDeclaration", - "scope": 21155, - "src": "47851:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21135, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47851:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21138, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47877:2:10", - "nodeType": "VariableDeclaration", - "scope": 21155, - "src": "47869:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21137, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47869:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21140, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47895:2:10", - "nodeType": "VariableDeclaration", - "scope": 21155, - "src": "47881:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21139, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47881:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "47841:57:10" - }, - "returnParameters": { - "id": 21142, - "nodeType": "ParameterList", - "parameters": [], - "src": "47913:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21178, - "nodeType": "FunctionDefinition", - "src": "48027:181:10", - "body": { - "id": 21177, - "nodeType": "Block", - "src": "48102:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c626f6f6c29", - "id": 21169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48152:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6b0e5d538cb3332d8fd45a0c2680232536414e292adbc2f70059f1d665e25411", - "typeString": "literal_string \"log(bool,string,uint256,bool)\"" - }, - "value": "log(bool,string,uint256,bool)" - }, - { - "id": 21170, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21157, - "src": "48185:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21171, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21159, - "src": "48189:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21172, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21161, - "src": "48193:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21173, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21163, - "src": "48197:2:10", - "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": 21167, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48128:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48132:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48128:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48128:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21166, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "48112:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21175, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48112:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21176, - "nodeType": "ExpressionStatement", - "src": "48112:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48036:3:10", - "parameters": { - "id": 21164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21157, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48045:2:10", - "nodeType": "VariableDeclaration", - "scope": 21178, - "src": "48040:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21156, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48040:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21159, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48063:2:10", - "nodeType": "VariableDeclaration", - "scope": 21178, - "src": "48049:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21158, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48049:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21161, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48075:2:10", - "nodeType": "VariableDeclaration", - "scope": 21178, - "src": "48067:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21160, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "48067:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21163, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48084:2:10", - "nodeType": "VariableDeclaration", - "scope": 21178, - "src": "48079:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21162, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48079:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "48039:48:10" - }, - "returnParameters": { - "id": 21165, - "nodeType": "ParameterList", - "parameters": [], - "src": "48102:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21201, - "nodeType": "FunctionDefinition", - "src": "48214:187:10", - "body": { - "id": 21200, - "nodeType": "Block", - "src": "48292:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c6164647265737329", - "id": 21192, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48342:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1596a1ceb88c7fe162cbcf294bbc564db1eb943f277b50b442bf55dba1134056", - "typeString": "literal_string \"log(bool,string,uint256,address)\"" - }, - "value": "log(bool,string,uint256,address)" - }, - { - "id": 21193, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21180, - "src": "48378:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21194, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21182, - "src": "48382:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21195, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21184, - "src": "48386:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21196, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21186, - "src": "48390:2:10", - "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": 21190, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48318:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48322:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48318:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48318:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21189, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "48302:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48302:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21199, - "nodeType": "ExpressionStatement", - "src": "48302:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48223:3:10", - "parameters": { - "id": 21187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21180, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48232:2:10", - "nodeType": "VariableDeclaration", - "scope": 21201, - "src": "48227:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21179, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48227:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21182, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48250:2:10", - "nodeType": "VariableDeclaration", - "scope": 21201, - "src": "48236:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48236:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21184, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48262:2:10", - "nodeType": "VariableDeclaration", - "scope": 21201, - "src": "48254:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21183, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "48254:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21186, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48274:2:10", - "nodeType": "VariableDeclaration", - "scope": 21201, - "src": "48266:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21185, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48266:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "48226:51:10" - }, - "returnParameters": { - "id": 21188, - "nodeType": "ParameterList", - "parameters": [], - "src": "48292:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21224, - "nodeType": "FunctionDefinition", - "src": "48407:192:10", - "body": { - "id": 21223, - "nodeType": "Block", - "src": "48491:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c75696e7432353629", - "id": 21215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48541:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7be0c3eb1e87c47c60c12330b930fb496493960f97b03f8342bbe08fec9d20a2", - "typeString": "literal_string \"log(bool,string,string,uint256)\"" - }, - "value": "log(bool,string,string,uint256)" - }, - { - "id": 21216, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21203, - "src": "48576:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21217, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21205, - "src": "48580:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21218, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21207, - "src": "48584:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21219, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21209, - "src": "48588:2:10", - "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": 21213, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48517:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48521:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48517:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48517:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21212, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "48501:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48501:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21222, - "nodeType": "ExpressionStatement", - "src": "48501:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48416:3:10", - "parameters": { - "id": 21210, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21203, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48425:2:10", - "nodeType": "VariableDeclaration", - "scope": 21224, - "src": "48420:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21202, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48420:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21205, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48443:2:10", - "nodeType": "VariableDeclaration", - "scope": 21224, - "src": "48429:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21204, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48429:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21207, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48461:2:10", - "nodeType": "VariableDeclaration", - "scope": 21224, - "src": "48447:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21206, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48447:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21209, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48473:2:10", - "nodeType": "VariableDeclaration", - "scope": 21224, - "src": "48465:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21208, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "48465:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "48419:57:10" - }, - "returnParameters": { - "id": 21211, - "nodeType": "ParameterList", - "parameters": [], - "src": "48491:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21247, - "nodeType": "FunctionDefinition", - "src": "48605:197:10", - "body": { - "id": 21246, - "nodeType": "Block", - "src": "48695:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c737472696e6729", - "id": 21238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48745:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1762e32af9fa924f818d8f4a6c92011d30129df73749081e0b95feea819a17c9", - "typeString": "literal_string \"log(bool,string,string,string)\"" - }, - "value": "log(bool,string,string,string)" - }, - { - "id": 21239, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21226, - "src": "48779:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21240, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21228, - "src": "48783:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21241, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21230, - "src": "48787:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21242, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21232, - "src": "48791:2:10", - "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": 21236, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48721:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21237, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48725:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48721:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48721:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21235, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "48705:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48705:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21245, - "nodeType": "ExpressionStatement", - "src": "48705:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48614:3:10", - "parameters": { - "id": 21233, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21226, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48623:2:10", - "nodeType": "VariableDeclaration", - "scope": 21247, - "src": "48618:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21225, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48618:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21228, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48641:2:10", - "nodeType": "VariableDeclaration", - "scope": 21247, - "src": "48627:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21227, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48627:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21230, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48659:2:10", - "nodeType": "VariableDeclaration", - "scope": 21247, - "src": "48645:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21229, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48645:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21232, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48677:2:10", - "nodeType": "VariableDeclaration", - "scope": 21247, - "src": "48663:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21231, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48663:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "48617:63:10" - }, - "returnParameters": { - "id": 21234, - "nodeType": "ParameterList", - "parameters": [], - "src": "48695:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21270, - "nodeType": "FunctionDefinition", - "src": "48808:186:10", - "body": { - "id": 21269, - "nodeType": "Block", - "src": "48889:105:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c626f6f6c29", - "id": 21261, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48939:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e4b87e52d13efc5b368defba0463e423637ec55125c6230945d005f817198d1", - "typeString": "literal_string \"log(bool,string,string,bool)\"" - }, - "value": "log(bool,string,string,bool)" - }, - { - "id": 21262, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21249, - "src": "48971:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21263, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21251, - "src": "48975:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21264, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21253, - "src": "48979:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21265, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21255, - "src": "48983:2:10", - "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": 21259, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48915:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21260, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "48919:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48915:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48915:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21258, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "48899:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "48899:88:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21268, - "nodeType": "ExpressionStatement", - "src": "48899:88:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48817:3:10", - "parameters": { - "id": 21256, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21249, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48826:2:10", - "nodeType": "VariableDeclaration", - "scope": 21270, - "src": "48821:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21248, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48821:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21251, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48844:2:10", - "nodeType": "VariableDeclaration", - "scope": 21270, - "src": "48830:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21250, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48830:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21253, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48862:2:10", - "nodeType": "VariableDeclaration", - "scope": 21270, - "src": "48848:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21252, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48848:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21255, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48871:2:10", - "nodeType": "VariableDeclaration", - "scope": 21270, - "src": "48866:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21254, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48866:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "48820:54:10" - }, - "returnParameters": { - "id": 21257, - "nodeType": "ParameterList", - "parameters": [], - "src": "48889:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21293, - "nodeType": "FunctionDefinition", - "src": "49000:192:10", - "body": { - "id": 21292, - "nodeType": "Block", - "src": "49084:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c6164647265737329", - "id": 21284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49134:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_97d394d89551bd441d1340d1c3dcc3b6160871bf042c6884bcb4049b2fa2bdb5", - "typeString": "literal_string \"log(bool,string,string,address)\"" - }, - "value": "log(bool,string,string,address)" - }, - { - "id": 21285, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21272, - "src": "49169:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21286, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21274, - "src": "49173:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21287, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21276, - "src": "49177:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21288, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21278, - "src": "49181:2:10", - "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": 21282, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49110:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49114:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49110:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49110:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21281, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "49094:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49094:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21291, - "nodeType": "ExpressionStatement", - "src": "49094:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49009:3:10", - "parameters": { - "id": 21279, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21272, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49018:2:10", - "nodeType": "VariableDeclaration", - "scope": 21293, - "src": "49013:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21271, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49013:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21274, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49036:2:10", - "nodeType": "VariableDeclaration", - "scope": 21293, - "src": "49022:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21273, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49022:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21276, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49054:2:10", - "nodeType": "VariableDeclaration", - "scope": 21293, - "src": "49040:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21275, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49040:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21278, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49066:2:10", - "nodeType": "VariableDeclaration", - "scope": 21293, - "src": "49058:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21277, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49058:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "49012:57:10" - }, - "returnParameters": { - "id": 21280, - "nodeType": "ParameterList", - "parameters": [], - "src": "49084:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21316, - "nodeType": "FunctionDefinition", - "src": "49198:181:10", - "body": { - "id": 21315, - "nodeType": "Block", - "src": "49273:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c75696e7432353629", - "id": 21307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49323:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1606a393d6d8ee0e5b372b3b4baba691a3700cb155888ecb60500deb6038e937", - "typeString": "literal_string \"log(bool,string,bool,uint256)\"" - }, - "value": "log(bool,string,bool,uint256)" - }, - { - "id": 21308, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21295, - "src": "49356:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21309, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21297, - "src": "49360:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21310, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21299, - "src": "49364:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21311, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21301, - "src": "49368:2:10", - "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": 21305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49299:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49303:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49299:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49299:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21304, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "49283:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49283:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21314, - "nodeType": "ExpressionStatement", - "src": "49283:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49207:3:10", - "parameters": { - "id": 21302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21295, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49216:2:10", - "nodeType": "VariableDeclaration", - "scope": 21316, - "src": "49211:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21294, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49211:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21297, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49234:2:10", - "nodeType": "VariableDeclaration", - "scope": 21316, - "src": "49220:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21296, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49220:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21299, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49243:2:10", - "nodeType": "VariableDeclaration", - "scope": 21316, - "src": "49238:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21298, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49238:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21301, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49255:2:10", - "nodeType": "VariableDeclaration", - "scope": 21316, - "src": "49247:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21300, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "49247:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "49210:48:10" - }, - "returnParameters": { - "id": 21303, - "nodeType": "ParameterList", - "parameters": [], - "src": "49273:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21339, - "nodeType": "FunctionDefinition", - "src": "49385:186:10", - "body": { - "id": 21338, - "nodeType": "Block", - "src": "49466:105:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c737472696e6729", - "id": 21330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49516:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_483d0416329d0c81c68975a0cac822497c590c00f8ae8be66af490d0f9215468", - "typeString": "literal_string \"log(bool,string,bool,string)\"" - }, - "value": "log(bool,string,bool,string)" - }, - { - "id": 21331, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21318, - "src": "49548:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21332, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21320, - "src": "49552:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21333, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21322, - "src": "49556:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21334, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21324, - "src": "49560:2:10", - "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": 21328, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49492:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21329, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49496:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49492:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49492:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21327, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "49476:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49476:88:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21337, - "nodeType": "ExpressionStatement", - "src": "49476:88:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49394:3:10", - "parameters": { - "id": 21325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21318, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49403:2:10", - "nodeType": "VariableDeclaration", - "scope": 21339, - "src": "49398:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21317, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49398:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21320, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49421:2:10", - "nodeType": "VariableDeclaration", - "scope": 21339, - "src": "49407:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21319, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49407:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21322, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49430:2:10", - "nodeType": "VariableDeclaration", - "scope": 21339, - "src": "49425:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21321, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49425:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21324, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49448:2:10", - "nodeType": "VariableDeclaration", - "scope": 21339, - "src": "49434:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21323, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49434:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "49397:54:10" - }, - "returnParameters": { - "id": 21326, - "nodeType": "ParameterList", - "parameters": [], - "src": "49466:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21362, - "nodeType": "FunctionDefinition", - "src": "49577:175:10", - "body": { - "id": 21361, - "nodeType": "Block", - "src": "49649:103:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c626f6f6c29", - "id": 21353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49699:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc5e935b9ccf45ff13b5900aeaf3a593df3e9479fc07e9c213f5fcaa0951e91f", - "typeString": "literal_string \"log(bool,string,bool,bool)\"" - }, - "value": "log(bool,string,bool,bool)" - }, - { - "id": 21354, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21341, - "src": "49729:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21355, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21343, - "src": "49733:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21356, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21345, - "src": "49737:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21357, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21347, - "src": "49741:2:10", - "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": 21351, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49675:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21352, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49679:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49675:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49675:69:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21350, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "49659:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49659:86:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21360, - "nodeType": "ExpressionStatement", - "src": "49659:86:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49586:3:10", - "parameters": { - "id": 21348, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21341, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49595:2:10", - "nodeType": "VariableDeclaration", - "scope": 21362, - "src": "49590:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21340, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49590:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21343, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49613:2:10", - "nodeType": "VariableDeclaration", - "scope": 21362, - "src": "49599:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21342, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49599:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21345, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49622:2:10", - "nodeType": "VariableDeclaration", - "scope": 21362, - "src": "49617:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21344, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49617:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21347, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49631:2:10", - "nodeType": "VariableDeclaration", - "scope": 21362, - "src": "49626:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21346, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49626:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "49589:45:10" - }, - "returnParameters": { - "id": 21349, - "nodeType": "ParameterList", - "parameters": [], - "src": "49649:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21385, - "nodeType": "FunctionDefinition", - "src": "49758:181:10", - "body": { - "id": 21384, - "nodeType": "Block", - "src": "49833:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c6164647265737329", - "id": 21376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49883:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_538e06ab06366b189ea53da7c11628ee5730bc373b0bc64719bea1a2afab03c5", - "typeString": "literal_string \"log(bool,string,bool,address)\"" - }, - "value": "log(bool,string,bool,address)" - }, - { - "id": 21377, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21364, - "src": "49916:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21378, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21366, - "src": "49920:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21379, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21368, - "src": "49924:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21380, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21370, - "src": "49928:2:10", - "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": 21374, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49859:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "49863:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49859:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49859:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21373, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "49843:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "49843:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21383, - "nodeType": "ExpressionStatement", - "src": "49843:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49767:3:10", - "parameters": { - "id": 21371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21364, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49776:2:10", - "nodeType": "VariableDeclaration", - "scope": 21385, - "src": "49771:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21363, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49771:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21366, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49794:2:10", - "nodeType": "VariableDeclaration", - "scope": 21385, - "src": "49780:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21365, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49780:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21368, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49803:2:10", - "nodeType": "VariableDeclaration", - "scope": 21385, - "src": "49798:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21367, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49798:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21370, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49815:2:10", - "nodeType": "VariableDeclaration", - "scope": 21385, - "src": "49807:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21369, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49807:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "49770:48:10" - }, - "returnParameters": { - "id": 21372, - "nodeType": "ParameterList", - "parameters": [], - "src": "49833:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21408, - "nodeType": "FunctionDefinition", - "src": "49945:187:10", - "body": { - "id": 21407, - "nodeType": "Block", - "src": "50023:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c75696e7432353629", - "id": 21399, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50073:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5cada94c7dfdda57d4cfcf14da44c63431bfd533756a6e0d0d0a684af164218", - "typeString": "literal_string \"log(bool,string,address,uint256)\"" - }, - "value": "log(bool,string,address,uint256)" - }, - { - "id": 21400, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21387, - "src": "50109:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21401, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21389, - "src": "50113:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21402, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21391, - "src": "50117:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21403, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21393, - "src": "50121:2:10", - "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": 21397, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50049:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50053:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50049:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50049:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21396, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "50033:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50033:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21406, - "nodeType": "ExpressionStatement", - "src": "50033:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49954:3:10", - "parameters": { - "id": 21394, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21387, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49963:2:10", - "nodeType": "VariableDeclaration", - "scope": 21408, - "src": "49958:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21386, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49958:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21389, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49981:2:10", - "nodeType": "VariableDeclaration", - "scope": 21408, - "src": "49967:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21388, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49967:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21391, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49993:2:10", - "nodeType": "VariableDeclaration", - "scope": 21408, - "src": "49985:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49985:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21393, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50005:2:10", - "nodeType": "VariableDeclaration", - "scope": 21408, - "src": "49997:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21392, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "49997:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "49957:51:10" - }, - "returnParameters": { - "id": 21395, - "nodeType": "ParameterList", - "parameters": [], - "src": "50023:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21431, - "nodeType": "FunctionDefinition", - "src": "50138:192:10", - "body": { - "id": 21430, - "nodeType": "Block", - "src": "50222:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c737472696e6729", - "id": 21422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50272:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12d6c788fea4d6144f2607e1e8821bec55a5c2dfdc4cece41a536f7b7831e7a7", - "typeString": "literal_string \"log(bool,string,address,string)\"" - }, - "value": "log(bool,string,address,string)" - }, - { - "id": 21423, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21410, - "src": "50307:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21424, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21412, - "src": "50311:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21425, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21414, - "src": "50315:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21426, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21416, - "src": "50319:2:10", - "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": 21420, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50248:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50252:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50248:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50248:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21419, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "50232:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50232:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21429, - "nodeType": "ExpressionStatement", - "src": "50232:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50147:3:10", - "parameters": { - "id": 21417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21410, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50156:2:10", - "nodeType": "VariableDeclaration", - "scope": 21431, - "src": "50151:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21409, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50151:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21412, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50174:2:10", - "nodeType": "VariableDeclaration", - "scope": 21431, - "src": "50160:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21411, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50160:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21414, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50186:2:10", - "nodeType": "VariableDeclaration", - "scope": 21431, - "src": "50178:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21413, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50178:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21416, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50204:2:10", - "nodeType": "VariableDeclaration", - "scope": 21431, - "src": "50190:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21415, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50190:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "50150:57:10" - }, - "returnParameters": { - "id": 21418, - "nodeType": "ParameterList", - "parameters": [], - "src": "50222:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21454, - "nodeType": "FunctionDefinition", - "src": "50336:181:10", - "body": { - "id": 21453, - "nodeType": "Block", - "src": "50411:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c626f6f6c29", - "id": 21445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50461:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6dd434ca1fa26d491bcd72b7fe69eb72d41cae8eadbda5a7f985734e1b80c67d", - "typeString": "literal_string \"log(bool,string,address,bool)\"" - }, - "value": "log(bool,string,address,bool)" - }, - { - "id": 21446, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21433, - "src": "50494:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21447, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21435, - "src": "50498:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21448, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21437, - "src": "50502:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21449, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21439, - "src": "50506:2:10", - "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": 21443, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50437:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50441:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50437:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50437:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21442, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "50421:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50421:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21452, - "nodeType": "ExpressionStatement", - "src": "50421:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50345:3:10", - "parameters": { - "id": 21440, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21433, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50354:2:10", - "nodeType": "VariableDeclaration", - "scope": 21454, - "src": "50349:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21432, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50349:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21435, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50372:2:10", - "nodeType": "VariableDeclaration", - "scope": 21454, - "src": "50358:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21434, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50358:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21437, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50384:2:10", - "nodeType": "VariableDeclaration", - "scope": 21454, - "src": "50376:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21436, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50376:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21439, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50393:2:10", - "nodeType": "VariableDeclaration", - "scope": 21454, - "src": "50388:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21438, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50388:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "50348:48:10" - }, - "returnParameters": { - "id": 21441, - "nodeType": "ParameterList", - "parameters": [], - "src": "50411:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21477, - "nodeType": "FunctionDefinition", - "src": "50523:187:10", - "body": { - "id": 21476, - "nodeType": "Block", - "src": "50601:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c6164647265737329", - "id": 21468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50651:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2b2b18dc50ecc75180f201de41eca533fbda0c7bf525c06b5b8e87bc1d010822", - "typeString": "literal_string \"log(bool,string,address,address)\"" - }, - "value": "log(bool,string,address,address)" - }, - { - "id": 21469, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21456, - "src": "50687:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21470, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21458, - "src": "50691:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21471, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21460, - "src": "50695:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21472, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21462, - "src": "50699:2:10", - "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": 21466, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50627:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50631:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50627:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50627:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21465, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "50611:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50611:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21475, - "nodeType": "ExpressionStatement", - "src": "50611:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50532:3:10", - "parameters": { - "id": 21463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21456, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50541:2:10", - "nodeType": "VariableDeclaration", - "scope": 21477, - "src": "50536:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21455, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50536:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21458, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50559:2:10", - "nodeType": "VariableDeclaration", - "scope": 21477, - "src": "50545:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21457, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50545:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21460, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50571:2:10", - "nodeType": "VariableDeclaration", - "scope": 21477, - "src": "50563:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21459, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50563:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21462, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50583:2:10", - "nodeType": "VariableDeclaration", - "scope": 21477, - "src": "50575:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50575:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "50535:51:10" - }, - "returnParameters": { - "id": 21464, - "nodeType": "ParameterList", - "parameters": [], - "src": "50601:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21500, - "nodeType": "FunctionDefinition", - "src": "50716:176:10", - "body": { - "id": 21499, - "nodeType": "Block", - "src": "50785:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c75696e7432353629", - "id": 21491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50835:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0bb00eab8772a517edb34ef48e9be8dbee2f7b7490bba02909d18953766a9d34", - "typeString": "literal_string \"log(bool,bool,uint256,uint256)\"" - }, - "value": "log(bool,bool,uint256,uint256)" - }, - { - "id": 21492, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21479, - "src": "50869:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21493, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21481, - "src": "50873:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21494, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21483, - "src": "50877:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21495, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21485, - "src": "50881:2:10", - "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": 21489, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50811:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "50815:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50811:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50811:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21488, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "50795:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50795:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21498, - "nodeType": "ExpressionStatement", - "src": "50795:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50725:3:10", - "parameters": { - "id": 21486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21479, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50734:2:10", - "nodeType": "VariableDeclaration", - "scope": 21500, - "src": "50729:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21478, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50729:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21481, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50743:2:10", - "nodeType": "VariableDeclaration", - "scope": 21500, - "src": "50738:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21480, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50738:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21483, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50755:2:10", - "nodeType": "VariableDeclaration", - "scope": 21500, - "src": "50747:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21482, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50747:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21485, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50767:2:10", - "nodeType": "VariableDeclaration", - "scope": 21500, - "src": "50759:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21484, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50759:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50728:42:10" - }, - "returnParameters": { - "id": 21487, - "nodeType": "ParameterList", - "parameters": [], - "src": "50785:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21523, - "nodeType": "FunctionDefinition", - "src": "50898:181:10", - "body": { - "id": 21522, - "nodeType": "Block", - "src": "50973:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c737472696e6729", - "id": 21514, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51023:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7dd4d0e0c518f4b352fd13daccf87a5d9bed9e01e109d2cd329f8180d1bf37cf", - "typeString": "literal_string \"log(bool,bool,uint256,string)\"" - }, - "value": "log(bool,bool,uint256,string)" - }, - { - "id": 21515, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21502, - "src": "51056:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21516, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21504, - "src": "51060:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21517, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21506, - "src": "51064:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21518, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21508, - "src": "51068:2:10", - "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": 21512, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50999:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51003:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50999:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50999:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21511, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "50983:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "50983:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21521, - "nodeType": "ExpressionStatement", - "src": "50983:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50907:3:10", - "parameters": { - "id": 21509, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21502, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50916:2:10", - "nodeType": "VariableDeclaration", - "scope": 21523, - "src": "50911:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21501, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50911:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21504, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50925:2:10", - "nodeType": "VariableDeclaration", - "scope": 21523, - "src": "50920:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21503, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50920:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21506, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50937:2:10", - "nodeType": "VariableDeclaration", - "scope": 21523, - "src": "50929:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21505, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50929:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21508, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50955:2:10", - "nodeType": "VariableDeclaration", - "scope": 21523, - "src": "50941:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21507, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50941:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "50910:48:10" - }, - "returnParameters": { - "id": 21510, - "nodeType": "ParameterList", - "parameters": [], - "src": "50973:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21546, - "nodeType": "FunctionDefinition", - "src": "51085:170:10", - "body": { - "id": 21545, - "nodeType": "Block", - "src": "51151:104:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c626f6f6c29", - "id": 21537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51201:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_619e4d0eef4ca09035d413eaba6f544cfd6dc9e01c2aeecde070c53237f5a842", - "typeString": "literal_string \"log(bool,bool,uint256,bool)\"" - }, - "value": "log(bool,bool,uint256,bool)" - }, - { - "id": 21538, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21525, - "src": "51232:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21539, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21527, - "src": "51236:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21540, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21529, - "src": "51240:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21541, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21531, - "src": "51244:2:10", - "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": 21535, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51177:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51181:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51177:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51177:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21534, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "51161:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51161:87:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21544, - "nodeType": "ExpressionStatement", - "src": "51161:87:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51094:3:10", - "parameters": { - "id": 21532, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21525, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51103:2:10", - "nodeType": "VariableDeclaration", - "scope": 21546, - "src": "51098:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21524, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51098:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21527, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51112:2:10", - "nodeType": "VariableDeclaration", - "scope": 21546, - "src": "51107:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21526, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51107:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21529, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51124:2:10", - "nodeType": "VariableDeclaration", - "scope": 21546, - "src": "51116:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21528, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "51116:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21531, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51133:2:10", - "nodeType": "VariableDeclaration", - "scope": 21546, - "src": "51128:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21530, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51128:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "51097:39:10" - }, - "returnParameters": { - "id": 21533, - "nodeType": "ParameterList", - "parameters": [], - "src": "51151:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21569, - "nodeType": "FunctionDefinition", - "src": "51261:176:10", - "body": { - "id": 21568, - "nodeType": "Block", - "src": "51330:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c6164647265737329", - "id": 21560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51380:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_54a7a9a08e00a28d36d734cc45e318f9adc9ffbfd731cd45d0dc5a2abe2b9ac9", - "typeString": "literal_string \"log(bool,bool,uint256,address)\"" - }, - "value": "log(bool,bool,uint256,address)" - }, - { - "id": 21561, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21548, - "src": "51414:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21562, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21550, - "src": "51418:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21563, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21552, - "src": "51422:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21564, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21554, - "src": "51426:2:10", - "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": 21558, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51356:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51360:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51356:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51356:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21557, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "51340:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51340:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21567, - "nodeType": "ExpressionStatement", - "src": "51340:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51270:3:10", - "parameters": { - "id": 21555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21548, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51279:2:10", - "nodeType": "VariableDeclaration", - "scope": 21569, - "src": "51274:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21547, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51274:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21550, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51288:2:10", - "nodeType": "VariableDeclaration", - "scope": 21569, - "src": "51283:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21549, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51283:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21552, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51300:2:10", - "nodeType": "VariableDeclaration", - "scope": 21569, - "src": "51292:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21551, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "51292:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21554, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51312:2:10", - "nodeType": "VariableDeclaration", - "scope": 21569, - "src": "51304:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21553, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51304:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "51273:42:10" - }, - "returnParameters": { - "id": 21556, - "nodeType": "ParameterList", - "parameters": [], - "src": "51330:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21592, - "nodeType": "FunctionDefinition", - "src": "51443:181:10", - "body": { - "id": 21591, - "nodeType": "Block", - "src": "51518:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c75696e7432353629", - "id": 21583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51568:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e3a9ca2f5717705d404f75ae4eff025addb4f91e02ce7d2b9a424fc7423a8246", - "typeString": "literal_string \"log(bool,bool,string,uint256)\"" - }, - "value": "log(bool,bool,string,uint256)" - }, - { - "id": 21584, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21571, - "src": "51601:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21585, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21573, - "src": "51605:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21586, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21575, - "src": "51609:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21587, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21577, - "src": "51613:2:10", - "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": 21581, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51544:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51548:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51544:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51544:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21580, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "51528:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51528:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21590, - "nodeType": "ExpressionStatement", - "src": "51528:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51452:3:10", - "parameters": { - "id": 21578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21571, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51461:2:10", - "nodeType": "VariableDeclaration", - "scope": 21592, - "src": "51456:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21570, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51456:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21573, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51470:2:10", - "nodeType": "VariableDeclaration", - "scope": 21592, - "src": "51465:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21572, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51465:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21575, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51488:2:10", - "nodeType": "VariableDeclaration", - "scope": 21592, - "src": "51474:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21574, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51474:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21577, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51500:2:10", - "nodeType": "VariableDeclaration", - "scope": 21592, - "src": "51492:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21576, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "51492:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "51455:48:10" - }, - "returnParameters": { - "id": 21579, - "nodeType": "ParameterList", - "parameters": [], - "src": "51518:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21615, - "nodeType": "FunctionDefinition", - "src": "51630:186:10", - "body": { - "id": 21614, - "nodeType": "Block", - "src": "51711:105:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c737472696e6729", - "id": 21606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51761:30:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d1e87518c98344bc3efd52648f61de340bda51607aec409d641f3467caafaaf", - "typeString": "literal_string \"log(bool,bool,string,string)\"" - }, - "value": "log(bool,bool,string,string)" - }, - { - "id": 21607, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21594, - "src": "51793:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21608, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21596, - "src": "51797:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21609, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21598, - "src": "51801:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21610, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21600, - "src": "51805:2:10", - "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": 21604, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51737:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51741:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51737:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21611, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51737:71:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21603, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "51721:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51721:88:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21613, - "nodeType": "ExpressionStatement", - "src": "51721:88:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51639:3:10", - "parameters": { - "id": 21601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21594, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51648:2:10", - "nodeType": "VariableDeclaration", - "scope": 21615, - "src": "51643:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21593, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51643:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21596, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51657:2:10", - "nodeType": "VariableDeclaration", - "scope": 21615, - "src": "51652:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21595, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51652:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21598, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51675:2:10", - "nodeType": "VariableDeclaration", - "scope": 21615, - "src": "51661:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21597, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51661:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21600, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51693:2:10", - "nodeType": "VariableDeclaration", - "scope": 21615, - "src": "51679:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21599, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51679:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "51642:54:10" - }, - "returnParameters": { - "id": 21602, - "nodeType": "ParameterList", - "parameters": [], - "src": "51711:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21638, - "nodeType": "FunctionDefinition", - "src": "51822:175:10", - "body": { - "id": 21637, - "nodeType": "Block", - "src": "51894:103:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c626f6f6c29", - "id": 21629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51944:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b857163a2b7b8273ed53cefa410aa148f1833bdfc22da11e1e2fb89c6e625d02", - "typeString": "literal_string \"log(bool,bool,string,bool)\"" - }, - "value": "log(bool,bool,string,bool)" - }, - { - "id": 21630, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21617, - "src": "51974:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21631, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21619, - "src": "51978:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21632, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21621, - "src": "51982:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21633, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21623, - "src": "51986:2:10", - "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": 21627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51920:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "51924:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51920:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51920:69:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21626, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "51904:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "51904:86:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21636, - "nodeType": "ExpressionStatement", - "src": "51904:86:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51831:3:10", - "parameters": { - "id": 21624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21617, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51840:2:10", - "nodeType": "VariableDeclaration", - "scope": 21638, - "src": "51835:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21616, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51835:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21619, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51849:2:10", - "nodeType": "VariableDeclaration", - "scope": 21638, - "src": "51844:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21618, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51844:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21621, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51867:2:10", - "nodeType": "VariableDeclaration", - "scope": 21638, - "src": "51853:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21620, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51853:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21623, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51876:2:10", - "nodeType": "VariableDeclaration", - "scope": 21638, - "src": "51871:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21622, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51871:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "51834:45:10" - }, - "returnParameters": { - "id": 21625, - "nodeType": "ParameterList", - "parameters": [], - "src": "51894:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21661, - "nodeType": "FunctionDefinition", - "src": "52003:181:10", - "body": { - "id": 21660, - "nodeType": "Block", - "src": "52078:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c6164647265737329", - "id": 21652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52128:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f9ad2b893873fa31c02b102aa30743b2e44c102daa588ea9d1eb1f2baf23d202", - "typeString": "literal_string \"log(bool,bool,string,address)\"" - }, - "value": "log(bool,bool,string,address)" - }, - { - "id": 21653, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21640, - "src": "52161:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21654, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21642, - "src": "52165:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21655, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21644, - "src": "52169:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21656, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21646, - "src": "52173:2:10", - "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": 21650, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52104:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21651, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52108:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52104:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52104:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21649, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "52088:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52088:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21659, - "nodeType": "ExpressionStatement", - "src": "52088:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52012:3:10", - "parameters": { - "id": 21647, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21640, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52021:2:10", - "nodeType": "VariableDeclaration", - "scope": 21661, - "src": "52016:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21639, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52016:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21642, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52030:2:10", - "nodeType": "VariableDeclaration", - "scope": 21661, - "src": "52025:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21641, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52025:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21644, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52048:2:10", - "nodeType": "VariableDeclaration", - "scope": 21661, - "src": "52034:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21643, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52034:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21646, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52060:2:10", - "nodeType": "VariableDeclaration", - "scope": 21661, - "src": "52052:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21645, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52052:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52015:48:10" - }, - "returnParameters": { - "id": 21648, - "nodeType": "ParameterList", - "parameters": [], - "src": "52078:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21684, - "nodeType": "FunctionDefinition", - "src": "52190:170:10", - "body": { - "id": 21683, - "nodeType": "Block", - "src": "52256:104:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 21675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52306:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d7045c1b7eb7ef78b5ae54b2426a16952d89f674f6d689a4e37aa73bc076a7c", - "typeString": "literal_string \"log(bool,bool,bool,uint256)\"" - }, - "value": "log(bool,bool,bool,uint256)" - }, - { - "id": 21676, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21663, - "src": "52337:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21677, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21665, - "src": "52341:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21678, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21667, - "src": "52345:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21679, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21669, - "src": "52349:2:10", - "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": 21673, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52282:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52286:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52282:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52282:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21672, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "52266:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52266:87:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21682, - "nodeType": "ExpressionStatement", - "src": "52266:87:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52199:3:10", - "parameters": { - "id": 21670, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21663, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52208:2:10", - "nodeType": "VariableDeclaration", - "scope": 21684, - "src": "52203:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21662, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52203:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21665, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52217:2:10", - "nodeType": "VariableDeclaration", - "scope": 21684, - "src": "52212:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21664, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52212:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21667, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52226:2:10", - "nodeType": "VariableDeclaration", - "scope": 21684, - "src": "52221:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21666, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52221:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21669, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52238:2:10", - "nodeType": "VariableDeclaration", - "scope": 21684, - "src": "52230:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21668, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52230:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "52202:39:10" - }, - "returnParameters": { - "id": 21671, - "nodeType": "ParameterList", - "parameters": [], - "src": "52256:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21707, - "nodeType": "FunctionDefinition", - "src": "52366:175:10", - "body": { - "id": 21706, - "nodeType": "Block", - "src": "52438:103:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c737472696e6729", - "id": 21698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52488:28:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ae408d4d030305a0361ad07c397f2b9653613b220d82459c7aeb9a6bab96c15", - "typeString": "literal_string \"log(bool,bool,bool,string)\"" - }, - "value": "log(bool,bool,bool,string)" - }, - { - "id": 21699, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21686, - "src": "52518:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21700, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21688, - "src": "52522:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21701, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21690, - "src": "52526:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21702, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21692, - "src": "52530:2:10", - "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": 21696, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52464:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52468:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52464:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52464:69:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21695, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "52448:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52448:86:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21705, - "nodeType": "ExpressionStatement", - "src": "52448:86:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52375:3:10", - "parameters": { - "id": 21693, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21686, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52384:2:10", - "nodeType": "VariableDeclaration", - "scope": 21707, - "src": "52379:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21685, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52379:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21688, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52393:2:10", - "nodeType": "VariableDeclaration", - "scope": 21707, - "src": "52388:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21687, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52388:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21690, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52402:2:10", - "nodeType": "VariableDeclaration", - "scope": 21707, - "src": "52397:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21689, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52397:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21692, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52420:2:10", - "nodeType": "VariableDeclaration", - "scope": 21707, - "src": "52406:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21691, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52406:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "52378:45:10" - }, - "returnParameters": { - "id": 21694, - "nodeType": "ParameterList", - "parameters": [], - "src": "52438:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21730, - "nodeType": "FunctionDefinition", - "src": "52547:164:10", - "body": { - "id": 21729, - "nodeType": "Block", - "src": "52610:101:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 21721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52660:26:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b2a5ce0ddf7b166153a4354c81efba12a817983a38c6bc3b58fd91ce816d99f", - "typeString": "literal_string \"log(bool,bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool,bool)" - }, - { - "id": 21722, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21709, - "src": "52688:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21723, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21711, - "src": "52692:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21724, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21713, - "src": "52696:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21725, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21715, - "src": "52700:2:10", - "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": 21719, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52636:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52640:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52636:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52636:67:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21718, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "52620:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52620:84:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21728, - "nodeType": "ExpressionStatement", - "src": "52620:84:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52556:3:10", - "parameters": { - "id": 21716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21709, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52565:2:10", - "nodeType": "VariableDeclaration", - "scope": 21730, - "src": "52560:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21708, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52560:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21711, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52574:2:10", - "nodeType": "VariableDeclaration", - "scope": 21730, - "src": "52569:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21710, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52569:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21713, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52583:2:10", - "nodeType": "VariableDeclaration", - "scope": 21730, - "src": "52578:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21712, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52578:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21715, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52592:2:10", - "nodeType": "VariableDeclaration", - "scope": 21730, - "src": "52587:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21714, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52587:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "52559:36:10" - }, - "returnParameters": { - "id": 21717, - "nodeType": "ParameterList", - "parameters": [], - "src": "52610:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21753, - "nodeType": "FunctionDefinition", - "src": "52717:170:10", - "body": { - "id": 21752, - "nodeType": "Block", - "src": "52783:104:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c6164647265737329", - "id": 21744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52833:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c329b1a1752dedfc6b781d23096b49b7f905d62405e6e3f0ab0344786ff69f4", - "typeString": "literal_string \"log(bool,bool,bool,address)\"" - }, - "value": "log(bool,bool,bool,address)" - }, - { - "id": 21745, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21732, - "src": "52864:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21746, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21734, - "src": "52868:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21747, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21736, - "src": "52872:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21748, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21738, - "src": "52876:2:10", - "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": 21742, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52809:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52813:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52809:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52809:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21741, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "52793:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52793:87:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21751, - "nodeType": "ExpressionStatement", - "src": "52793:87:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52726:3:10", - "parameters": { - "id": 21739, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21732, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52735:2:10", - "nodeType": "VariableDeclaration", - "scope": 21753, - "src": "52730:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21731, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52730:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21734, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52744:2:10", - "nodeType": "VariableDeclaration", - "scope": 21753, - "src": "52739:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21733, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52739:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21736, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52753:2:10", - "nodeType": "VariableDeclaration", - "scope": 21753, - "src": "52748:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21735, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52748:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21738, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52765:2:10", - "nodeType": "VariableDeclaration", - "scope": 21753, - "src": "52757:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21737, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52757:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52729:39:10" - }, - "returnParameters": { - "id": 21740, - "nodeType": "ParameterList", - "parameters": [], - "src": "52783:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21776, - "nodeType": "FunctionDefinition", - "src": "52893:176:10", - "body": { - "id": 21775, - "nodeType": "Block", - "src": "52962:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c75696e7432353629", - "id": 21767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53012:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4c123d5798ed03bd59911522da9ad7b1fc4e62f5a5de1c95ef20dc3897657cf1", - "typeString": "literal_string \"log(bool,bool,address,uint256)\"" - }, - "value": "log(bool,bool,address,uint256)" - }, - { - "id": 21768, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21755, - "src": "53046:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21769, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21757, - "src": "53050:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21770, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21759, - "src": "53054:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21771, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21761, - "src": "53058:2:10", - "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": 21765, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52988:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "52992:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52988:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52988:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21764, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "52972:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "52972:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21774, - "nodeType": "ExpressionStatement", - "src": "52972:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52902:3:10", - "parameters": { - "id": 21762, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21755, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52911:2:10", - "nodeType": "VariableDeclaration", - "scope": 21776, - "src": "52906:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21754, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52906:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21757, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52920:2:10", - "nodeType": "VariableDeclaration", - "scope": 21776, - "src": "52915:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21756, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52915:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21759, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52932:2:10", - "nodeType": "VariableDeclaration", - "scope": 21776, - "src": "52924:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21758, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52924:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21761, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52944:2:10", - "nodeType": "VariableDeclaration", - "scope": 21776, - "src": "52936:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21760, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52936:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "52905:42:10" - }, - "returnParameters": { - "id": 21763, - "nodeType": "ParameterList", - "parameters": [], - "src": "52962:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21799, - "nodeType": "FunctionDefinition", - "src": "53075:181:10", - "body": { - "id": 21798, - "nodeType": "Block", - "src": "53150:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c737472696e6729", - "id": 21790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53200:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0a479635c05dee438b610769de0f667f2e93ee267e4cd4badf3dd44eb6271d2", - "typeString": "literal_string \"log(bool,bool,address,string)\"" - }, - "value": "log(bool,bool,address,string)" - }, - { - "id": 21791, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21778, - "src": "53233:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21792, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21780, - "src": "53237:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21793, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21782, - "src": "53241:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21794, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21784, - "src": "53245:2:10", - "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": 21788, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53176:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53180:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53176:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53176:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21787, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "53160:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53160:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21797, - "nodeType": "ExpressionStatement", - "src": "53160:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53084:3:10", - "parameters": { - "id": 21785, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21778, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53093:2:10", - "nodeType": "VariableDeclaration", - "scope": 21799, - "src": "53088:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21777, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53088:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21780, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53102:2:10", - "nodeType": "VariableDeclaration", - "scope": 21799, - "src": "53097:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21779, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53097:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21782, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53114:2:10", - "nodeType": "VariableDeclaration", - "scope": 21799, - "src": "53106:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21781, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53106:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21784, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53132:2:10", - "nodeType": "VariableDeclaration", - "scope": 21799, - "src": "53118:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21783, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53118:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "53087:48:10" - }, - "returnParameters": { - "id": 21786, - "nodeType": "ParameterList", - "parameters": [], - "src": "53150:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21822, - "nodeType": "FunctionDefinition", - "src": "53262:170:10", - "body": { - "id": 21821, - "nodeType": "Block", - "src": "53328:104:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c626f6f6c29", - "id": 21813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53378:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0a302d8f11e8919127c20f396068f7014b94967efb042778db9b27b68ee1eaf", - "typeString": "literal_string \"log(bool,bool,address,bool)\"" - }, - "value": "log(bool,bool,address,bool)" - }, - { - "id": 21814, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21801, - "src": "53409:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21815, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21803, - "src": "53413:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21816, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21805, - "src": "53417:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21817, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21807, - "src": "53421:2:10", - "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": 21811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53354:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53358:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53354:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53354:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21810, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "53338:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53338:87:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21820, - "nodeType": "ExpressionStatement", - "src": "53338:87:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53271:3:10", - "parameters": { - "id": 21808, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21801, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53280:2:10", - "nodeType": "VariableDeclaration", - "scope": 21822, - "src": "53275:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21800, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53275:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21803, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53289:2:10", - "nodeType": "VariableDeclaration", - "scope": 21822, - "src": "53284:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21802, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53284:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21805, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53301:2:10", - "nodeType": "VariableDeclaration", - "scope": 21822, - "src": "53293:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21804, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53293:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21807, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53310:2:10", - "nodeType": "VariableDeclaration", - "scope": 21822, - "src": "53305:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21806, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53305:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "53274:39:10" - }, - "returnParameters": { - "id": 21809, - "nodeType": "ParameterList", - "parameters": [], - "src": "53328:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21845, - "nodeType": "FunctionDefinition", - "src": "53438:176:10", - "body": { - "id": 21844, - "nodeType": "Block", - "src": "53507:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c6164647265737329", - "id": 21836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53557:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f4880ea4063b4f7e3c68468bb4a7a3f1502aa7497bce4fb0ba02ec0450f047f4", - "typeString": "literal_string \"log(bool,bool,address,address)\"" - }, - "value": "log(bool,bool,address,address)" - }, - { - "id": 21837, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21824, - "src": "53591:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21838, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21826, - "src": "53595:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21839, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21828, - "src": "53599:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21840, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21830, - "src": "53603:2:10", - "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": 21834, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53533:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53537:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53533:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53533:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21833, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "53517:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53517:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21843, - "nodeType": "ExpressionStatement", - "src": "53517:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53447:3:10", - "parameters": { - "id": 21831, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21824, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53456:2:10", - "nodeType": "VariableDeclaration", - "scope": 21845, - "src": "53451:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21823, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53451:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21826, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53465:2:10", - "nodeType": "VariableDeclaration", - "scope": 21845, - "src": "53460:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21825, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53460:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21828, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53477:2:10", - "nodeType": "VariableDeclaration", - "scope": 21845, - "src": "53469:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21827, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53469:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21830, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53489:2:10", - "nodeType": "VariableDeclaration", - "scope": 21845, - "src": "53481:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21829, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53481:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "53450:42:10" - }, - "returnParameters": { - "id": 21832, - "nodeType": "ParameterList", - "parameters": [], - "src": "53507:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21868, - "nodeType": "FunctionDefinition", - "src": "53620:182:10", - "body": { - "id": 21867, - "nodeType": "Block", - "src": "53692:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c75696e7432353629", - "id": 21859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53742:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7bf181a13b51d775e7d4339fb4fee9749d9226fa1720a2ae5e3183ab5674d16e", - "typeString": "literal_string \"log(bool,address,uint256,uint256)\"" - }, - "value": "log(bool,address,uint256,uint256)" - }, - { - "id": 21860, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21847, - "src": "53779:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21861, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21849, - "src": "53783:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21862, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21851, - "src": "53787:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21863, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21853, - "src": "53791:2:10", - "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": 21857, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53718:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53722:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53718:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53718:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21856, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "53702:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53702:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21866, - "nodeType": "ExpressionStatement", - "src": "53702:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53629:3:10", - "parameters": { - "id": 21854, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21847, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53638:2:10", - "nodeType": "VariableDeclaration", - "scope": 21868, - "src": "53633:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21846, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53633:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21849, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53650:2:10", - "nodeType": "VariableDeclaration", - "scope": 21868, - "src": "53642:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21848, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53642:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21851, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53662:2:10", - "nodeType": "VariableDeclaration", - "scope": 21868, - "src": "53654:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21850, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53654:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21853, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53674:2:10", - "nodeType": "VariableDeclaration", - "scope": 21868, - "src": "53666:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21852, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53666:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "53632:45:10" - }, - "returnParameters": { - "id": 21855, - "nodeType": "ParameterList", - "parameters": [], - "src": "53692:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21891, - "nodeType": "FunctionDefinition", - "src": "53808:187:10", - "body": { - "id": 21890, - "nodeType": "Block", - "src": "53886:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c737472696e6729", - "id": 21882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53936:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51f09ff8d49d8535177ce9f46f86e22d6e0ebf6aab24e3ad1fe351dec9cb8af7", - "typeString": "literal_string \"log(bool,address,uint256,string)\"" - }, - "value": "log(bool,address,uint256,string)" - }, - { - "id": 21883, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21870, - "src": "53972:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21884, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21872, - "src": "53976:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21885, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21874, - "src": "53980:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21886, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21876, - "src": "53984:2:10", - "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": 21880, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53912:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "53916:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53912:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53912:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21879, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "53896:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "53896:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21889, - "nodeType": "ExpressionStatement", - "src": "53896:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53817:3:10", - "parameters": { - "id": 21877, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21870, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53826:2:10", - "nodeType": "VariableDeclaration", - "scope": 21891, - "src": "53821:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21869, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53821:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21872, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53838:2:10", - "nodeType": "VariableDeclaration", - "scope": 21891, - "src": "53830:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21871, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53830:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21874, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53850:2:10", - "nodeType": "VariableDeclaration", - "scope": 21891, - "src": "53842:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21873, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53842:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21876, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53868:2:10", - "nodeType": "VariableDeclaration", - "scope": 21891, - "src": "53854:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21875, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53854:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "53820:51:10" - }, - "returnParameters": { - "id": 21878, - "nodeType": "ParameterList", - "parameters": [], - "src": "53886:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21914, - "nodeType": "FunctionDefinition", - "src": "54001:176:10", - "body": { - "id": 21913, - "nodeType": "Block", - "src": "54070:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c626f6f6c29", - "id": 21905, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54120:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6019f1c844577cb799272d8b580ae7d31e1d26be8513d99f3a91ca8ea67c958", - "typeString": "literal_string \"log(bool,address,uint256,bool)\"" - }, - "value": "log(bool,address,uint256,bool)" - }, - { - "id": 21906, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21893, - "src": "54154:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21907, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21895, - "src": "54158:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21908, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21897, - "src": "54162:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21909, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21899, - "src": "54166:2:10", - "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": 21903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54096:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54100:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54096:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54096:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21902, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "54080:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54080:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21912, - "nodeType": "ExpressionStatement", - "src": "54080:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54010:3:10", - "parameters": { - "id": 21900, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21893, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54019:2:10", - "nodeType": "VariableDeclaration", - "scope": 21914, - "src": "54014:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21892, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54014:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21895, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54031:2:10", - "nodeType": "VariableDeclaration", - "scope": 21914, - "src": "54023:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21894, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54023:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21897, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54043:2:10", - "nodeType": "VariableDeclaration", - "scope": 21914, - "src": "54035:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21896, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54035:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21899, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54052:2:10", - "nodeType": "VariableDeclaration", - "scope": 21914, - "src": "54047:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21898, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54047:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54013:42:10" - }, - "returnParameters": { - "id": 21901, - "nodeType": "ParameterList", - "parameters": [], - "src": "54070:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21937, - "nodeType": "FunctionDefinition", - "src": "54183:182:10", - "body": { - "id": 21936, - "nodeType": "Block", - "src": "54255:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c6164647265737329", - "id": 21928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54305:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_136b05dd56dbfa6e97805ce657954968bb4ea366eef252c9fa3aec31b1aa7ebd", - "typeString": "literal_string \"log(bool,address,uint256,address)\"" - }, - "value": "log(bool,address,uint256,address)" - }, - { - "id": 21929, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21916, - "src": "54342:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21930, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21918, - "src": "54346:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21931, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21920, - "src": "54350:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 21932, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21922, - "src": "54354:2:10", - "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": 21926, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54281:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54285:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54281:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54281:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21925, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "54265:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54265:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21935, - "nodeType": "ExpressionStatement", - "src": "54265:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54192:3:10", - "parameters": { - "id": 21923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21916, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54201:2:10", - "nodeType": "VariableDeclaration", - "scope": 21937, - "src": "54196:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21915, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54196:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21918, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54213:2:10", - "nodeType": "VariableDeclaration", - "scope": 21937, - "src": "54205:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21917, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54205:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21920, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54225:2:10", - "nodeType": "VariableDeclaration", - "scope": 21937, - "src": "54217:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21919, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54217:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21922, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54237:2:10", - "nodeType": "VariableDeclaration", - "scope": 21937, - "src": "54229:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21921, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54229:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "54195:45:10" - }, - "returnParameters": { - "id": 21924, - "nodeType": "ParameterList", - "parameters": [], - "src": "54255:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21960, - "nodeType": "FunctionDefinition", - "src": "54371:187:10", - "body": { - "id": 21959, - "nodeType": "Block", - "src": "54449:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c75696e7432353629", - "id": 21951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54499:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c21f64c781c24c69fbdf6daf185e821c3143831e9c7b3ede1933a6cffd68030d", - "typeString": "literal_string \"log(bool,address,string,uint256)\"" - }, - "value": "log(bool,address,string,uint256)" - }, - { - "id": 21952, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21939, - "src": "54535:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21953, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21941, - "src": "54539:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21954, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21943, - "src": "54543:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21955, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21945, - "src": "54547:2:10", - "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": 21949, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54475:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54479:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54475:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54475:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21948, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "54459:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54459:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21958, - "nodeType": "ExpressionStatement", - "src": "54459:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54380:3:10", - "parameters": { - "id": 21946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21939, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54389:2:10", - "nodeType": "VariableDeclaration", - "scope": 21960, - "src": "54384:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21938, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54384:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21941, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54401:2:10", - "nodeType": "VariableDeclaration", - "scope": 21960, - "src": "54393:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21940, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54393:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21943, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54419:2:10", - "nodeType": "VariableDeclaration", - "scope": 21960, - "src": "54405:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21942, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54405:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21945, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54431:2:10", - "nodeType": "VariableDeclaration", - "scope": 21960, - "src": "54423:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21944, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54423:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "54383:51:10" - }, - "returnParameters": { - "id": 21947, - "nodeType": "ParameterList", - "parameters": [], - "src": "54449:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 21983, - "nodeType": "FunctionDefinition", - "src": "54564:192:10", - "body": { - "id": 21982, - "nodeType": "Block", - "src": "54648:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c737472696e6729", - "id": 21974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54698:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a73c1db639dbf1382c9113eacdf5b14a7ccd81fc001ac60393623936011bf49d", - "typeString": "literal_string \"log(bool,address,string,string)\"" - }, - "value": "log(bool,address,string,string)" - }, - { - "id": 21975, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21962, - "src": "54733:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21976, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21964, - "src": "54737:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 21977, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21966, - "src": "54741:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 21978, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21968, - "src": "54745:2:10", - "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": 21972, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54674:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54678:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54674:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 21979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54674:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21971, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "54658:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 21980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54658:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 21981, - "nodeType": "ExpressionStatement", - "src": "54658:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54573:3:10", - "parameters": { - "id": 21969, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21962, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54582:2:10", - "nodeType": "VariableDeclaration", - "scope": 21983, - "src": "54577:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21961, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54577:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21964, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54594:2:10", - "nodeType": "VariableDeclaration", - "scope": 21983, - "src": "54586:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21963, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54586:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21966, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54612:2:10", - "nodeType": "VariableDeclaration", - "scope": 21983, - "src": "54598:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21965, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54598:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21968, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54630:2:10", - "nodeType": "VariableDeclaration", - "scope": 21983, - "src": "54616:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54616:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "54576:57:10" - }, - "returnParameters": { - "id": 21970, - "nodeType": "ParameterList", - "parameters": [], - "src": "54648:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22006, - "nodeType": "FunctionDefinition", - "src": "54762:181:10", - "body": { - "id": 22005, - "nodeType": "Block", - "src": "54837:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c626f6f6c29", - "id": 21997, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54887:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e2bfd60b4f6acdab0603dda631b69bf37ab7cbf71bc5953f9ed72c1f2a76f7dc", - "typeString": "literal_string \"log(bool,address,string,bool)\"" - }, - "value": "log(bool,address,string,bool)" - }, - { - "id": 21998, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21985, - "src": "54920:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 21999, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21987, - "src": "54924:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22000, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21989, - "src": "54928:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22001, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21991, - "src": "54932:2:10", - "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": 21995, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54863:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 21996, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "54867:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54863:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54863:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 21994, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "54847:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "54847:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22004, - "nodeType": "ExpressionStatement", - "src": "54847:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54771:3:10", - "parameters": { - "id": 21992, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21985, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54780:2:10", - "nodeType": "VariableDeclaration", - "scope": 22006, - "src": "54775:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21984, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54775:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21987, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54792:2:10", - "nodeType": "VariableDeclaration", - "scope": 22006, - "src": "54784:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 21986, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54784:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21989, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54810:2:10", - "nodeType": "VariableDeclaration", - "scope": 22006, - "src": "54796:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 21988, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54796:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 21991, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54819:2:10", - "nodeType": "VariableDeclaration", - "scope": 22006, - "src": "54814:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 21990, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54814:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54774:48:10" - }, - "returnParameters": { - "id": 21993, - "nodeType": "ParameterList", - "parameters": [], - "src": "54837:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22029, - "nodeType": "FunctionDefinition", - "src": "54949:187:10", - "body": { - "id": 22028, - "nodeType": "Block", - "src": "55027:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c6164647265737329", - "id": 22020, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55077:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f7c603e9035cbc7959bb3d44ec862ddc6711eecebd67d54ceb0010f42f85654", - "typeString": "literal_string \"log(bool,address,string,address)\"" - }, - "value": "log(bool,address,string,address)" - }, - { - "id": 22021, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22008, - "src": "55113:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22022, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22010, - "src": "55117:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22023, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22012, - "src": "55121:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22024, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22014, - "src": "55125:2:10", - "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": 22018, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55053:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55057:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55053:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55053:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22017, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "55037:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55037:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22027, - "nodeType": "ExpressionStatement", - "src": "55037:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54958:3:10", - "parameters": { - "id": 22015, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22008, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54967:2:10", - "nodeType": "VariableDeclaration", - "scope": 22029, - "src": "54962:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22007, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54962:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22010, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54979:2:10", - "nodeType": "VariableDeclaration", - "scope": 22029, - "src": "54971:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22009, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54971:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22012, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54997:2:10", - "nodeType": "VariableDeclaration", - "scope": 22029, - "src": "54983:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22011, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54983:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22014, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55009:2:10", - "nodeType": "VariableDeclaration", - "scope": 22029, - "src": "55001:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22013, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55001:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "54961:51:10" - }, - "returnParameters": { - "id": 22016, - "nodeType": "ParameterList", - "parameters": [], - "src": "55027:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22052, - "nodeType": "FunctionDefinition", - "src": "55142:176:10", - "body": { - "id": 22051, - "nodeType": "Block", - "src": "55211:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c75696e7432353629", - "id": 22043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55261:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_07831502b96d5b050adbd4ca2f9d4cd011dd7a8d3e1266dadb6c832ee8e56059", - "typeString": "literal_string \"log(bool,address,bool,uint256)\"" - }, - "value": "log(bool,address,bool,uint256)" - }, - { - "id": 22044, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22031, - "src": "55295:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22045, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22033, - "src": "55299:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22046, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22035, - "src": "55303:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22047, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22037, - "src": "55307:2:10", - "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": 22041, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55237:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55241:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55237:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55237:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22040, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "55221:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55221:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22050, - "nodeType": "ExpressionStatement", - "src": "55221:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55151:3:10", - "parameters": { - "id": 22038, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22031, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55160:2:10", - "nodeType": "VariableDeclaration", - "scope": 22052, - "src": "55155:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22030, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55155:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22033, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55172:2:10", - "nodeType": "VariableDeclaration", - "scope": 22052, - "src": "55164:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22032, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55164:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22035, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55181:2:10", - "nodeType": "VariableDeclaration", - "scope": 22052, - "src": "55176:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22034, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55176:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22037, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55193:2:10", - "nodeType": "VariableDeclaration", - "scope": 22052, - "src": "55185:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22036, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55185:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "55154:42:10" - }, - "returnParameters": { - "id": 22039, - "nodeType": "ParameterList", - "parameters": [], - "src": "55211:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22075, - "nodeType": "FunctionDefinition", - "src": "55324:181:10", - "body": { - "id": 22074, - "nodeType": "Block", - "src": "55399:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c737472696e6729", - "id": 22066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55449:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a66cb34796065525d301a5b87b440b55f1936e34dd66e2f2039307bc4e3ea59", - "typeString": "literal_string \"log(bool,address,bool,string)\"" - }, - "value": "log(bool,address,bool,string)" - }, - { - "id": 22067, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22054, - "src": "55482:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22068, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22056, - "src": "55486:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22069, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22058, - "src": "55490:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22070, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22060, - "src": "55494:2:10", - "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": 22064, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55425:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22065, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55429:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55425:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55425:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22063, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "55409:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55409:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22073, - "nodeType": "ExpressionStatement", - "src": "55409:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55333:3:10", - "parameters": { - "id": 22061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22054, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55342:2:10", - "nodeType": "VariableDeclaration", - "scope": 22075, - "src": "55337:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22053, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55337:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22056, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55354:2:10", - "nodeType": "VariableDeclaration", - "scope": 22075, - "src": "55346:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22055, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55346:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22058, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55363:2:10", - "nodeType": "VariableDeclaration", - "scope": 22075, - "src": "55358:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22057, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55358:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22060, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55381:2:10", - "nodeType": "VariableDeclaration", - "scope": 22075, - "src": "55367:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22059, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55367:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "55336:48:10" - }, - "returnParameters": { - "id": 22062, - "nodeType": "ParameterList", - "parameters": [], - "src": "55399:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22098, - "nodeType": "FunctionDefinition", - "src": "55511:170:10", - "body": { - "id": 22097, - "nodeType": "Block", - "src": "55577:104:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c626f6f6c29", - "id": 22089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55627:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6a9c478bc98300d44308882e2e0b5864f2536a2939cb77105f503738b5832577", - "typeString": "literal_string \"log(bool,address,bool,bool)\"" - }, - "value": "log(bool,address,bool,bool)" - }, - { - "id": 22090, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22077, - "src": "55658:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22091, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22079, - "src": "55662:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22092, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22081, - "src": "55666:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22093, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22083, - "src": "55670:2:10", - "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": 22087, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55603:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55607:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55603:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55603:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22086, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "55587:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55587:87:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22096, - "nodeType": "ExpressionStatement", - "src": "55587:87:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55520:3:10", - "parameters": { - "id": 22084, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22077, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55529:2:10", - "nodeType": "VariableDeclaration", - "scope": 22098, - "src": "55524:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22076, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55524:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22079, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55541:2:10", - "nodeType": "VariableDeclaration", - "scope": 22098, - "src": "55533:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22078, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55533:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22081, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55550:2:10", - "nodeType": "VariableDeclaration", - "scope": 22098, - "src": "55545:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22080, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55545:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22083, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55559:2:10", - "nodeType": "VariableDeclaration", - "scope": 22098, - "src": "55554:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22082, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55554:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "55523:39:10" - }, - "returnParameters": { - "id": 22085, - "nodeType": "ParameterList", - "parameters": [], - "src": "55577:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22121, - "nodeType": "FunctionDefinition", - "src": "55687:176:10", - "body": { - "id": 22120, - "nodeType": "Block", - "src": "55756:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c6164647265737329", - "id": 22112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55806:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c41a336759f1c2fe1d8b137296b2dfbdcfe7114fc53f203852c2835c09f8870", - "typeString": "literal_string \"log(bool,address,bool,address)\"" - }, - "value": "log(bool,address,bool,address)" - }, - { - "id": 22113, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22100, - "src": "55840:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22114, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22102, - "src": "55844:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22115, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22104, - "src": "55848:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22116, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22106, - "src": "55852:2:10", - "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": 22110, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55782:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55786:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55782:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55782:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22109, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "55766:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55766:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22119, - "nodeType": "ExpressionStatement", - "src": "55766:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55696:3:10", - "parameters": { - "id": 22107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22100, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55705:2:10", - "nodeType": "VariableDeclaration", - "scope": 22121, - "src": "55700:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22099, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55700:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22102, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55717:2:10", - "nodeType": "VariableDeclaration", - "scope": 22121, - "src": "55709:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22101, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55709:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22104, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55726:2:10", - "nodeType": "VariableDeclaration", - "scope": 22121, - "src": "55721:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22103, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55721:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22106, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55738:2:10", - "nodeType": "VariableDeclaration", - "scope": 22121, - "src": "55730:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22105, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55730:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55699:42:10" - }, - "returnParameters": { - "id": 22108, - "nodeType": "ParameterList", - "parameters": [], - "src": "55756:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22144, - "nodeType": "FunctionDefinition", - "src": "55869:182:10", - "body": { - "id": 22143, - "nodeType": "Block", - "src": "55941:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c75696e7432353629", - "id": 22135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55991:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c66d1be8b80b8d96088c57d6fc12897f737822d5beb6e751a923520a0a509b8", - "typeString": "literal_string \"log(bool,address,address,uint256)\"" - }, - "value": "log(bool,address,address,uint256)" - }, - { - "id": 22136, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22123, - "src": "56028:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22137, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22125, - "src": "56032:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22138, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22127, - "src": "56036:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22139, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22129, - "src": "56040:2:10", - "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": 22133, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55967:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "55971:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55967:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55967:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22132, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "55951:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "55951:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22142, - "nodeType": "ExpressionStatement", - "src": "55951:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55878:3:10", - "parameters": { - "id": 22130, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22123, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55887:2:10", - "nodeType": "VariableDeclaration", - "scope": 22144, - "src": "55882:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22122, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55882:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22125, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55899:2:10", - "nodeType": "VariableDeclaration", - "scope": 22144, - "src": "55891:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22124, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55891:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22127, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55911:2:10", - "nodeType": "VariableDeclaration", - "scope": 22144, - "src": "55903:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22126, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55903:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22129, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55923:2:10", - "nodeType": "VariableDeclaration", - "scope": 22144, - "src": "55915:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22128, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55915:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "55881:45:10" - }, - "returnParameters": { - "id": 22131, - "nodeType": "ParameterList", - "parameters": [], - "src": "55941:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22167, - "nodeType": "FunctionDefinition", - "src": "56057:187:10", - "body": { - "id": 22166, - "nodeType": "Block", - "src": "56135:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c737472696e6729", - "id": 22158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56185:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d812a167fb7ec8cf55a11f06ff411238f0a431de331592d8a735c8c8481f7432", - "typeString": "literal_string \"log(bool,address,address,string)\"" - }, - "value": "log(bool,address,address,string)" - }, - { - "id": 22159, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22146, - "src": "56221:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22160, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22148, - "src": "56225:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22161, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22150, - "src": "56229:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22162, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22152, - "src": "56233:2:10", - "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": 22156, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56161:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56165:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56161:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56161:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22155, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "56145:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56145:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22165, - "nodeType": "ExpressionStatement", - "src": "56145:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56066:3:10", - "parameters": { - "id": 22153, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22146, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56075:2:10", - "nodeType": "VariableDeclaration", - "scope": 22167, - "src": "56070:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22145, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56070:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22148, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56087:2:10", - "nodeType": "VariableDeclaration", - "scope": 22167, - "src": "56079:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22147, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56079:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22150, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56099:2:10", - "nodeType": "VariableDeclaration", - "scope": 22167, - "src": "56091:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22149, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56091:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22152, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56117:2:10", - "nodeType": "VariableDeclaration", - "scope": 22167, - "src": "56103:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22151, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56103:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "56069:51:10" - }, - "returnParameters": { - "id": 22154, - "nodeType": "ParameterList", - "parameters": [], - "src": "56135:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22190, - "nodeType": "FunctionDefinition", - "src": "56250:176:10", - "body": { - "id": 22189, - "nodeType": "Block", - "src": "56319:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c626f6f6c29", - "id": 22181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56369:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46600be071bbf2a7e3a3cb4fd0e6efe39e86453e4c4a27c400470867be7afd9e", - "typeString": "literal_string \"log(bool,address,address,bool)\"" - }, - "value": "log(bool,address,address,bool)" - }, - { - "id": 22182, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22169, - "src": "56403:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22183, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22171, - "src": "56407:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22184, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22173, - "src": "56411:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22185, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22175, - "src": "56415:2:10", - "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": 22179, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56345:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56349:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56345:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56345:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22178, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "56329:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56329:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22188, - "nodeType": "ExpressionStatement", - "src": "56329:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56259:3:10", - "parameters": { - "id": 22176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22169, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56268:2:10", - "nodeType": "VariableDeclaration", - "scope": 22190, - "src": "56263:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22168, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56263:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22171, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56280:2:10", - "nodeType": "VariableDeclaration", - "scope": 22190, - "src": "56272:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22170, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56272:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22173, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56292:2:10", - "nodeType": "VariableDeclaration", - "scope": 22190, - "src": "56284:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22172, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56284:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22175, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56301:2:10", - "nodeType": "VariableDeclaration", - "scope": 22190, - "src": "56296:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22174, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56296:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "56262:42:10" - }, - "returnParameters": { - "id": 22177, - "nodeType": "ParameterList", - "parameters": [], - "src": "56319:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22213, - "nodeType": "FunctionDefinition", - "src": "56432:182:10", - "body": { - "id": 22212, - "nodeType": "Block", - "src": "56504:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c6164647265737329", - "id": 22204, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56554:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1d14d00189540d88098b9fe614aa8c0efbe231c1a0fee05e7d705c0342377123", - "typeString": "literal_string \"log(bool,address,address,address)\"" - }, - "value": "log(bool,address,address,address)" - }, - { - "id": 22205, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22192, - "src": "56591:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22206, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22194, - "src": "56595:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22207, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22196, - "src": "56599:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22208, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22198, - "src": "56603:2:10", - "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": 22202, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56530:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56534:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56530:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56530:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22201, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "56514:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56514:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22211, - "nodeType": "ExpressionStatement", - "src": "56514:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56441:3:10", - "parameters": { - "id": 22199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22192, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56450:2:10", - "nodeType": "VariableDeclaration", - "scope": 22213, - "src": "56445:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22191, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56445:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22194, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56462:2:10", - "nodeType": "VariableDeclaration", - "scope": 22213, - "src": "56454:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22193, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56454:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22196, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56474:2:10", - "nodeType": "VariableDeclaration", - "scope": 22213, - "src": "56466:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22195, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56466:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22198, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56486:2:10", - "nodeType": "VariableDeclaration", - "scope": 22213, - "src": "56478:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22197, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56478:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "56444:45:10" - }, - "returnParameters": { - "id": 22200, - "nodeType": "ParameterList", - "parameters": [], - "src": "56504:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22236, - "nodeType": "FunctionDefinition", - "src": "56620:188:10", - "body": { - "id": 22235, - "nodeType": "Block", - "src": "56695:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c75696e7432353629", - "id": 22227, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56745:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_34f0e636808ebabd61ce9b247c78c7a38984ab35d5f29c0bd51299288509f6d6", - "typeString": "literal_string \"log(address,uint256,uint256,uint256)\"" - }, - "value": "log(address,uint256,uint256,uint256)" - }, - { - "id": 22228, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22215, - "src": "56785:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22229, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22217, - "src": "56789:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22230, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22219, - "src": "56793:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22231, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22221, - "src": "56797:2:10", - "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": 22225, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56721:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22226, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56725:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56721:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56721:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22224, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "56705:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56705:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22234, - "nodeType": "ExpressionStatement", - "src": "56705:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56629:3:10", - "parameters": { - "id": 22222, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22215, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56641:2:10", - "nodeType": "VariableDeclaration", - "scope": 22236, - "src": "56633:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22214, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56633:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22217, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56653:2:10", - "nodeType": "VariableDeclaration", - "scope": 22236, - "src": "56645:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22216, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56645:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22219, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56665:2:10", - "nodeType": "VariableDeclaration", - "scope": 22236, - "src": "56657:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22218, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56657:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22221, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56677:2:10", - "nodeType": "VariableDeclaration", - "scope": 22236, - "src": "56669:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22220, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56669:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "56632:48:10" - }, - "returnParameters": { - "id": 22223, - "nodeType": "ParameterList", - "parameters": [], - "src": "56695:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22259, - "nodeType": "FunctionDefinition", - "src": "56814:193:10", - "body": { - "id": 22258, - "nodeType": "Block", - "src": "56895:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c737472696e6729", - "id": 22250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56945:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a28c017e545dc04fb82dd1a46d46ba463e69e0aeff774fbced9bedd205b6cf6", - "typeString": "literal_string \"log(address,uint256,uint256,string)\"" - }, - "value": "log(address,uint256,uint256,string)" - }, - { - "id": 22251, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22238, - "src": "56984:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22252, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22240, - "src": "56988:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22253, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22242, - "src": "56992:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22254, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22244, - "src": "56996:2:10", - "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": 22248, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56921:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "56925:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56921:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56921:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22247, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "56905:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "56905:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22257, - "nodeType": "ExpressionStatement", - "src": "56905:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56823:3:10", - "parameters": { - "id": 22245, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22238, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56835:2:10", - "nodeType": "VariableDeclaration", - "scope": 22259, - "src": "56827:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22237, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56827:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22240, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56847:2:10", - "nodeType": "VariableDeclaration", - "scope": 22259, - "src": "56839:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22239, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56839:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22242, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56859:2:10", - "nodeType": "VariableDeclaration", - "scope": 22259, - "src": "56851:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22241, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56851:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22244, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56877:2:10", - "nodeType": "VariableDeclaration", - "scope": 22259, - "src": "56863:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22243, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56863:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "56826:54:10" - }, - "returnParameters": { - "id": 22246, - "nodeType": "ParameterList", - "parameters": [], - "src": "56895:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22282, - "nodeType": "FunctionDefinition", - "src": "57013:182:10", - "body": { - "id": 22281, - "nodeType": "Block", - "src": "57085:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c626f6f6c29", - "id": 22273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57135:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_66f1bc67b5cb59260b3541ed684f0a38ab8f590dfff7947bd562de33eae3c57e", - "typeString": "literal_string \"log(address,uint256,uint256,bool)\"" - }, - "value": "log(address,uint256,uint256,bool)" - }, - { - "id": 22274, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22261, - "src": "57172:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22275, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22263, - "src": "57176:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22276, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22265, - "src": "57180:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22277, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22267, - "src": "57184:2:10", - "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": 22271, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57111:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57115:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57111:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57111:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22270, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "57095:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57095:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22280, - "nodeType": "ExpressionStatement", - "src": "57095:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57022:3:10", - "parameters": { - "id": 22268, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22261, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57034:2:10", - "nodeType": "VariableDeclaration", - "scope": 22282, - "src": "57026:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22260, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57026:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22263, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57046:2:10", - "nodeType": "VariableDeclaration", - "scope": 22282, - "src": "57038:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22262, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57038:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22265, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57058:2:10", - "nodeType": "VariableDeclaration", - "scope": 22282, - "src": "57050:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22264, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57050:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22267, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57067:2:10", - "nodeType": "VariableDeclaration", - "scope": 22282, - "src": "57062:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22266, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57062:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57025:45:10" - }, - "returnParameters": { - "id": 22269, - "nodeType": "ParameterList", - "parameters": [], - "src": "57085:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22305, - "nodeType": "FunctionDefinition", - "src": "57201:188:10", - "body": { - "id": 22304, - "nodeType": "Block", - "src": "57276:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c6164647265737329", - "id": 22296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57326:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_20e3984d0b91232a40a479187d959e3fb7102cd2a40a0267e07a4f648290e390", - "typeString": "literal_string \"log(address,uint256,uint256,address)\"" - }, - "value": "log(address,uint256,uint256,address)" - }, - { - "id": 22297, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22284, - "src": "57366:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22298, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22286, - "src": "57370:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22299, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22288, - "src": "57374:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22300, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22290, - "src": "57378:2:10", - "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": 22294, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57302:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57306:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57302:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57302:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22293, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "57286:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57286:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22303, - "nodeType": "ExpressionStatement", - "src": "57286:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57210:3:10", - "parameters": { - "id": 22291, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22284, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57222:2:10", - "nodeType": "VariableDeclaration", - "scope": 22305, - "src": "57214:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22283, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57214:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22286, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57234:2:10", - "nodeType": "VariableDeclaration", - "scope": 22305, - "src": "57226:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22285, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57226:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22288, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57246:2:10", - "nodeType": "VariableDeclaration", - "scope": 22305, - "src": "57238:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22287, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57238:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22290, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57258:2:10", - "nodeType": "VariableDeclaration", - "scope": 22305, - "src": "57250:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22289, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57250:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "57213:48:10" - }, - "returnParameters": { - "id": 22292, - "nodeType": "ParameterList", - "parameters": [], - "src": "57276:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22328, - "nodeType": "FunctionDefinition", - "src": "57395:193:10", - "body": { - "id": 22327, - "nodeType": "Block", - "src": "57476:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c75696e7432353629", - "id": 22319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57526:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bf01f89152073297823dffc184d44302911f7269a4d8bb68457feda7325d0054", - "typeString": "literal_string \"log(address,uint256,string,uint256)\"" - }, - "value": "log(address,uint256,string,uint256)" - }, - { - "id": 22320, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22307, - "src": "57565:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22321, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22309, - "src": "57569:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22322, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22311, - "src": "57573:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22323, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22313, - "src": "57577:2:10", - "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": 22317, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57502:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57506:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57502:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57502:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22316, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "57486:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57486:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22326, - "nodeType": "ExpressionStatement", - "src": "57486:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57404:3:10", - "parameters": { - "id": 22314, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22307, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57416:2:10", - "nodeType": "VariableDeclaration", - "scope": 22328, - "src": "57408:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22306, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57408:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22309, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57428:2:10", - "nodeType": "VariableDeclaration", - "scope": 22328, - "src": "57420:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57420:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22311, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57446:2:10", - "nodeType": "VariableDeclaration", - "scope": 22328, - "src": "57432:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22310, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57432:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22313, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57458:2:10", - "nodeType": "VariableDeclaration", - "scope": 22328, - "src": "57450:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22312, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57450:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "57407:54:10" - }, - "returnParameters": { - "id": 22315, - "nodeType": "ParameterList", - "parameters": [], - "src": "57476:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22351, - "nodeType": "FunctionDefinition", - "src": "57594:198:10", - "body": { - "id": 22350, - "nodeType": "Block", - "src": "57681:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c737472696e6729", - "id": 22342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57731:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88a8c40673ee8948292248925b0e9d44ca87355f3f886942e848cf22ee50e1c9", - "typeString": "literal_string \"log(address,uint256,string,string)\"" - }, - "value": "log(address,uint256,string,string)" - }, - { - "id": 22343, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22330, - "src": "57769:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22344, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22332, - "src": "57773:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22345, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22334, - "src": "57777:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22346, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22336, - "src": "57781:2:10", - "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": 22340, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57707:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22341, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57711:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57707:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57707:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22339, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "57691:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57691:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22349, - "nodeType": "ExpressionStatement", - "src": "57691:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57603:3:10", - "parameters": { - "id": 22337, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22330, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57615:2:10", - "nodeType": "VariableDeclaration", - "scope": 22351, - "src": "57607:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22329, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57607:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22332, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57627:2:10", - "nodeType": "VariableDeclaration", - "scope": 22351, - "src": "57619:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22331, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57619:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22334, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57645:2:10", - "nodeType": "VariableDeclaration", - "scope": 22351, - "src": "57631:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22333, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57631:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22336, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57663:2:10", - "nodeType": "VariableDeclaration", - "scope": 22351, - "src": "57649:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22335, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57649:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "57606:60:10" - }, - "returnParameters": { - "id": 22338, - "nodeType": "ParameterList", - "parameters": [], - "src": "57681:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22374, - "nodeType": "FunctionDefinition", - "src": "57798:187:10", - "body": { - "id": 22373, - "nodeType": "Block", - "src": "57876:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c626f6f6c29", - "id": 22365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57926:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf18105cbdc058258aaac7d4703aebeff683e464ae87b167f8bcabefd4799184", - "typeString": "literal_string \"log(address,uint256,string,bool)\"" - }, - "value": "log(address,uint256,string,bool)" - }, - { - "id": 22366, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22353, - "src": "57962:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22367, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22355, - "src": "57966:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22368, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22357, - "src": "57970:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22369, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22359, - "src": "57974:2:10", - "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": 22363, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57902:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "57906:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57902:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57902:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22362, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "57886:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "57886:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22372, - "nodeType": "ExpressionStatement", - "src": "57886:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57807:3:10", - "parameters": { - "id": 22360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22353, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57819:2:10", - "nodeType": "VariableDeclaration", - "scope": 22374, - "src": "57811:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22352, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57811:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22355, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57831:2:10", - "nodeType": "VariableDeclaration", - "scope": 22374, - "src": "57823:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22354, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57823:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22357, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57849:2:10", - "nodeType": "VariableDeclaration", - "scope": 22374, - "src": "57835:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22356, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57835:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22359, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57858:2:10", - "nodeType": "VariableDeclaration", - "scope": 22374, - "src": "57853:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22358, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57853:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57810:51:10" - }, - "returnParameters": { - "id": 22361, - "nodeType": "ParameterList", - "parameters": [], - "src": "57876:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22397, - "nodeType": "FunctionDefinition", - "src": "57991:193:10", - "body": { - "id": 22396, - "nodeType": "Block", - "src": "58072:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c6164647265737329", - "id": 22388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58122:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5c430d475ad8236f34d086a6aae3612106ae74c8621b8677d58f13dcda27570a", - "typeString": "literal_string \"log(address,uint256,string,address)\"" - }, - "value": "log(address,uint256,string,address)" - }, - { - "id": 22389, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22376, - "src": "58161:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22390, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22378, - "src": "58165:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22391, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22380, - "src": "58169:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22392, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22382, - "src": "58173:2:10", - "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": 22386, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58098:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58102:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58098:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58098:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22385, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "58082:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58082:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22395, - "nodeType": "ExpressionStatement", - "src": "58082:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58000:3:10", - "parameters": { - "id": 22383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22376, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58012:2:10", - "nodeType": "VariableDeclaration", - "scope": 22397, - "src": "58004:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22375, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58004:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22378, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58024:2:10", - "nodeType": "VariableDeclaration", - "scope": 22397, - "src": "58016:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22377, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58016:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22380, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58042:2:10", - "nodeType": "VariableDeclaration", - "scope": 22397, - "src": "58028:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22379, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58028:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22382, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58054:2:10", - "nodeType": "VariableDeclaration", - "scope": 22397, - "src": "58046:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22381, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58046:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58003:54:10" - }, - "returnParameters": { - "id": 22384, - "nodeType": "ParameterList", - "parameters": [], - "src": "58072:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22420, - "nodeType": "FunctionDefinition", - "src": "58190:182:10", - "body": { - "id": 22419, - "nodeType": "Block", - "src": "58262:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c75696e7432353629", - "id": 22411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58312:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_22f6b999343c50207803e85ddd9e714a5457dacc91c49407b8de02bdaf889e5e", - "typeString": "literal_string \"log(address,uint256,bool,uint256)\"" - }, - "value": "log(address,uint256,bool,uint256)" - }, - { - "id": 22412, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22399, - "src": "58349:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22413, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22401, - "src": "58353:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22414, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22403, - "src": "58357:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22415, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22405, - "src": "58361:2:10", - "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": 22409, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58288:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58292:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58288:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58288:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22408, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "58272:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58272:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22418, - "nodeType": "ExpressionStatement", - "src": "58272:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58199:3:10", - "parameters": { - "id": 22406, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22399, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58211:2:10", - "nodeType": "VariableDeclaration", - "scope": 22420, - "src": "58203:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22398, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58203:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22401, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58223:2:10", - "nodeType": "VariableDeclaration", - "scope": 22420, - "src": "58215:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22400, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58215:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22403, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58232:2:10", - "nodeType": "VariableDeclaration", - "scope": 22420, - "src": "58227:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22402, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58227:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22405, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58244:2:10", - "nodeType": "VariableDeclaration", - "scope": 22420, - "src": "58236:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22404, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58236:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "58202:45:10" - }, - "returnParameters": { - "id": 22407, - "nodeType": "ParameterList", - "parameters": [], - "src": "58262:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22443, - "nodeType": "FunctionDefinition", - "src": "58378:187:10", - "body": { - "id": 22442, - "nodeType": "Block", - "src": "58456:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c737472696e6729", - "id": 22434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58506:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5ad85f9b1e72940e5c2ff98bcaf10dac65873a2d1f60566284e5a9bba66ce0b", - "typeString": "literal_string \"log(address,uint256,bool,string)\"" - }, - "value": "log(address,uint256,bool,string)" - }, - { - "id": 22435, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22422, - "src": "58542:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22436, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22424, - "src": "58546:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22437, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22426, - "src": "58550:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22438, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22428, - "src": "58554:2:10", - "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": 22432, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58482:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58486:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58482:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58482:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22431, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "58466:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58466:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22441, - "nodeType": "ExpressionStatement", - "src": "58466:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58387:3:10", - "parameters": { - "id": 22429, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22422, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58399:2:10", - "nodeType": "VariableDeclaration", - "scope": 22443, - "src": "58391:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22421, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58391:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22424, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58411:2:10", - "nodeType": "VariableDeclaration", - "scope": 22443, - "src": "58403:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22423, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58403:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22426, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58420:2:10", - "nodeType": "VariableDeclaration", - "scope": 22443, - "src": "58415:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22425, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58415:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22428, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58438:2:10", - "nodeType": "VariableDeclaration", - "scope": 22443, - "src": "58424:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22427, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58424:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "58390:51:10" - }, - "returnParameters": { - "id": 22430, - "nodeType": "ParameterList", - "parameters": [], - "src": "58456:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22466, - "nodeType": "FunctionDefinition", - "src": "58571:176:10", - "body": { - "id": 22465, - "nodeType": "Block", - "src": "58640:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c626f6f6c29", - "id": 22457, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58690:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3bf5e5379bfb03415fbd47322e912c55a56b102cc24fbed41ca848047f460ae7", - "typeString": "literal_string \"log(address,uint256,bool,bool)\"" - }, - "value": "log(address,uint256,bool,bool)" - }, - { - "id": 22458, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22445, - "src": "58724:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22459, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22447, - "src": "58728:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22460, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22449, - "src": "58732:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22461, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22451, - "src": "58736:2:10", - "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": 22455, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58666:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22456, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58670:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58666:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58666:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22454, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "58650:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58650:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22464, - "nodeType": "ExpressionStatement", - "src": "58650:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58580:3:10", - "parameters": { - "id": 22452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22445, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58592:2:10", - "nodeType": "VariableDeclaration", - "scope": 22466, - "src": "58584:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58584:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22447, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58604:2:10", - "nodeType": "VariableDeclaration", - "scope": 22466, - "src": "58596:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22446, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58596:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22449, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58613:2:10", - "nodeType": "VariableDeclaration", - "scope": 22466, - "src": "58608:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22448, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58608:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22451, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58622:2:10", - "nodeType": "VariableDeclaration", - "scope": 22466, - "src": "58617:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22450, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58617:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "58583:42:10" - }, - "returnParameters": { - "id": 22453, - "nodeType": "ParameterList", - "parameters": [], - "src": "58640:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22489, - "nodeType": "FunctionDefinition", - "src": "58753:182:10", - "body": { - "id": 22488, - "nodeType": "Block", - "src": "58825:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c6164647265737329", - "id": 22480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58875:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a31bfdcce87cf9e77dc577737a291feb3aa727a8fbb8205e53519527c85ff290", - "typeString": "literal_string \"log(address,uint256,bool,address)\"" - }, - "value": "log(address,uint256,bool,address)" - }, - { - "id": 22481, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22468, - "src": "58912:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22482, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22470, - "src": "58916:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22483, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22472, - "src": "58920:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22484, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22474, - "src": "58924:2:10", - "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": 22478, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58851:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "58855:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58851:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58851:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22477, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "58835:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "58835:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22487, - "nodeType": "ExpressionStatement", - "src": "58835:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58762:3:10", - "parameters": { - "id": 22475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22468, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58774:2:10", - "nodeType": "VariableDeclaration", - "scope": 22489, - "src": "58766:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22467, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58766:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22470, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58786:2:10", - "nodeType": "VariableDeclaration", - "scope": 22489, - "src": "58778:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22469, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58778:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22472, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58795:2:10", - "nodeType": "VariableDeclaration", - "scope": 22489, - "src": "58790:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22471, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58790:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22474, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58807:2:10", - "nodeType": "VariableDeclaration", - "scope": 22489, - "src": "58799:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22473, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58799:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58765:45:10" - }, - "returnParameters": { - "id": 22476, - "nodeType": "ParameterList", - "parameters": [], - "src": "58825:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22512, - "nodeType": "FunctionDefinition", - "src": "58941:188:10", - "body": { - "id": 22511, - "nodeType": "Block", - "src": "59016:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c75696e7432353629", - "id": 22503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59066:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_100f650ebf81cb406bb4fb842e06128992c5a86986b0eab3b9e965c3254516e6", - "typeString": "literal_string \"log(address,uint256,address,uint256)\"" - }, - "value": "log(address,uint256,address,uint256)" - }, - { - "id": 22504, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22491, - "src": "59106:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22505, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22493, - "src": "59110:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22506, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22495, - "src": "59114:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22507, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22497, - "src": "59118:2:10", - "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": 22501, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59042:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59046:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59042:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59042:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22500, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "59026:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59026:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22510, - "nodeType": "ExpressionStatement", - "src": "59026:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58950:3:10", - "parameters": { - "id": 22498, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22491, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58962:2:10", - "nodeType": "VariableDeclaration", - "scope": 22512, - "src": "58954:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22490, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58954:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22493, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58974:2:10", - "nodeType": "VariableDeclaration", - "scope": 22512, - "src": "58966:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22492, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58966:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22495, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58986:2:10", - "nodeType": "VariableDeclaration", - "scope": 22512, - "src": "58978:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22494, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58978:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22497, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58998:2:10", - "nodeType": "VariableDeclaration", - "scope": 22512, - "src": "58990:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22496, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58990:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "58953:48:10" - }, - "returnParameters": { - "id": 22499, - "nodeType": "ParameterList", - "parameters": [], - "src": "59016:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22535, - "nodeType": "FunctionDefinition", - "src": "59135:193:10", - "body": { - "id": 22534, - "nodeType": "Block", - "src": "59216:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c737472696e6729", - "id": 22526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59266:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1da986ea2505037a166dd31728d673db1dd36bf0935c0201f0d23934a6acafdb", - "typeString": "literal_string \"log(address,uint256,address,string)\"" - }, - "value": "log(address,uint256,address,string)" - }, - { - "id": 22527, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22514, - "src": "59305:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22528, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22516, - "src": "59309:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22529, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22518, - "src": "59313:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22530, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22520, - "src": "59317:2:10", - "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": 22524, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59242:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59246:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59242:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59242:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22523, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "59226:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59226:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22533, - "nodeType": "ExpressionStatement", - "src": "59226:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59144:3:10", - "parameters": { - "id": 22521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22514, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59156:2:10", - "nodeType": "VariableDeclaration", - "scope": 22535, - "src": "59148:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22513, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59148:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22516, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59168:2:10", - "nodeType": "VariableDeclaration", - "scope": 22535, - "src": "59160:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22515, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59160:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22518, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59180:2:10", - "nodeType": "VariableDeclaration", - "scope": 22535, - "src": "59172:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22517, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59172:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22520, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59198:2:10", - "nodeType": "VariableDeclaration", - "scope": 22535, - "src": "59184:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22519, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59184:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "59147:54:10" - }, - "returnParameters": { - "id": 22522, - "nodeType": "ParameterList", - "parameters": [], - "src": "59216:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22558, - "nodeType": "FunctionDefinition", - "src": "59334:182:10", - "body": { - "id": 22557, - "nodeType": "Block", - "src": "59406:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c626f6f6c29", - "id": 22549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59456:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1bcc9b3f106a0ac6ebf0cd2eda5f636e4ab1afa891b1acb460dd180f14bb322", - "typeString": "literal_string \"log(address,uint256,address,bool)\"" - }, - "value": "log(address,uint256,address,bool)" - }, - { - "id": 22550, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22537, - "src": "59493:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22551, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22539, - "src": "59497:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22552, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22541, - "src": "59501:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22553, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22543, - "src": "59505:2:10", - "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": 22547, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59432:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59436:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59432:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59432:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22546, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "59416:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59416:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22556, - "nodeType": "ExpressionStatement", - "src": "59416:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59343:3:10", - "parameters": { - "id": 22544, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22537, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59355:2:10", - "nodeType": "VariableDeclaration", - "scope": 22558, - "src": "59347:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22536, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59347:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22539, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59367:2:10", - "nodeType": "VariableDeclaration", - "scope": 22558, - "src": "59359:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22538, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59359:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22541, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59379:2:10", - "nodeType": "VariableDeclaration", - "scope": 22558, - "src": "59371:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22540, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59371:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22543, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59388:2:10", - "nodeType": "VariableDeclaration", - "scope": 22558, - "src": "59383:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22542, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59383:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "59346:45:10" - }, - "returnParameters": { - "id": 22545, - "nodeType": "ParameterList", - "parameters": [], - "src": "59406:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22581, - "nodeType": "FunctionDefinition", - "src": "59522:188:10", - "body": { - "id": 22580, - "nodeType": "Block", - "src": "59597:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c6164647265737329", - "id": 22572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59647:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_478d1c625a50f0548fbd6ce5c9463f034dc2ce146c930b3546dac402346457d4", - "typeString": "literal_string \"log(address,uint256,address,address)\"" - }, - "value": "log(address,uint256,address,address)" - }, - { - "id": 22573, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22560, - "src": "59687:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22574, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22562, - "src": "59691:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22575, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22564, - "src": "59695:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22576, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22566, - "src": "59699:2:10", - "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": 22570, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59623:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59627:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59623:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59623:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22569, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "59607:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22578, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59607:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22579, - "nodeType": "ExpressionStatement", - "src": "59607:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59531:3:10", - "parameters": { - "id": 22567, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22560, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59543:2:10", - "nodeType": "VariableDeclaration", - "scope": 22581, - "src": "59535:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22559, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59535:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22562, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59555:2:10", - "nodeType": "VariableDeclaration", - "scope": 22581, - "src": "59547:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22561, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59547:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22564, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59567:2:10", - "nodeType": "VariableDeclaration", - "scope": 22581, - "src": "59559:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22563, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59559:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22566, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59579:2:10", - "nodeType": "VariableDeclaration", - "scope": 22581, - "src": "59571:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22565, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59571:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "59534:48:10" - }, - "returnParameters": { - "id": 22568, - "nodeType": "ParameterList", - "parameters": [], - "src": "59597:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22604, - "nodeType": "FunctionDefinition", - "src": "59716:193:10", - "body": { - "id": 22603, - "nodeType": "Block", - "src": "59797:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c75696e7432353629", - "id": 22595, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59847:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1dc8e1b86f5e8cc33f88f9c9577316d392566cde443e43069eebe8e56a0a0562", - "typeString": "literal_string \"log(address,string,uint256,uint256)\"" - }, - "value": "log(address,string,uint256,uint256)" - }, - { - "id": 22596, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22583, - "src": "59886:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22597, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22585, - "src": "59890:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22598, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22587, - "src": "59894:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22599, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22589, - "src": "59898:2:10", - "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": 22593, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59823:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "59827:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59823:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59823:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22592, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "59807:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "59807:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22602, - "nodeType": "ExpressionStatement", - "src": "59807:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59725:3:10", - "parameters": { - "id": 22590, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22583, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59737:2:10", - "nodeType": "VariableDeclaration", - "scope": 22604, - "src": "59729:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22582, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59729:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22585, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59755:2:10", - "nodeType": "VariableDeclaration", - "scope": 22604, - "src": "59741:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22584, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59741:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22587, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59767:2:10", - "nodeType": "VariableDeclaration", - "scope": 22604, - "src": "59759:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22586, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59759:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22589, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59779:2:10", - "nodeType": "VariableDeclaration", - "scope": 22604, - "src": "59771:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22588, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59771:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "59728:54:10" - }, - "returnParameters": { - "id": 22591, - "nodeType": "ParameterList", - "parameters": [], - "src": "59797:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22627, - "nodeType": "FunctionDefinition", - "src": "59915:198:10", - "body": { - "id": 22626, - "nodeType": "Block", - "src": "60002:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c737472696e6729", - "id": 22618, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60052:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_448830a8c1281c2ef562207eb8a81eaf8ce3a05f5db2e480f1a7741f740725d3", - "typeString": "literal_string \"log(address,string,uint256,string)\"" - }, - "value": "log(address,string,uint256,string)" - }, - { - "id": 22619, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22606, - "src": "60090:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22620, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22608, - "src": "60094:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22621, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22610, - "src": "60098:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22622, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22612, - "src": "60102:2:10", - "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": 22616, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60028:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60032:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60028:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60028:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22615, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "60012:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60012:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22625, - "nodeType": "ExpressionStatement", - "src": "60012:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59924:3:10", - "parameters": { - "id": 22613, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22606, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59936:2:10", - "nodeType": "VariableDeclaration", - "scope": 22627, - "src": "59928:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22605, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59928:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22608, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59954:2:10", - "nodeType": "VariableDeclaration", - "scope": 22627, - "src": "59940:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22607, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59940:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22610, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59966:2:10", - "nodeType": "VariableDeclaration", - "scope": 22627, - "src": "59958:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22609, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59958:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22612, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59984:2:10", - "nodeType": "VariableDeclaration", - "scope": 22627, - "src": "59970:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22611, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59970:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "59927:60:10" - }, - "returnParameters": { - "id": 22614, - "nodeType": "ParameterList", - "parameters": [], - "src": "60002:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22650, - "nodeType": "FunctionDefinition", - "src": "60119:187:10", - "body": { - "id": 22649, - "nodeType": "Block", - "src": "60197:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c626f6f6c29", - "id": 22641, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60247:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0ef7e050655c297a96024e476b2cd79b6c7fd3efbcd797a5d2723a888114ada4", - "typeString": "literal_string \"log(address,string,uint256,bool)\"" - }, - "value": "log(address,string,uint256,bool)" - }, - { - "id": 22642, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22629, - "src": "60283:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22643, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22631, - "src": "60287:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22644, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22633, - "src": "60291:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22645, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22635, - "src": "60295:2:10", - "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": 22639, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60223:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60227:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60223:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60223:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22638, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "60207:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60207:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22648, - "nodeType": "ExpressionStatement", - "src": "60207:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60128:3:10", - "parameters": { - "id": 22636, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22629, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60140:2:10", - "nodeType": "VariableDeclaration", - "scope": 22650, - "src": "60132:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22628, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60132:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22631, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60158:2:10", - "nodeType": "VariableDeclaration", - "scope": 22650, - "src": "60144:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22630, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60144:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22633, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60170:2:10", - "nodeType": "VariableDeclaration", - "scope": 22650, - "src": "60162:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22632, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "60162:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22635, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60179:2:10", - "nodeType": "VariableDeclaration", - "scope": 22650, - "src": "60174:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22634, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60174:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "60131:51:10" - }, - "returnParameters": { - "id": 22637, - "nodeType": "ParameterList", - "parameters": [], - "src": "60197:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22673, - "nodeType": "FunctionDefinition", - "src": "60312:193:10", - "body": { - "id": 22672, - "nodeType": "Block", - "src": "60393:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c6164647265737329", - "id": 22664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60443:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_631836789e813227d6b1cf492359a1dbdd837663758bd3e55e319e4a730f0a18", - "typeString": "literal_string \"log(address,string,uint256,address)\"" - }, - "value": "log(address,string,uint256,address)" - }, - { - "id": 22665, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22652, - "src": "60482:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22666, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22654, - "src": "60486:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22667, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22656, - "src": "60490:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22668, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22658, - "src": "60494:2:10", - "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": 22662, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60419:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60423:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60419:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60419:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22661, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "60403:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60403:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22671, - "nodeType": "ExpressionStatement", - "src": "60403:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60321:3:10", - "parameters": { - "id": 22659, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22652, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60333:2:10", - "nodeType": "VariableDeclaration", - "scope": 22673, - "src": "60325:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22651, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60325:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22654, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60351:2:10", - "nodeType": "VariableDeclaration", - "scope": 22673, - "src": "60337:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22653, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60337:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22656, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60363:2:10", - "nodeType": "VariableDeclaration", - "scope": 22673, - "src": "60355:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22655, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "60355:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22658, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60375:2:10", - "nodeType": "VariableDeclaration", - "scope": 22673, - "src": "60367:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22657, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60367:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "60324:54:10" - }, - "returnParameters": { - "id": 22660, - "nodeType": "ParameterList", - "parameters": [], - "src": "60393:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22696, - "nodeType": "FunctionDefinition", - "src": "60511:198:10", - "body": { - "id": 22695, - "nodeType": "Block", - "src": "60598:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c75696e7432353629", - "id": 22687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60648:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_159f89272dbf40436b74fcc844c992c1f5cc6a7cc05a9db80782be1a20a8f265", - "typeString": "literal_string \"log(address,string,string,uint256)\"" - }, - "value": "log(address,string,string,uint256)" - }, - { - "id": 22688, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22675, - "src": "60686:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22689, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22677, - "src": "60690:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22690, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22679, - "src": "60694:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22691, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22681, - "src": "60698:2:10", - "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": 22685, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60624:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60628:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60624:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60624:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22684, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "60608:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60608:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22694, - "nodeType": "ExpressionStatement", - "src": "60608:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60520:3:10", - "parameters": { - "id": 22682, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22675, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60532:2:10", - "nodeType": "VariableDeclaration", - "scope": 22696, - "src": "60524:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22674, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60524:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22677, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60550:2:10", - "nodeType": "VariableDeclaration", - "scope": 22696, - "src": "60536:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22676, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60536:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22679, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60568:2:10", - "nodeType": "VariableDeclaration", - "scope": 22696, - "src": "60554:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22678, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60554:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22681, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60580:2:10", - "nodeType": "VariableDeclaration", - "scope": 22696, - "src": "60572:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22680, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "60572:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "60523:60:10" - }, - "returnParameters": { - "id": 22683, - "nodeType": "ParameterList", - "parameters": [], - "src": "60598:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22719, - "nodeType": "FunctionDefinition", - "src": "60715:203:10", - "body": { - "id": 22718, - "nodeType": "Block", - "src": "60808:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c737472696e6729", - "id": 22710, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60858:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d02c50b371ad9a1f5c638dc99b5e9b545011f148f0be5233c530a4b2a12665c", - "typeString": "literal_string \"log(address,string,string,string)\"" - }, - "value": "log(address,string,string,string)" - }, - { - "id": 22711, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22698, - "src": "60895:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22712, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22700, - "src": "60899:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22713, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22702, - "src": "60903:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22714, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22704, - "src": "60907:2:10", - "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": 22708, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60834:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "60838:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60834:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60834:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22707, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "60818:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "60818:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22717, - "nodeType": "ExpressionStatement", - "src": "60818:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60724:3:10", - "parameters": { - "id": 22705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22698, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60736:2:10", - "nodeType": "VariableDeclaration", - "scope": 22719, - "src": "60728:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22697, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60728:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22700, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60754:2:10", - "nodeType": "VariableDeclaration", - "scope": 22719, - "src": "60740:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22699, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60740:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22702, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60772:2:10", - "nodeType": "VariableDeclaration", - "scope": 22719, - "src": "60758:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22701, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60758:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22704, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60790:2:10", - "nodeType": "VariableDeclaration", - "scope": 22719, - "src": "60776:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22703, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60776:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "60727:66:10" - }, - "returnParameters": { - "id": 22706, - "nodeType": "ParameterList", - "parameters": [], - "src": "60808:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22742, - "nodeType": "FunctionDefinition", - "src": "60924:192:10", - "body": { - "id": 22741, - "nodeType": "Block", - "src": "61008:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c626f6f6c29", - "id": 22733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61058:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35a5071fa9f4610e50772083182f21e949e7a02301a3936e315dd1c4fc39a9ed", - "typeString": "literal_string \"log(address,string,string,bool)\"" - }, - "value": "log(address,string,string,bool)" - }, - { - "id": 22734, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22721, - "src": "61093:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22735, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22723, - "src": "61097:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22736, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22725, - "src": "61101:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22737, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22727, - "src": "61105:2:10", - "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": 22731, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61034:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61038:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61034:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61034:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22730, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "61018:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61018:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22740, - "nodeType": "ExpressionStatement", - "src": "61018:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60933:3:10", - "parameters": { - "id": 22728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22721, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60945:2:10", - "nodeType": "VariableDeclaration", - "scope": 22742, - "src": "60937:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60937:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22723, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60963:2:10", - "nodeType": "VariableDeclaration", - "scope": 22742, - "src": "60949:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22722, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60949:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22725, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60981:2:10", - "nodeType": "VariableDeclaration", - "scope": 22742, - "src": "60967:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22724, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60967:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22727, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60990:2:10", - "nodeType": "VariableDeclaration", - "scope": 22742, - "src": "60985:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22726, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60985:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "60936:57:10" - }, - "returnParameters": { - "id": 22729, - "nodeType": "ParameterList", - "parameters": [], - "src": "61008:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22765, - "nodeType": "FunctionDefinition", - "src": "61122:198:10", - "body": { - "id": 22764, - "nodeType": "Block", - "src": "61209:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c6164647265737329", - "id": 22756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61259:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a04e2f87a739673cc9223810c24b00b35c6b2c9f3ef123cc82866752e1fa816f", - "typeString": "literal_string \"log(address,string,string,address)\"" - }, - "value": "log(address,string,string,address)" - }, - { - "id": 22757, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22744, - "src": "61297:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22758, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22746, - "src": "61301:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22759, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22748, - "src": "61305:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22760, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22750, - "src": "61309:2:10", - "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": 22754, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61235:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22755, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61239:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61235:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61235:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22753, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "61219:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61219:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22763, - "nodeType": "ExpressionStatement", - "src": "61219:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61131:3:10", - "parameters": { - "id": 22751, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22744, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61143:2:10", - "nodeType": "VariableDeclaration", - "scope": 22765, - "src": "61135:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22743, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61135:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22746, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61161:2:10", - "nodeType": "VariableDeclaration", - "scope": 22765, - "src": "61147:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22745, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61147:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22748, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61179:2:10", - "nodeType": "VariableDeclaration", - "scope": 22765, - "src": "61165:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22747, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61165:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22750, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61191:2:10", - "nodeType": "VariableDeclaration", - "scope": 22765, - "src": "61183:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22749, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61183:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61134:60:10" - }, - "returnParameters": { - "id": 22752, - "nodeType": "ParameterList", - "parameters": [], - "src": "61209:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22788, - "nodeType": "FunctionDefinition", - "src": "61326:187:10", - "body": { - "id": 22787, - "nodeType": "Block", - "src": "61404:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c75696e7432353629", - "id": 22779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61454:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_515e38b61b40d622a4c0448953be005b3991f6a70155c59b5dca42a264aa0345", - "typeString": "literal_string \"log(address,string,bool,uint256)\"" - }, - "value": "log(address,string,bool,uint256)" - }, - { - "id": 22780, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22767, - "src": "61490:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22781, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22769, - "src": "61494:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22782, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22771, - "src": "61498:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22783, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22773, - "src": "61502:2:10", - "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": 22777, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61430:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61434:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61430:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61430:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22776, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "61414:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61414:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22786, - "nodeType": "ExpressionStatement", - "src": "61414:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61335:3:10", - "parameters": { - "id": 22774, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22767, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61347:2:10", - "nodeType": "VariableDeclaration", - "scope": 22788, - "src": "61339:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22766, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61339:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22769, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61365:2:10", - "nodeType": "VariableDeclaration", - "scope": 22788, - "src": "61351:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22768, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61351:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22771, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61374:2:10", - "nodeType": "VariableDeclaration", - "scope": 22788, - "src": "61369:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22770, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61369:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22773, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61386:2:10", - "nodeType": "VariableDeclaration", - "scope": 22788, - "src": "61378:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22772, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "61378:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "61338:51:10" - }, - "returnParameters": { - "id": 22775, - "nodeType": "ParameterList", - "parameters": [], - "src": "61404:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22811, - "nodeType": "FunctionDefinition", - "src": "61519:192:10", - "body": { - "id": 22810, - "nodeType": "Block", - "src": "61603:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c737472696e6729", - "id": 22802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61653:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bc0b61fe9497b47eb6a51a5a6a4bf26b32ddcbc9407ccae8cc7de64b3e3d84cc", - "typeString": "literal_string \"log(address,string,bool,string)\"" - }, - "value": "log(address,string,bool,string)" - }, - { - "id": 22803, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22790, - "src": "61688:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22804, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22792, - "src": "61692:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22805, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22794, - "src": "61696:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22806, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22796, - "src": "61700:2:10", - "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": 22800, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61629:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22801, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61633:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61629:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61629:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22799, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "61613:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61613:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22809, - "nodeType": "ExpressionStatement", - "src": "61613:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61528:3:10", - "parameters": { - "id": 22797, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22790, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61540:2:10", - "nodeType": "VariableDeclaration", - "scope": 22811, - "src": "61532:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22789, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61532:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22792, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61558:2:10", - "nodeType": "VariableDeclaration", - "scope": 22811, - "src": "61544:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22791, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61544:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22794, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61567:2:10", - "nodeType": "VariableDeclaration", - "scope": 22811, - "src": "61562:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22793, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61562:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22796, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61585:2:10", - "nodeType": "VariableDeclaration", - "scope": 22811, - "src": "61571:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22795, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61571:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "61531:57:10" - }, - "returnParameters": { - "id": 22798, - "nodeType": "ParameterList", - "parameters": [], - "src": "61603:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22834, - "nodeType": "FunctionDefinition", - "src": "61717:181:10", - "body": { - "id": 22833, - "nodeType": "Block", - "src": "61792:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c626f6f6c29", - "id": 22825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61842:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f1d5c9f0de8c048364058d1d6842804ada33dbc34bf9eaff8f2be978f384e08", - "typeString": "literal_string \"log(address,string,bool,bool)\"" - }, - "value": "log(address,string,bool,bool)" - }, - { - "id": 22826, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22813, - "src": "61875:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22827, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22815, - "src": "61879:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22828, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22817, - "src": "61883:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22829, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22819, - "src": "61887:2:10", - "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": 22823, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61818:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "61822:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61818:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61818:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22822, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "61802:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61802:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22832, - "nodeType": "ExpressionStatement", - "src": "61802:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61726:3:10", - "parameters": { - "id": 22820, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22813, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61738:2:10", - "nodeType": "VariableDeclaration", - "scope": 22834, - "src": "61730:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61730:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22815, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61756:2:10", - "nodeType": "VariableDeclaration", - "scope": 22834, - "src": "61742:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22814, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61742:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22817, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61765:2:10", - "nodeType": "VariableDeclaration", - "scope": 22834, - "src": "61760:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22816, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61760:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22819, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61774:2:10", - "nodeType": "VariableDeclaration", - "scope": 22834, - "src": "61769:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22818, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61769:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "61729:48:10" - }, - "returnParameters": { - "id": 22821, - "nodeType": "ParameterList", - "parameters": [], - "src": "61792:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22857, - "nodeType": "FunctionDefinition", - "src": "61904:187:10", - "body": { - "id": 22856, - "nodeType": "Block", - "src": "61982:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c6164647265737329", - "id": 22848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62032:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_205871c2f2d320acdd350939b5fc035cc20b1a9cc058fb26f1c9fb3d2ba59970", - "typeString": "literal_string \"log(address,string,bool,address)\"" - }, - "value": "log(address,string,bool,address)" - }, - { - "id": 22849, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22836, - "src": "62068:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22850, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22838, - "src": "62072:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22851, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22840, - "src": "62076:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22852, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22842, - "src": "62080:2:10", - "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": 22846, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62008:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62012:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62008:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62008:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22845, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "61992:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "61992:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22855, - "nodeType": "ExpressionStatement", - "src": "61992:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61913:3:10", - "parameters": { - "id": 22843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22836, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61925:2:10", - "nodeType": "VariableDeclaration", - "scope": 22857, - "src": "61917:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22835, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61917:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22838, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61943:2:10", - "nodeType": "VariableDeclaration", - "scope": 22857, - "src": "61929:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22837, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61929:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22840, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61952:2:10", - "nodeType": "VariableDeclaration", - "scope": 22857, - "src": "61947:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22839, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61947:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22842, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61964:2:10", - "nodeType": "VariableDeclaration", - "scope": 22857, - "src": "61956:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22841, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61956:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61916:51:10" - }, - "returnParameters": { - "id": 22844, - "nodeType": "ParameterList", - "parameters": [], - "src": "61982:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22880, - "nodeType": "FunctionDefinition", - "src": "62097:193:10", - "body": { - "id": 22879, - "nodeType": "Block", - "src": "62178:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c75696e7432353629", - "id": 22871, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62228:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_457fe3cf7da0d45ce051e53ef9adc21213d4d7779b5a0fadf99dea432be4beb7", - "typeString": "literal_string \"log(address,string,address,uint256)\"" - }, - "value": "log(address,string,address,uint256)" - }, - { - "id": 22872, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22859, - "src": "62267:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22873, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22861, - "src": "62271:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22874, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22863, - "src": "62275:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22875, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22865, - "src": "62279:2:10", - "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": 22869, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62204:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22870, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62208:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62204:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62204:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22868, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "62188:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62188:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22878, - "nodeType": "ExpressionStatement", - "src": "62188:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62106:3:10", - "parameters": { - "id": 22866, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22859, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62118:2:10", - "nodeType": "VariableDeclaration", - "scope": 22880, - "src": "62110:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22858, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62110:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22861, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62136:2:10", - "nodeType": "VariableDeclaration", - "scope": 22880, - "src": "62122:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22860, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62122:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22863, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62148:2:10", - "nodeType": "VariableDeclaration", - "scope": 22880, - "src": "62140:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22862, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62140:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22865, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62160:2:10", - "nodeType": "VariableDeclaration", - "scope": 22880, - "src": "62152:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22864, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "62152:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62109:54:10" - }, - "returnParameters": { - "id": 22867, - "nodeType": "ParameterList", - "parameters": [], - "src": "62178:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22903, - "nodeType": "FunctionDefinition", - "src": "62296:198:10", - "body": { - "id": 22902, - "nodeType": "Block", - "src": "62383:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c737472696e6729", - "id": 22894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62433:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f7e3624510fc5618feb98a49f5d4404e3749dacbdc916c267fea7b2051a08dea", - "typeString": "literal_string \"log(address,string,address,string)\"" - }, - "value": "log(address,string,address,string)" - }, - { - "id": 22895, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22882, - "src": "62471:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22896, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22884, - "src": "62475:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22897, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22886, - "src": "62479:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22898, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22888, - "src": "62483:2:10", - "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": 22892, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62409:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22893, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62413:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62409:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62409:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22891, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "62393:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62393:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22901, - "nodeType": "ExpressionStatement", - "src": "62393:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62305:3:10", - "parameters": { - "id": 22889, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22882, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62317:2:10", - "nodeType": "VariableDeclaration", - "scope": 22903, - "src": "62309:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22881, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62309:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22884, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62335:2:10", - "nodeType": "VariableDeclaration", - "scope": 22903, - "src": "62321:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22883, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62321:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22886, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62347:2:10", - "nodeType": "VariableDeclaration", - "scope": 22903, - "src": "62339:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62339:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22888, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62365:2:10", - "nodeType": "VariableDeclaration", - "scope": 22903, - "src": "62351:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22887, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62351:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "62308:60:10" - }, - "returnParameters": { - "id": 22890, - "nodeType": "ParameterList", - "parameters": [], - "src": "62383:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22926, - "nodeType": "FunctionDefinition", - "src": "62500:187:10", - "body": { - "id": 22925, - "nodeType": "Block", - "src": "62578:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c626f6f6c29", - "id": 22917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62628:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0df12b7620e0bad204ac79fe9930fef9b9a40702161764a681594d50d657b081", - "typeString": "literal_string \"log(address,string,address,bool)\"" - }, - "value": "log(address,string,address,bool)" - }, - { - "id": 22918, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22905, - "src": "62664:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22919, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22907, - "src": "62668:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22920, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22909, - "src": "62672:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22921, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22911, - "src": "62676:2:10", - "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": 22915, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62604:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62608:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62604:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62604:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22914, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "62588:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62588:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22924, - "nodeType": "ExpressionStatement", - "src": "62588:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62509:3:10", - "parameters": { - "id": 22912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22905, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62521:2:10", - "nodeType": "VariableDeclaration", - "scope": 22926, - "src": "62513:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22904, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62513:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22907, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62539:2:10", - "nodeType": "VariableDeclaration", - "scope": 22926, - "src": "62525:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22906, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62525:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22909, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62551:2:10", - "nodeType": "VariableDeclaration", - "scope": 22926, - "src": "62543:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22908, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62543:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22911, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62560:2:10", - "nodeType": "VariableDeclaration", - "scope": 22926, - "src": "62555:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22910, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62555:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "62512:51:10" - }, - "returnParameters": { - "id": 22913, - "nodeType": "ParameterList", - "parameters": [], - "src": "62578:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22949, - "nodeType": "FunctionDefinition", - "src": "62693:193:10", - "body": { - "id": 22948, - "nodeType": "Block", - "src": "62774:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c6164647265737329", - "id": 22940, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62824:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d36fa2022fafb45586a59914be3ad4c57b76e89535385dcff89c28c80605121", - "typeString": "literal_string \"log(address,string,address,address)\"" - }, - "value": "log(address,string,address,address)" - }, - { - "id": 22941, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22928, - "src": "62863:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22942, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22930, - "src": "62867:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 22943, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22932, - "src": "62871:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22944, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22934, - "src": "62875:2:10", - "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": 22938, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62800:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62804:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62800:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62800:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22937, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "62784:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62784:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22947, - "nodeType": "ExpressionStatement", - "src": "62784:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62702:3:10", - "parameters": { - "id": 22935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22928, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62714:2:10", - "nodeType": "VariableDeclaration", - "scope": 22949, - "src": "62706:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22927, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62706:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22930, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62732:2:10", - "nodeType": "VariableDeclaration", - "scope": 22949, - "src": "62718:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22929, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62718:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22932, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62744:2:10", - "nodeType": "VariableDeclaration", - "scope": 22949, - "src": "62736:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22931, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62736:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22934, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62756:2:10", - "nodeType": "VariableDeclaration", - "scope": 22949, - "src": "62748:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22933, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62748:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "62705:54:10" - }, - "returnParameters": { - "id": 22936, - "nodeType": "ParameterList", - "parameters": [], - "src": "62774:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22972, - "nodeType": "FunctionDefinition", - "src": "62892:182:10", - "body": { - "id": 22971, - "nodeType": "Block", - "src": "62964:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c75696e7432353629", - "id": 22963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63014:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_386ff5f4530ea008cf639214e5b8a55077ec58314989bc72a4ee1f3ffe9617a4", - "typeString": "literal_string \"log(address,bool,uint256,uint256)\"" - }, - "value": "log(address,bool,uint256,uint256)" - }, - { - "id": 22964, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22951, - "src": "63051:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22965, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22953, - "src": "63055:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22966, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22955, - "src": "63059:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22967, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22957, - "src": "63063:2:10", - "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": 22961, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62990:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "62994:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62990:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62990:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22960, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "62974:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "62974:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22970, - "nodeType": "ExpressionStatement", - "src": "62974:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62901:3:10", - "parameters": { - "id": 22958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22951, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62913:2:10", - "nodeType": "VariableDeclaration", - "scope": 22972, - "src": "62905:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62905:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22953, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62922:2:10", - "nodeType": "VariableDeclaration", - "scope": 22972, - "src": "62917:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22952, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62917:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22955, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62934:2:10", - "nodeType": "VariableDeclaration", - "scope": 22972, - "src": "62926:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22954, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "62926:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22957, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62946:2:10", - "nodeType": "VariableDeclaration", - "scope": 22972, - "src": "62938:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "62938:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62904:45:10" - }, - "returnParameters": { - "id": 22959, - "nodeType": "ParameterList", - "parameters": [], - "src": "62964:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 22995, - "nodeType": "FunctionDefinition", - "src": "63080:187:10", - "body": { - "id": 22994, - "nodeType": "Block", - "src": "63158:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c737472696e6729", - "id": 22986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63208:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0aa6cfad2c268cd387390ada6d4a75b3aa3e38d6511517eb59fcd07a90f9c283", - "typeString": "literal_string \"log(address,bool,uint256,string)\"" - }, - "value": "log(address,bool,uint256,string)" - }, - { - "id": 22987, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22974, - "src": "63244:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 22988, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22976, - "src": "63248:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 22989, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22978, - "src": "63252:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 22990, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22980, - "src": "63256:2:10", - "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": 22984, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63184:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 22985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63188:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63184:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 22991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63184:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 22983, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "63168:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 22992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63168:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 22993, - "nodeType": "ExpressionStatement", - "src": "63168:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63089:3:10", - "parameters": { - "id": 22981, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22974, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63101:2:10", - "nodeType": "VariableDeclaration", - "scope": 22995, - "src": "63093:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22973, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63093:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22976, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63110:2:10", - "nodeType": "VariableDeclaration", - "scope": 22995, - "src": "63105:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22975, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63105:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22978, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63122:2:10", - "nodeType": "VariableDeclaration", - "scope": 22995, - "src": "63114:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 22977, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63114:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22980, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63140:2:10", - "nodeType": "VariableDeclaration", - "scope": 22995, - "src": "63126:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 22979, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63126:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63092:51:10" - }, - "returnParameters": { - "id": 22982, - "nodeType": "ParameterList", - "parameters": [], - "src": "63158:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23018, - "nodeType": "FunctionDefinition", - "src": "63273:176:10", - "body": { - "id": 23017, - "nodeType": "Block", - "src": "63342:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c626f6f6c29", - "id": 23009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63392:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4643e20494ddb98fe78bc587bcecbcc7db255edcee8232992e8be9b00c4713c", - "typeString": "literal_string \"log(address,bool,uint256,bool)\"" - }, - "value": "log(address,bool,uint256,bool)" - }, - { - "id": 23010, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22997, - "src": "63426:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23011, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 22999, - "src": "63430:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23012, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23001, - "src": "63434:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23013, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23003, - "src": "63438:2:10", - "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": 23007, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63368:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63372:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63368:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63368:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23006, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "63352:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63352:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23016, - "nodeType": "ExpressionStatement", - "src": "63352:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63282:3:10", - "parameters": { - "id": 23004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 22997, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63294:2:10", - "nodeType": "VariableDeclaration", - "scope": 23018, - "src": "63286:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 22996, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63286:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 22999, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63303:2:10", - "nodeType": "VariableDeclaration", - "scope": 23018, - "src": "63298:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 22998, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63298:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23001, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63315:2:10", - "nodeType": "VariableDeclaration", - "scope": 23018, - "src": "63307:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23000, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63307:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23003, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63324:2:10", - "nodeType": "VariableDeclaration", - "scope": 23018, - "src": "63319:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23002, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63319:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "63285:42:10" - }, - "returnParameters": { - "id": 23005, - "nodeType": "ParameterList", - "parameters": [], - "src": "63342:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23041, - "nodeType": "FunctionDefinition", - "src": "63455:182:10", - "body": { - "id": 23040, - "nodeType": "Block", - "src": "63527:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c6164647265737329", - "id": 23032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63577:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ccf790a175b1b762ef5bfd3564f0b74c078f15eca08b8ee654a38a96a5ad2aee", - "typeString": "literal_string \"log(address,bool,uint256,address)\"" - }, - "value": "log(address,bool,uint256,address)" - }, - { - "id": 23033, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23020, - "src": "63614:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23034, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23022, - "src": "63618:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23035, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23024, - "src": "63622:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23036, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23026, - "src": "63626:2:10", - "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": 23030, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63553:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63557:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63553:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63553:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23029, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "63537:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63537:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23039, - "nodeType": "ExpressionStatement", - "src": "63537:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63464:3:10", - "parameters": { - "id": 23027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23020, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63476:2:10", - "nodeType": "VariableDeclaration", - "scope": 23041, - "src": "63468:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23019, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63468:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23022, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63485:2:10", - "nodeType": "VariableDeclaration", - "scope": 23041, - "src": "63480:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23021, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63480:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23024, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63497:2:10", - "nodeType": "VariableDeclaration", - "scope": 23041, - "src": "63489:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23023, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63489:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23026, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63509:2:10", - "nodeType": "VariableDeclaration", - "scope": 23041, - "src": "63501:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63501:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "63467:45:10" - }, - "returnParameters": { - "id": 23028, - "nodeType": "ParameterList", - "parameters": [], - "src": "63527:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23064, - "nodeType": "FunctionDefinition", - "src": "63643:187:10", - "body": { - "id": 23063, - "nodeType": "Block", - "src": "63721:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c75696e7432353629", - "id": 23055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63771:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_80e6a20b48643c1f2494eae694f173a69e42da349d0e193e48fece80e869df69", - "typeString": "literal_string \"log(address,bool,string,uint256)\"" - }, - "value": "log(address,bool,string,uint256)" - }, - { - "id": 23056, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23043, - "src": "63807:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23057, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23045, - "src": "63811:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23058, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23047, - "src": "63815:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23059, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23049, - "src": "63819:2:10", - "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": 23053, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63747:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23054, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63751:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63747:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63747:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23052, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "63731:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63731:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23062, - "nodeType": "ExpressionStatement", - "src": "63731:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63652:3:10", - "parameters": { - "id": 23050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23043, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63664:2:10", - "nodeType": "VariableDeclaration", - "scope": 23064, - "src": "63656:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23042, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63656:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23045, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63673:2:10", - "nodeType": "VariableDeclaration", - "scope": 23064, - "src": "63668:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23044, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63668:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23047, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63691:2:10", - "nodeType": "VariableDeclaration", - "scope": 23064, - "src": "63677:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23046, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63677:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23049, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63703:2:10", - "nodeType": "VariableDeclaration", - "scope": 23064, - "src": "63695:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23048, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63695:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "63655:51:10" - }, - "returnParameters": { - "id": 23051, - "nodeType": "ParameterList", - "parameters": [], - "src": "63721:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23087, - "nodeType": "FunctionDefinition", - "src": "63836:192:10", - "body": { - "id": 23086, - "nodeType": "Block", - "src": "63920:108:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c737472696e6729", - "id": 23078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63970:33:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_475c5c33f91155b7a0e86c9fac7985c60ab58f4bfb411ee9b31d994a7fc95d1f", - "typeString": "literal_string \"log(address,bool,string,string)\"" - }, - "value": "log(address,bool,string,string)" - }, - { - "id": 23079, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23066, - "src": "64005:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23080, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23068, - "src": "64009:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23081, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23070, - "src": "64013:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23082, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23072, - "src": "64017:2:10", - "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": 23076, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63946:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "63950:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63946:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63946:74:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23075, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "63930:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "63930:91:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23085, - "nodeType": "ExpressionStatement", - "src": "63930:91:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63845:3:10", - "parameters": { - "id": 23073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23066, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63857:2:10", - "nodeType": "VariableDeclaration", - "scope": 23087, - "src": "63849:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63849:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23068, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63866:2:10", - "nodeType": "VariableDeclaration", - "scope": 23087, - "src": "63861:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23067, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63861:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23070, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63884:2:10", - "nodeType": "VariableDeclaration", - "scope": 23087, - "src": "63870:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23069, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63870:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23072, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63902:2:10", - "nodeType": "VariableDeclaration", - "scope": 23087, - "src": "63888:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23071, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63888:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63848:57:10" - }, - "returnParameters": { - "id": 23074, - "nodeType": "ParameterList", - "parameters": [], - "src": "63920:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23110, - "nodeType": "FunctionDefinition", - "src": "64034:181:10", - "body": { - "id": 23109, - "nodeType": "Block", - "src": "64109:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c626f6f6c29", - "id": 23101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64159:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50ad461db24803fc9b2ba76f072192e0a4d8fbb3667a50c400f504443380890f", - "typeString": "literal_string \"log(address,bool,string,bool)\"" - }, - "value": "log(address,bool,string,bool)" - }, - { - "id": 23102, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23089, - "src": "64192:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23103, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23091, - "src": "64196:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23104, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23093, - "src": "64200:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23105, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23095, - "src": "64204:2:10", - "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": 23099, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64135:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64139:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64135:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64135:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23098, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "64119:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64119:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23108, - "nodeType": "ExpressionStatement", - "src": "64119:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64043:3:10", - "parameters": { - "id": 23096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23089, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64055:2:10", - "nodeType": "VariableDeclaration", - "scope": 23110, - "src": "64047:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23088, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64047:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23091, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64064:2:10", - "nodeType": "VariableDeclaration", - "scope": 23110, - "src": "64059:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23090, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64059:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23093, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64082:2:10", - "nodeType": "VariableDeclaration", - "scope": 23110, - "src": "64068:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23092, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64068:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23095, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64091:2:10", - "nodeType": "VariableDeclaration", - "scope": 23110, - "src": "64086:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23094, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64086:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "64046:48:10" - }, - "returnParameters": { - "id": 23097, - "nodeType": "ParameterList", - "parameters": [], - "src": "64109:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23133, - "nodeType": "FunctionDefinition", - "src": "64221:187:10", - "body": { - "id": 23132, - "nodeType": "Block", - "src": "64299:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c6164647265737329", - "id": 23124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64349:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_19fd495659df511498cf8dde03672830bd109ef2d9b9bec18e72190917c328bc", - "typeString": "literal_string \"log(address,bool,string,address)\"" - }, - "value": "log(address,bool,string,address)" - }, - { - "id": 23125, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23112, - "src": "64385:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23126, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23114, - "src": "64389:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23127, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23116, - "src": "64393:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23128, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23118, - "src": "64397:2:10", - "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": 23122, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64325:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64329:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64325:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64325:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23121, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "64309:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64309:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23131, - "nodeType": "ExpressionStatement", - "src": "64309:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64230:3:10", - "parameters": { - "id": 23119, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23112, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64242:2:10", - "nodeType": "VariableDeclaration", - "scope": 23133, - "src": "64234:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23111, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64234:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23114, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64251:2:10", - "nodeType": "VariableDeclaration", - "scope": 23133, - "src": "64246:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23113, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64246:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23116, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64269:2:10", - "nodeType": "VariableDeclaration", - "scope": 23133, - "src": "64255:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23115, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64255:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23118, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64281:2:10", - "nodeType": "VariableDeclaration", - "scope": 23133, - "src": "64273:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23117, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64273:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "64233:51:10" - }, - "returnParameters": { - "id": 23120, - "nodeType": "ParameterList", - "parameters": [], - "src": "64299:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23156, - "nodeType": "FunctionDefinition", - "src": "64414:176:10", - "body": { - "id": 23155, - "nodeType": "Block", - "src": "64483:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 23147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64533:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c4e5de62881fec144fb423112f08d23c6aca116363a7b195024519470acf22e", - "typeString": "literal_string \"log(address,bool,bool,uint256)\"" - }, - "value": "log(address,bool,bool,uint256)" - }, - { - "id": 23148, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23135, - "src": "64567:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23149, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23137, - "src": "64571:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23150, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23139, - "src": "64575:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23151, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23141, - "src": "64579:2:10", - "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": 23145, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64509:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64513:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64509:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64509:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23144, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "64493:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64493:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23154, - "nodeType": "ExpressionStatement", - "src": "64493:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64423:3:10", - "parameters": { - "id": 23142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23135, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64435:2:10", - "nodeType": "VariableDeclaration", - "scope": 23156, - "src": "64427:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23134, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64427:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23137, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64444:2:10", - "nodeType": "VariableDeclaration", - "scope": 23156, - "src": "64439:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23136, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64439:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23139, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64453:2:10", - "nodeType": "VariableDeclaration", - "scope": 23156, - "src": "64448:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23138, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64448:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23141, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64465:2:10", - "nodeType": "VariableDeclaration", - "scope": 23156, - "src": "64457:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23140, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "64457:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "64426:42:10" - }, - "returnParameters": { - "id": 23143, - "nodeType": "ParameterList", - "parameters": [], - "src": "64483:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23179, - "nodeType": "FunctionDefinition", - "src": "64596:181:10", - "body": { - "id": 23178, - "nodeType": "Block", - "src": "64671:106:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c737472696e6729", - "id": 23170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64721:31:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dfc4a2e8c56809b44edbbc6d92d0a8441e551ad5387596bf8b629c56d9a91300", - "typeString": "literal_string \"log(address,bool,bool,string)\"" - }, - "value": "log(address,bool,bool,string)" - }, - { - "id": 23171, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23158, - "src": "64754:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23172, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23160, - "src": "64758:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23173, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23162, - "src": "64762:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23174, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23164, - "src": "64766:2:10", - "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": 23168, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64697:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64701:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64697:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23175, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64697:72:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23167, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "64681:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64681:89:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23177, - "nodeType": "ExpressionStatement", - "src": "64681:89:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64605:3:10", - "parameters": { - "id": 23165, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23158, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64617:2:10", - "nodeType": "VariableDeclaration", - "scope": 23179, - "src": "64609:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23157, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64609:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23160, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64626:2:10", - "nodeType": "VariableDeclaration", - "scope": 23179, - "src": "64621:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23159, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64621:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23162, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64635:2:10", - "nodeType": "VariableDeclaration", - "scope": 23179, - "src": "64630:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23161, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64630:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23164, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64653:2:10", - "nodeType": "VariableDeclaration", - "scope": 23179, - "src": "64639:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23163, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "64639:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "64608:48:10" - }, - "returnParameters": { - "id": 23166, - "nodeType": "ParameterList", - "parameters": [], - "src": "64671:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23202, - "nodeType": "FunctionDefinition", - "src": "64783:170:10", - "body": { - "id": 23201, - "nodeType": "Block", - "src": "64849:104:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 23193, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "64899:29:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cac434792b973db16714db96d2aeda353b2253f27255abe42b9960b2dc550634", - "typeString": "literal_string \"log(address,bool,bool,bool)\"" - }, - "value": "log(address,bool,bool,bool)" - }, - { - "id": 23194, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23181, - "src": "64930:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23195, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23183, - "src": "64934:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23196, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23185, - "src": "64938:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23197, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23187, - "src": "64942:2:10", - "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": 23191, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "64875:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23192, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "64879:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "64875:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64875:70:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23190, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "64859:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "64859:87:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23200, - "nodeType": "ExpressionStatement", - "src": "64859:87:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64792:3:10", - "parameters": { - "id": 23188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23181, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64804:2:10", - "nodeType": "VariableDeclaration", - "scope": 23202, - "src": "64796:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23180, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64796:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23183, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64813:2:10", - "nodeType": "VariableDeclaration", - "scope": 23202, - "src": "64808:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23182, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64808:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23185, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64822:2:10", - "nodeType": "VariableDeclaration", - "scope": 23202, - "src": "64817:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23184, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64817:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23187, - "mutability": "mutable", - "name": "p3", - "nameLocation": "64831:2:10", - "nodeType": "VariableDeclaration", - "scope": 23202, - "src": "64826:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23186, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64826:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "64795:39:10" - }, - "returnParameters": { - "id": 23189, - "nodeType": "ParameterList", - "parameters": [], - "src": "64849:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23225, - "nodeType": "FunctionDefinition", - "src": "64959:176:10", - "body": { - "id": 23224, - "nodeType": "Block", - "src": "65028:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c6164647265737329", - "id": 23216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65078:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf394485abbd1f04b85b0f2c1a2cfc07e3d51c1c6f28386bf16d9e45161e8953", - "typeString": "literal_string \"log(address,bool,bool,address)\"" - }, - "value": "log(address,bool,bool,address)" - }, - { - "id": 23217, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23204, - "src": "65112:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23218, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23206, - "src": "65116:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23219, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23208, - "src": "65120:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23220, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23210, - "src": "65124:2:10", - "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": 23214, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65054:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65058:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65054:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65054:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23213, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "65038:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65038:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23223, - "nodeType": "ExpressionStatement", - "src": "65038:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "64968:3:10", - "parameters": { - "id": 23211, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23204, - "mutability": "mutable", - "name": "p0", - "nameLocation": "64980:2:10", - "nodeType": "VariableDeclaration", - "scope": 23225, - "src": "64972:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23203, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "64972:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23206, - "mutability": "mutable", - "name": "p1", - "nameLocation": "64989:2:10", - "nodeType": "VariableDeclaration", - "scope": 23225, - "src": "64984:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23205, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64984:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23208, - "mutability": "mutable", - "name": "p2", - "nameLocation": "64998:2:10", - "nodeType": "VariableDeclaration", - "scope": 23225, - "src": "64993:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23207, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "64993:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23210, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65010:2:10", - "nodeType": "VariableDeclaration", - "scope": 23225, - "src": "65002:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23209, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65002:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "64971:42:10" - }, - "returnParameters": { - "id": 23212, - "nodeType": "ParameterList", - "parameters": [], - "src": "65028:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23248, - "nodeType": "FunctionDefinition", - "src": "65141:182:10", - "body": { - "id": 23247, - "nodeType": "Block", - "src": "65213:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c75696e7432353629", - "id": 23239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65263:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a75c59de36827f2596ade7bd79f668ae219518c12b79ebf06071586765c3e039", - "typeString": "literal_string \"log(address,bool,address,uint256)\"" - }, - "value": "log(address,bool,address,uint256)" - }, - { - "id": 23240, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23227, - "src": "65300:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23241, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23229, - "src": "65304:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23242, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23231, - "src": "65308:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23243, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23233, - "src": "65312:2:10", - "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": 23237, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65239:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65243:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65239:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65239:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23236, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "65223:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65223:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23246, - "nodeType": "ExpressionStatement", - "src": "65223:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65150:3:10", - "parameters": { - "id": 23234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23227, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65162:2:10", - "nodeType": "VariableDeclaration", - "scope": 23248, - "src": "65154:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65154:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23229, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65171:2:10", - "nodeType": "VariableDeclaration", - "scope": 23248, - "src": "65166:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23228, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65166:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23231, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65183:2:10", - "nodeType": "VariableDeclaration", - "scope": 23248, - "src": "65175:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23230, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65175:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23233, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65195:2:10", - "nodeType": "VariableDeclaration", - "scope": 23248, - "src": "65187:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23232, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "65187:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "65153:45:10" - }, - "returnParameters": { - "id": 23235, - "nodeType": "ParameterList", - "parameters": [], - "src": "65213:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23271, - "nodeType": "FunctionDefinition", - "src": "65329:187:10", - "body": { - "id": 23270, - "nodeType": "Block", - "src": "65407:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c737472696e6729", - "id": 23262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65457:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2dd778e616be9386b5911da1a074bbaf979640681783fca6396ea75c8caf6453", - "typeString": "literal_string \"log(address,bool,address,string)\"" - }, - "value": "log(address,bool,address,string)" - }, - { - "id": 23263, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23250, - "src": "65493:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23264, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23252, - "src": "65497:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23265, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23254, - "src": "65501:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23266, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23256, - "src": "65505:2:10", - "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": 23260, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65433:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23261, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65437:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65433:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65433:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23259, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "65417:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65417:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23269, - "nodeType": "ExpressionStatement", - "src": "65417:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65338:3:10", - "parameters": { - "id": 23257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23250, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65350:2:10", - "nodeType": "VariableDeclaration", - "scope": 23271, - "src": "65342:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23249, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65342:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23252, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65359:2:10", - "nodeType": "VariableDeclaration", - "scope": 23271, - "src": "65354:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23251, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65354:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23254, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65371:2:10", - "nodeType": "VariableDeclaration", - "scope": 23271, - "src": "65363:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23253, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65363:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23256, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65389:2:10", - "nodeType": "VariableDeclaration", - "scope": 23271, - "src": "65375:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23255, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "65375:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "65341:51:10" - }, - "returnParameters": { - "id": 23258, - "nodeType": "ParameterList", - "parameters": [], - "src": "65407:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23294, - "nodeType": "FunctionDefinition", - "src": "65522:176:10", - "body": { - "id": 23293, - "nodeType": "Block", - "src": "65591:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c626f6f6c29", - "id": 23285, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65641:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a6f50b0f122c916fe81861751b94bdddb5e453947768e8af206397bb510790b1", - "typeString": "literal_string \"log(address,bool,address,bool)\"" - }, - "value": "log(address,bool,address,bool)" - }, - { - "id": 23286, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23273, - "src": "65675:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23287, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23275, - "src": "65679:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23288, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23277, - "src": "65683:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23289, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23279, - "src": "65687:2:10", - "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": 23283, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65617:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65621:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65617:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65617:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23282, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "65601:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65601:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23292, - "nodeType": "ExpressionStatement", - "src": "65601:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65531:3:10", - "parameters": { - "id": 23280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23273, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65543:2:10", - "nodeType": "VariableDeclaration", - "scope": 23294, - "src": "65535:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23272, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65535:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23275, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65552:2:10", - "nodeType": "VariableDeclaration", - "scope": 23294, - "src": "65547:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23274, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65547:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23277, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65564:2:10", - "nodeType": "VariableDeclaration", - "scope": 23294, - "src": "65556:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23276, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65556:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23279, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65573:2:10", - "nodeType": "VariableDeclaration", - "scope": 23294, - "src": "65568:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23278, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65568:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "65534:42:10" - }, - "returnParameters": { - "id": 23281, - "nodeType": "ParameterList", - "parameters": [], - "src": "65591:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23317, - "nodeType": "FunctionDefinition", - "src": "65704:182:10", - "body": { - "id": 23316, - "nodeType": "Block", - "src": "65776:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c6164647265737329", - "id": 23308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "65826:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_660375ddb58761b4ce952ec7e1ae63efe9f8e9e69831fd72875968fec9046e35", - "typeString": "literal_string \"log(address,bool,address,address)\"" - }, - "value": "log(address,bool,address,address)" - }, - { - "id": 23309, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23296, - "src": "65863:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23310, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23298, - "src": "65867:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23311, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23300, - "src": "65871:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23312, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23302, - "src": "65875:2:10", - "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": 23306, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65802:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65806:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65802:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65802:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23305, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "65786:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65786:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23315, - "nodeType": "ExpressionStatement", - "src": "65786:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65713:3:10", - "parameters": { - "id": 23303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23296, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65725:2:10", - "nodeType": "VariableDeclaration", - "scope": 23317, - "src": "65717:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23295, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65717:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23298, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65734:2:10", - "nodeType": "VariableDeclaration", - "scope": 23317, - "src": "65729:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23297, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "65729:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23300, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65746:2:10", - "nodeType": "VariableDeclaration", - "scope": 23317, - "src": "65738:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23299, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65738:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23302, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65758:2:10", - "nodeType": "VariableDeclaration", - "scope": 23317, - "src": "65750:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23301, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65750:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "65716:45:10" - }, - "returnParameters": { - "id": 23304, - "nodeType": "ParameterList", - "parameters": [], - "src": "65776:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23340, - "nodeType": "FunctionDefinition", - "src": "65892:188:10", - "body": { - "id": 23339, - "nodeType": "Block", - "src": "65967:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c75696e7432353629", - "id": 23331, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66017:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_be55348107f27daf63b48e87ab23840f2cbf20bdfa1dd4b92b4c2b337967fa25", - "typeString": "literal_string \"log(address,address,uint256,uint256)\"" - }, - "value": "log(address,address,uint256,uint256)" - }, - { - "id": 23332, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23319, - "src": "66057:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23333, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23321, - "src": "66061:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23334, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23323, - "src": "66065:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23335, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23325, - "src": "66069:2:10", - "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": 23329, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "65993:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "65997:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "65993:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65993:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23328, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "65977:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "65977:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23338, - "nodeType": "ExpressionStatement", - "src": "65977:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "65901:3:10", - "parameters": { - "id": 23326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23319, - "mutability": "mutable", - "name": "p0", - "nameLocation": "65913:2:10", - "nodeType": "VariableDeclaration", - "scope": 23340, - "src": "65905:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23318, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65905:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23321, - "mutability": "mutable", - "name": "p1", - "nameLocation": "65925:2:10", - "nodeType": "VariableDeclaration", - "scope": 23340, - "src": "65917:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23320, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "65917:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23323, - "mutability": "mutable", - "name": "p2", - "nameLocation": "65937:2:10", - "nodeType": "VariableDeclaration", - "scope": 23340, - "src": "65929:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23322, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "65929:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23325, - "mutability": "mutable", - "name": "p3", - "nameLocation": "65949:2:10", - "nodeType": "VariableDeclaration", - "scope": 23340, - "src": "65941:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23324, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "65941:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "65904:48:10" - }, - "returnParameters": { - "id": 23327, - "nodeType": "ParameterList", - "parameters": [], - "src": "65967:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23363, - "nodeType": "FunctionDefinition", - "src": "66086:193:10", - "body": { - "id": 23362, - "nodeType": "Block", - "src": "66167:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c737472696e6729", - "id": 23354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66217:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fdb4f99053c71d9229026b69fabc5567b4324649a228ca0935bada4975f57343", - "typeString": "literal_string \"log(address,address,uint256,string)\"" - }, - "value": "log(address,address,uint256,string)" - }, - { - "id": 23355, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23342, - "src": "66256:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23356, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23344, - "src": "66260:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23357, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23346, - "src": "66264:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23358, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23348, - "src": "66268:2:10", - "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": 23352, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66193:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66197:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66193:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66193:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23351, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "66177:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66177:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23361, - "nodeType": "ExpressionStatement", - "src": "66177:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66095:3:10", - "parameters": { - "id": 23349, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23342, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66107:2:10", - "nodeType": "VariableDeclaration", - "scope": 23363, - "src": "66099:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23341, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66099:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23344, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66119:2:10", - "nodeType": "VariableDeclaration", - "scope": 23363, - "src": "66111:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23343, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66111:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23346, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66131:2:10", - "nodeType": "VariableDeclaration", - "scope": 23363, - "src": "66123:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23345, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "66123:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23348, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66149:2:10", - "nodeType": "VariableDeclaration", - "scope": 23363, - "src": "66135:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23347, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66135:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "66098:54:10" - }, - "returnParameters": { - "id": 23350, - "nodeType": "ParameterList", - "parameters": [], - "src": "66167:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23386, - "nodeType": "FunctionDefinition", - "src": "66285:182:10", - "body": { - "id": 23385, - "nodeType": "Block", - "src": "66357:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c626f6f6c29", - "id": 23377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66407:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b4254e23753cb4c7d637e38638d109b03aeabf8705961d18d943c5bfa6672cd", - "typeString": "literal_string \"log(address,address,uint256,bool)\"" - }, - "value": "log(address,address,uint256,bool)" - }, - { - "id": 23378, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23365, - "src": "66444:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23379, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23367, - "src": "66448:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23380, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23369, - "src": "66452:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23381, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23371, - "src": "66456:2:10", - "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": 23375, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66383:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66387:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66383:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66383:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23374, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "66367:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23383, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66367:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23384, - "nodeType": "ExpressionStatement", - "src": "66367:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66294:3:10", - "parameters": { - "id": 23372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23365, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66306:2:10", - "nodeType": "VariableDeclaration", - "scope": 23386, - "src": "66298:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23364, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66298:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23367, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66318:2:10", - "nodeType": "VariableDeclaration", - "scope": 23386, - "src": "66310:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23366, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66310:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23369, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66330:2:10", - "nodeType": "VariableDeclaration", - "scope": 23386, - "src": "66322:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23368, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "66322:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23371, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66339:2:10", - "nodeType": "VariableDeclaration", - "scope": 23386, - "src": "66334:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23370, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "66334:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "66297:45:10" - }, - "returnParameters": { - "id": 23373, - "nodeType": "ParameterList", - "parameters": [], - "src": "66357:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23409, - "nodeType": "FunctionDefinition", - "src": "66473:188:10", - "body": { - "id": 23408, - "nodeType": "Block", - "src": "66548:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c6164647265737329", - "id": 23400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66598:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8da6def55c582f2ce59d561e896a66e570478eda5169747a6ea3575cfa60d28b", - "typeString": "literal_string \"log(address,address,uint256,address)\"" - }, - "value": "log(address,address,uint256,address)" - }, - { - "id": 23401, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23388, - "src": "66638:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23402, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23390, - "src": "66642:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23403, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23392, - "src": "66646:2:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 23404, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23394, - "src": "66650:2:10", - "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": 23398, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66574:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23399, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66578:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66574:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66574:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23397, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "66558:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66558:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23407, - "nodeType": "ExpressionStatement", - "src": "66558:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66482:3:10", - "parameters": { - "id": 23395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23388, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66494:2:10", - "nodeType": "VariableDeclaration", - "scope": 23409, - "src": "66486:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23387, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66486:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23390, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66506:2:10", - "nodeType": "VariableDeclaration", - "scope": 23409, - "src": "66498:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23389, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66498:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23392, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66518:2:10", - "nodeType": "VariableDeclaration", - "scope": 23409, - "src": "66510:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23391, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "66510:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23394, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66530:2:10", - "nodeType": "VariableDeclaration", - "scope": 23409, - "src": "66522:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23393, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66522:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "66485:48:10" - }, - "returnParameters": { - "id": 23396, - "nodeType": "ParameterList", - "parameters": [], - "src": "66548:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23432, - "nodeType": "FunctionDefinition", - "src": "66667:193:10", - "body": { - "id": 23431, - "nodeType": "Block", - "src": "66748:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c75696e7432353629", - "id": 23423, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "66798:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef1cefe7e092dcc5b0ed6bc72a78756f9c352fc002139efb9b181c734d5d45d5", - "typeString": "literal_string \"log(address,address,string,uint256)\"" - }, - "value": "log(address,address,string,uint256)" - }, - { - "id": 23424, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23411, - "src": "66837:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23425, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23413, - "src": "66841:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23426, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23415, - "src": "66845:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23427, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23417, - "src": "66849:2:10", - "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": 23421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66774:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66778:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66774:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66774:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23420, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "66758:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66758:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23430, - "nodeType": "ExpressionStatement", - "src": "66758:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66676:3:10", - "parameters": { - "id": 23418, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23411, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66688:2:10", - "nodeType": "VariableDeclaration", - "scope": 23432, - "src": "66680:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23410, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66680:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23413, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66700:2:10", - "nodeType": "VariableDeclaration", - "scope": 23432, - "src": "66692:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23412, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66692:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23415, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66718:2:10", - "nodeType": "VariableDeclaration", - "scope": 23432, - "src": "66704:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23414, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66704:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23417, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66730:2:10", - "nodeType": "VariableDeclaration", - "scope": 23432, - "src": "66722:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "66722:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "66679:54:10" - }, - "returnParameters": { - "id": 23419, - "nodeType": "ParameterList", - "parameters": [], - "src": "66748:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23455, - "nodeType": "FunctionDefinition", - "src": "66866:198:10", - "body": { - "id": 23454, - "nodeType": "Block", - "src": "66953:111:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c737472696e6729", - "id": 23446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67003:36:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_21bdaf25c85279ffda21e4e2b9f685ff585c62a37c0ebe7ae25670fd06df3aa1", - "typeString": "literal_string \"log(address,address,string,string)\"" - }, - "value": "log(address,address,string,string)" - }, - { - "id": 23447, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23434, - "src": "67041:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23448, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23436, - "src": "67045:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23449, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23438, - "src": "67049:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23450, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23440, - "src": "67053:2:10", - "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": 23444, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "66979:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "66983:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "66979:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66979:77:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23443, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "66963:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "66963:94:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23453, - "nodeType": "ExpressionStatement", - "src": "66963:94:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "66875:3:10", - "parameters": { - "id": 23441, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23434, - "mutability": "mutable", - "name": "p0", - "nameLocation": "66887:2:10", - "nodeType": "VariableDeclaration", - "scope": 23455, - "src": "66879:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23433, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66879:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23436, - "mutability": "mutable", - "name": "p1", - "nameLocation": "66899:2:10", - "nodeType": "VariableDeclaration", - "scope": 23455, - "src": "66891:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23435, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "66891:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23438, - "mutability": "mutable", - "name": "p2", - "nameLocation": "66917:2:10", - "nodeType": "VariableDeclaration", - "scope": 23455, - "src": "66903:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23437, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66903:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23440, - "mutability": "mutable", - "name": "p3", - "nameLocation": "66935:2:10", - "nodeType": "VariableDeclaration", - "scope": 23455, - "src": "66921:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23439, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "66921:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "66878:60:10" - }, - "returnParameters": { - "id": 23442, - "nodeType": "ParameterList", - "parameters": [], - "src": "66953:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23478, - "nodeType": "FunctionDefinition", - "src": "67070:187:10", - "body": { - "id": 23477, - "nodeType": "Block", - "src": "67148:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c626f6f6c29", - "id": 23469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67198:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f1a594e70810560eaae5bbc82bc991f1120ac326ec142f6fb212682169447fd", - "typeString": "literal_string \"log(address,address,string,bool)\"" - }, - "value": "log(address,address,string,bool)" - }, - { - "id": 23470, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23457, - "src": "67234:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23471, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23459, - "src": "67238:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23472, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23461, - "src": "67242:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23473, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23463, - "src": "67246:2:10", - "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": 23467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67174:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67178:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67174:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67174:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23466, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "67158:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67158:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23476, - "nodeType": "ExpressionStatement", - "src": "67158:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67079:3:10", - "parameters": { - "id": 23464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23457, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67091:2:10", - "nodeType": "VariableDeclaration", - "scope": 23478, - "src": "67083:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23456, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67083:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23459, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67103:2:10", - "nodeType": "VariableDeclaration", - "scope": 23478, - "src": "67095:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23458, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67095:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23461, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67121:2:10", - "nodeType": "VariableDeclaration", - "scope": 23478, - "src": "67107:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23460, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "67107:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23463, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67130:2:10", - "nodeType": "VariableDeclaration", - "scope": 23478, - "src": "67125:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23462, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67125:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "67082:51:10" - }, - "returnParameters": { - "id": 23465, - "nodeType": "ParameterList", - "parameters": [], - "src": "67148:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23501, - "nodeType": "FunctionDefinition", - "src": "67263:193:10", - "body": { - "id": 23500, - "nodeType": "Block", - "src": "67344:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c6164647265737329", - "id": 23492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67394:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f736d1685010d3a1ac02ed96109cdd5141fd92077c14203bc63442ad9b6a687", - "typeString": "literal_string \"log(address,address,string,address)\"" - }, - "value": "log(address,address,string,address)" - }, - { - "id": 23493, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23480, - "src": "67433:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23494, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23482, - "src": "67437:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23495, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23484, - "src": "67441:2:10", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 23496, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23486, - "src": "67445:2:10", - "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": 23490, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67370:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67374:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67370:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67370:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23489, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "67354:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67354:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23499, - "nodeType": "ExpressionStatement", - "src": "67354:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67272:3:10", - "parameters": { - "id": 23487, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23480, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67284:2:10", - "nodeType": "VariableDeclaration", - "scope": 23501, - "src": "67276:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23479, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67276:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23482, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67296:2:10", - "nodeType": "VariableDeclaration", - "scope": 23501, - "src": "67288:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23481, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67288:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23484, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67314:2:10", - "nodeType": "VariableDeclaration", - "scope": 23501, - "src": "67300:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23483, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "67300:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23486, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67326:2:10", - "nodeType": "VariableDeclaration", - "scope": 23501, - "src": "67318:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23485, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67318:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "67275:54:10" - }, - "returnParameters": { - "id": 23488, - "nodeType": "ParameterList", - "parameters": [], - "src": "67344:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23524, - "nodeType": "FunctionDefinition", - "src": "67462:182:10", - "body": { - "id": 23523, - "nodeType": "Block", - "src": "67534:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c75696e7432353629", - "id": 23515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67584:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3971e78c267e3c99a8d143ab93f96daa498ed164b55c7e4c2a5439320fbc2671", - "typeString": "literal_string \"log(address,address,bool,uint256)\"" - }, - "value": "log(address,address,bool,uint256)" - }, - { - "id": 23516, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23503, - "src": "67621:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23517, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23505, - "src": "67625:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23518, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23507, - "src": "67629:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23519, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23509, - "src": "67633:2:10", - "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": 23513, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67560:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23514, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67564:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67560:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67560:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23512, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "67544:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67544:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23522, - "nodeType": "ExpressionStatement", - "src": "67544:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67471:3:10", - "parameters": { - "id": 23510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23503, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67483:2:10", - "nodeType": "VariableDeclaration", - "scope": 23524, - "src": "67475:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23502, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67475:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23505, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67495:2:10", - "nodeType": "VariableDeclaration", - "scope": 23524, - "src": "67487:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23504, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67487:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23507, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67504:2:10", - "nodeType": "VariableDeclaration", - "scope": 23524, - "src": "67499:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23506, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67499:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23509, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67516:2:10", - "nodeType": "VariableDeclaration", - "scope": 23524, - "src": "67508:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23508, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "67508:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "67474:45:10" - }, - "returnParameters": { - "id": 23511, - "nodeType": "ParameterList", - "parameters": [], - "src": "67534:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23547, - "nodeType": "FunctionDefinition", - "src": "67650:187:10", - "body": { - "id": 23546, - "nodeType": "Block", - "src": "67728:109:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c737472696e6729", - "id": 23538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67778:34:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aa6540c8e9a40f69e022e01a14ab22c94aae4999f1d7a246236f464d7c933b88", - "typeString": "literal_string \"log(address,address,bool,string)\"" - }, - "value": "log(address,address,bool,string)" - }, - { - "id": 23539, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23526, - "src": "67814:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23540, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23528, - "src": "67818:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23541, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23530, - "src": "67822:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23542, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23532, - "src": "67826:2:10", - "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": 23536, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67754:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67758:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67754:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67754:75:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23535, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "67738:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67738:92:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23545, - "nodeType": "ExpressionStatement", - "src": "67738:92:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67659:3:10", - "parameters": { - "id": 23533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23526, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67671:2:10", - "nodeType": "VariableDeclaration", - "scope": 23547, - "src": "67663:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67663:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23528, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67683:2:10", - "nodeType": "VariableDeclaration", - "scope": 23547, - "src": "67675:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23527, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67675:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23530, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67692:2:10", - "nodeType": "VariableDeclaration", - "scope": 23547, - "src": "67687:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23529, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67687:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23532, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67710:2:10", - "nodeType": "VariableDeclaration", - "scope": 23547, - "src": "67696:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23531, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "67696:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "67662:51:10" - }, - "returnParameters": { - "id": 23534, - "nodeType": "ParameterList", - "parameters": [], - "src": "67728:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23570, - "nodeType": "FunctionDefinition", - "src": "67843:176:10", - "body": { - "id": 23569, - "nodeType": "Block", - "src": "67912:107:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c626f6f6c29", - "id": 23561, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "67962:32:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2cd4134aedbc2cd722f2b9715dc3acb74b16b253590361dd98a4d6cb66119b65", - "typeString": "literal_string \"log(address,address,bool,bool)\"" - }, - "value": "log(address,address,bool,bool)" - }, - { - "id": 23562, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23549, - "src": "67996:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23563, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23551, - "src": "68000:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23564, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23553, - "src": "68004:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23565, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23555, - "src": "68008:2:10", - "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": 23559, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "67938:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "67942:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "67938:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67938:73:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23558, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "67922:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "67922:90:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23568, - "nodeType": "ExpressionStatement", - "src": "67922:90:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "67852:3:10", - "parameters": { - "id": 23556, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23549, - "mutability": "mutable", - "name": "p0", - "nameLocation": "67864:2:10", - "nodeType": "VariableDeclaration", - "scope": 23570, - "src": "67856:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23548, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67856:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23551, - "mutability": "mutable", - "name": "p1", - "nameLocation": "67876:2:10", - "nodeType": "VariableDeclaration", - "scope": 23570, - "src": "67868:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23550, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "67868:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23553, - "mutability": "mutable", - "name": "p2", - "nameLocation": "67885:2:10", - "nodeType": "VariableDeclaration", - "scope": 23570, - "src": "67880:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23552, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67880:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23555, - "mutability": "mutable", - "name": "p3", - "nameLocation": "67894:2:10", - "nodeType": "VariableDeclaration", - "scope": 23570, - "src": "67889:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23554, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "67889:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "67855:42:10" - }, - "returnParameters": { - "id": 23557, - "nodeType": "ParameterList", - "parameters": [], - "src": "67912:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23593, - "nodeType": "FunctionDefinition", - "src": "68025:182:10", - "body": { - "id": 23592, - "nodeType": "Block", - "src": "68097:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c6164647265737329", - "id": 23584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68147:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9f1bc36e6c1a1385bfe3a230338e478ee5447b81d25d35962aff021b2c578b9c", - "typeString": "literal_string \"log(address,address,bool,address)\"" - }, - "value": "log(address,address,bool,address)" - }, - { - "id": 23585, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23572, - "src": "68184:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23586, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23574, - "src": "68188:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23587, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23576, - "src": "68192:2:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 23588, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23578, - "src": "68196:2:10", - "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": 23582, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68123:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68127:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68123:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68123:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23581, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "68107:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68107:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23591, - "nodeType": "ExpressionStatement", - "src": "68107:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68034:3:10", - "parameters": { - "id": 23579, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23572, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68046:2:10", - "nodeType": "VariableDeclaration", - "scope": 23593, - "src": "68038:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23571, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68038:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23574, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68058:2:10", - "nodeType": "VariableDeclaration", - "scope": 23593, - "src": "68050:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23573, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68050:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23576, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68067:2:10", - "nodeType": "VariableDeclaration", - "scope": 23593, - "src": "68062:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23575, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "68062:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23578, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68079:2:10", - "nodeType": "VariableDeclaration", - "scope": 23593, - "src": "68071:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23577, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68071:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "68037:45:10" - }, - "returnParameters": { - "id": 23580, - "nodeType": "ParameterList", - "parameters": [], - "src": "68097:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23616, - "nodeType": "FunctionDefinition", - "src": "68213:188:10", - "body": { - "id": 23615, - "nodeType": "Block", - "src": "68288:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c75696e7432353629", - "id": 23607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68338:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94250d77556167cb7a7fd3eb9433101f8af8848163edfced0c46147ba10a2577", - "typeString": "literal_string \"log(address,address,address,uint256)\"" - }, - "value": "log(address,address,address,uint256)" - }, - { - "id": 23608, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23595, - "src": "68378:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23609, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23597, - "src": "68382:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23610, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23599, - "src": "68386:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23611, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23601, - "src": "68390:2:10", - "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": 23605, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68314:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68318:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68314:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68314:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23604, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "68298:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68298:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23614, - "nodeType": "ExpressionStatement", - "src": "68298:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68222:3:10", - "parameters": { - "id": 23602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23595, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68234:2:10", - "nodeType": "VariableDeclaration", - "scope": 23616, - "src": "68226:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23594, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68226:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23597, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68246:2:10", - "nodeType": "VariableDeclaration", - "scope": 23616, - "src": "68238:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23596, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68238:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23599, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68258:2:10", - "nodeType": "VariableDeclaration", - "scope": 23616, - "src": "68250:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23598, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68250:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23601, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68270:2:10", - "nodeType": "VariableDeclaration", - "scope": 23616, - "src": "68262:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 23600, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "68262:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "68225:48:10" - }, - "returnParameters": { - "id": 23603, - "nodeType": "ParameterList", - "parameters": [], - "src": "68288:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23639, - "nodeType": "FunctionDefinition", - "src": "68407:193:10", - "body": { - "id": 23638, - "nodeType": "Block", - "src": "68488:112:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c737472696e6729", - "id": 23630, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68538:37:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f808da2086fed855c3e15d9dbfed3b17a93ed9a59947aae6ab05b7e18576f025", - "typeString": "literal_string \"log(address,address,address,string)\"" - }, - "value": "log(address,address,address,string)" - }, - { - "id": 23631, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23618, - "src": "68577:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23632, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23620, - "src": "68581:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23633, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23622, - "src": "68585:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23634, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23624, - "src": "68589:2:10", - "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": 23628, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68514:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68518:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68514:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68514:78:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23627, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "68498:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68498:95:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23637, - "nodeType": "ExpressionStatement", - "src": "68498:95:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68416:3:10", - "parameters": { - "id": 23625, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23618, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68428:2:10", - "nodeType": "VariableDeclaration", - "scope": 23639, - "src": "68420:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23617, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68420:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23620, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68440:2:10", - "nodeType": "VariableDeclaration", - "scope": 23639, - "src": "68432:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23619, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68432:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23622, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68452:2:10", - "nodeType": "VariableDeclaration", - "scope": 23639, - "src": "68444:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23621, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68444:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23624, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68470:2:10", - "nodeType": "VariableDeclaration", - "scope": 23639, - "src": "68456:16:10", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 23623, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "68456:6:10", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "68419:54:10" - }, - "returnParameters": { - "id": 23626, - "nodeType": "ParameterList", - "parameters": [], - "src": "68488:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23662, - "nodeType": "FunctionDefinition", - "src": "68606:182:10", - "body": { - "id": 23661, - "nodeType": "Block", - "src": "68678:110:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c626f6f6c29", - "id": 23653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68728:35:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e378994a4cd2663acfd73a7ad4e09d196e4fb7ee05b7cdf0708eb30271e2afb", - "typeString": "literal_string \"log(address,address,address,bool)\"" - }, - "value": "log(address,address,address,bool)" - }, - { - "id": 23654, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23641, - "src": "68765:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23655, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23643, - "src": "68769:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23656, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23645, - "src": "68773:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23657, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23647, - "src": "68777:2:10", - "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": 23651, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68704:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68708:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68704:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68704:76:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23650, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "68688:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68688:93:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23660, - "nodeType": "ExpressionStatement", - "src": "68688:93:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68615:3:10", - "parameters": { - "id": 23648, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23641, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68627:2:10", - "nodeType": "VariableDeclaration", - "scope": 23662, - "src": "68619:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23640, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68619:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23643, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68639:2:10", - "nodeType": "VariableDeclaration", - "scope": 23662, - "src": "68631:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23642, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68631:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23645, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68651:2:10", - "nodeType": "VariableDeclaration", - "scope": 23662, - "src": "68643:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23644, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68643:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23647, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68660:2:10", - "nodeType": "VariableDeclaration", - "scope": 23662, - "src": "68655:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 23646, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "68655:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "68618:45:10" - }, - "returnParameters": { - "id": 23649, - "nodeType": "ParameterList", - "parameters": [], - "src": "68678:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 23685, - "nodeType": "FunctionDefinition", - "src": "68794:188:10", - "body": { - "id": 23684, - "nodeType": "Block", - "src": "68869:113:10", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c6164647265737329", - "id": 23676, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "68919:38:10", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665bf1345e006aa321c0b6b71bed55ce0d6cdd812632f8c43114f62c55ffa0b5", - "typeString": "literal_string \"log(address,address,address,address)\"" - }, - "value": "log(address,address,address,address)" - }, - { - "id": 23677, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23664, - "src": "68959:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23678, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23666, - "src": "68963:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23679, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23668, - "src": "68967:2:10", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 23680, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23670, - "src": "68971:2:10", - "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": 23674, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "68895:3:10", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 23675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "68899:19:10", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "68895:23:10", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 23681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68895:79:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 23673, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 15646, - "src": "68879:15:10", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 23682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "68879:96:10", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23683, - "nodeType": "ExpressionStatement", - "src": "68879:96:10" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "68803:3:10", - "parameters": { - "id": 23671, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 23664, - "mutability": "mutable", - "name": "p0", - "nameLocation": "68815:2:10", - "nodeType": "VariableDeclaration", - "scope": 23685, - "src": "68807:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23663, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68807:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23666, - "mutability": "mutable", - "name": "p1", - "nameLocation": "68827:2:10", - "nodeType": "VariableDeclaration", - "scope": 23685, - "src": "68819:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68819:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23668, - "mutability": "mutable", - "name": "p2", - "nameLocation": "68839:2:10", - "nodeType": "VariableDeclaration", - "scope": 23685, - "src": "68831:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23667, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68831:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 23670, - "mutability": "mutable", - "name": "p3", - "nameLocation": "68851:2:10", - "nodeType": "VariableDeclaration", - "scope": 23685, - "src": "68843:10:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 23669, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "68843:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "68806:48:10" - }, - "returnParameters": { - "id": 23672, - "nodeType": "ParameterList", - "parameters": [], - "src": "68869:0:10" - }, - "scope": 23686, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "console2", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 23686 - ], - "name": "console2", - "nameLocation": "523:8:10", - "scope": 23687, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 10 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206bbcf65aeab81bd2a1c5c4f6240297773d181949245cc3aa4aba5b2ab567ffb164736f6c63430008170033","sourceMap":"515:68470:10:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;515:68470:10;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206bbcf65aeab81bd2a1c5c4f6240297773d181949245cc3aa4aba5b2ab567ffb164736f6c63430008170033","sourceMap":"515:68470:10:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/console2.sol\":\"console2\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/src/console2.sol":"console2"},"evmVersion":"paris","libraries":{}},"sources":{"lib/forge-std/src/console2.sol":{"keccak256":"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671","urls":["bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f","dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW"],"license":"MIT"}},"version":1},"id":10} \ No newline at end of file diff --git a/out/draft-EIP712.sol/EIP712.json b/out/draft-EIP712.sol/EIP712.json index d2c6bfd..8353556 100644 --- a/out/draft-EIP712.sol/EIP712.json +++ b/out/draft-EIP712.sol/EIP712.json @@ -1,2080 +1 @@ -{ - "abi": [], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": {}, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in their contracts using a combination of `abi.encode` and `keccak256`. This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA ({_hashTypedDataV4}). The implementation of the domain separator was designed to be as efficient as possible while still properly updating the chain id to protect against replay attacks on an eventual fork of the chain. NOTE: This contract implements the version of the encoding known as \\\"v4\\\", as implemented by the JSON RPC method https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. _Available since v3.4._\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the domain separator and parameter caches. The meaning of `name` and `version` is specified in https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. - `version`: the current major version of the signing domain. NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart contract upgrade].\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":\"EIP712\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": { - "constructor": { - "details": "Initializes the domain separator and parameter caches. The meaning of `name` and `version` is specified in https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. - `version`: the current major version of the signing domain. NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart contract upgrade]." - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol": "EIP712" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/utils/Strings.sol": { - "keccak256": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": { - "keccak256": "0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29", - "urls": [ - "bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7", - "dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol": { - "keccak256": "0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7", - "urls": [ - "bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba", - "dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol", - "id": 27696, - "exportedSymbols": { - "ECDSA": [ - 27541 - ], - "EIP712": [ - 27695 - ], - "Strings": [ - 27134 - ] - }, - "nodeType": "SourceUnit", - "src": "104:4403:37", - "nodes": [ - { - "id": 27543, - "nodeType": "PragmaDirective", - "src": "104:23:37", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 27544, - "nodeType": "ImportDirective", - "src": "129:21:37", - "absolutePath": "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol", - "file": "./ECDSA.sol", - "nameLocation": "-1:-1:-1", - "scope": 27696, - "sourceUnit": 27542, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 27695, - "nodeType": "ContractDefinition", - "src": "1295:3211:37", - "nodes": [ - { - "id": 27547, - "nodeType": "VariableDeclaration", - "src": "1563:50:37", - "constant": false, - "mutability": "immutable", - "name": "_CACHED_DOMAIN_SEPARATOR", - "nameLocation": "1589:24:37", - "scope": 27695, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27546, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1563:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "private" - }, - { - "id": 27549, - "nodeType": "VariableDeclaration", - "src": "1619:42:37", - "constant": false, - "mutability": "immutable", - "name": "_CACHED_CHAIN_ID", - "nameLocation": "1645:16:37", - "scope": 27695, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 27548, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1619:7:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "private" - }, - { - "id": 27551, - "nodeType": "VariableDeclaration", - "src": "1667:38:37", - "constant": false, - "mutability": "immutable", - "name": "_CACHED_THIS", - "nameLocation": "1693:12:37", - "scope": 27695, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 27550, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1667:7:37", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "private" - }, - { - "id": 27553, - "nodeType": "VariableDeclaration", - "src": "1712:38:37", - "constant": false, - "mutability": "immutable", - "name": "_HASHED_NAME", - "nameLocation": "1738:12:37", - "scope": 27695, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27552, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1712:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "private" - }, - { - "id": 27555, - "nodeType": "VariableDeclaration", - "src": "1756:41:37", - "constant": false, - "mutability": "immutable", - "name": "_HASHED_VERSION", - "nameLocation": "1782:15:37", - "scope": 27695, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27554, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1756:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "private" - }, - { - "id": 27557, - "nodeType": "VariableDeclaration", - "src": "1803:36:37", - "constant": false, - "mutability": "immutable", - "name": "_TYPE_HASH", - "nameLocation": "1829:10:37", - "scope": 27695, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27556, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1803:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "private" - }, - { - "id": 27622, - "nodeType": "FunctionDefinition", - "src": "2455:602:37", - "body": { - "id": 27621, - "nodeType": "Block", - "src": "2510:547:37", - "statements": [ - { - "assignments": [ - 27566 - ], - "declarations": [ - { - "constant": false, - "id": 27566, - "mutability": "mutable", - "name": "hashedName", - "nameLocation": "2528:10:37", - "nodeType": "VariableDeclaration", - "scope": 27621, - "src": "2520:18:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27565, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2520:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 27573, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 27570, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27560, - "src": "2557:4:37", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 27569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2551:5:37", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 27568, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2551:5:37", - "typeDescriptions": {} - } - }, - "id": 27571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2551:11:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27567, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2541:9:37", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 27572, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2541:22:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2520:43:37" - }, - { - "assignments": [ - 27575 - ], - "declarations": [ - { - "constant": false, - "id": 27575, - "mutability": "mutable", - "name": "hashedVersion", - "nameLocation": "2581:13:37", - "nodeType": "VariableDeclaration", - "scope": 27621, - "src": "2573:21:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27574, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2573:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 27582, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 27579, - "name": "version", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27562, - "src": "2613:7:37", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "id": 27578, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2607:5:37", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 27577, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2607:5:37", - "typeDescriptions": {} - } - }, - "id": 27580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2607:14:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27576, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2597:9:37", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 27581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2597:25:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2573:49:37" - }, - { - "assignments": [ - 27584 - ], - "declarations": [ - { - "constant": false, - "id": 27584, - "mutability": "mutable", - "name": "typeHash", - "nameLocation": "2640:8:37", - "nodeType": "VariableDeclaration", - "scope": 27621, - "src": "2632:16:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27583, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2632:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "id": 27588, - "initialValue": { - "arguments": [ - { - "hexValue": "454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429", - "id": 27586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2674:84:37", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f", - "typeString": "literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"" - }, - "value": "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f", - "typeString": "literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"" - } - ], - "id": 27585, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2651:9:37", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 27587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2651:117:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2632:136:37" - }, - { - "expression": { - "id": 27591, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27589, - "name": "_HASHED_NAME", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27553, - "src": "2778:12:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 27590, - "name": "hashedName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27566, - "src": "2793:10:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2778:25:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 27592, - "nodeType": "ExpressionStatement", - "src": "2778:25:37" - }, - { - "expression": { - "id": 27595, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27593, - "name": "_HASHED_VERSION", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27555, - "src": "2813:15:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 27594, - "name": "hashedVersion", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27575, - "src": "2831:13:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2813:31:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 27596, - "nodeType": "ExpressionStatement", - "src": "2813:31:37" - }, - { - "expression": { - "id": 27600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27597, - "name": "_CACHED_CHAIN_ID", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27549, - "src": "2854:16:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 27598, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "2873:5:37", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 27599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2879:7:37", - "memberName": "chainid", - "nodeType": "MemberAccess", - "src": "2873:13:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2854:32:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27601, - "nodeType": "ExpressionStatement", - "src": "2854:32:37" - }, - { - "expression": { - "id": 27608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27602, - "name": "_CACHED_DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27547, - "src": "2896:24:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 27604, - "name": "typeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27584, - "src": "2945:8:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27605, - "name": "hashedName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27566, - "src": "2955:10:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27606, - "name": "hashedVersion", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27575, - "src": "2967:13:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27603, - "name": "_buildDomainSeparator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27678, - "src": "2923:21:37", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,bytes32) view returns (bytes32)" - } - }, - "id": 27607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2923:58:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "2896:85:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 27609, - "nodeType": "ExpressionStatement", - "src": "2896:85:37" - }, - { - "expression": { - "id": 27615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27610, - "name": "_CACHED_THIS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27551, - "src": "2991:12:37", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 27613, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3014:4:37", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EIP712_$27695", - "typeString": "contract EIP712" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EIP712_$27695", - "typeString": "contract EIP712" - } - ], - "id": 27612, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3006:7:37", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27611, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3006:7:37", - "typeDescriptions": {} - } - }, - "id": 27614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3006:13:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2991:28:37", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 27616, - "nodeType": "ExpressionStatement", - "src": "2991:28:37" - }, - { - "expression": { - "id": 27619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 27617, - "name": "_TYPE_HASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27557, - "src": "3029:10:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 27618, - "name": "typeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27584, - "src": "3042:8:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "3029:21:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 27620, - "nodeType": "ExpressionStatement", - "src": "3029:21:37" - } - ] - }, - "documentation": { - "id": 27558, - "nodeType": "StructuredDocumentation", - "src": "1891:559:37", - "text": " @dev Initializes the domain separator and parameter caches.\n The meaning of `name` and `version` is specified in\n https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:\n - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\n - `version`: the current major version of the signing domain.\n NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\n contract upgrade]." - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 27563, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27560, - "mutability": "mutable", - "name": "name", - "nameLocation": "2481:4:37", - "nodeType": "VariableDeclaration", - "scope": 27622, - "src": "2467:18:37", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27559, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2467:6:37", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27562, - "mutability": "mutable", - "name": "version", - "nameLocation": "2501:7:37", - "nodeType": "VariableDeclaration", - "scope": 27622, - "src": "2487:21:37", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 27561, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2487:6:37", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2466:43:37" - }, - "returnParameters": { - "id": 27564, - "nodeType": "ParameterList", - "parameters": [], - "src": "2510:0:37" - }, - "scope": 27695, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27651, - "nodeType": "FunctionDefinition", - "src": "3143:308:37", - "body": { - "id": 27650, - "nodeType": "Block", - "src": "3205:246:37", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 27638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 27633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "id": 27630, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3227:4:37", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EIP712_$27695", - "typeString": "contract EIP712" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EIP712_$27695", - "typeString": "contract EIP712" - } - ], - "id": 27629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3219:7:37", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27628, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3219:7:37", - "typeDescriptions": {} - } - }, - "id": 27631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3219:13:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 27632, - "name": "_CACHED_THIS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27551, - "src": "3236:12:37", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3219:29:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 27637, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 27634, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "3252:5:37", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 27635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3258:7:37", - "memberName": "chainid", - "nodeType": "MemberAccess", - "src": "3252:13:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 27636, - "name": "_CACHED_CHAIN_ID", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27549, - "src": "3269:16:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3252:33:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3219:66:37", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 27648, - "nodeType": "Block", - "src": "3349:96:37", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 27643, - "name": "_TYPE_HASH", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27557, - "src": "3392:10:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27644, - "name": "_HASHED_NAME", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27553, - "src": "3404:12:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27645, - "name": "_HASHED_VERSION", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27555, - "src": "3418:15:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 27642, - "name": "_buildDomainSeparator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27678, - "src": "3370:21:37", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32,bytes32) view returns (bytes32)" - } - }, - "id": 27646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3370:64:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 27627, - "id": 27647, - "nodeType": "Return", - "src": "3363:71:37" - } - ] - }, - "id": 27649, - "nodeType": "IfStatement", - "src": "3215:230:37", - "trueBody": { - "id": 27641, - "nodeType": "Block", - "src": "3287:56:37", - "statements": [ - { - "expression": { - "id": 27639, - "name": "_CACHED_DOMAIN_SEPARATOR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27547, - "src": "3308:24:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 27627, - "id": 27640, - "nodeType": "Return", - "src": "3301:31:37" - } - ] - } - } - ] - }, - "documentation": { - "id": 27623, - "nodeType": "StructuredDocumentation", - "src": "3063:75:37", - "text": " @dev Returns the domain separator for the current chain." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_domainSeparatorV4", - "nameLocation": "3152:18:37", - "parameters": { - "id": 27624, - "nodeType": "ParameterList", - "parameters": [], - "src": "3170:2:37" - }, - "returnParameters": { - "id": 27627, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27626, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27651, - "src": "3196:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27625, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3196:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "3195:9:37" - }, - "scope": 27695, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 27678, - "nodeType": "FunctionDefinition", - "src": "3457:257:37", - "body": { - "id": 27677, - "nodeType": "Block", - "src": "3606:108:37", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "id": 27665, - "name": "typeHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27653, - "src": "3644:8:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27666, - "name": "nameHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27655, - "src": "3654:8:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27667, - "name": "versionHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27657, - "src": "3664:11:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "expression": { - "id": 27668, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "3677:5:37", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 27669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3683:7:37", - "memberName": "chainid", - "nodeType": "MemberAccess", - "src": "3677:13:37", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "arguments": [ - { - "id": 27672, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3700:4:37", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EIP712_$27695", - "typeString": "contract EIP712" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EIP712_$27695", - "typeString": "contract EIP712" - } - ], - "id": 27671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3692:7:37", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 27670, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3692:7:37", - "typeDescriptions": {} - } - }, - "id": 27673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3692:13:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 27663, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3633:3:37", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 27664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3637:6:37", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3633:10:37", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 27674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3633:73:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 27662, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "3623:9:37", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 27675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3623:84:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 27661, - "id": 27676, - "nodeType": "Return", - "src": "3616:91:37" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_buildDomainSeparator", - "nameLocation": "3466:21:37", - "parameters": { - "id": 27658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27653, - "mutability": "mutable", - "name": "typeHash", - "nameLocation": "3505:8:37", - "nodeType": "VariableDeclaration", - "scope": 27678, - "src": "3497:16:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27652, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3497:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27655, - "mutability": "mutable", - "name": "nameHash", - "nameLocation": "3531:8:37", - "nodeType": "VariableDeclaration", - "scope": 27678, - "src": "3523:16:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27654, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3523:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 27657, - "mutability": "mutable", - "name": "versionHash", - "nameLocation": "3557:11:37", - "nodeType": "VariableDeclaration", - "scope": 27678, - "src": "3549:19:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27656, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3549:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "3487:87:37" - }, - "returnParameters": { - "id": 27661, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27660, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27678, - "src": "3597:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27659, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "3597:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "3596:9:37" - }, - "scope": 27695, - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "id": 27694, - "nodeType": "FunctionDefinition", - "src": "4339:165:37", - "body": { - "id": 27693, - "nodeType": "Block", - "src": "4425:79:37", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 27688, - "name": "_domainSeparatorV4", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27651, - "src": "4464:18:37", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$", - "typeString": "function () view returns (bytes32)" - } - }, - "id": 27689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4464:20:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 27690, - "name": "structHash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27681, - "src": "4486:10:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 27686, - "name": "ECDSA", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 27541, - "src": "4442:5:37", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ECDSA_$27541_$", - "typeString": "type(library ECDSA)" - } - }, - "id": 27687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4448:15:37", - "memberName": "toTypedDataHash", - "nodeType": "MemberAccess", - "referencedDeclaration": 27540, - "src": "4442:21:37", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$", - "typeString": "function (bytes32,bytes32) pure returns (bytes32)" - } - }, - "id": 27691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4442:55:37", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "functionReturnParameters": 27685, - "id": 27692, - "nodeType": "Return", - "src": "4435:62:37" - } - ] - }, - "documentation": { - "id": 27679, - "nodeType": "StructuredDocumentation", - "src": "3720:614:37", - "text": " @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\n function returns the hash of the fully encoded EIP712 message for this domain.\n This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\n ```solidity\n bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\n keccak256(\"Mail(address to,string contents)\"),\n mailTo,\n keccak256(bytes(mailContents))\n )));\n address signer = ECDSA.recover(digest, signature);\n ```" - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_hashTypedDataV4", - "nameLocation": "4348:16:37", - "parameters": { - "id": 27682, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27681, - "mutability": "mutable", - "name": "structHash", - "nameLocation": "4373:10:37", - "nodeType": "VariableDeclaration", - "scope": 27694, - "src": "4365:18:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27680, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4365:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4364:20:37" - }, - "returnParameters": { - "id": 27685, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 27684, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 27694, - "src": "4416:7:37", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 27683, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4416:7:37", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4415:9:37" - }, - "scope": 27695, - "stateMutability": "view", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [], - "canonicalName": "EIP712", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 27545, - "nodeType": "StructuredDocumentation", - "src": "152:1142:37", - "text": " @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.\n The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,\n thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding\n they need in their contracts using a combination of `abi.encode` and `keccak256`.\n This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\n scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\n ({_hashTypedDataV4}).\n The implementation of the domain separator was designed to be as efficient as possible while still properly updating\n the chain id to protect against replay attacks on an eventual fork of the chain.\n NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\n https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\n _Available since v3.4._" - }, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 27695 - ], - "name": "EIP712", - "nameLocation": "1313:6:37", - "scope": 27696, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 37 -} \ No newline at end of file +{"abi":[],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in their contracts using a combination of `abi.encode` and `keccak256`. This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA ({_hashTypedDataV4}). The implementation of the domain separator was designed to be as efficient as possible while still properly updating the chain id to protect against replay attacks on an eventual fork of the chain. NOTE: This contract implements the version of the encoding known as \\\"v4\\\", as implemented by the JSON RPC method https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. _Available since v3.4._\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the domain separator and parameter caches. The meaning of `name` and `version` is specified in https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. - `version`: the current major version of the signing domain. NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart contract upgrade].\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":\"EIP712\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{"constructor":{"details":"Initializes the domain separator and parameter caches. The meaning of `name` and `version` is specified in https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. - `version`: the current major version of the signing domain. NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart contract upgrade]."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol":"EIP712"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29","urls":["bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7","dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol":{"keccak256":"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7","urls":["bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba","dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT"],"license":"MIT"}},"version":1},"id":38} \ No newline at end of file diff --git a/out/draft-ERC721Votes.sol/ERC721Votes.json b/out/draft-ERC721Votes.sol/ERC721Votes.json index 52f07d6..2ad5cae 100644 --- a/out/draft-ERC721Votes.sol/ERC721Votes.json +++ b/out/draft-ERC721Votes.sol/ERC721Votes.json @@ -1,2022 +1 @@ -{ - "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": "delegator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "fromDelegate", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "toDelegate", - "type": "address" - } - ], - "name": "DelegateChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "delegate", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "previousBalance", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newBalance", - "type": "uint256" - } - ], - "name": "DelegateVotesChanged", - "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": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "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": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "delegate", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiry", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "delegateBySig", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "delegates", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "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": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getPastTotalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getPastVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "getVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "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": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "DOMAIN_SEPARATOR()": "3644e515", - "approve(address,uint256)": "095ea7b3", - "balanceOf(address)": "70a08231", - "delegate(address)": "5c19a95c", - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": "c3cda520", - "delegates(address)": "587cde1e", - "getApproved(uint256)": "081812fc", - "getPastTotalSupply(uint256)": "8e539e8c", - "getPastVotes(address,uint256)": "3a46b1a8", - "getVotes(address)": "9ab24eb0", - "isApprovedForAll(address,address)": "e985e9c5", - "name()": "06fdde03", - "nonces(address)": "7ecebe00", - "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.16+commit.07a7930e\"},\"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\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"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\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"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\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"Extension of ERC721 to support voting and delegation as implemented by {Votes}, where each individual NFT counts as 1 vote unit. Tokens do not count as votes until they are delegated, because votes must be tracked which incurs an additional cost on every transfer. Token holders can either delegate to a trusted representative who will decide how to make use of the votes in governance decisions, or they can delegate to themselves to be their own representative. _Available since v4.5._\",\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the contract's {EIP712} domain separator.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined\"},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"nonces(address)\":{\"details\":\"Returns an address nonce.\"},\"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/extensions/draft-ERC721Votes.sol\":\"ERC721Votes\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]},\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":{\"keccak256\":\"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767\",\"dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f\",\"dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol\":{\"keccak256\":\"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff\",\"dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]},\"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\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "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": "delegator", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "fromDelegate", - "type": "address", - "indexed": true - }, - { - "internalType": "address", - "name": "toDelegate", - "type": "address", - "indexed": true - } - ], - "type": "event", - "name": "DelegateChanged", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegate", - "type": "address", - "indexed": true - }, - { - "internalType": "uint256", - "name": "previousBalance", - "type": "uint256", - "indexed": false - }, - { - "internalType": "uint256", - "name": "newBalance", - "type": "uint256", - "indexed": false - } - ], - "type": "event", - "name": "DelegateVotesChanged", - "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": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "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": "address", - "name": "delegatee", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "delegate" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "expiry", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "delegateBySig" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "delegates", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPastTotalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPastVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getVotes", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "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": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "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": { - "DOMAIN_SEPARATOR()": { - "details": "Returns the contract's {EIP712} domain separator." - }, - "approve(address,uint256)": { - "details": "See {IERC721-approve}." - }, - "balanceOf(address)": { - "details": "See {IERC721-balanceOf}." - }, - "delegate(address)": { - "details": "Delegates votes from the sender to `delegatee`." - }, - "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)": { - "details": "Delegates votes from signer to `delegatee`." - }, - "delegates(address)": { - "details": "Returns the delegate that `account` has chosen." - }, - "getApproved(uint256)": { - "details": "See {IERC721-getApproved}." - }, - "getPastTotalSupply(uint256)": { - "details": "Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined" - }, - "getPastVotes(address,uint256)": { - "details": "Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined" - }, - "getVotes(address)": { - "details": "Returns the current amount of votes that `account` has." - }, - "isApprovedForAll(address,address)": { - "details": "See {IERC721-isApprovedForAll}." - }, - "name()": { - "details": "See {IERC721Metadata-name}." - }, - "nonces(address)": { - "details": "Returns an address nonce." - }, - "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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol": "ERC721Votes" - }, - "libraries": {} - }, - "sources": { - "node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol": { - "keccak256": "0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0", - "urls": [ - "bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86", - "dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/governance/utils/Votes.sol": { - "keccak256": "0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474", - "urls": [ - "bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767", - "dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol": { - "keccak256": "0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de", - "urls": [ - "bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f", - "dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol": { - "keccak256": "0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990", - "urls": [ - "bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849", - "dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": { - "keccak256": "0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f", - "urls": [ - "bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f", - "dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a" - ], - "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/token/ERC721/extensions/draft-ERC721Votes.sol": { - "keccak256": "0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658", - "urls": [ - "bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff", - "dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Address.sol": { - "keccak256": "0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87", - "urls": [ - "bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58", - "dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/Checkpoints.sol": { - "keccak256": "0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c", - "urls": [ - "bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb", - "dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ" - ], - "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": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45", - "urls": [ - "bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30", - "dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": { - "keccak256": "0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29", - "urls": [ - "bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7", - "dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol": { - "keccak256": "0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7", - "urls": [ - "bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba", - "dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT" - ], - "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": "0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2", - "urls": [ - "bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6", - "dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr" - ], - "license": "MIT" - }, - "node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": { - "keccak256": "0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7", - "urls": [ - "bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1", - "dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol", - "id": 26307, - "exportedSymbols": { - "Address": [ - 26601 - ], - "Checkpoints": [ - 26835 - ], - "Context": [ - 26857 - ], - "Counters": [ - 26931 - ], - "ECDSA": [ - 27541 - ], - "EIP712": [ - 27695 - ], - "ERC165": [ - 27719 - ], - "ERC721": [ - 26095 - ], - "ERC721Votes": [ - 26306 - ], - "IERC165": [ - 27731 - ], - "IERC721": [ - 26211 - ], - "IERC721Metadata": [ - 26256 - ], - "IERC721Receiver": [ - 26229 - ], - "IVotes": [ - 24772 - ], - "Math": [ - 27819 - ], - "SafeCast": [ - 28212 - ], - "Strings": [ - 27134 - ], - "Votes": [ - 25226 - ] - }, - "nodeType": "SourceUnit", - "src": "129:1234:30", - "nodes": [ - { - "id": 26258, - "nodeType": "PragmaDirective", - "src": "129:23:30", - "literals": [ - "solidity", - "^", - "0.8", - ".0" - ] - }, - { - "id": 26259, - "nodeType": "ImportDirective", - "src": "154:23:30", - "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol", - "file": "../ERC721.sol", - "nameLocation": "-1:-1:-1", - "scope": 26307, - "sourceUnit": 26096, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26260, - "nodeType": "ImportDirective", - "src": "178:45:30", - "absolutePath": "node_modules/@openzeppelin/contracts/governance/utils/Votes.sol", - "file": "../../../governance/utils/Votes.sol", - "nameLocation": "-1:-1:-1", - "scope": 26307, - "sourceUnit": 25227, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 26306, - "nodeType": "ContractDefinition", - "src": "750:612:30", - "nodes": [ - { - "id": 26291, - "nodeType": "FunctionDefinition", - "src": "932:232:30", - "body": { - "id": 26290, - "nodeType": "Block", - "src": "1060:104:30", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26277, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26268, - "src": "1091:4:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26278, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26270, - "src": "1097:2:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "31", - "id": 26279, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1101:1:30", - "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_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "id": 26276, - "name": "_transferVotingUnits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25063, - "src": "1070:20:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 26280, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1070:33:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26281, - "nodeType": "ExpressionStatement", - "src": "1070:33:30" - }, - { - "expression": { - "arguments": [ - { - "id": 26285, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26268, - "src": "1139:4:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26286, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26270, - "src": "1145:2:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 26287, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26272, - "src": "1149:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 26282, - "name": "super", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -25, - "src": "1113:5:30", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_ERC721Votes_$26306_$", - "typeString": "type(contract super ERC721Votes)" - } - }, - "id": 26284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1119:19:30", - "memberName": "_afterTokenTransfer", - "nodeType": "MemberAccess", - "referencedDeclaration": 26094, - "src": "1113:25:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 26288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1113:44:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 26289, - "nodeType": "ExpressionStatement", - "src": "1113:44:30" - } - ] - }, - "baseFunctions": [ - 26094 - ], - "documentation": { - "id": 26266, - "nodeType": "StructuredDocumentation", - "src": "803:124:30", - "text": " @dev Adjusts votes when tokens are transferred.\n Emits a {Votes-DelegateVotesChanged} event." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_afterTokenTransfer", - "nameLocation": "941:19:30", - "overrides": { - "id": 26274, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1051:8:30" - }, - "parameters": { - "id": 26273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26268, - "mutability": "mutable", - "name": "from", - "nameLocation": "978:4:30", - "nodeType": "VariableDeclaration", - "scope": 26291, - "src": "970:12:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26267, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "970:7:30", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26270, - "mutability": "mutable", - "name": "to", - "nameLocation": "1000:2:30", - "nodeType": "VariableDeclaration", - "scope": 26291, - "src": "992:10:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26269, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "992:7:30", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 26272, - "mutability": "mutable", - "name": "tokenId", - "nameLocation": "1020:7:30", - "nodeType": "VariableDeclaration", - "scope": 26291, - "src": "1012:15:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26271, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1012:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "960:73:30" - }, - "returnParameters": { - "id": 26275, - "nodeType": "ParameterList", - "parameters": [], - "src": "1060:0:30" - }, - "scope": 26306, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - }, - { - "id": 26305, - "nodeType": "FunctionDefinition", - "src": "1232:128:30", - "body": { - "id": 26304, - "nodeType": "Block", - "src": "1318:42:30", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 26301, - "name": "account", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 26294, - "src": "1345:7:30", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 26300, - "name": "balanceOf", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 25347, - "src": "1335:9:30", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view returns (uint256)" - } - }, - "id": 26302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1335:18:30", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 26299, - "id": 26303, - "nodeType": "Return", - "src": "1328:25:30" - } - ] - }, - "baseFunctions": [ - 25225 - ], - "documentation": { - "id": 26292, - "nodeType": "StructuredDocumentation", - "src": "1170:57:30", - "text": " @dev Returns the balance of `account`." - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_getVotingUnits", - "nameLocation": "1241:15:30", - "overrides": { - "id": 26296, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1291:8:30" - }, - "parameters": { - "id": 26295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26294, - "mutability": "mutable", - "name": "account", - "nameLocation": "1265:7:30", - "nodeType": "VariableDeclaration", - "scope": 26305, - "src": "1257:15:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 26293, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1257:7:30", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1256:17:30" - }, - "returnParameters": { - "id": 26299, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 26298, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 26305, - "src": "1309:7:30", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 26297, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1309:7:30", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1308:9:30" - }, - "scope": 26306, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": true, - "baseContracts": [ - { - "baseName": { - "id": 26262, - "name": "ERC721", - "nameLocations": [ - "783:6:30" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 26095, - "src": "783:6:30" - }, - "id": 26263, - "nodeType": "InheritanceSpecifier", - "src": "783:6:30" - }, - { - "baseName": { - "id": 26264, - "name": "Votes", - "nameLocations": [ - "791:5:30" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 25226, - "src": "791:5:30" - }, - "id": 26265, - "nodeType": "InheritanceSpecifier", - "src": "791:5:30" - } - ], - "canonicalName": "ERC721Votes", - "contractDependencies": [], - "contractKind": "contract", - "documentation": { - "id": 26261, - "nodeType": "StructuredDocumentation", - "src": "225:524:30", - "text": " @dev Extension of ERC721 to support voting and delegation as implemented by {Votes}, where each individual NFT counts\n as 1 vote unit.\n Tokens do not count as votes until they are delegated, because votes must be tracked which incurs an additional cost\n on every transfer. Token holders can either delegate to a trusted representative who will decide how to make use of\n the votes in governance decisions, or they can delegate to themselves to be their own representative.\n _Available since v4.5._" - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 26306, - 25226, - 27695, - 26095, - 26256, - 26211, - 27719, - 27731, - 26857, - 24772 - ], - "name": "ERC721Votes", - "nameLocation": "768:11:30", - "scope": 26307, - "usedErrors": [] - } - ], - "license": "MIT" - }, - "id": 30 -} \ No newline at end of file +{"abi":[{"type":"function","name":"DOMAIN_SEPARATOR","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"approve","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"delegate","inputs":[{"name":"delegatee","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"delegateBySig","inputs":[{"name":"delegatee","type":"address","internalType":"address"},{"name":"nonce","type":"uint256","internalType":"uint256"},{"name":"expiry","type":"uint256","internalType":"uint256"},{"name":"v","type":"uint8","internalType":"uint8"},{"name":"r","type":"bytes32","internalType":"bytes32"},{"name":"s","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"delegates","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getApproved","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getPastTotalSupply","inputs":[{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getPastVotes","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"blockNumber","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getVotes","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"isApprovedForAll","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"nonces","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"ownerOf","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"safeTransferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"_data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setApprovalForAll","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"tokenURI","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"type":"event","name":"DelegateChanged","inputs":[{"name":"delegator","type":"address","indexed":true,"internalType":"address"},{"name":"fromDelegate","type":"address","indexed":true,"internalType":"address"},{"name":"toDelegate","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"DelegateVotesChanged","inputs":[{"name":"delegate","type":"address","indexed":true,"internalType":"address"},{"name":"previousBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newBalance","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","delegate(address)":"5c19a95c","delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)":"c3cda520","delegates(address)":"587cde1e","getApproved(uint256)":"081812fc","getPastTotalSupply(uint256)":"8e539e8c","getPastVotes(address,uint256)":"3a46b1a8","getVotes(address)":"9ab24eb0","isApprovedForAll(address,address)":"e985e9c5","name()":"06fdde03","nonces(address)":"7ecebe00","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.23+commit.f704f362\"},\"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\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"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\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"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\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"Extension of ERC721 to support voting and delegation as implemented by {Votes}, where each individual NFT counts as 1 vote unit. Tokens do not count as votes until they are delegated, because votes must be tracked which incurs an additional cost on every transfer. Token holders can either delegate to a trusted representative who will decide how to make use of the votes in governance decisions, or they can delegate to themselves to be their own representative. _Available since v4.5._\",\"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.\"},\"DelegateChanged(address,address,address)\":{\"details\":\"Emitted when an account changes their delegate.\"},\"DelegateVotesChanged(address,uint256,uint256)\":{\"details\":\"Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the contract's {EIP712} domain separator.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"delegate(address)\":{\"details\":\"Delegates votes from the sender to `delegatee`.\"},\"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Delegates votes from signer to `delegatee`.\"},\"delegates(address)\":{\"details\":\"Returns the delegate that `account` has chosen.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"getPastTotalSupply(uint256)\":{\"details\":\"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined\"},\"getPastVotes(address,uint256)\":{\"details\":\"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined\"},\"getVotes(address)\":{\"details\":\"Returns the current amount of votes that `account` has.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"nonces(address)\":{\"details\":\"Returns an address nonce.\"},\"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/extensions/draft-ERC721Votes.sol\":\"ERC721Votes\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol\":{\"keccak256\":\"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86\",\"dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY\"]},\"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol\":{\"keccak256\":\"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767\",\"dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f\",\"dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849\",\"dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f\",\"dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x75b829ff2f26c14355d1cba20e16fe7b29ca58eb5fef665ede48bc0f9c6c74b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0a107160525724f9e1bbbab031defc2f298296dd9e331f16a6f7130cec32146\",\"dweb:/ipfs/QmemujxSd7gX8A9M8UwmNbz4Ms3U9FG9QfudUgxwvTmPWf\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol\":{\"keccak256\":\"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff\",\"dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb\",\"dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ\"]},\"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\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7\",\"dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol\":{\"keccak256\":\"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba\",\"dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT\"]},\"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\":\"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6\",\"dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.23+commit.f704f362"},"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":"delegator","type":"address","indexed":true},{"internalType":"address","name":"fromDelegate","type":"address","indexed":true},{"internalType":"address","name":"toDelegate","type":"address","indexed":true}],"type":"event","name":"DelegateChanged","anonymous":false},{"inputs":[{"internalType":"address","name":"delegate","type":"address","indexed":true},{"internalType":"uint256","name":"previousBalance","type":"uint256","indexed":false},{"internalType":"uint256","name":"newBalance","type":"uint256","indexed":false}],"type":"event","name":"DelegateVotesChanged","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":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"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":"address","name":"delegatee","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"delegate"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"delegateBySig"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function","name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"view","type":"function","name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"view","type":"function","name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"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":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function","name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"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":{"DOMAIN_SEPARATOR()":{"details":"Returns the contract's {EIP712} domain separator."},"approve(address,uint256)":{"details":"See {IERC721-approve}."},"balanceOf(address)":{"details":"See {IERC721-balanceOf}."},"delegate(address)":{"details":"Delegates votes from the sender to `delegatee`."},"delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)":{"details":"Delegates votes from signer to `delegatee`."},"delegates(address)":{"details":"Returns the delegate that `account` has chosen."},"getApproved(uint256)":{"details":"See {IERC721-getApproved}."},"getPastTotalSupply(uint256)":{"details":"Returns the total supply of votes available at the end of a past block (`blockNumber`). NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. Votes that have not been delegated are still part of total supply, even though they would not participate in a vote. Requirements: - `blockNumber` must have been already mined"},"getPastVotes(address,uint256)":{"details":"Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). Requirements: - `blockNumber` must have been already mined"},"getVotes(address)":{"details":"Returns the current amount of votes that `account` has."},"isApprovedForAll(address,address)":{"details":"See {IERC721-isApprovedForAll}."},"name()":{"details":"See {IERC721Metadata-name}."},"nonces(address)":{"details":"Returns an address nonce."},"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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol":"ERC721Votes"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol":{"keccak256":"0xf5324a55ee9c0b4a840ea57c055ac9d046f88986ceef567e1cf68113e46a79c0","urls":["bzz-raw://f41fe2bddc33c17ccccfc25379b1869354e9ee62d8b28d2acc95229eeba37a86","dweb:/ipfs/Qmb6SF2XL2uSvH6k5JSjtx4Xoqz41ACkhdAhtbW1Yh3RiY"],"license":"MIT"},"node_modules/@openzeppelin/contracts/governance/utils/Votes.sol":{"keccak256":"0x26f6fc6852d522db9f4ba1271394f830cc7191d2726a6f7678b8bce053dff474","urls":["bzz-raw://de2440e54ba65a63c2d988b27d7d33c9282af11047e2bff494362dddbabe8767","dweb:/ipfs/Qmb9mXnMyvDhoS38jdgCwrQzMGnCZHb2SUUnLemGtJm2FF"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"keccak256":"0x11b84bb56dc112a6590bfe3e0efa118aa1b5891132342200d04c4ef544cb93de","urls":["bzz-raw://cbc4803332d45dff58f865ed21c942fe4668e47cc7196c8dfe84102040b1d70f","dweb:/ipfs/QmXhZLsocznRWCSyhjo3vo66Z1VsuuNptAVb6ASPYsWtGx"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0x516a22876c1fab47f49b1bc22b4614491cd05338af8bd2e7b382da090a079990","urls":["bzz-raw://a439187f7126d31add4557f82d8aed6be0162007cd7182c48fd934dbab8f3849","dweb:/ipfs/QmRPLguRFvrRJS7r6F1bcLvsx6q1VrgjEpZafyeL8D7xZh"],"license":"MIT"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"keccak256":"0xd5fa74b4fb323776fa4a8158800fec9d5ac0fec0d6dd046dd93798632ada265f","urls":["bzz-raw://33017a30a99cc5411a9e376622c31fc4a55cfc6a335e2f57f00cbf24a817ff3f","dweb:/ipfs/QmWNQtWTPhA7Lo8nbxbc8KFMvZwbFYB8fSeEQ3vuapSV4a"],"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/token/ERC721/extensions/draft-ERC721Votes.sol":{"keccak256":"0xf8ed9992990306189c7c70f91b6cbd36150ce564a1117b885a155039986ba658","urls":["bzz-raw://1a8b711e1b2d939ffe985d9f8b513e21ee06e3d27e7c9bfb03929aad4219f8ff","dweb:/ipfs/QmYRyYv44VE7kAvLgLXQxV54oqjBK9jnfXijoAeYimmttC"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87","urls":["bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58","dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Checkpoints.sol":{"keccak256":"0x2e109f03a05809288a1478d4d9fcd0804229207e18d1164ce0597fb0958a159c","urls":["bzz-raw://d9495415607fcbd1c940e726f396c46892af8c8772247c002650deacaf5199fb","dweb:/ipfs/QmagLfEk1NCaJEMVDP3ix9BmXy6mccVUMfKAbWQFtjkjvJ"],"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":"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45","urls":["bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30","dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x3c07f43e60e099b3b157243b3152722e73b80eeb7985c2cd73712828d7f7da29","urls":["bzz-raw://466ffb5a6e3bd65fffd996f9287ffd240ea21588a338c6efe143d94eaed014a7","dweb:/ipfs/Qmans3vvPJZcvxe9KLAPc9Xwe4TFVTJdzaQGpi62Vrhoe2"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol":{"keccak256":"0x6688fad58b9ec0286d40fa957152e575d5d8bd4c3aa80985efdb11b44f776ae7","urls":["bzz-raw://8bc00ab7f133cdaafd212a5cc6a16c8d37319721105d130c8e5af0c4e8f170ba","dweb:/ipfs/QmVmf6LVMfFiEkvKYLzSv3bGHzymEW93AcUuFrNUdY3NtT"],"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":"0xc995bddbca1ae19788db9f8b61e63385edd3fddf89693b612d5abd1a275974d2","urls":["bzz-raw://ab84f13e6e6e0823854a0cddd49e96df052092d5919f95587607f0ed28a64cb6","dweb:/ipfs/QmbNtqAq23ZDjCzHukQaa7B3y6rcobscm6FZF5PMQXcnVr"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7","urls":["bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1","dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E"],"license":"MIT"}},"version":1},"id":31} \ No newline at end of file diff --git a/out/test.sol/DSTest.json b/out/test.sol/DSTest.json index 25d7742..b568d6b 100644 --- a/out/test.sol/DSTest.json +++ b/out/test.sol/DSTest.json @@ -1,23717 +1 @@ -{ - "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": "0x60806040526000805460ff1916600117905534801561001d57600080fd5b5061024e8061002d6000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063ba414fa61461003b578063fa7626d414610057575b600080fd5b610043610064565b604051901515815260200160405180910390f35b6000546100439060ff1681565b60008054610100900460ff16156100845750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b1561018a5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610112917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc4916080016101bf565b60408051601f198184030181529082905261012c916101e3565b6000604051808303816000865af19150503d8060008114610169576040519150601f19603f3d011682016040523d82523d6000602084013e61016e565b606091505b509150508080602001905181019061018691906101f6565b9150505b919050565b6000815160005b818110156101b05760208185018101518683015201610196565b50600093019283525090919050565b6001600160e01b03198316815260006101db600483018461018f565b949350505050565b60006101ef828461018f565b9392505050565b60006020828403121561020857600080fd5b815180151581146101ef57600080fdfea264697066735822122001555e45cab35dc8466a987a800c105b756d4dad101a4a537684ffb50603c3f064736f6c63430008100033", - "sourceMap": "715:15435:4:-:0;;;1572:26;;;-1:-1:-1;;1572:26:4;1594:4;1572:26;;;715:15435;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063ba414fa61461003b578063fa7626d414610057575b600080fd5b610043610064565b604051901515815260200160405180910390f35b6000546100439060ff1681565b60008054610100900460ff16156100845750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b1561018a5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610112917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc4916080016101bf565b60408051601f198184030181529082905261012c916101e3565b6000604051808303816000865af19150503d8060008114610169576040519150601f19603f3d011682016040523d82523d6000602084013e61016e565b606091505b509150508080602001905181019061018691906101f6565b9150505b919050565b6000815160005b818110156101b05760208185018101518683015201610196565b50600093019283525090919050565b6001600160e01b03198316815260006101db600483018461018f565b949350505050565b60006101ef828461018f565b9392505050565b60006020828403121561020857600080fd5b815180151581146101ef57600080fdfea264697066735822122001555e45cab35dc8466a987a800c105b756d4dad101a4a537684ffb50603c3f064736f6c63430008100033", - "sourceMap": "715:15435:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1819:584;;;:::i;:::-;;;179:14:43;;172:22;154:41;;142:2;127:18;1819:584:4;;;;;;;1572:26;;;;;;;;;1819:584;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:4;;;;;;;;1819:584::o;1869:528::-;1941:17;2990:42;2978:55;3059:16;1980:374;;2196:43;;;1671:64;2196:43;;;380:51:43;;;-1:-1:-1;;;447:18:43;;;440:34;2196:43:4;;;;;;;;;353:18:43;;;2196:43:4;;;-1:-1:-1;;1671:64:4;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:4;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:4:o;485:322:43:-;526:3;564:5;558:12;588:1;598:128;612:6;609:1;606:13;598:128;;;709:4;694:13;;;690:24;;684:31;671:11;;;664:52;627:12;598:128;;;-1:-1:-1;781:1:43;745:16;;770:13;;;-1:-1:-1;745:16:43;;485:322;-1:-1:-1;485:322:43:o;812:278::-;-1:-1:-1;;;;;;997:33:43;;985:46;;967:3;1047:37;1081:1;1072:11;;1064:6;1047:37;:::i;:::-;1040:44;812:278;-1:-1:-1;;;;812:278:43:o;1095:189::-;1224:3;1249:29;1274:3;1266:6;1249:29;:::i;:::-;1242:36;1095:189;-1:-1:-1;;;1095:189:43:o;1289:277::-;1356:6;1409:2;1397:9;1388:7;1384:23;1380:32;1377:52;;;1425:1;1422;1415:12;1377:52;1457:9;1451:16;1510:5;1503:13;1496:21;1489:5;1486:32;1476:60;;1532:1;1529;1522:12", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_TEST()": "fa7626d4", - "failed()": "ba414fa6" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"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\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.16+commit.07a7930e" - }, - "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": [ - ":@contracts/=contracts/", - ":@ensdomains/=node_modules/@ensdomains/", - ":@jbx-protocol/=node_modules/@jbx-protocol/", - ":@openzeppelin/=node_modules/@openzeppelin/", - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "lib/forge-std/lib/ds-test/src/test.sol": "DSTest" - }, - "libraries": {} - }, - "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": 2273, - "exportedSymbols": { - "DSTest": [ - 2272 - ] - }, - "nodeType": "SourceUnit", - "src": "689:15462:4", - "nodes": [ - { - "id": 487, - "nodeType": "PragmaDirective", - "src": "689:24:4", - "literals": [ - "solidity", - ">=", - "0.5", - ".0" - ] - }, - { - "id": 2272, - "nodeType": "ContractDefinition", - "src": "715:15435:4", - "nodes": [ - { - "id": 491, - "nodeType": "EventDefinition", - "src": "737:38:4", - "anonymous": false, - "eventSelector": "41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "name": "log", - "nameLocation": "743:3:4", - "parameters": { - "id": 490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 489, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 491, - "src": "767:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 488, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "767:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "766:8:4" - } - }, - { - "id": 495, - "nodeType": "EventDefinition", - "src": "780:37:4", - "anonymous": false, - "eventSelector": "e7950ede0394b9f2ce4a5a1bf5a7e1852411f7e6661b4308c913c4bfd11027e4", - "name": "logs", - "nameLocation": "786:4:4", - "parameters": { - "id": 494, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 493, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 495, - "src": "810:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 492, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "810:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "809:7:4" - } - }, - { - "id": 499, - "nodeType": "EventDefinition", - "src": "823:39:4", - "anonymous": false, - "eventSelector": "7ae74c527414ae135fd97047b12921a5ec3911b804197855d67e25c7b75ee6f3", - "name": "log_address", - "nameLocation": "829:11:4", - "parameters": { - "id": 498, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 497, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 499, - "src": "853:7:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 496, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "853:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "852:9:4" - } - }, - { - "id": 503, - "nodeType": "EventDefinition", - "src": "867:39:4", - "anonymous": false, - "eventSelector": "e81699b85113eea1c73e10588b2b035e55893369632173afd43feb192fac64e3", - "name": "log_bytes32", - "nameLocation": "873:11:4", - "parameters": { - "id": 502, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 501, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 503, - "src": "897:7:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 500, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "897:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "896:9:4" - } - }, - { - "id": 507, - "nodeType": "EventDefinition", - "src": "911:35:4", - "anonymous": false, - "eventSelector": "0eb5d52624c8d28ada9fc55a8c502ed5aa3fbe2fb6e91b71b5f376882b1d2fb8", - "name": "log_int", - "nameLocation": "917:7:4", - "parameters": { - "id": 506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 505, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 507, - "src": "941:3:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 504, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "941:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "940:5:4" - } - }, - { - "id": 511, - "nodeType": "EventDefinition", - "src": "951:36:4", - "anonymous": false, - "eventSelector": "2cab9790510fd8bdfbd2115288db33fec66691d476efc5427cfd4c0969301755", - "name": "log_uint", - "nameLocation": "957:8:4", - "parameters": { - "id": 510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 509, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 511, - "src": "981:4:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 508, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "981:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "980:6:4" - } - }, - { - "id": 515, - "nodeType": "EventDefinition", - "src": "992:37:4", - "anonymous": false, - "eventSelector": "23b62ad0584d24a75f0bf3560391ef5659ec6db1269c56e11aa241d637f19b20", - "name": "log_bytes", - "nameLocation": "998:9:4", - "parameters": { - "id": 514, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 513, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 515, - "src": "1022:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 512, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1022:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1021:7:4" - } - }, - { - "id": 519, - "nodeType": "EventDefinition", - "src": "1034:38:4", - "anonymous": false, - "eventSelector": "0b2e13ff20ac7b474198655583edf70dedd2c1dc980e329c4fbb2fc0748b796b", - "name": "log_string", - "nameLocation": "1040:10:4", - "parameters": { - "id": 518, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 517, - "indexed": false, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 519, - "src": "1064:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 516, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1064:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1063:8:4" - } - }, - { - "id": 525, - "nodeType": "EventDefinition", - "src": "1078:55:4", - "anonymous": false, - "eventSelector": "9c4e8541ca8f0dc1c413f9108f66d82d3cecb1bddbce437a61caa3175c4cc96f", - "name": "log_named_address", - "nameLocation": "1084:17:4", - "parameters": { - "id": 524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 521, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1115:3:4", - "nodeType": "VariableDeclaration", - "scope": 525, - "src": "1108:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 520, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1108:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 523, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1128:3:4", - "nodeType": "VariableDeclaration", - "scope": 525, - "src": "1120:11:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 522, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1120:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1107:25:4" - } - }, - { - "id": 531, - "nodeType": "EventDefinition", - "src": "1138:55:4", - "anonymous": false, - "eventSelector": "afb795c9c61e4fe7468c386f925d7a5429ecad9c0495ddb8d38d690614d32f99", - "name": "log_named_bytes32", - "nameLocation": "1144:17:4", - "parameters": { - "id": 530, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 527, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1175:3:4", - "nodeType": "VariableDeclaration", - "scope": 531, - "src": "1168:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 526, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1168:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 529, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1188:3:4", - "nodeType": "VariableDeclaration", - "scope": 531, - "src": "1180:11:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 528, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1180:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "1167:25:4" - } - }, - { - "id": 539, - "nodeType": "EventDefinition", - "src": "1198:66:4", - "anonymous": false, - "eventSelector": "5da6ce9d51151ba10c09a559ef24d520b9dac5c5b8810ae8434e4d0d86411a95", - "name": "log_named_decimal_int", - "nameLocation": "1204:21:4", - "parameters": { - "id": 538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 533, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1235:3:4", - "nodeType": "VariableDeclaration", - "scope": 539, - "src": "1228:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 532, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1228:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 535, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1244:3:4", - "nodeType": "VariableDeclaration", - "scope": 539, - "src": "1240:7:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 534, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "1240:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 537, - "indexed": false, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "1254:8:4", - "nodeType": "VariableDeclaration", - "scope": 539, - "src": "1249:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 536, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1249:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1227:36:4" - } - }, - { - "id": 547, - "nodeType": "EventDefinition", - "src": "1269:67:4", - "anonymous": false, - "eventSelector": "eb8ba43ced7537421946bd43e828b8b2b8428927aa8f801c13d934bf11aca57b", - "name": "log_named_decimal_uint", - "nameLocation": "1275:22:4", - "parameters": { - "id": 546, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 541, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1306:3:4", - "nodeType": "VariableDeclaration", - "scope": 547, - "src": "1299:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 540, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1299:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 543, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1316:3:4", - "nodeType": "VariableDeclaration", - "scope": 547, - "src": "1311:8:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 542, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1311:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 545, - "indexed": false, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "1326:8:4", - "nodeType": "VariableDeclaration", - "scope": 547, - "src": "1321:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 544, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1321:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1298:37:4" - } - }, - { - "id": 553, - "nodeType": "EventDefinition", - "src": "1341:51:4", - "anonymous": false, - "eventSelector": "2fe632779174374378442a8e978bccfbdcc1d6b2b0d81f7e8eb776ab2286f168", - "name": "log_named_int", - "nameLocation": "1347:13:4", - "parameters": { - "id": 552, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 549, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1378:3:4", - "nodeType": "VariableDeclaration", - "scope": 553, - "src": "1371:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 548, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1371:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 551, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1387:3:4", - "nodeType": "VariableDeclaration", - "scope": 553, - "src": "1383:7:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 550, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "1383:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "1370:21:4" - } - }, - { - "id": 559, - "nodeType": "EventDefinition", - "src": "1397:52:4", - "anonymous": false, - "eventSelector": "b2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a8", - "name": "log_named_uint", - "nameLocation": "1403:14:4", - "parameters": { - "id": 558, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 555, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1434:3:4", - "nodeType": "VariableDeclaration", - "scope": 559, - "src": "1427:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 554, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1427:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 557, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1444:3:4", - "nodeType": "VariableDeclaration", - "scope": 559, - "src": "1439:8:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 556, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1439:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "1426:22:4" - } - }, - { - "id": 565, - "nodeType": "EventDefinition", - "src": "1454:53:4", - "anonymous": false, - "eventSelector": "d26e16cad4548705e4c9e2d94f98ee91c289085ee425594fd5635fa2964ccf18", - "name": "log_named_bytes", - "nameLocation": "1460:15:4", - "parameters": { - "id": 564, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 561, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1491:3:4", - "nodeType": "VariableDeclaration", - "scope": 565, - "src": "1484:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 560, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1484:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 563, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1502:3:4", - "nodeType": "VariableDeclaration", - "scope": 565, - "src": "1496:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 562, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1496:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1483:23:4" - } - }, - { - "id": 571, - "nodeType": "EventDefinition", - "src": "1512:54:4", - "anonymous": false, - "eventSelector": "280f4446b28a1372417dda658d30b95b2992b12ac9c7f378535f29a97acf3583", - "name": "log_named_string", - "nameLocation": "1518:16:4", - "parameters": { - "id": 570, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 567, - "indexed": false, - "mutability": "mutable", - "name": "key", - "nameLocation": "1549:3:4", - "nodeType": "VariableDeclaration", - "scope": 571, - "src": "1542:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 566, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1542:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 569, - "indexed": false, - "mutability": "mutable", - "name": "val", - "nameLocation": "1561:3:4", - "nodeType": "VariableDeclaration", - "scope": 571, - "src": "1554:10:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 568, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1554:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1541:24:4" - } - }, - { - "id": 574, - "nodeType": "VariableDeclaration", - "src": "1572:26:4", - "constant": false, - "functionSelector": "fa7626d4", - "mutability": "mutable", - "name": "IS_TEST", - "nameLocation": "1584:7:4", - "scope": 2272, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 572, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1572:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": { - "hexValue": "74727565", - "id": 573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1594:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "visibility": "public" - }, - { - "id": 576, - "nodeType": "VariableDeclaration", - "src": "1604:20:4", - "constant": false, - "mutability": "mutable", - "name": "_failed", - "nameLocation": "1617:7:4", - "scope": 2272, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 575, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1604:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "private" - }, - { - "id": 593, - "nodeType": "VariableDeclaration", - "src": "1631:104:4", - "constant": true, - "mutability": "constant", - "name": "HEVM_ADDRESS", - "nameLocation": "1648:12:4", - "scope": 2272, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 577, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1631:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6865766d20636865617420636f6465", - "id": 587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1713:17:4", - "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": 586, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "1703:9:4", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1703:28:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1695:7:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 584, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1695:7:4", - "typeDescriptions": {} - } - }, - "id": 589, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1695:37:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1687:7:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": { - "id": 582, - "name": "uint160", - "nodeType": "ElementaryTypeName", - "src": "1687:7:4", - "typeDescriptions": {} - } - }, - "id": 590, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1687:46:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1679:7:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes20_$", - "typeString": "type(bytes20)" - }, - "typeName": { - "id": 580, - "name": "bytes20", - "nodeType": "ElementaryTypeName", - "src": "1679:7:4", - "typeDescriptions": {} - } - }, - "id": 591, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1679:55:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - ], - "id": 579, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1671:7:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 578, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1671:7:4", - "typeDescriptions": {} - } - }, - "id": 592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1671:64:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "id": 597, - "nodeType": "ModifierDefinition", - "src": "1742:27:4", - "body": { - "id": 596, - "nodeType": "Block", - "src": "1763:6:4", - "statements": [ - { - "id": 595, - "nodeType": "PlaceholderStatement", - "src": "1765:1:4" - } - ] - }, - "name": "mayRevert", - "nameLocation": "1751:9:4", - "parameters": { - "id": 594, - "nodeType": "ParameterList", - "parameters": [], - "src": "1760:2:4" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 603, - "nodeType": "ModifierDefinition", - "src": "1774:39:4", - "body": { - "id": 602, - "nodeType": "Block", - "src": "1807:6:4", - "statements": [ - { - "id": 601, - "nodeType": "PlaceholderStatement", - "src": "1809:1:4" - } - ] - }, - "name": "testopts", - "nameLocation": "1783:8:4", - "parameters": { - "id": 600, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 599, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 603, - "src": "1792:13:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 598, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1792:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1791:15:4" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 658, - "nodeType": "FunctionDefinition", - "src": "1819:584:4", - "body": { - "id": 657, - "nodeType": "Block", - "src": "1859:544:4", - "statements": [ - { - "condition": { - "id": 608, - "name": "_failed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 576, - "src": "1873:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 655, - "nodeType": "Block", - "src": "1927:470:4", - "statements": [ - { - "assignments": [ - 613 - ], - "declarations": [ - { - "constant": false, - "id": 613, - "mutability": "mutable", - "name": "globalFailed", - "nameLocation": "1946:12:4", - "nodeType": "VariableDeclaration", - "scope": 655, - "src": "1941:17:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 612, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1941:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "id": 615, - "initialValue": { - "hexValue": "66616c7365", - "id": 614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1961:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1941:25:4" - }, - { - "condition": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 616, - "name": "hasHEVMContext", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 717, - "src": "1984:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1984:16:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 652, - "nodeType": "IfStatement", - "src": "1980:374:4", - "trueBody": { - "id": 651, - "nodeType": "Block", - "src": "2002:352:4", - "statements": [ - { - "assignments": [ - null, - 619 - ], - "declarations": [ - null, - { - "constant": false, - "id": 619, - "mutability": "mutable", - "name": "retdata", - "nameLocation": "2036:7:4", - "nodeType": "VariableDeclaration", - "scope": 651, - "src": "2023:20:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 618, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2023:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 640, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f616428616464726573732c6279746573333229", - "id": 627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2145:23:4", - "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": 626, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2135:9:4", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2135:34:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 625, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2128:6:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 624, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2128:6:4", - "typeDescriptions": {} - } - }, - "id": 629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2128:42:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 632, - "name": "HEVM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 593, - "src": "2207:12:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "6661696c6564", - "id": 635, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2229:8:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f44d68b1a26169d304522fa2f95aa938d98120d628d1db5726120ca84e53b43", - "typeString": "literal_string \"failed\"" - }, - "value": "failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8f44d68b1a26169d304522fa2f95aa938d98120d628d1db5726120ca84e53b43", - "typeString": "literal_string \"failed\"" - } - ], - "id": 634, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2221:7:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 633, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2221:7:4", - "typeDescriptions": {} - } - }, - "id": 636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2221:17:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 630, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2196:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 631, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2200:6:4", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2196:10:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2196:43:4", - "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": 622, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2086:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 623, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2090:12:4", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2086:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 638, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2086:175:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 620, - "name": "HEVM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 593, - "src": "2047:12:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2060:4:4", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "2047:17:4", - "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": 639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2047:232:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2020:259:4" - }, - { - "expression": { - "id": 649, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 641, - "name": "globalFailed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 613, - "src": "2297:12:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 644, - "name": "retdata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 619, - "src": "2323:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 646, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2333:4:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bool_$", - "typeString": "type(bool)" - }, - "typeName": { - "id": 645, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2333:4:4", - "typeDescriptions": {} - } - } - ], - "id": 647, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2332:6:4", - "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": 642, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2312:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2316:6:4", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2312:10:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 648, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2312:27:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2297:42:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 650, - "nodeType": "ExpressionStatement", - "src": "2297:42:4" - } - ] - } - }, - { - "expression": { - "id": 653, - "name": "globalFailed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 613, - "src": "2374:12:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 607, - "id": 654, - "nodeType": "Return", - "src": "2367:19:4" - } - ] - }, - "id": 656, - "nodeType": "IfStatement", - "src": "1869:528:4", - "trueBody": { - "id": 611, - "nodeType": "Block", - "src": "1882:39:4", - "statements": [ - { - "expression": { - "id": 609, - "name": "_failed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 576, - "src": "1903:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 607, - "id": 610, - "nodeType": "Return", - "src": "1896:14:4" - } - ] - } - } - ] - }, - "functionSelector": "ba414fa6", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "failed", - "nameLocation": "1828:6:4", - "parameters": { - "id": 604, - "nodeType": "ParameterList", - "parameters": [], - "src": "1834:2:4" - }, - "returnParameters": { - "id": 607, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 606, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 658, - "src": "1853:4:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 605, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1853:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "1852:6:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 702, - "nodeType": "FunctionDefinition", - "src": "2410:424:4", - "body": { - "id": 701, - "nodeType": "Block", - "src": "2435:399:4", - "statements": [ - { - "condition": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 661, - "name": "hasHEVMContext", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 717, - "src": "2449:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2449:16:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 696, - "nodeType": "IfStatement", - "src": "2445:359:4", - "trueBody": { - "id": 695, - "nodeType": "Block", - "src": "2467:337:4", - "statements": [ - { - "assignments": [ - 664, - null - ], - "declarations": [ - { - "constant": false, - "id": 664, - "mutability": "mutable", - "name": "status", - "nameLocation": "2487:6:4", - "nodeType": "VariableDeclaration", - "scope": 695, - "src": "2482:11:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 663, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2482:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - null - ], - "id": 692, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "73746f726528616464726573732c627974657333322c6279746573333229", - "id": 672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2589:32:4", - "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": 671, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "2579:9:4", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2579:43:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 670, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2572:6:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": { - "id": 669, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2572:6:4", - "typeDescriptions": {} - } - }, - "id": 674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2572:51:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 677, - "name": "HEVM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 593, - "src": "2656:12:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "6661696c6564", - "id": 680, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2678:8:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f44d68b1a26169d304522fa2f95aa938d98120d628d1db5726120ca84e53b43", - "typeString": "literal_string \"failed\"" - }, - "value": "failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8f44d68b1a26169d304522fa2f95aa938d98120d628d1db5726120ca84e53b43", - "typeString": "literal_string \"failed\"" - } - ], - "id": 679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2670:7:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 678, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2670:7:4", - "typeDescriptions": {} - } - }, - "id": 681, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2670:17:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "arguments": [ - { - "arguments": [ - { - "hexValue": "30783031", - "id": 686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2705:4:4", - "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": 685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2697:7:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": { - "id": 684, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2697:7:4", - "typeDescriptions": {} - } - }, - "id": 687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2697:13:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2689:7:4", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes32_$", - "typeString": "type(bytes32)" - }, - "typeName": { - "id": 682, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2689:7:4", - "typeDescriptions": {} - } - }, - "id": 688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2689:22:4", - "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": 675, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2645:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 676, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2649:6:4", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2645:10:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 689, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2645:67:4", - "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": 667, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2534:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2538:12:4", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "2534:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2534:196:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 665, - "name": "HEVM_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 593, - "src": "2499:12:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2512:4:4", - "memberName": "call", - "nodeType": "MemberAccess", - "src": "2499:17:4", - "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": 691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2499:245:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2481:263:4" - }, - { - "expression": { - "id": 693, - "name": "status", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 664, - "src": "2758:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 694, - "nodeType": "ExpressionStatement", - "src": "2758:6:4" - } - ] - } - }, - { - "expression": { - "id": 699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 697, - "name": "_failed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 576, - "src": "2813:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2823:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "2813:14:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 700, - "nodeType": "ExpressionStatement", - "src": "2813:14:4" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fail", - "nameLocation": "2419:4:4", - "parameters": { - "id": 659, - "nodeType": "ParameterList", - "parameters": [], - "src": "2423:2:4" - }, - "returnParameters": { - "id": 660, - "nodeType": "ParameterList", - "parameters": [], - "src": "2435:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 717, - "nodeType": "FunctionDefinition", - "src": "2840:242:4", - "body": { - "id": 716, - "nodeType": "Block", - "src": "2895:187:4", - "statements": [ - { - "assignments": [ - 708 - ], - "declarations": [ - { - "constant": false, - "id": 708, - "mutability": "mutable", - "name": "hevmCodeSize", - "nameLocation": "2913:12:4", - "nodeType": "VariableDeclaration", - "scope": 716, - "src": "2905:20:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 707, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2905:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 710, - "initialValue": { - "hexValue": "30", - "id": 709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2928:1:4", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2905:24:4" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "2948:95:4", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2962:71:4", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2990:42:4", - "type": "", - "value": "0x7109709ECfa91a80626fF3989D68f67F5b1DD12D" - } - ], - "functionName": { - "name": "extcodesize", - "nodeType": "YulIdentifier", - "src": "2978:11:4" - }, - "nodeType": "YulFunctionCall", - "src": "2978:55:4" - }, - "variableNames": [ - { - "name": "hevmCodeSize", - "nodeType": "YulIdentifier", - "src": "2962:12:4" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 708, - "isOffset": false, - "isSlot": false, - "src": "2962:12:4", - "valueSize": 1 - } - ], - "id": 711, - "nodeType": "InlineAssembly", - "src": "2939:104:4" - }, - { - "expression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 712, - "name": "hevmCodeSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 708, - "src": "3059:12:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "hexValue": "30", - "id": 713, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3074:1:4", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3059:16:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 706, - "id": 715, - "nodeType": "Return", - "src": "3052:23:4" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "hasHEVMContext", - "nameLocation": "2849:14:4", - "parameters": { - "id": 703, - "nodeType": "ParameterList", - "parameters": [], - "src": "2863:2:4" - }, - "returnParameters": { - "id": 706, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 705, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 717, - "src": "2889:4:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 704, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2889:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "2888:6:4" - }, - "scope": 2272, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 738, - "nodeType": "ModifierDefinition", - "src": "3088:161:4", - "body": { - "id": 737, - "nodeType": "Block", - "src": "3108:141:4", - "statements": [ - { - "assignments": [ - 720 - ], - "declarations": [ - { - "constant": false, - "id": 720, - "mutability": "mutable", - "name": "startGas", - "nameLocation": "3123:8:4", - "nodeType": "VariableDeclaration", - "scope": 737, - "src": "3118:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 719, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3118:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 723, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 721, - "name": "gasleft", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -7, - "src": "3134:7:4", - "typeDescriptions": { - "typeIdentifier": "t_function_gasleft_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3134:9:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3118:25:4" - }, - { - "id": 724, - "nodeType": "PlaceholderStatement", - "src": "3153:1:4" - }, - { - "assignments": [ - 726 - ], - "declarations": [ - { - "constant": false, - "id": 726, - "mutability": "mutable", - "name": "endGas", - "nameLocation": "3169:6:4", - "nodeType": "VariableDeclaration", - "scope": 737, - "src": "3164:11:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 725, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3164:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 729, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 727, - "name": "gasleft", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -7, - "src": "3178:7:4", - "typeDescriptions": { - "typeIdentifier": "t_function_gasleft_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3178:9:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3164:23:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "676173", - "id": 731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3217:5:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4498c2139ad6cf2beef3ae7bec34c4856d471c8680dfd28d553f117df74df6b7", - "typeString": "literal_string \"gas\"" - }, - "value": "gas" - }, - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 732, - "name": "startGas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 720, - "src": "3224:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "id": 733, - "name": "endGas", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "3235:6:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3224:17:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4498c2139ad6cf2beef3ae7bec34c4856d471c8680dfd28d553f117df74df6b7", - "typeString": "literal_string \"gas\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 730, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "3202:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 735, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3202:40:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 736, - "nodeType": "EmitStatement", - "src": "3197:45:4" - } - ] - }, - "name": "logs_gas", - "nameLocation": "3097:8:4", - "parameters": { - "id": 718, - "nodeType": "ParameterList", - "parameters": [], - "src": "3105:2:4" - }, - "virtual": false, - "visibility": "internal" - }, - { - "id": 755, - "nodeType": "FunctionDefinition", - "src": "3255:157:4", - "body": { - "id": 754, - "nodeType": "Block", - "src": "3300:112:4", - "statements": [ - { - "condition": { - "id": 744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3314:10:4", - "subExpression": { - "id": 743, - "name": "condition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 740, - "src": "3315:9:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 753, - "nodeType": "IfStatement", - "src": "3310:96:4", - "trueBody": { - "id": 752, - "nodeType": "Block", - "src": "3326:80:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a20417373657274696f6e204661696c6564", - "id": 746, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3349:25:4", - "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": 745, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "3345:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3345:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 748, - "nodeType": "EmitStatement", - "src": "3340:35:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 749, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "3389:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 751, - "nodeType": "ExpressionStatement", - "src": "3389:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertTrue", - "nameLocation": "3264:10:4", - "parameters": { - "id": 741, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 740, - "mutability": "mutable", - "name": "condition", - "nameLocation": "3280:9:4", - "nodeType": "VariableDeclaration", - "scope": 755, - "src": "3275:14:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 739, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3275:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "3274:16:4" - }, - "returnParameters": { - "id": 742, - "nodeType": "ParameterList", - "parameters": [], - "src": "3300:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 776, - "nodeType": "FunctionDefinition", - "src": "3418:191:4", - "body": { - "id": 775, - "nodeType": "Block", - "src": "3482:127:4", - "statements": [ - { - "condition": { - "id": 763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3496:10:4", - "subExpression": { - "id": 762, - "name": "condition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 757, - "src": "3497:9:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 774, - "nodeType": "IfStatement", - "src": "3492:111:4", - "trueBody": { - "id": 773, - "nodeType": "Block", - "src": "3508:95:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3544:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 766, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 759, - "src": "3553:3:4", - "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": 764, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "3527:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3527:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 768, - "nodeType": "EmitStatement", - "src": "3522:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 770, - "name": "condition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 757, - "src": "3582:9:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 769, - "name": "assertTrue", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 755, - 776 - ], - "referencedDeclaration": 755, - "src": "3571:10:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bool_$returns$__$", - "typeString": "function (bool)" - } - }, - "id": 771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3571:21:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 772, - "nodeType": "ExpressionStatement", - "src": "3571:21:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertTrue", - "nameLocation": "3427:10:4", - "parameters": { - "id": 760, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 757, - "mutability": "mutable", - "name": "condition", - "nameLocation": "3443:9:4", - "nodeType": "VariableDeclaration", - "scope": 776, - "src": "3438:14:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 756, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3438:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 759, - "mutability": "mutable", - "name": "err", - "nameLocation": "3468:3:4", - "nodeType": "VariableDeclaration", - "scope": 776, - "src": "3454:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 758, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3454:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3437:35:4" - }, - "returnParameters": { - "id": 761, - "nodeType": "ParameterList", - "parameters": [], - "src": "3482:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 806, - "nodeType": "FunctionDefinition", - "src": "3615:277:4", - "body": { - "id": 805, - "nodeType": "Block", - "src": "3664:228:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 783, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 778, - "src": "3678:1:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 784, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "3683:1:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3678:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 804, - "nodeType": "IfStatement", - "src": "3674:212:4", - "trueBody": { - "id": 803, - "nodeType": "Block", - "src": "3686:200:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b616464726573735d", - "id": 787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3709:39:4", - "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": 786, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "3705:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3705:44:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 789, - "nodeType": "EmitStatement", - "src": "3700:49:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3786:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 792, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "3800:1:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 790, - "name": "log_named_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 525, - "src": "3768:17:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (string memory,address)" - } - }, - "id": 793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3768:34:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 794, - "nodeType": "EmitStatement", - "src": "3763:39:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 796, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3839:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 797, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 778, - "src": "3853:1:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 795, - "name": "log_named_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 525, - "src": "3821:17:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$", - "typeString": "function (string memory,address)" - } - }, - "id": 798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3821:34:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 799, - "nodeType": "EmitStatement", - "src": "3816:39:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 800, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "3869:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3869:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 802, - "nodeType": "ExpressionStatement", - "src": "3869:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "3624:8:4", - "parameters": { - "id": 781, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 778, - "mutability": "mutable", - "name": "a", - "nameLocation": "3641:1:4", - "nodeType": "VariableDeclaration", - "scope": 806, - "src": "3633:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 777, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3633:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 780, - "mutability": "mutable", - "name": "b", - "nameLocation": "3652:1:4", - "nodeType": "VariableDeclaration", - "scope": 806, - "src": "3644:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 779, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3644:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "3632:22:4" - }, - "returnParameters": { - "id": 782, - "nodeType": "ParameterList", - "parameters": [], - "src": "3664:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 831, - "nodeType": "FunctionDefinition", - "src": "3897:185:4", - "body": { - "id": 830, - "nodeType": "Block", - "src": "3965:117:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 815, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 808, - "src": "3979:1:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 816, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 810, - "src": "3984:1:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "3979:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 829, - "nodeType": "IfStatement", - "src": "3975:101:4", - "trueBody": { - "id": 828, - "nodeType": "Block", - "src": "3987:89:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 819, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4024:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 820, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 812, - "src": "4033:3:4", - "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": 818, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "4006:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4006:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 822, - "nodeType": "EmitStatement", - "src": "4001:36:4" - }, - { - "expression": { - "arguments": [ - { - "id": 824, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 808, - "src": "4060:1:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 825, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 810, - "src": "4063:1:4", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 823, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 806, - "src": "4051:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$returns$__$", - "typeString": "function (address,address)" - } - }, - "id": 826, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4051:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 827, - "nodeType": "ExpressionStatement", - "src": "4051:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "3906:8:4", - "parameters": { - "id": 813, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 808, - "mutability": "mutable", - "name": "a", - "nameLocation": "3923:1:4", - "nodeType": "VariableDeclaration", - "scope": 831, - "src": "3915:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 807, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3915:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 810, - "mutability": "mutable", - "name": "b", - "nameLocation": "3934:1:4", - "nodeType": "VariableDeclaration", - "scope": 831, - "src": "3926:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 809, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3926:7:4", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 812, - "mutability": "mutable", - "name": "err", - "nameLocation": "3951:3:4", - "nodeType": "VariableDeclaration", - "scope": 831, - "src": "3937:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 811, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3937:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3914:41:4" - }, - "returnParameters": { - "id": 814, - "nodeType": "ParameterList", - "parameters": [], - "src": "3965:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 861, - "nodeType": "FunctionDefinition", - "src": "4088:277:4", - "body": { - "id": 860, - "nodeType": "Block", - "src": "4137:228:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 838, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 833, - "src": "4151:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 839, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 835, - "src": "4156:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4151:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 859, - "nodeType": "IfStatement", - "src": "4147:212:4", - "trueBody": { - "id": 858, - "nodeType": "Block", - "src": "4159:200:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b627974657333325d", - "id": 842, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4182:39:4", - "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": 841, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "4178:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4178:44:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 844, - "nodeType": "EmitStatement", - "src": "4173:49:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4259:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 847, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 835, - "src": "4273:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 845, - "name": "log_named_bytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 531, - "src": "4241:17:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (string memory,bytes32)" - } - }, - "id": 848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4241:34:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 849, - "nodeType": "EmitStatement", - "src": "4236:39:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 851, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4312:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 852, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 833, - "src": "4326:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 850, - "name": "log_named_bytes32", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 531, - "src": "4294:17:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_bytes32_$returns$__$", - "typeString": "function (string memory,bytes32)" - } - }, - "id": 853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4294:34:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 854, - "nodeType": "EmitStatement", - "src": "4289:39:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 855, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "4342:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4342:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 857, - "nodeType": "ExpressionStatement", - "src": "4342:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "4097:8:4", - "parameters": { - "id": 836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 833, - "mutability": "mutable", - "name": "a", - "nameLocation": "4114:1:4", - "nodeType": "VariableDeclaration", - "scope": 861, - "src": "4106:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 832, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4106:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 835, - "mutability": "mutable", - "name": "b", - "nameLocation": "4125:1:4", - "nodeType": "VariableDeclaration", - "scope": 861, - "src": "4117:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 834, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4117:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4105:22:4" - }, - "returnParameters": { - "id": 837, - "nodeType": "ParameterList", - "parameters": [], - "src": "4137:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 886, - "nodeType": "FunctionDefinition", - "src": "4370:185:4", - "body": { - "id": 885, - "nodeType": "Block", - "src": "4438:117:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 870, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 863, - "src": "4452:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 871, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 865, - "src": "4457:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "4452:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 884, - "nodeType": "IfStatement", - "src": "4448:101:4", - "trueBody": { - "id": 883, - "nodeType": "Block", - "src": "4460:89:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 874, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4497:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 875, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 867, - "src": "4506:3:4", - "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": 873, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "4479:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4479:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 877, - "nodeType": "EmitStatement", - "src": "4474:36:4" - }, - { - "expression": { - "arguments": [ - { - "id": 879, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 863, - "src": "4533:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 880, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 865, - "src": "4536:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 878, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 861, - "src": "4524:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 881, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4524:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 882, - "nodeType": "ExpressionStatement", - "src": "4524:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "4379:8:4", - "parameters": { - "id": 868, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 863, - "mutability": "mutable", - "name": "a", - "nameLocation": "4396:1:4", - "nodeType": "VariableDeclaration", - "scope": 886, - "src": "4388:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 862, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4388:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 865, - "mutability": "mutable", - "name": "b", - "nameLocation": "4407:1:4", - "nodeType": "VariableDeclaration", - "scope": 886, - "src": "4399:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 864, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4399:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 867, - "mutability": "mutable", - "name": "err", - "nameLocation": "4424:3:4", - "nodeType": "VariableDeclaration", - "scope": 886, - "src": "4410:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 866, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4410:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4387:41:4" - }, - "returnParameters": { - "id": 869, - "nodeType": "ParameterList", - "parameters": [], - "src": "4438:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 899, - "nodeType": "FunctionDefinition", - "src": "4560:82:4", - "body": { - "id": 898, - "nodeType": "Block", - "src": "4611:31:4", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 894, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 888, - "src": "4630:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 895, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 890, - "src": "4633:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 893, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 861, - "src": "4621:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$", - "typeString": "function (bytes32,bytes32)" - } - }, - "id": 896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4621:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 897, - "nodeType": "ExpressionStatement", - "src": "4621:14:4" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq32", - "nameLocation": "4569:10:4", - "parameters": { - "id": 891, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 888, - "mutability": "mutable", - "name": "a", - "nameLocation": "4588:1:4", - "nodeType": "VariableDeclaration", - "scope": 899, - "src": "4580:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 887, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4580:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 890, - "mutability": "mutable", - "name": "b", - "nameLocation": "4599:1:4", - "nodeType": "VariableDeclaration", - "scope": 899, - "src": "4591:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 889, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4591:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4579:22:4" - }, - "returnParameters": { - "id": 892, - "nodeType": "ParameterList", - "parameters": [], - "src": "4611:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 915, - "nodeType": "FunctionDefinition", - "src": "4647:106:4", - "body": { - "id": 914, - "nodeType": "Block", - "src": "4717:36:4", - "statements": [ - { - "expression": { - "arguments": [ - { - "id": 909, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 901, - "src": "4736:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 910, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 903, - "src": "4739:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "id": 911, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 905, - "src": "4742:3:4", - "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": 908, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 886, - "src": "4727:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bytes32,bytes32,string memory)" - } - }, - "id": 912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4727:19:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 913, - "nodeType": "ExpressionStatement", - "src": "4727:19:4" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq32", - "nameLocation": "4656:10:4", - "parameters": { - "id": 906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 901, - "mutability": "mutable", - "name": "a", - "nameLocation": "4675:1:4", - "nodeType": "VariableDeclaration", - "scope": 915, - "src": "4667:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 900, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4667:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 903, - "mutability": "mutable", - "name": "b", - "nameLocation": "4686:1:4", - "nodeType": "VariableDeclaration", - "scope": 915, - "src": "4678:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 902, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4678:7:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 905, - "mutability": "mutable", - "name": "err", - "nameLocation": "4703:3:4", - "nodeType": "VariableDeclaration", - "scope": 915, - "src": "4689:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 904, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4689:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4666:41:4" - }, - "returnParameters": { - "id": 907, - "nodeType": "ParameterList", - "parameters": [], - "src": "4717:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 945, - "nodeType": "FunctionDefinition", - "src": "4759:257:4", - "body": { - "id": 944, - "nodeType": "Block", - "src": "4800:216:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 924, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 922, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 917, - "src": "4814:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 923, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 919, - "src": "4819:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "4814:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 943, - "nodeType": "IfStatement", - "src": "4810:200:4", - "trueBody": { - "id": 942, - "nodeType": "Block", - "src": "4822:188:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b696e745d", - "id": 926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4845:35:4", - "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": 925, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "4841:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4841:40:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 928, - "nodeType": "EmitStatement", - "src": "4836:45:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 930, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4914:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 931, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 919, - "src": "4928:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 929, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "4900:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4900:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 933, - "nodeType": "EmitStatement", - "src": "4895:35:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 935, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4963:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 936, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 917, - "src": "4977:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 934, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "4949:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 937, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4949:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 938, - "nodeType": "EmitStatement", - "src": "4944:35:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 939, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "4993:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4993:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 941, - "nodeType": "ExpressionStatement", - "src": "4993:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "4768:8:4", - "parameters": { - "id": 920, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 917, - "mutability": "mutable", - "name": "a", - "nameLocation": "4781:1:4", - "nodeType": "VariableDeclaration", - "scope": 945, - "src": "4777:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 916, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "4777:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 919, - "mutability": "mutable", - "name": "b", - "nameLocation": "4788:1:4", - "nodeType": "VariableDeclaration", - "scope": 945, - "src": "4784:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 918, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "4784:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "4776:14:4" - }, - "returnParameters": { - "id": 921, - "nodeType": "ParameterList", - "parameters": [], - "src": "4800:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 970, - "nodeType": "FunctionDefinition", - "src": "5021:176:4", - "body": { - "id": 969, - "nodeType": "Block", - "src": "5081:116:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 954, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "5095:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 955, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 949, - "src": "5100:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "5095:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 968, - "nodeType": "IfStatement", - "src": "5091:100:4", - "trueBody": { - "id": 967, - "nodeType": "Block", - "src": "5103:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 958, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5139:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 959, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 951, - "src": "5148:3:4", - "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": 957, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "5122:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5122:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 961, - "nodeType": "EmitStatement", - "src": "5117:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 963, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "5175:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 964, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 949, - "src": "5178:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 962, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 945, - "src": "5166:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 965, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5166:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 966, - "nodeType": "ExpressionStatement", - "src": "5166:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "5030:8:4", - "parameters": { - "id": 952, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 947, - "mutability": "mutable", - "name": "a", - "nameLocation": "5043:1:4", - "nodeType": "VariableDeclaration", - "scope": 970, - "src": "5039:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 946, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "5039:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 949, - "mutability": "mutable", - "name": "b", - "nameLocation": "5050:1:4", - "nodeType": "VariableDeclaration", - "scope": 970, - "src": "5046:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 948, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "5046:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 951, - "mutability": "mutable", - "name": "err", - "nameLocation": "5067:3:4", - "nodeType": "VariableDeclaration", - "scope": 970, - "src": "5053:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 950, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5053:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5038:33:4" - }, - "returnParameters": { - "id": 953, - "nodeType": "ParameterList", - "parameters": [], - "src": "5081:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1000, - "nodeType": "FunctionDefinition", - "src": "5202:262:4", - "body": { - "id": 999, - "nodeType": "Block", - "src": "5245:219:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 977, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 972, - "src": "5259:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 978, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 974, - "src": "5264:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5259:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 998, - "nodeType": "IfStatement", - "src": "5255:203:4", - "trueBody": { - "id": 997, - "nodeType": "Block", - "src": "5267:191:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e745d", - "id": 981, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5290:36:4", - "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": 980, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "5286:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5286:41:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 983, - "nodeType": "EmitStatement", - "src": "5281:46:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5361:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 986, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 974, - "src": "5375:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 984, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "5346:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5346:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 988, - "nodeType": "EmitStatement", - "src": "5341:36:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 990, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5411:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 991, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 972, - "src": "5425:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 989, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "5396:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5396:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 993, - "nodeType": "EmitStatement", - "src": "5391:36:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 994, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "5441:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5441:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 996, - "nodeType": "ExpressionStatement", - "src": "5441:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "5211:8:4", - "parameters": { - "id": 975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 972, - "mutability": "mutable", - "name": "a", - "nameLocation": "5225:1:4", - "nodeType": "VariableDeclaration", - "scope": 1000, - "src": "5220:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 971, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5220:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 974, - "mutability": "mutable", - "name": "b", - "nameLocation": "5233:1:4", - "nodeType": "VariableDeclaration", - "scope": 1000, - "src": "5228:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 973, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5228:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5219:16:4" - }, - "returnParameters": { - "id": 976, - "nodeType": "ParameterList", - "parameters": [], - "src": "5245:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1025, - "nodeType": "FunctionDefinition", - "src": "5469:178:4", - "body": { - "id": 1024, - "nodeType": "Block", - "src": "5531:116:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1009, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "5545:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1010, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1004, - "src": "5550:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5545:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1023, - "nodeType": "IfStatement", - "src": "5541:100:4", - "trueBody": { - "id": 1022, - "nodeType": "Block", - "src": "5553:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1013, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5589:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1014, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1006, - "src": "5598:3:4", - "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": 1012, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "5572:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5572:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1016, - "nodeType": "EmitStatement", - "src": "5567:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1018, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1002, - "src": "5625:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1019, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1004, - "src": "5628:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1017, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 1000, - "src": "5616:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5616:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1021, - "nodeType": "ExpressionStatement", - "src": "5616:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "5478:8:4", - "parameters": { - "id": 1007, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1002, - "mutability": "mutable", - "name": "a", - "nameLocation": "5492:1:4", - "nodeType": "VariableDeclaration", - "scope": 1025, - "src": "5487:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1001, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5487:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1004, - "mutability": "mutable", - "name": "b", - "nameLocation": "5500:1:4", - "nodeType": "VariableDeclaration", - "scope": 1025, - "src": "5495:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1003, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5495:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1006, - "mutability": "mutable", - "name": "err", - "nameLocation": "5517:3:4", - "nodeType": "VariableDeclaration", - "scope": 1025, - "src": "5503:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1005, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5503:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5486:35:4" - }, - "returnParameters": { - "id": 1008, - "nodeType": "ParameterList", - "parameters": [], - "src": "5531:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1059, - "nodeType": "FunctionDefinition", - "src": "5652:323:4", - "body": { - "id": 1058, - "nodeType": "Block", - "src": "5715:260:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1034, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1027, - "src": "5729:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1035, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1029, - "src": "5734:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "5729:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1057, - "nodeType": "IfStatement", - "src": "5725:244:4", - "trueBody": { - "id": 1056, - "nodeType": "Block", - "src": "5737:232:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1038, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5760:43:4", - "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": 1037, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "5756:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5756:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1040, - "nodeType": "EmitStatement", - "src": "5751:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 1042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5845:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 1043, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1029, - "src": "5859:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1044, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1031, - "src": "5862:8:4", - "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": 1041, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "5823:21:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5823:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1046, - "nodeType": "EmitStatement", - "src": "5818:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 1048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5912:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 1049, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1027, - "src": "5926:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1050, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1031, - "src": "5929:8:4", - "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": 1047, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "5890:21:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1051, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5890:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1052, - "nodeType": "EmitStatement", - "src": "5885:53:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1053, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "5952:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5952:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1055, - "nodeType": "ExpressionStatement", - "src": "5952:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqDecimal", - "nameLocation": "5661:15:4", - "parameters": { - "id": 1032, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1027, - "mutability": "mutable", - "name": "a", - "nameLocation": "5681:1:4", - "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "5677:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1026, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "5677:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1029, - "mutability": "mutable", - "name": "b", - "nameLocation": "5688:1:4", - "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "5684:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1028, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "5684:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1031, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "5696:8:4", - "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "5691:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1030, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5691:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5676:29:4" - }, - "returnParameters": { - "id": 1033, - "nodeType": "ParameterList", - "parameters": [], - "src": "5715:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1087, - "nodeType": "FunctionDefinition", - "src": "5980:215:4", - "body": { - "id": 1086, - "nodeType": "Block", - "src": "6062:133:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1070, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1061, - "src": "6076:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1071, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1063, - "src": "6081:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "6076:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1085, - "nodeType": "IfStatement", - "src": "6072:117:4", - "trueBody": { - "id": 1084, - "nodeType": "Block", - "src": "6084:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6120:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1075, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "6129:3:4", - "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": 1073, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "6103:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6103:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1077, - "nodeType": "EmitStatement", - "src": "6098:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1079, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1061, - "src": "6163:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1080, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1063, - "src": "6166:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1081, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "6169:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1078, - "name": "assertEqDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1059, - 1087, - 1121, - 1149 - ], - "referencedDeclaration": 1059, - "src": "6147:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 1082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6147:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1083, - "nodeType": "ExpressionStatement", - "src": "6147:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqDecimal", - "nameLocation": "5989:15:4", - "parameters": { - "id": 1068, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1061, - "mutability": "mutable", - "name": "a", - "nameLocation": "6009:1:4", - "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "6005:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1060, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "6005:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1063, - "mutability": "mutable", - "name": "b", - "nameLocation": "6016:1:4", - "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "6012:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1062, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "6012:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1065, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "6024:8:4", - "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "6019:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1064, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6019:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1067, - "mutability": "mutable", - "name": "err", - "nameLocation": "6048:3:4", - "nodeType": "VariableDeclaration", - "scope": 1087, - "src": "6034:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1066, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6034:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6004:48:4" - }, - "returnParameters": { - "id": 1069, - "nodeType": "ParameterList", - "parameters": [], - "src": "6062:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1121, - "nodeType": "FunctionDefinition", - "src": "6200:328:4", - "body": { - "id": 1120, - "nodeType": "Block", - "src": "6265:263:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1098, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1096, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "6279:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1097, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "6284:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6279:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1119, - "nodeType": "IfStatement", - "src": "6275:247:4", - "trueBody": { - "id": 1118, - "nodeType": "Block", - "src": "6287:235:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 1100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6310:44:4", - "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": 1099, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "6306:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6306:49:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1102, - "nodeType": "EmitStatement", - "src": "6301:54:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 1104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6397:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 1105, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "6411:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1106, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "6414:8:4", - "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": 1103, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "6374:22:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6374:49:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1108, - "nodeType": "EmitStatement", - "src": "6369:54:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 1110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6465:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 1111, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "6479:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1112, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "6482:8:4", - "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": 1109, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "6442:22:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6442:49:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1114, - "nodeType": "EmitStatement", - "src": "6437:54:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1115, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "6505:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6505:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1117, - "nodeType": "ExpressionStatement", - "src": "6505:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqDecimal", - "nameLocation": "6209:15:4", - "parameters": { - "id": 1094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1089, - "mutability": "mutable", - "name": "a", - "nameLocation": "6230:1:4", - "nodeType": "VariableDeclaration", - "scope": 1121, - "src": "6225:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1088, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6225:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1091, - "mutability": "mutable", - "name": "b", - "nameLocation": "6238:1:4", - "nodeType": "VariableDeclaration", - "scope": 1121, - "src": "6233:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1090, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6233:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1093, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "6246:8:4", - "nodeType": "VariableDeclaration", - "scope": 1121, - "src": "6241:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1092, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6241:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6224:31:4" - }, - "returnParameters": { - "id": 1095, - "nodeType": "ParameterList", - "parameters": [], - "src": "6265:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1149, - "nodeType": "FunctionDefinition", - "src": "6533:217:4", - "body": { - "id": 1148, - "nodeType": "Block", - "src": "6617:133:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1132, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1123, - "src": "6631:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "id": 1133, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1125, - "src": "6636:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6631:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1147, - "nodeType": "IfStatement", - "src": "6627:117:4", - "trueBody": { - "id": 1146, - "nodeType": "Block", - "src": "6639:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6675:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1137, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1129, - "src": "6684:3:4", - "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": 1135, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "6658:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6658:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1139, - "nodeType": "EmitStatement", - "src": "6653:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1141, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1123, - "src": "6718:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1142, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1125, - "src": "6721:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1143, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1127, - "src": "6724:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1140, - "name": "assertEqDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1059, - 1087, - 1121, - 1149 - ], - "referencedDeclaration": 1121, - "src": "6702:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 1144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6702:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1145, - "nodeType": "ExpressionStatement", - "src": "6702:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEqDecimal", - "nameLocation": "6542:15:4", - "parameters": { - "id": 1130, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1123, - "mutability": "mutable", - "name": "a", - "nameLocation": "6563:1:4", - "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "6558:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1122, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6558:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1125, - "mutability": "mutable", - "name": "b", - "nameLocation": "6571:1:4", - "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "6566:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1124, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6566:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1127, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "6579:8:4", - "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "6574:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1126, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6574:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1129, - "mutability": "mutable", - "name": "err", - "nameLocation": "6603:3:4", - "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "6589:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1128, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6589:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6557:50:4" - }, - "returnParameters": { - "id": 1131, - "nodeType": "ParameterList", - "parameters": [], - "src": "6617:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1179, - "nodeType": "FunctionDefinition", - "src": "6756:259:4", - "body": { - "id": 1178, - "nodeType": "Block", - "src": "6799:216:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1156, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1151, - "src": "6813:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1157, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1153, - "src": "6818:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6813:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1177, - "nodeType": "IfStatement", - "src": "6809:200:4", - "trueBody": { - "id": 1176, - "nodeType": "Block", - "src": "6821:188:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e2062206e6f7420736174697366696564205b75696e745d", - "id": 1160, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6844:35:4", - "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": 1159, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "6840:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6840:40:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1162, - "nodeType": "EmitStatement", - "src": "6835:45:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1164, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6914:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1165, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1151, - "src": "6927:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1163, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "6899:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6899:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1167, - "nodeType": "EmitStatement", - "src": "6894:35:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6963:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1170, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1153, - "src": "6976:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1168, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "6948:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6948:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1172, - "nodeType": "EmitStatement", - "src": "6943:35:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1173, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "6992:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1175, - "nodeType": "ExpressionStatement", - "src": "6992:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGt", - "nameLocation": "6765:8:4", - "parameters": { - "id": 1154, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1151, - "mutability": "mutable", - "name": "a", - "nameLocation": "6779:1:4", - "nodeType": "VariableDeclaration", - "scope": 1179, - "src": "6774:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1150, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6774:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1153, - "mutability": "mutable", - "name": "b", - "nameLocation": "6787:1:4", - "nodeType": "VariableDeclaration", - "scope": 1179, - "src": "6782:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1152, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6782:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6773:16:4" - }, - "returnParameters": { - "id": 1155, - "nodeType": "ParameterList", - "parameters": [], - "src": "6799:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1204, - "nodeType": "FunctionDefinition", - "src": "7020:178:4", - "body": { - "id": 1203, - "nodeType": "Block", - "src": "7082:116:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1188, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1181, - "src": "7096:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1189, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1183, - "src": "7101:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7096:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1202, - "nodeType": "IfStatement", - "src": "7092:100:4", - "trueBody": { - "id": 1201, - "nodeType": "Block", - "src": "7104:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1192, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7140:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1193, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1185, - "src": "7149:3:4", - "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": 1191, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "7123:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7123:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1195, - "nodeType": "EmitStatement", - "src": "7118:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1197, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1181, - "src": "7176:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1198, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1183, - "src": "7179:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1196, - "name": "assertGt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1179, - 1204, - 1234, - 1259 - ], - "referencedDeclaration": 1179, - "src": "7167:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7167:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1200, - "nodeType": "ExpressionStatement", - "src": "7167:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGt", - "nameLocation": "7029:8:4", - "parameters": { - "id": 1186, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1181, - "mutability": "mutable", - "name": "a", - "nameLocation": "7043:1:4", - "nodeType": "VariableDeclaration", - "scope": 1204, - "src": "7038:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1180, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7038:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1183, - "mutability": "mutable", - "name": "b", - "nameLocation": "7051:1:4", - "nodeType": "VariableDeclaration", - "scope": 1204, - "src": "7046:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1182, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7046:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1185, - "mutability": "mutable", - "name": "err", - "nameLocation": "7068:3:4", - "nodeType": "VariableDeclaration", - "scope": 1204, - "src": "7054:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7054:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7037:35:4" - }, - "returnParameters": { - "id": 1187, - "nodeType": "ParameterList", - "parameters": [], - "src": "7082:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1234, - "nodeType": "FunctionDefinition", - "src": "7203:254:4", - "body": { - "id": 1233, - "nodeType": "Block", - "src": "7244:213:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1211, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1206, - "src": "7258:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1212, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "7263:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "7258:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1232, - "nodeType": "IfStatement", - "src": "7254:197:4", - "trueBody": { - "id": 1231, - "nodeType": "Block", - "src": "7266:185:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e2062206e6f7420736174697366696564205b696e745d", - "id": 1215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7289:34:4", - "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": 1214, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "7285:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1216, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7285:39:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1217, - "nodeType": "EmitStatement", - "src": "7280:44:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1219, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7357:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1220, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1206, - "src": "7370:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1218, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "7343:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7343:29:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1222, - "nodeType": "EmitStatement", - "src": "7338:34:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7405:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1225, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "7418:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1223, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "7391:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7391:29:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1227, - "nodeType": "EmitStatement", - "src": "7386:34:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1228, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "7434:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1229, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7434:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1230, - "nodeType": "ExpressionStatement", - "src": "7434:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGt", - "nameLocation": "7212:8:4", - "parameters": { - "id": 1209, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1206, - "mutability": "mutable", - "name": "a", - "nameLocation": "7225:1:4", - "nodeType": "VariableDeclaration", - "scope": 1234, - "src": "7221:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1205, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7221:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1208, - "mutability": "mutable", - "name": "b", - "nameLocation": "7232:1:4", - "nodeType": "VariableDeclaration", - "scope": 1234, - "src": "7228:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1207, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7228:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "7220:14:4" - }, - "returnParameters": { - "id": 1210, - "nodeType": "ParameterList", - "parameters": [], - "src": "7244:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1259, - "nodeType": "FunctionDefinition", - "src": "7462:176:4", - "body": { - "id": 1258, - "nodeType": "Block", - "src": "7522:116:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1243, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1236, - "src": "7536:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1244, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1238, - "src": "7541:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "7536:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1257, - "nodeType": "IfStatement", - "src": "7532:100:4", - "trueBody": { - "id": 1256, - "nodeType": "Block", - "src": "7544:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1247, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7580:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1248, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1240, - "src": "7589:3:4", - "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": 1246, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "7563:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7563:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1250, - "nodeType": "EmitStatement", - "src": "7558:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1252, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1236, - "src": "7616:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1253, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1238, - "src": "7619:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1251, - "name": "assertGt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1179, - 1204, - 1234, - 1259 - ], - "referencedDeclaration": 1234, - "src": "7607:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 1254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7607:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1255, - "nodeType": "ExpressionStatement", - "src": "7607:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGt", - "nameLocation": "7471:8:4", - "parameters": { - "id": 1241, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1236, - "mutability": "mutable", - "name": "a", - "nameLocation": "7484:1:4", - "nodeType": "VariableDeclaration", - "scope": 1259, - "src": "7480:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1235, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7480:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1238, - "mutability": "mutable", - "name": "b", - "nameLocation": "7491:1:4", - "nodeType": "VariableDeclaration", - "scope": 1259, - "src": "7487:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1237, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7487:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1240, - "mutability": "mutable", - "name": "err", - "nameLocation": "7508:3:4", - "nodeType": "VariableDeclaration", - "scope": 1259, - "src": "7494:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1239, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7494:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7479:33:4" - }, - "returnParameters": { - "id": 1242, - "nodeType": "ParameterList", - "parameters": [], - "src": "7522:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1293, - "nodeType": "FunctionDefinition", - "src": "7643:320:4", - "body": { - "id": 1292, - "nodeType": "Block", - "src": "7706:257:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1270, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1268, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1261, - "src": "7720:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1269, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1263, - "src": "7725:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "7720:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1291, - "nodeType": "IfStatement", - "src": "7716:241:4", - "trueBody": { - "id": 1290, - "nodeType": "Block", - "src": "7728:229:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7751:42:4", - "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": 1271, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "7747:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7747:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1274, - "nodeType": "EmitStatement", - "src": "7742:52:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1276, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7835:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1277, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1261, - "src": "7848:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1278, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1265, - "src": "7851:8:4", - "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": 1275, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "7813:21:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7813:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1280, - "nodeType": "EmitStatement", - "src": "7808:52:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7901:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1283, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1263, - "src": "7914:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1284, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1265, - "src": "7917:8:4", - "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": 1281, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "7879:21:4", - "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": "7879:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1286, - "nodeType": "EmitStatement", - "src": "7874:52:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1287, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "7940:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7940:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1289, - "nodeType": "ExpressionStatement", - "src": "7940:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGtDecimal", - "nameLocation": "7652:15:4", - "parameters": { - "id": 1266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1261, - "mutability": "mutable", - "name": "a", - "nameLocation": "7672:1:4", - "nodeType": "VariableDeclaration", - "scope": 1293, - "src": "7668:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1260, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7668:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1263, - "mutability": "mutable", - "name": "b", - "nameLocation": "7679:1:4", - "nodeType": "VariableDeclaration", - "scope": 1293, - "src": "7675:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1262, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7675:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1265, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "7687:8:4", - "nodeType": "VariableDeclaration", - "scope": 1293, - "src": "7682:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1264, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7682:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7667:29:4" - }, - "returnParameters": { - "id": 1267, - "nodeType": "ParameterList", - "parameters": [], - "src": "7706:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1321, - "nodeType": "FunctionDefinition", - "src": "7968:215:4", - "body": { - "id": 1320, - "nodeType": "Block", - "src": "8050:133:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1306, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1304, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1295, - "src": "8064:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1305, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1297, - "src": "8069:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "8064:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1319, - "nodeType": "IfStatement", - "src": "8060:117:4", - "trueBody": { - "id": 1318, - "nodeType": "Block", - "src": "8072:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8108:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1309, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1301, - "src": "8117:3:4", - "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": 1307, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8091:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8091:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1311, - "nodeType": "EmitStatement", - "src": "8086:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1313, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1295, - "src": "8151:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1314, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1297, - "src": "8154:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1315, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "8157:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1312, - "name": "assertGtDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1293, - 1321, - 1355, - 1383 - ], - "referencedDeclaration": 1293, - "src": "8135:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 1316, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8135:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1317, - "nodeType": "ExpressionStatement", - "src": "8135:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGtDecimal", - "nameLocation": "7977:15:4", - "parameters": { - "id": 1302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1295, - "mutability": "mutable", - "name": "a", - "nameLocation": "7997:1:4", - "nodeType": "VariableDeclaration", - "scope": 1321, - "src": "7993:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1294, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "7993:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1297, - "mutability": "mutable", - "name": "b", - "nameLocation": "8004:1:4", - "nodeType": "VariableDeclaration", - "scope": 1321, - "src": "8000:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1296, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "8000:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1299, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "8012:8:4", - "nodeType": "VariableDeclaration", - "scope": 1321, - "src": "8007:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1298, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8007:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1301, - "mutability": "mutable", - "name": "err", - "nameLocation": "8036:3:4", - "nodeType": "VariableDeclaration", - "scope": 1321, - "src": "8022:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1300, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8022:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7992:48:4" - }, - "returnParameters": { - "id": 1303, - "nodeType": "ParameterList", - "parameters": [], - "src": "8050:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1355, - "nodeType": "FunctionDefinition", - "src": "8188:325:4", - "body": { - "id": 1354, - "nodeType": "Block", - "src": "8253:260:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1330, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1323, - "src": "8267:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1331, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1325, - "src": "8272:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8267:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1353, - "nodeType": "IfStatement", - "src": "8263:244:4", - "trueBody": { - "id": 1352, - "nodeType": "Block", - "src": "8275:232:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 1334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8298:43:4", - "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": 1333, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8294:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8294:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1336, - "nodeType": "EmitStatement", - "src": "8289:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1338, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8384:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1339, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1323, - "src": "8397:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1340, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1327, - "src": "8400:8:4", - "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": 1337, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "8361:22:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1341, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8361:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1342, - "nodeType": "EmitStatement", - "src": "8356:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8451:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1345, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1325, - "src": "8464:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1346, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1327, - "src": "8467:8:4", - "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": 1343, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "8428:22:4", - "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": "8428:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1348, - "nodeType": "EmitStatement", - "src": "8423:53:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1349, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "8490:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8490:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1351, - "nodeType": "ExpressionStatement", - "src": "8490:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGtDecimal", - "nameLocation": "8197:15:4", - "parameters": { - "id": 1328, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1323, - "mutability": "mutable", - "name": "a", - "nameLocation": "8218:1:4", - "nodeType": "VariableDeclaration", - "scope": 1355, - "src": "8213:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1322, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8213:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1325, - "mutability": "mutable", - "name": "b", - "nameLocation": "8226:1:4", - "nodeType": "VariableDeclaration", - "scope": 1355, - "src": "8221:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1324, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8221:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1327, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "8234:8:4", - "nodeType": "VariableDeclaration", - "scope": 1355, - "src": "8229:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1326, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8229:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8212:31:4" - }, - "returnParameters": { - "id": 1329, - "nodeType": "ParameterList", - "parameters": [], - "src": "8253:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1383, - "nodeType": "FunctionDefinition", - "src": "8518:217:4", - "body": { - "id": 1382, - "nodeType": "Block", - "src": "8602:133:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1366, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1357, - "src": "8616:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "id": 1367, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1359, - "src": "8621:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8616:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1381, - "nodeType": "IfStatement", - "src": "8612:117:4", - "trueBody": { - "id": 1380, - "nodeType": "Block", - "src": "8624:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1370, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8660:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1371, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "8669:3:4", - "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": 1369, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "8643:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1372, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8643:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1373, - "nodeType": "EmitStatement", - "src": "8638:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1375, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1357, - "src": "8703:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1376, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1359, - "src": "8706:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1377, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1361, - "src": "8709:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1374, - "name": "assertGtDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1293, - 1321, - 1355, - 1383 - ], - "referencedDeclaration": 1355, - "src": "8687:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 1378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8687:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1379, - "nodeType": "ExpressionStatement", - "src": "8687:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGtDecimal", - "nameLocation": "8527:15:4", - "parameters": { - "id": 1364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1357, - "mutability": "mutable", - "name": "a", - "nameLocation": "8548:1:4", - "nodeType": "VariableDeclaration", - "scope": 1383, - "src": "8543:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1356, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8543:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1359, - "mutability": "mutable", - "name": "b", - "nameLocation": "8556:1:4", - "nodeType": "VariableDeclaration", - "scope": 1383, - "src": "8551:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1358, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8551:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1361, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "8564:8:4", - "nodeType": "VariableDeclaration", - "scope": 1383, - "src": "8559:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1360, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8559:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1363, - "mutability": "mutable", - "name": "err", - "nameLocation": "8588:3:4", - "nodeType": "VariableDeclaration", - "scope": 1383, - "src": "8574:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1362, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8574:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8542:50:4" - }, - "returnParameters": { - "id": 1365, - "nodeType": "ParameterList", - "parameters": [], - "src": "8602:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1413, - "nodeType": "FunctionDefinition", - "src": "8741:259:4", - "body": { - "id": 1412, - "nodeType": "Block", - "src": "8784:216:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1390, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1385, - "src": "8798:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1391, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1387, - "src": "8802:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8798:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1411, - "nodeType": "IfStatement", - "src": "8794:200:4", - "trueBody": { - "id": 1410, - "nodeType": "Block", - "src": "8805:189:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e3d2062206e6f7420736174697366696564205b75696e745d", - "id": 1394, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8828:36:4", - "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": 1393, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "8824:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1395, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8824:41:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1396, - "nodeType": "EmitStatement", - "src": "8819:46:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8899:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1399, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1385, - "src": "8912:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1397, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "8884:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1400, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8884:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1401, - "nodeType": "EmitStatement", - "src": "8879:35:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1403, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8948:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1404, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1387, - "src": "8961:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1402, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "8933:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8933:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1406, - "nodeType": "EmitStatement", - "src": "8928:35:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1407, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "8977:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8977:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1409, - "nodeType": "ExpressionStatement", - "src": "8977:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGe", - "nameLocation": "8750:8:4", - "parameters": { - "id": 1388, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1385, - "mutability": "mutable", - "name": "a", - "nameLocation": "8764:1:4", - "nodeType": "VariableDeclaration", - "scope": 1413, - "src": "8759:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8759:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1387, - "mutability": "mutable", - "name": "b", - "nameLocation": "8772:1:4", - "nodeType": "VariableDeclaration", - "scope": 1413, - "src": "8767:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1386, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8767:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8758:16:4" - }, - "returnParameters": { - "id": 1389, - "nodeType": "ParameterList", - "parameters": [], - "src": "8784:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1438, - "nodeType": "FunctionDefinition", - "src": "9005:177:4", - "body": { - "id": 1437, - "nodeType": "Block", - "src": "9067:115:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1422, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1415, - "src": "9081:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1423, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1417, - "src": "9085:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9081:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1436, - "nodeType": "IfStatement", - "src": "9077:99:4", - "trueBody": { - "id": 1435, - "nodeType": "Block", - "src": "9088:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1426, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9124:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1427, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1419, - "src": "9133:3:4", - "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": 1425, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "9107:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9107:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1429, - "nodeType": "EmitStatement", - "src": "9102:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1431, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1415, - "src": "9160:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1432, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1417, - "src": "9163:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1430, - "name": "assertGe", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1413, - 1438, - 1468, - 1493 - ], - "referencedDeclaration": 1413, - "src": "9151:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9151:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1434, - "nodeType": "ExpressionStatement", - "src": "9151:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGe", - "nameLocation": "9014:8:4", - "parameters": { - "id": 1420, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1415, - "mutability": "mutable", - "name": "a", - "nameLocation": "9028:1:4", - "nodeType": "VariableDeclaration", - "scope": 1438, - "src": "9023:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1414, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9023:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1417, - "mutability": "mutable", - "name": "b", - "nameLocation": "9036:1:4", - "nodeType": "VariableDeclaration", - "scope": 1438, - "src": "9031:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1416, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9031:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1419, - "mutability": "mutable", - "name": "err", - "nameLocation": "9053:3:4", - "nodeType": "VariableDeclaration", - "scope": 1438, - "src": "9039:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1418, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9039:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9022:35:4" - }, - "returnParameters": { - "id": 1421, - "nodeType": "ParameterList", - "parameters": [], - "src": "9067:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1468, - "nodeType": "FunctionDefinition", - "src": "9187:254:4", - "body": { - "id": 1467, - "nodeType": "Block", - "src": "9228:213:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1445, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1440, - "src": "9242:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1446, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "9246:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "9242:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1466, - "nodeType": "IfStatement", - "src": "9238:197:4", - "trueBody": { - "id": 1465, - "nodeType": "Block", - "src": "9249:186:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e3d2062206e6f7420736174697366696564205b696e745d", - "id": 1449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9272:35:4", - "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": 1448, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9268:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9268:40:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1451, - "nodeType": "EmitStatement", - "src": "9263:45:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9341:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1454, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1440, - "src": "9354:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1452, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "9327:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9327:29:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1456, - "nodeType": "EmitStatement", - "src": "9322:34:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1458, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9389:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1459, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "9402:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1457, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "9375:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9375:29:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1461, - "nodeType": "EmitStatement", - "src": "9370:34:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1462, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "9418:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9418:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1464, - "nodeType": "ExpressionStatement", - "src": "9418:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGe", - "nameLocation": "9196:8:4", - "parameters": { - "id": 1443, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1440, - "mutability": "mutable", - "name": "a", - "nameLocation": "9209:1:4", - "nodeType": "VariableDeclaration", - "scope": 1468, - "src": "9205:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1439, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9205:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1442, - "mutability": "mutable", - "name": "b", - "nameLocation": "9216:1:4", - "nodeType": "VariableDeclaration", - "scope": 1468, - "src": "9212:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1441, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9212:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "9204:14:4" - }, - "returnParameters": { - "id": 1444, - "nodeType": "ParameterList", - "parameters": [], - "src": "9228:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1493, - "nodeType": "FunctionDefinition", - "src": "9446:175:4", - "body": { - "id": 1492, - "nodeType": "Block", - "src": "9506:115:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1477, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1470, - "src": "9520:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1478, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1472, - "src": "9524:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "9520:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1491, - "nodeType": "IfStatement", - "src": "9516:99:4", - "trueBody": { - "id": 1490, - "nodeType": "Block", - "src": "9527:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9563:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1482, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1474, - "src": "9572:3:4", - "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": 1480, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "9546:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9546:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1484, - "nodeType": "EmitStatement", - "src": "9541:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1486, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1470, - "src": "9599:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1487, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1472, - "src": "9602:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1485, - "name": "assertGe", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1413, - 1438, - 1468, - 1493 - ], - "referencedDeclaration": 1468, - "src": "9590:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 1488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9590:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1489, - "nodeType": "ExpressionStatement", - "src": "9590:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGe", - "nameLocation": "9455:8:4", - "parameters": { - "id": 1475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1470, - "mutability": "mutable", - "name": "a", - "nameLocation": "9468:1:4", - "nodeType": "VariableDeclaration", - "scope": 1493, - "src": "9464:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1469, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9464:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1472, - "mutability": "mutable", - "name": "b", - "nameLocation": "9475:1:4", - "nodeType": "VariableDeclaration", - "scope": 1493, - "src": "9471:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1471, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9471:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1474, - "mutability": "mutable", - "name": "err", - "nameLocation": "9492:3:4", - "nodeType": "VariableDeclaration", - "scope": 1493, - "src": "9478:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1473, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9478:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9463:33:4" - }, - "returnParameters": { - "id": 1476, - "nodeType": "ParameterList", - "parameters": [], - "src": "9506:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1527, - "nodeType": "FunctionDefinition", - "src": "9626:320:4", - "body": { - "id": 1526, - "nodeType": "Block", - "src": "9689:257:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1504, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1502, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1495, - "src": "9703:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1503, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1497, - "src": "9707:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "9703:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1525, - "nodeType": "IfStatement", - "src": "9699:241:4", - "trueBody": { - "id": 1524, - "nodeType": "Block", - "src": "9710:230:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e3d2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9733:43:4", - "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": 1505, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "9729:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9729:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1508, - "nodeType": "EmitStatement", - "src": "9724:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1510, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9818:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1511, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1495, - "src": "9831:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1512, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1499, - "src": "9834:8:4", - "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": 1509, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "9796:21:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9796:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1514, - "nodeType": "EmitStatement", - "src": "9791:52:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1516, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9884:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1517, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1497, - "src": "9897:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1518, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1499, - "src": "9900:8:4", - "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": 1515, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "9862:21:4", - "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": "9862:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1520, - "nodeType": "EmitStatement", - "src": "9857:52:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1521, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "9923:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1522, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9923:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1523, - "nodeType": "ExpressionStatement", - "src": "9923:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGeDecimal", - "nameLocation": "9635:15:4", - "parameters": { - "id": 1500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1495, - "mutability": "mutable", - "name": "a", - "nameLocation": "9655:1:4", - "nodeType": "VariableDeclaration", - "scope": 1527, - "src": "9651:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1494, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9651:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1497, - "mutability": "mutable", - "name": "b", - "nameLocation": "9662:1:4", - "nodeType": "VariableDeclaration", - "scope": 1527, - "src": "9658:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1496, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9658:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1499, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "9670:8:4", - "nodeType": "VariableDeclaration", - "scope": 1527, - "src": "9665:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1498, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9665:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9650:29:4" - }, - "returnParameters": { - "id": 1501, - "nodeType": "ParameterList", - "parameters": [], - "src": "9689:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1555, - "nodeType": "FunctionDefinition", - "src": "9951:214:4", - "body": { - "id": 1554, - "nodeType": "Block", - "src": "10033:132:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1540, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1538, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1529, - "src": "10047:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1539, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1531, - "src": "10051:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "10047:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1553, - "nodeType": "IfStatement", - "src": "10043:116:4", - "trueBody": { - "id": 1552, - "nodeType": "Block", - "src": "10054:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1542, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10090:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1543, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1535, - "src": "10099:3:4", - "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": 1541, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10073:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10073:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1545, - "nodeType": "EmitStatement", - "src": "10068:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1547, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1529, - "src": "10133:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1548, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1531, - "src": "10136:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1549, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1533, - "src": "10139:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1546, - "name": "assertGeDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1527, - 1555, - 1589, - 1617 - ], - "referencedDeclaration": 1527, - "src": "10117:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 1550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10117:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1551, - "nodeType": "ExpressionStatement", - "src": "10117:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGeDecimal", - "nameLocation": "9960:15:4", - "parameters": { - "id": 1536, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1529, - "mutability": "mutable", - "name": "a", - "nameLocation": "9980:1:4", - "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "9976:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1528, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9976:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1531, - "mutability": "mutable", - "name": "b", - "nameLocation": "9987:1:4", - "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "9983:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1530, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "9983:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1533, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "9995:8:4", - "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "9990:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1532, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9990:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1535, - "mutability": "mutable", - "name": "err", - "nameLocation": "10019:3:4", - "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "10005:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1534, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10005:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9975:48:4" - }, - "returnParameters": { - "id": 1537, - "nodeType": "ParameterList", - "parameters": [], - "src": "10033:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1589, - "nodeType": "FunctionDefinition", - "src": "10170:325:4", - "body": { - "id": 1588, - "nodeType": "Block", - "src": "10235:260:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1564, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1557, - "src": "10249:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1565, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1559, - "src": "10253:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10249:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1587, - "nodeType": "IfStatement", - "src": "10245:244:4", - "trueBody": { - "id": 1586, - "nodeType": "Block", - "src": "10256:233:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203e3d2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 1568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10279:44:4", - "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": 1567, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "10275:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10275:49:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1570, - "nodeType": "EmitStatement", - "src": "10270:54:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10366:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1573, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1557, - "src": "10379:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1574, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "10382:8:4", - "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": 1571, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "10343:22:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10343:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1576, - "nodeType": "EmitStatement", - "src": "10338:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1578, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10433:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1579, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1559, - "src": "10446:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1580, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "10449:8:4", - "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": 1577, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "10410:22:4", - "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": "10410:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1582, - "nodeType": "EmitStatement", - "src": "10405:53:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1583, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "10472:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1584, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10472:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1585, - "nodeType": "ExpressionStatement", - "src": "10472:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGeDecimal", - "nameLocation": "10179:15:4", - "parameters": { - "id": 1562, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1557, - "mutability": "mutable", - "name": "a", - "nameLocation": "10200:1:4", - "nodeType": "VariableDeclaration", - "scope": 1589, - "src": "10195:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1556, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10195:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1559, - "mutability": "mutable", - "name": "b", - "nameLocation": "10208:1:4", - "nodeType": "VariableDeclaration", - "scope": 1589, - "src": "10203:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1558, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10203:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1561, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "10216:8:4", - "nodeType": "VariableDeclaration", - "scope": 1589, - "src": "10211:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1560, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10211:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10194:31:4" - }, - "returnParameters": { - "id": 1563, - "nodeType": "ParameterList", - "parameters": [], - "src": "10235:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1617, - "nodeType": "FunctionDefinition", - "src": "10500:216:4", - "body": { - "id": 1616, - "nodeType": "Block", - "src": "10584:132:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1602, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1600, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1591, - "src": "10598:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 1601, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1593, - "src": "10602:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10598:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1615, - "nodeType": "IfStatement", - "src": "10594:116:4", - "trueBody": { - "id": 1614, - "nodeType": "Block", - "src": "10605:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10641:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1605, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "10650:3:4", - "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": 1603, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "10624:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10624:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1607, - "nodeType": "EmitStatement", - "src": "10619:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1609, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1591, - "src": "10684:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1610, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1593, - "src": "10687:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1611, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "10690:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1608, - "name": "assertGeDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1527, - 1555, - 1589, - 1617 - ], - "referencedDeclaration": 1589, - "src": "10668:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 1612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10668:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1613, - "nodeType": "ExpressionStatement", - "src": "10668:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertGeDecimal", - "nameLocation": "10509:15:4", - "parameters": { - "id": 1598, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1591, - "mutability": "mutable", - "name": "a", - "nameLocation": "10530:1:4", - "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "10525:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1590, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10525:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1593, - "mutability": "mutable", - "name": "b", - "nameLocation": "10538:1:4", - "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "10533:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1592, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10533:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1595, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "10546:8:4", - "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "10541:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1594, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10541:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1597, - "mutability": "mutable", - "name": "err", - "nameLocation": "10570:3:4", - "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "10556:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1596, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10556:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10524:50:4" - }, - "returnParameters": { - "id": 1599, - "nodeType": "ParameterList", - "parameters": [], - "src": "10584:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1647, - "nodeType": "FunctionDefinition", - "src": "10722:259:4", - "body": { - "id": 1646, - "nodeType": "Block", - "src": "10765:216:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1624, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1619, - "src": "10779:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1625, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "10784:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10779:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1645, - "nodeType": "IfStatement", - "src": "10775:200:4", - "trueBody": { - "id": 1644, - "nodeType": "Block", - "src": "10787:188:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c2062206e6f7420736174697366696564205b75696e745d", - "id": 1628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10810:35:4", - "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": 1627, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "10806:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10806:40:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1630, - "nodeType": "EmitStatement", - "src": "10801:45:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1632, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10880:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1633, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1619, - "src": "10893:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1631, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "10865:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10865:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1635, - "nodeType": "EmitStatement", - "src": "10860:35:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10929:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1638, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "10942:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1636, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "10914:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1639, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10914:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1640, - "nodeType": "EmitStatement", - "src": "10909:35:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1641, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "10958:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10958:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1643, - "nodeType": "ExpressionStatement", - "src": "10958:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLt", - "nameLocation": "10731:8:4", - "parameters": { - "id": 1622, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1619, - "mutability": "mutable", - "name": "a", - "nameLocation": "10745:1:4", - "nodeType": "VariableDeclaration", - "scope": 1647, - "src": "10740:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1618, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10740:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1621, - "mutability": "mutable", - "name": "b", - "nameLocation": "10753:1:4", - "nodeType": "VariableDeclaration", - "scope": 1647, - "src": "10748:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1620, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "10748:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10739:16:4" - }, - "returnParameters": { - "id": 1623, - "nodeType": "ParameterList", - "parameters": [], - "src": "10765:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1672, - "nodeType": "FunctionDefinition", - "src": "10986:178:4", - "body": { - "id": 1671, - "nodeType": "Block", - "src": "11048:116:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1656, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1649, - "src": "11062:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1657, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1651, - "src": "11067:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11062:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1670, - "nodeType": "IfStatement", - "src": "11058:100:4", - "trueBody": { - "id": 1669, - "nodeType": "Block", - "src": "11070:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1660, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11106:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1661, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1653, - "src": "11115:3:4", - "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": 1659, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "11089:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11089:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1663, - "nodeType": "EmitStatement", - "src": "11084:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1665, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1649, - "src": "11142:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1666, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1651, - "src": "11145:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1664, - "name": "assertLt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1647, - 1672, - 1702, - 1727 - ], - "referencedDeclaration": 1647, - "src": "11133:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11133:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1668, - "nodeType": "ExpressionStatement", - "src": "11133:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLt", - "nameLocation": "10995:8:4", - "parameters": { - "id": 1654, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1649, - "mutability": "mutable", - "name": "a", - "nameLocation": "11009:1:4", - "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "11004:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1648, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11004:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1651, - "mutability": "mutable", - "name": "b", - "nameLocation": "11017:1:4", - "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "11012:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1650, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11012:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1653, - "mutability": "mutable", - "name": "err", - "nameLocation": "11034:3:4", - "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "11020:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1652, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11020:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11003:35:4" - }, - "returnParameters": { - "id": 1655, - "nodeType": "ParameterList", - "parameters": [], - "src": "11048:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1702, - "nodeType": "FunctionDefinition", - "src": "11169:254:4", - "body": { - "id": 1701, - "nodeType": "Block", - "src": "11210:213:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1679, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "11224:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1680, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1676, - "src": "11229:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "11224:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1700, - "nodeType": "IfStatement", - "src": "11220:197:4", - "trueBody": { - "id": 1699, - "nodeType": "Block", - "src": "11232:185:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c2062206e6f7420736174697366696564205b696e745d", - "id": 1683, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11255:34:4", - "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": 1682, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "11251:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11251:39:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1685, - "nodeType": "EmitStatement", - "src": "11246:44:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11323:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1688, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "11336:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1686, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11309:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1689, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11309:29:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1690, - "nodeType": "EmitStatement", - "src": "11304:34:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11371:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1693, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1676, - "src": "11384:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1691, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "11357:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11357:29:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1695, - "nodeType": "EmitStatement", - "src": "11352:34:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1696, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "11400:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11400:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1698, - "nodeType": "ExpressionStatement", - "src": "11400:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLt", - "nameLocation": "11178:8:4", - "parameters": { - "id": 1677, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1674, - "mutability": "mutable", - "name": "a", - "nameLocation": "11191:1:4", - "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "11187:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1673, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11187:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1676, - "mutability": "mutable", - "name": "b", - "nameLocation": "11198:1:4", - "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "11194:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1675, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11194:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "11186:14:4" - }, - "returnParameters": { - "id": 1678, - "nodeType": "ParameterList", - "parameters": [], - "src": "11210:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1727, - "nodeType": "FunctionDefinition", - "src": "11428:176:4", - "body": { - "id": 1726, - "nodeType": "Block", - "src": "11488:116:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1711, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1704, - "src": "11502:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1712, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "11507:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "11502:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1725, - "nodeType": "IfStatement", - "src": "11498:100:4", - "trueBody": { - "id": 1724, - "nodeType": "Block", - "src": "11510:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11546:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1716, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "11555:3:4", - "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": 1714, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "11529:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11529:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1718, - "nodeType": "EmitStatement", - "src": "11524:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1720, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1704, - "src": "11582:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1721, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "11585:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1719, - "name": "assertLt", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1647, - 1672, - 1702, - 1727 - ], - "referencedDeclaration": 1702, - "src": "11573:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 1722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11573:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1723, - "nodeType": "ExpressionStatement", - "src": "11573:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLt", - "nameLocation": "11437:8:4", - "parameters": { - "id": 1709, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1704, - "mutability": "mutable", - "name": "a", - "nameLocation": "11450:1:4", - "nodeType": "VariableDeclaration", - "scope": 1727, - "src": "11446:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1703, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11446:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1706, - "mutability": "mutable", - "name": "b", - "nameLocation": "11457:1:4", - "nodeType": "VariableDeclaration", - "scope": 1727, - "src": "11453:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1705, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11453:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1708, - "mutability": "mutable", - "name": "err", - "nameLocation": "11474:3:4", - "nodeType": "VariableDeclaration", - "scope": 1727, - "src": "11460:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1707, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11460:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11445:33:4" - }, - "returnParameters": { - "id": 1710, - "nodeType": "ParameterList", - "parameters": [], - "src": "11488:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1761, - "nodeType": "FunctionDefinition", - "src": "11609:320:4", - "body": { - "id": 1760, - "nodeType": "Block", - "src": "11672:257:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1736, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1729, - "src": "11686:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1737, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1731, - "src": "11691:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "11686:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1759, - "nodeType": "IfStatement", - "src": "11682:241:4", - "trueBody": { - "id": 1758, - "nodeType": "Block", - "src": "11694:229:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1740, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11717:42:4", - "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": 1739, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "11713:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11713:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1742, - "nodeType": "EmitStatement", - "src": "11708:52:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11801:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1745, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1729, - "src": "11814:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1746, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1733, - "src": "11817:8:4", - "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": 1743, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "11779:21:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11779:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1748, - "nodeType": "EmitStatement", - "src": "11774:52:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1750, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11867:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1751, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1731, - "src": "11880:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1752, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1733, - "src": "11883:8:4", - "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": 1749, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "11845:21:4", - "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": "11845:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1754, - "nodeType": "EmitStatement", - "src": "11840:52:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1755, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "11906:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11906:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1757, - "nodeType": "ExpressionStatement", - "src": "11906:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLtDecimal", - "nameLocation": "11618:15:4", - "parameters": { - "id": 1734, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1729, - "mutability": "mutable", - "name": "a", - "nameLocation": "11638:1:4", - "nodeType": "VariableDeclaration", - "scope": 1761, - "src": "11634:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1728, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11634:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1731, - "mutability": "mutable", - "name": "b", - "nameLocation": "11645:1:4", - "nodeType": "VariableDeclaration", - "scope": 1761, - "src": "11641:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1730, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11641:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1733, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "11653:8:4", - "nodeType": "VariableDeclaration", - "scope": 1761, - "src": "11648:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1732, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11648:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11633:29:4" - }, - "returnParameters": { - "id": 1735, - "nodeType": "ParameterList", - "parameters": [], - "src": "11672:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1789, - "nodeType": "FunctionDefinition", - "src": "11934:215:4", - "body": { - "id": 1788, - "nodeType": "Block", - "src": "12016:133:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1772, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1763, - "src": "12030:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1773, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1765, - "src": "12035:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "12030:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1787, - "nodeType": "IfStatement", - "src": "12026:117:4", - "trueBody": { - "id": 1786, - "nodeType": "Block", - "src": "12038:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12074:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1777, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1769, - "src": "12083:3:4", - "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": 1775, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "12057:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12057:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1779, - "nodeType": "EmitStatement", - "src": "12052:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1781, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1763, - "src": "12117:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1782, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1765, - "src": "12120:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1783, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1767, - "src": "12123:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1780, - "name": "assertLtDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1761, - 1789, - 1823, - 1851 - ], - "referencedDeclaration": 1761, - "src": "12101:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 1784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12101:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1785, - "nodeType": "ExpressionStatement", - "src": "12101:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLtDecimal", - "nameLocation": "11943:15:4", - "parameters": { - "id": 1770, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1763, - "mutability": "mutable", - "name": "a", - "nameLocation": "11963:1:4", - "nodeType": "VariableDeclaration", - "scope": 1789, - "src": "11959:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1762, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11959:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1765, - "mutability": "mutable", - "name": "b", - "nameLocation": "11970:1:4", - "nodeType": "VariableDeclaration", - "scope": 1789, - "src": "11966:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1764, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "11966:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1767, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "11978:8:4", - "nodeType": "VariableDeclaration", - "scope": 1789, - "src": "11973:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1766, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11973:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1769, - "mutability": "mutable", - "name": "err", - "nameLocation": "12002:3:4", - "nodeType": "VariableDeclaration", - "scope": 1789, - "src": "11988:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1768, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11988:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11958:48:4" - }, - "returnParameters": { - "id": 1771, - "nodeType": "ParameterList", - "parameters": [], - "src": "12016:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1823, - "nodeType": "FunctionDefinition", - "src": "12154:325:4", - "body": { - "id": 1822, - "nodeType": "Block", - "src": "12219:260:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1798, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1791, - "src": "12233:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1799, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1793, - "src": "12238:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12233:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1821, - "nodeType": "IfStatement", - "src": "12229:244:4", - "trueBody": { - "id": 1820, - "nodeType": "Block", - "src": "12241:232:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 1802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12264:43:4", - "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": 1801, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "12260:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12260:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1804, - "nodeType": "EmitStatement", - "src": "12255:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12350:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1807, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1791, - "src": "12363:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1808, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1795, - "src": "12366:8:4", - "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": 1805, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "12327:22:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 1809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12327:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1810, - "nodeType": "EmitStatement", - "src": "12322:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12417:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1813, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1793, - "src": "12430:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1814, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1795, - "src": "12433:8:4", - "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": 1811, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "12394:22:4", - "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": "12394:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1816, - "nodeType": "EmitStatement", - "src": "12389:53:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1817, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "12456:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12456:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1819, - "nodeType": "ExpressionStatement", - "src": "12456:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLtDecimal", - "nameLocation": "12163:15:4", - "parameters": { - "id": 1796, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1791, - "mutability": "mutable", - "name": "a", - "nameLocation": "12184:1:4", - "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "12179:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1790, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12179:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1793, - "mutability": "mutable", - "name": "b", - "nameLocation": "12192:1:4", - "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "12187:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1792, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12187:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1795, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "12200:8:4", - "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "12195:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1794, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12195:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12178:31:4" - }, - "returnParameters": { - "id": 1797, - "nodeType": "ParameterList", - "parameters": [], - "src": "12219:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1851, - "nodeType": "FunctionDefinition", - "src": "12484:217:4", - "body": { - "id": 1850, - "nodeType": "Block", - "src": "12568:133:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1834, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1825, - "src": "12582:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 1835, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1827, - "src": "12587:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12582:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1849, - "nodeType": "IfStatement", - "src": "12578:117:4", - "trueBody": { - "id": 1848, - "nodeType": "Block", - "src": "12590:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12626:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1839, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "12635:3:4", - "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": 1837, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "12609:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12609:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1841, - "nodeType": "EmitStatement", - "src": "12604:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1843, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1825, - "src": "12669:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1844, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1827, - "src": "12672:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1845, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "12675:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1842, - "name": "assertLtDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1761, - 1789, - 1823, - 1851 - ], - "referencedDeclaration": 1823, - "src": "12653:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 1846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12653:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1847, - "nodeType": "ExpressionStatement", - "src": "12653:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLtDecimal", - "nameLocation": "12493:15:4", - "parameters": { - "id": 1832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1825, - "mutability": "mutable", - "name": "a", - "nameLocation": "12514:1:4", - "nodeType": "VariableDeclaration", - "scope": 1851, - "src": "12509:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1824, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12509:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1827, - "mutability": "mutable", - "name": "b", - "nameLocation": "12522:1:4", - "nodeType": "VariableDeclaration", - "scope": 1851, - "src": "12517:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1826, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12517:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1829, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "12530:8:4", - "nodeType": "VariableDeclaration", - "scope": 1851, - "src": "12525:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1828, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12525:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1831, - "mutability": "mutable", - "name": "err", - "nameLocation": "12554:3:4", - "nodeType": "VariableDeclaration", - "scope": 1851, - "src": "12540:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1830, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12540:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12508:50:4" - }, - "returnParameters": { - "id": 1833, - "nodeType": "ParameterList", - "parameters": [], - "src": "12568:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1881, - "nodeType": "FunctionDefinition", - "src": "12707:259:4", - "body": { - "id": 1880, - "nodeType": "Block", - "src": "12750:216:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1860, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1858, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1853, - "src": "12764:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 1859, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1855, - "src": "12768:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12764:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1879, - "nodeType": "IfStatement", - "src": "12760:200:4", - "trueBody": { - "id": 1878, - "nodeType": "Block", - "src": "12771:189:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c3d2062206e6f7420736174697366696564205b75696e745d", - "id": 1862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12794:36:4", - "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": 1861, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "12790:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12790:41:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1864, - "nodeType": "EmitStatement", - "src": "12785:46:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1866, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12865:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1867, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1853, - "src": "12878:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1865, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12850:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1868, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12850:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1869, - "nodeType": "EmitStatement", - "src": "12845:35:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1871, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12914:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1872, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1855, - "src": "12927:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1870, - "name": "log_named_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 559, - "src": "12899:14:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256)" - } - }, - "id": 1873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12899:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1874, - "nodeType": "EmitStatement", - "src": "12894:35:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1875, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "12943:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "12943:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1877, - "nodeType": "ExpressionStatement", - "src": "12943:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLe", - "nameLocation": "12716:8:4", - "parameters": { - "id": 1856, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1853, - "mutability": "mutable", - "name": "a", - "nameLocation": "12730:1:4", - "nodeType": "VariableDeclaration", - "scope": 1881, - "src": "12725:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1852, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12725:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1855, - "mutability": "mutable", - "name": "b", - "nameLocation": "12738:1:4", - "nodeType": "VariableDeclaration", - "scope": 1881, - "src": "12733:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1854, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12733:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12724:16:4" - }, - "returnParameters": { - "id": 1857, - "nodeType": "ParameterList", - "parameters": [], - "src": "12750:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1906, - "nodeType": "FunctionDefinition", - "src": "12971:177:4", - "body": { - "id": 1905, - "nodeType": "Block", - "src": "13033:115:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 1892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1890, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "13047:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 1891, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1885, - "src": "13051:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13047:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1904, - "nodeType": "IfStatement", - "src": "13043:99:4", - "trueBody": { - "id": 1903, - "nodeType": "Block", - "src": "13054:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13090:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1895, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1887, - "src": "13099:3:4", - "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": 1893, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "13073:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1896, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13073:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1897, - "nodeType": "EmitStatement", - "src": "13068:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1899, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "13126:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1900, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1885, - "src": "13129:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 1898, - "name": "assertLe", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1881, - 1906, - 1936, - 1961 - ], - "referencedDeclaration": 1881, - "src": "13117:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 1901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13117:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1902, - "nodeType": "ExpressionStatement", - "src": "13117:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLe", - "nameLocation": "12980:8:4", - "parameters": { - "id": 1888, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1883, - "mutability": "mutable", - "name": "a", - "nameLocation": "12994:1:4", - "nodeType": "VariableDeclaration", - "scope": 1906, - "src": "12989:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1882, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12989:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1885, - "mutability": "mutable", - "name": "b", - "nameLocation": "13002:1:4", - "nodeType": "VariableDeclaration", - "scope": 1906, - "src": "12997:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1884, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12997:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1887, - "mutability": "mutable", - "name": "err", - "nameLocation": "13019:3:4", - "nodeType": "VariableDeclaration", - "scope": 1906, - "src": "13005:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1886, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13005:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12988:35:4" - }, - "returnParameters": { - "id": 1889, - "nodeType": "ParameterList", - "parameters": [], - "src": "13033:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1936, - "nodeType": "FunctionDefinition", - "src": "13153:254:4", - "body": { - "id": 1935, - "nodeType": "Block", - "src": "13194:213:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1913, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1908, - "src": "13208:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 1914, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1910, - "src": "13212:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "13208:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1934, - "nodeType": "IfStatement", - "src": "13204:197:4", - "trueBody": { - "id": 1933, - "nodeType": "Block", - "src": "13215:186:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c3d2062206e6f7420736174697366696564205b696e745d", - "id": 1917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13238:35:4", - "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": 1916, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "13234:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1918, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13234:40:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1919, - "nodeType": "EmitStatement", - "src": "13229:45:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1921, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13307:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1922, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1908, - "src": "13320:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1920, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "13293:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13293:29:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1924, - "nodeType": "EmitStatement", - "src": "13288:34:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13355:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1927, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1910, - "src": "13368:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1925, - "name": "log_named_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "13341:13:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$returns$__$", - "typeString": "function (string memory,int256)" - } - }, - "id": 1928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13341:29:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1929, - "nodeType": "EmitStatement", - "src": "13336:34:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1930, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "13384:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13384:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1932, - "nodeType": "ExpressionStatement", - "src": "13384:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLe", - "nameLocation": "13162:8:4", - "parameters": { - "id": 1911, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1908, - "mutability": "mutable", - "name": "a", - "nameLocation": "13175:1:4", - "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "13171:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1907, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13171:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1910, - "mutability": "mutable", - "name": "b", - "nameLocation": "13182:1:4", - "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "13178:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1909, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13178:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "13170:14:4" - }, - "returnParameters": { - "id": 1912, - "nodeType": "ParameterList", - "parameters": [], - "src": "13194:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1961, - "nodeType": "FunctionDefinition", - "src": "13412:175:4", - "body": { - "id": 1960, - "nodeType": "Block", - "src": "13472:115:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1945, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1938, - "src": "13486:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 1946, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1940, - "src": "13490:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "13486:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1959, - "nodeType": "IfStatement", - "src": "13482:99:4", - "trueBody": { - "id": 1958, - "nodeType": "Block", - "src": "13493:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 1949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13529:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 1950, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1942, - "src": "13538:3:4", - "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": 1948, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "13512:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 1951, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13512:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1952, - "nodeType": "EmitStatement", - "src": "13507:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 1954, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1938, - "src": "13565:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1955, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1940, - "src": "13568:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "id": 1953, - "name": "assertLe", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1881, - 1906, - 1936, - 1961 - ], - "referencedDeclaration": 1936, - "src": "13556:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$returns$__$", - "typeString": "function (int256,int256)" - } - }, - "id": 1956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13556:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1957, - "nodeType": "ExpressionStatement", - "src": "13556:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLe", - "nameLocation": "13421:8:4", - "parameters": { - "id": 1943, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1938, - "mutability": "mutable", - "name": "a", - "nameLocation": "13434:1:4", - "nodeType": "VariableDeclaration", - "scope": 1961, - "src": "13430:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1937, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13430:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1940, - "mutability": "mutable", - "name": "b", - "nameLocation": "13441:1:4", - "nodeType": "VariableDeclaration", - "scope": 1961, - "src": "13437:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1939, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13437:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1942, - "mutability": "mutable", - "name": "err", - "nameLocation": "13458:3:4", - "nodeType": "VariableDeclaration", - "scope": 1961, - "src": "13444:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1941, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13444:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13429:33:4" - }, - "returnParameters": { - "id": 1944, - "nodeType": "ParameterList", - "parameters": [], - "src": "13472:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 1995, - "nodeType": "FunctionDefinition", - "src": "13592:320:4", - "body": { - "id": 1994, - "nodeType": "Block", - "src": "13655:257:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 1972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 1970, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1963, - "src": "13669:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 1971, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1965, - "src": "13673:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "13669:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1993, - "nodeType": "IfStatement", - "src": "13665:241:4", - "trueBody": { - "id": 1992, - "nodeType": "Block", - "src": "13676:230:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c3d2062206e6f7420736174697366696564205b646563696d616c20696e745d", - "id": 1974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13699:43:4", - "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": 1973, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "13695:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 1975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13695:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1976, - "nodeType": "EmitStatement", - "src": "13690:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 1978, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13784:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 1979, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1963, - "src": "13797:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1980, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1967, - "src": "13800:8:4", - "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": 1977, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "13762:21:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,int256,uint256)" - } - }, - "id": 1981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13762:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1982, - "nodeType": "EmitStatement", - "src": "13757:52:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 1984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13850:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 1985, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1965, - "src": "13863:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 1986, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1967, - "src": "13866:8:4", - "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": 1983, - "name": "log_named_decimal_int", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "13828:21:4", - "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": "13828:47:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1988, - "nodeType": "EmitStatement", - "src": "13823:52:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 1989, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "13889:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 1990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "13889:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1991, - "nodeType": "ExpressionStatement", - "src": "13889:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLeDecimal", - "nameLocation": "13601:15:4", - "parameters": { - "id": 1968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1963, - "mutability": "mutable", - "name": "a", - "nameLocation": "13621:1:4", - "nodeType": "VariableDeclaration", - "scope": 1995, - "src": "13617:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1962, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13617:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1965, - "mutability": "mutable", - "name": "b", - "nameLocation": "13628:1:4", - "nodeType": "VariableDeclaration", - "scope": 1995, - "src": "13624:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1964, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13624:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1967, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "13636:8:4", - "nodeType": "VariableDeclaration", - "scope": 1995, - "src": "13631:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1966, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13631:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13616:29:4" - }, - "returnParameters": { - "id": 1969, - "nodeType": "ParameterList", - "parameters": [], - "src": "13655:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2023, - "nodeType": "FunctionDefinition", - "src": "13917:214:4", - "body": { - "id": 2022, - "nodeType": "Block", - "src": "13999:132:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "id": 2008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2006, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1997, - "src": "14013:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2007, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1999, - "src": "14017:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "src": "14013:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2021, - "nodeType": "IfStatement", - "src": "14009:116:4", - "trueBody": { - "id": 2020, - "nodeType": "Block", - "src": "14020:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2010, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14056:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2011, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "14065:3:4", - "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": 2009, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "14039:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14039:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2013, - "nodeType": "EmitStatement", - "src": "14034:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 2015, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1997, - "src": "14099:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2016, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1999, - "src": "14102:1:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - { - "id": 2017, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "14105:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2014, - "name": "assertLeDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1995, - 2023, - 2057, - 2085 - ], - "referencedDeclaration": 1995, - "src": "14083:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_int256_$_t_int256_$_t_uint256_$returns$__$", - "typeString": "function (int256,int256,uint256)" - } - }, - "id": 2018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14083:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2019, - "nodeType": "ExpressionStatement", - "src": "14083:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLeDecimal", - "nameLocation": "13926:15:4", - "parameters": { - "id": 2004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1997, - "mutability": "mutable", - "name": "a", - "nameLocation": "13946:1:4", - "nodeType": "VariableDeclaration", - "scope": 2023, - "src": "13942:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1996, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13942:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1999, - "mutability": "mutable", - "name": "b", - "nameLocation": "13953:1:4", - "nodeType": "VariableDeclaration", - "scope": 2023, - "src": "13949:5:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 1998, - "name": "int", - "nodeType": "ElementaryTypeName", - "src": "13949:3:4", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2001, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "13961:8:4", - "nodeType": "VariableDeclaration", - "scope": 2023, - "src": "13956:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2000, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13956:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2003, - "mutability": "mutable", - "name": "err", - "nameLocation": "13985:3:4", - "nodeType": "VariableDeclaration", - "scope": 2023, - "src": "13971:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2002, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13971:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13941:48:4" - }, - "returnParameters": { - "id": 2005, - "nodeType": "ParameterList", - "parameters": [], - "src": "13999:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2057, - "nodeType": "FunctionDefinition", - "src": "14136:325:4", - "body": { - "id": 2056, - "nodeType": "Block", - "src": "14201:260:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2032, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "14215:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2033, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2027, - "src": "14219:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14215:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2055, - "nodeType": "IfStatement", - "src": "14211:244:4", - "trueBody": { - "id": 2054, - "nodeType": "Block", - "src": "14222:233:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203c3d2062206e6f7420736174697366696564205b646563696d616c2075696e745d", - "id": 2036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14245:44:4", - "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": 2035, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "14241:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14241:49:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2038, - "nodeType": "EmitStatement", - "src": "14236:54:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652061", - "id": 2040, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14332:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c592b529b874569f165479a5a4380dedf000796f11e04035f76bfa7310b31d26", - "typeString": "literal_string \" Value a\"" - }, - "value": " Value a" - }, - { - "id": 2041, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "14345:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2042, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "14348:8:4", - "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": 2039, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14309:22:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (string memory,uint256,uint256)" - } - }, - "id": 2043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14309:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2044, - "nodeType": "EmitStatement", - "src": "14304:53:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "202056616c75652062", - "id": 2046, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14399:11:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e4b1d025132960c3fb1a582cf2366864dc416744d1b9770aa69fe3749623ebc3", - "typeString": "literal_string \" Value b\"" - }, - "value": " Value b" - }, - { - "id": 2047, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2027, - "src": "14412:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2048, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "14415:8:4", - "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": 2045, - "name": "log_named_decimal_uint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 547, - "src": "14376:22:4", - "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": "14376:48:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2050, - "nodeType": "EmitStatement", - "src": "14371:53:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2051, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "14438:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14438:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2053, - "nodeType": "ExpressionStatement", - "src": "14438:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLeDecimal", - "nameLocation": "14145:15:4", - "parameters": { - "id": 2030, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2025, - "mutability": "mutable", - "name": "a", - "nameLocation": "14166:1:4", - "nodeType": "VariableDeclaration", - "scope": 2057, - "src": "14161:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2024, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14161:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2027, - "mutability": "mutable", - "name": "b", - "nameLocation": "14174:1:4", - "nodeType": "VariableDeclaration", - "scope": 2057, - "src": "14169:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2026, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14169:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2029, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "14182:8:4", - "nodeType": "VariableDeclaration", - "scope": 2057, - "src": "14177:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2028, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14177:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14160:31:4" - }, - "returnParameters": { - "id": 2031, - "nodeType": "ParameterList", - "parameters": [], - "src": "14201:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2085, - "nodeType": "FunctionDefinition", - "src": "14466:216:4", - "body": { - "id": 2084, - "nodeType": "Block", - "src": "14550:132:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2068, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2059, - "src": "14564:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "id": 2069, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2061, - "src": "14568:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14564:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2083, - "nodeType": "IfStatement", - "src": "14560:116:4", - "trueBody": { - "id": 2082, - "nodeType": "Block", - "src": "14571:105:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2072, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14607:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2073, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2065, - "src": "14616:3:4", - "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": 2071, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "14590:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14590:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2075, - "nodeType": "EmitStatement", - "src": "14585:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 2077, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2059, - "src": "14650:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2078, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2061, - "src": "14653:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2079, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2063, - "src": "14656:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 2076, - "name": "assertGeDecimal", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1527, - 1555, - 1589, - 1617 - ], - "referencedDeclaration": 1589, - "src": "14634:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,uint256)" - } - }, - "id": 2080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14634:31:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2081, - "nodeType": "ExpressionStatement", - "src": "14634:31:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertLeDecimal", - "nameLocation": "14475:15:4", - "parameters": { - "id": 2066, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2059, - "mutability": "mutable", - "name": "a", - "nameLocation": "14496:1:4", - "nodeType": "VariableDeclaration", - "scope": 2085, - "src": "14491:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2058, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14491:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2061, - "mutability": "mutable", - "name": "b", - "nameLocation": "14504:1:4", - "nodeType": "VariableDeclaration", - "scope": 2085, - "src": "14499:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2060, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14499:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2063, - "mutability": "mutable", - "name": "decimals", - "nameLocation": "14512:8:4", - "nodeType": "VariableDeclaration", - "scope": 2085, - "src": "14507:13:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2062, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14507:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2065, - "mutability": "mutable", - "name": "err", - "nameLocation": "14536:3:4", - "nodeType": "VariableDeclaration", - "scope": 2085, - "src": "14522:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14522:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14490:50:4" - }, - "returnParameters": { - "id": 2067, - "nodeType": "ParameterList", - "parameters": [], - "src": "14550:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2125, - "nodeType": "FunctionDefinition", - "src": "14688:344:4", - "body": { - "id": 2124, - "nodeType": "Block", - "src": "14749:283:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2095, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2087, - "src": "14790:1:4", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2093, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14773:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2094, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14777:12:4", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "14773:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14773:19:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2092, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "14763:9:4", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2097, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14763:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2101, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2089, - "src": "14824:1:4", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2099, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14807:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "14811:12:4", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "14807:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14807:19:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2098, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "14797:9:4", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14797:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "14763:64:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2123, - "nodeType": "IfStatement", - "src": "14759:267:4", - "trueBody": { - "id": 2122, - "nodeType": "Block", - "src": "14829:197:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b737472696e675d", - "id": 2106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14852:38:4", - "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": 2105, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "14848:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14848:43:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2108, - "nodeType": "EmitStatement", - "src": "14843:48:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 2110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14927:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 2111, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2089, - "src": "14941:1:4", - "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": 2109, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "14910:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14910:33:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2113, - "nodeType": "EmitStatement", - "src": "14905:38:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 2115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14979:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 2116, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2087, - "src": "14993:1:4", - "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": 2114, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "14962:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "14962:33:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2118, - "nodeType": "EmitStatement", - "src": "14957:38:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2119, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "15009:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15009:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2121, - "nodeType": "ExpressionStatement", - "src": "15009:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "14697:8:4", - "parameters": { - "id": 2090, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2087, - "mutability": "mutable", - "name": "a", - "nameLocation": "14720:1:4", - "nodeType": "VariableDeclaration", - "scope": 2125, - "src": "14706:15:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2086, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14706:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2089, - "mutability": "mutable", - "name": "b", - "nameLocation": "14737:1:4", - "nodeType": "VariableDeclaration", - "scope": 2125, - "src": "14723:15:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2088, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14723:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14705:34:4" - }, - "returnParameters": { - "id": 2091, - "nodeType": "ParameterList", - "parameters": [], - "src": "14749:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2160, - "nodeType": "FunctionDefinition", - "src": "15037:254:4", - "body": { - "id": 2159, - "nodeType": "Block", - "src": "15117:174:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "id": 2146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2137, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2127, - "src": "15158:1:4", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2135, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15141:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15145:12:4", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "15141:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2138, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15141:19:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2134, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15131:9:4", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15131:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "arguments": [ - { - "arguments": [ - { - "id": 2143, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2129, - "src": "15192:1:4", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2141, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15175:3:4", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "15179:12:4", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "15175:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 2144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15175:19:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2140, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -8, - "src": "15165:9:4", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 2145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15165:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "src": "15131:64:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2158, - "nodeType": "IfStatement", - "src": "15127:158:4", - "trueBody": { - "id": 2157, - "nodeType": "Block", - "src": "15197:88:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15233:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2149, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2131, - "src": "15242:3:4", - "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": 2147, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "15216:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15216:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2151, - "nodeType": "EmitStatement", - "src": "15211:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 2153, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2127, - "src": "15269:1:4", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2154, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2129, - "src": "15272:1:4", - "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": 2152, - "name": "assertEq", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 806, - 831, - 861, - 886, - 945, - 970, - 1000, - 1025, - 2125, - 2160 - ], - "referencedDeclaration": 2125, - "src": "15260:8:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2155, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15260:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2156, - "nodeType": "ExpressionStatement", - "src": "15260:14:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq", - "nameLocation": "15046:8:4", - "parameters": { - "id": 2132, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2127, - "mutability": "mutable", - "name": "a", - "nameLocation": "15069:1:4", - "nodeType": "VariableDeclaration", - "scope": 2160, - "src": "15055:15:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2126, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15055:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2129, - "mutability": "mutable", - "name": "b", - "nameLocation": "15086:1:4", - "nodeType": "VariableDeclaration", - "scope": 2160, - "src": "15072:15:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2128, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15072:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2131, - "mutability": "mutable", - "name": "err", - "nameLocation": "15103:3:4", - "nodeType": "VariableDeclaration", - "scope": 2160, - "src": "15089:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2130, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15089:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15054:53:4" - }, - "returnParameters": { - "id": 2133, - "nodeType": "ParameterList", - "parameters": [], - "src": "15117:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2212, - "nodeType": "FunctionDefinition", - "src": "15297:345:4", - "body": { - "id": 2211, - "nodeType": "Block", - "src": "15379:263:4", - "statements": [ - { - "expression": { - "id": 2171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2169, - "name": "ok", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2167, - "src": "15389:2:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "74727565", - "id": 2170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15394:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "15389:9:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2172, - "nodeType": "ExpressionStatement", - "src": "15389:9:4" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 2173, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2162, - "src": "15412:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15414:6:4", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15412:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "expression": { - "id": 2175, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2164, - "src": "15424:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15426:6:4", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15424:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15412:20:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 2209, - "nodeType": "Block", - "src": "15601:35:4", - "statements": [ - { - "expression": { - "id": 2207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2205, - "name": "ok", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2167, - "src": "15615:2:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "66616c7365", - "id": 2206, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15620:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "15615:10:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2208, - "nodeType": "ExpressionStatement", - "src": "15615:10:4" - } - ] - }, - "id": 2210, - "nodeType": "IfStatement", - "src": "15408:228:4", - "trueBody": { - "id": 2204, - "nodeType": "Block", - "src": "15434:161:4", - "statements": [ - { - "body": { - "id": 2202, - "nodeType": "Block", - "src": "15484:101:4", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 2195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "id": 2189, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2162, - "src": "15506:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2191, - "indexExpression": { - "id": 2190, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2179, - "src": "15508:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15506:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 2192, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2164, - "src": "15514:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2194, - "indexExpression": { - "id": 2193, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2179, - "src": "15516:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "15514:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "15506:12:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2201, - "nodeType": "IfStatement", - "src": "15502:69:4", - "trueBody": { - "id": 2200, - "nodeType": "Block", - "src": "15520:51:4", - "statements": [ - { - "expression": { - "id": 2198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2196, - "name": "ok", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2167, - "src": "15542:2:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "66616c7365", - "id": 2197, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15547:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "15542:10:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2199, - "nodeType": "ExpressionStatement", - "src": "15542:10:4" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 2185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 2182, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2179, - "src": "15465:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 2183, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2162, - "src": "15469:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 2184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "15471:6:4", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "15469:8:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15465:12:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2203, - "initializationExpression": { - "assignments": [ - 2179 - ], - "declarations": [ - { - "constant": false, - "id": 2179, - "mutability": "mutable", - "name": "i", - "nameLocation": "15458:1:4", - "nodeType": "VariableDeclaration", - "scope": 2203, - "src": "15453:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2178, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "15453:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 2181, - "initialValue": { - "hexValue": "30", - "id": 2180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15462:1:4", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "15453:10:4" - }, - "loopExpression": { - "expression": { - "id": 2187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "15479:3:4", - "subExpression": { - "id": 2186, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2179, - "src": "15479:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2188, - "nodeType": "ExpressionStatement", - "src": "15479:3:4" - }, - "nodeType": "ForStatement", - "src": "15448:137:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "checkEq0", - "nameLocation": "15306:8:4", - "parameters": { - "id": 2165, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2162, - "mutability": "mutable", - "name": "a", - "nameLocation": "15328:1:4", - "nodeType": "VariableDeclaration", - "scope": 2212, - "src": "15315:14:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2161, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15315:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2164, - "mutability": "mutable", - "name": "b", - "nameLocation": "15344:1:4", - "nodeType": "VariableDeclaration", - "scope": 2212, - "src": "15331:14:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2163, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15331:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "15314:32:4" - }, - "returnParameters": { - "id": 2168, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2167, - "mutability": "mutable", - "name": "ok", - "nameLocation": "15375:2:4", - "nodeType": "VariableDeclaration", - "scope": 2212, - "src": "15370:7:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2166, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15370:4:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15369:9:4" - }, - "scope": 2272, - "stateMutability": "pure", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2244, - "nodeType": "FunctionDefinition", - "src": "15647:291:4", - "body": { - "id": 2243, - "nodeType": "Block", - "src": "15707:231:4", - "statements": [ - { - "condition": { - "id": 2223, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "15721:15:4", - "subExpression": { - "arguments": [ - { - "id": 2220, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2214, - "src": "15731:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2221, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2216, - "src": "15734:1:4", - "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": 2219, - "name": "checkEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2212, - "src": "15722:8:4", - "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": 2222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15722:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2242, - "nodeType": "IfStatement", - "src": "15717:215:4", - "trueBody": { - "id": 2241, - "nodeType": "Block", - "src": "15738:194:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f723a2061203d3d2062206e6f7420736174697366696564205b62797465735d", - "id": 2225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15761:37:4", - "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": 2224, - "name": "log", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 491, - "src": "15757:3:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory)" - } - }, - "id": 2226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15757:42:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2227, - "nodeType": "EmitStatement", - "src": "15752:47:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "20204578706563746564", - "id": 2229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15834:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42fa07d7c51ce5de92a0fc65dbf7e7800814fd01c258dc50e84d5be59184bf0b", - "typeString": "literal_string \" Expected\"" - }, - "value": " Expected" - }, - { - "id": 2230, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2216, - "src": "15848:1:4", - "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": 2228, - "name": "log_named_bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 565, - "src": "15818:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (string memory,bytes memory)" - } - }, - "id": 2231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15818:32:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2232, - "nodeType": "EmitStatement", - "src": "15813:37:4" - }, - { - "eventCall": { - "arguments": [ - { - "hexValue": "2020202041637475616c", - "id": 2234, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15885:12:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d7896f3f645b3ba89da46bf231a5df16e525e587a84bc9b284dfb39958fb219b", - "typeString": "literal_string \" Actual\"" - }, - "value": " Actual" - }, - { - "id": 2235, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2214, - "src": "15899:1:4", - "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": 2233, - "name": "log_named_bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 565, - "src": "15869:15:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (string memory,bytes memory)" - } - }, - "id": 2236, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15869:32:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2237, - "nodeType": "EmitStatement", - "src": "15864:37:4" - }, - { - "expression": { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 2238, - "name": "fail", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 702, - "src": "15915:4:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", - "typeString": "function ()" - } - }, - "id": 2239, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "15915:6:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2240, - "nodeType": "ExpressionStatement", - "src": "15915:6:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq0", - "nameLocation": "15656:9:4", - "parameters": { - "id": 2217, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2214, - "mutability": "mutable", - "name": "a", - "nameLocation": "15679:1:4", - "nodeType": "VariableDeclaration", - "scope": 2244, - "src": "15666:14:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2213, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15666:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2216, - "mutability": "mutable", - "name": "b", - "nameLocation": "15695:1:4", - "nodeType": "VariableDeclaration", - "scope": 2244, - "src": "15682:14:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2215, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15682:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "15665:32:4" - }, - "returnParameters": { - "id": 2218, - "nodeType": "ParameterList", - "parameters": [], - "src": "15707:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - }, - { - "id": 2271, - "nodeType": "FunctionDefinition", - "src": "15943:205:4", - "body": { - "id": 2270, - "nodeType": "Block", - "src": "16022:126:4", - "statements": [ - { - "condition": { - "id": 2257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "16036:15:4", - "subExpression": { - "arguments": [ - { - "id": 2254, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "16046:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2255, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2248, - "src": "16049:1:4", - "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": 2253, - "name": "checkEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2212, - "src": "16037:8:4", - "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": 2256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16037:14:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 2269, - "nodeType": "IfStatement", - "src": "16032:110:4", - "trueBody": { - "id": 2268, - "nodeType": "Block", - "src": "16053:89:4", - "statements": [ - { - "eventCall": { - "arguments": [ - { - "hexValue": "4572726f72", - "id": 2259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16089:7:4", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e342daa49723ff3485f4ff5f755a17b8bc9c3c33bbd312ceee37c94eebfe45c1", - "typeString": "literal_string \"Error\"" - }, - "value": "Error" - }, - { - "id": 2260, - "name": "err", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2250, - "src": "16098:3:4", - "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": 2258, - "name": "log_named_string", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 571, - "src": "16072:16:4", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory,string memory)" - } - }, - "id": 2261, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16072:30:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2262, - "nodeType": "EmitStatement", - "src": "16067:35:4" - }, - { - "expression": { - "arguments": [ - { - "id": 2264, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2246, - "src": "16126:1:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 2265, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2248, - "src": "16129:1:4", - "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": 2263, - "name": "assertEq0", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 2244, - 2271 - ], - "referencedDeclaration": 2244, - "src": "16116:9:4", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory,bytes memory)" - } - }, - "id": 2266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "16116:15:4", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2267, - "nodeType": "ExpressionStatement", - "src": "16116:15:4" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "assertEq0", - "nameLocation": "15952:9:4", - "parameters": { - "id": 2251, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2246, - "mutability": "mutable", - "name": "a", - "nameLocation": "15975:1:4", - "nodeType": "VariableDeclaration", - "scope": 2271, - "src": "15962:14:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2245, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15962:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2248, - "mutability": "mutable", - "name": "b", - "nameLocation": "15991:1:4", - "nodeType": "VariableDeclaration", - "scope": 2271, - "src": "15978:14:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 2247, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15978:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2250, - "mutability": "mutable", - "name": "err", - "nameLocation": "16008:3:4", - "nodeType": "VariableDeclaration", - "scope": 2271, - "src": "15994:17:4", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2249, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15994:6:4", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15961:51:4" - }, - "returnParameters": { - "id": 2252, - "nodeType": "ParameterList", - "parameters": [], - "src": "16022:0:4" - }, - "scope": 2272, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "DSTest", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 2272 - ], - "name": "DSTest", - "nameLocation": "724:6:4", - "scope": 2273, - "usedErrors": [] - } - ], - "license": "GPL-3.0-or-later" - }, - "id": 4 -} \ No newline at end of file +{"abi":[{"type":"function","name":"IS_TEST","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"failed","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"event","name":"log","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_address","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_bytes","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_bytes32","inputs":[{"name":"","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_int","inputs":[{"name":"","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_address","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"type":"event","name":"log_named_bytes","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"log_named_bytes32","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"bytes32","indexed":false,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"log_named_decimal_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_decimal_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"decimals","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_named_int","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"int256","indexed":false,"internalType":"int256"}],"anonymous":false},{"type":"event","name":"log_named_string","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_named_uint","inputs":[{"name":"key","type":"string","indexed":false,"internalType":"string"},{"name":"val","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"log_string","inputs":[{"name":"","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"type":"event","name":"log_uint","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"logs","inputs":[{"name":"","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false}],"bytecode":{"object":"0x60806040526000805460ff1916600117905534801561001d57600080fd5b5061024e8061002d6000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063ba414fa61461003b578063fa7626d414610057575b600080fd5b610043610064565b604051901515815260200160405180910390f35b6000546100439060ff1681565b60008054610100900460ff16156100845750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b1561018a5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610112917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc4916080016101bf565b60408051601f198184030181529082905261012c916101e3565b6000604051808303816000865af19150503d8060008114610169576040519150601f19603f3d011682016040523d82523d6000602084013e61016e565b606091505b509150508080602001905181019061018691906101f6565b9150505b919050565b6000815160005b818110156101b05760208185018101518683015201610196565b50600093019283525090919050565b6001600160e01b03198316815260006101db600483018461018f565b949350505050565b60006101ef828461018f565b9392505050565b60006020828403121561020857600080fd5b815180151581146101ef57600080fdfea264697066735822122042beb759753b94b0afdc6715c2c8d0fa2253d759e6d46a755bfed06d131bd56764736f6c63430008170033","sourceMap":"715:15435:4:-:0;;;1572:26;;;-1:-1:-1;;1572:26:4;1594:4;1572:26;;;715:15435;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063ba414fa61461003b578063fa7626d414610057575b600080fd5b610043610064565b604051901515815260200160405180910390f35b6000546100439060ff1681565b60008054610100900460ff16156100845750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b1561018a5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610112917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc4916080016101bf565b60408051601f198184030181529082905261012c916101e3565b6000604051808303816000865af19150503d8060008114610169576040519150601f19603f3d011682016040523d82523d6000602084013e61016e565b606091505b509150508080602001905181019061018691906101f6565b9150505b919050565b6000815160005b818110156101b05760208185018101518683015201610196565b50600093019283525090919050565b6001600160e01b03198316815260006101db600483018461018f565b949350505050565b60006101ef828461018f565b9392505050565b60006020828403121561020857600080fd5b815180151581146101ef57600080fdfea264697066735822122042beb759753b94b0afdc6715c2c8d0fa2253d759e6d46a755bfed06d131bd56764736f6c63430008170033","sourceMap":"715:15435:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1819:584;;;:::i;:::-;;;179:14:44;;172:22;154:41;;142:2;127:18;1819:584:4;;;;;;;1572:26;;;;;;;;;1819:584;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:4;;;;;;;;1819:584::o;1869:528::-;1941:17;2990:42;2978:55;3059:16;1980:374;;2196:43;;;1671:64;2196:43;;;380:51:44;;;-1:-1:-1;;;447:18:44;;;440:34;2196:43:4;;;;;;;;;353:18:44;;;2196:43:4;;;-1:-1:-1;;1671:64:4;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:4;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:4:o;485:322:44:-;526:3;564:5;558:12;588:1;598:128;612:6;609:1;606:13;598:128;;;709:4;694:13;;;690:24;;684:31;671:11;;;664:52;627:12;598:128;;;-1:-1:-1;781:1:44;745:16;;770:13;;;-1:-1:-1;745:16:44;;485:322;-1:-1:-1;485:322:44:o;812:278::-;-1:-1:-1;;;;;;997:33:44;;985:46;;967:3;1047:37;1081:1;1072:11;;1064:6;1047:37;:::i;:::-;1040:44;812:278;-1:-1:-1;;;;812:278:44:o;1095:189::-;1224:3;1249:29;1274:3;1266:6;1249:29;:::i;:::-;1242:36;1095:189;-1:-1:-1;;;1095:189:44:o;1289:277::-;1356:6;1409:2;1397:9;1388:7;1384:23;1380:32;1377:52;;;1425:1;1422;1415:12;1377:52;1457:9;1451:16;1510:5;1503:13;1496:21;1489:5;1486:32;1476:60;;1532:1;1529;1522:12","linkReferences":{}},"methodIdentifiers":{"IS_TEST()":"fa7626d4","failed()":"ba414fa6"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@contracts/=contracts/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@jbx-protocol/=node_modules/@jbx-protocol/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"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.23+commit.f704f362"},"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":["@contracts/=contracts/","@ensdomains/=node_modules/@ensdomains/","@jbx-protocol/=node_modules/@jbx-protocol/","@openzeppelin/=node_modules/@openzeppelin/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"lib/forge-std/lib/ds-test/src/test.sol":"DSTest"},"evmVersion":"paris","libraries":{}},"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},"id":4} \ No newline at end of file